 box-shadow: 0 0 0 calc((${y.vxp} - ${y.Han}) * 1px)
                ${y.yGg};
        }

        :host(.expanded) .region {
            display: block;
        }

        .icon {
            display: flex;
            align-items: center;
            justify-content: center;
            grid-column: 4;
            z-index: 2;
            pointer-events: none;
            fill: ${y.Avx};
        }

        ::slotted([name="collapsed-icon"]) {
            display: flex;
        }

        :host(.expanded) ::slotted([name="collapsed-icon"]) {
            display: none;
        }

        ::slotted([name="expanded-icon"]) {
            display: none;
        }

        :host(.expanded) ::slotted([name="expanded-icon"]) {
            display: flex;
        }

        .start {
            display: flex;
            align-items: center;
            padding-inline-start: calc(${y._5n} * 1px);
            justify-content: center;
            grid-column: 1;
            z-index: 2;
        }

        .end {
            display: flex;
            align-items: center;
            justify-content: center;
            grid-column: 3;
            z-index: 2;
        }
    `.withBehaviors((0,D.vF)(m.i`
                ${""}
                .button:${w.b}::before {
                    border-color: ${C.H.Highlight};
                    box-shadow: 0 0 0 calc((${y.vxp} - ${y.Han}) * 1px)
                        ${C.H.Highlight};
                }
                .icon {
                    fill: ${C.H.ButtonText};
                }
            `)),collapsedIcon:'\n    <svg\n        width="20"\n        height="20"\n        viewBox="0 0 20 20"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            fill-rule="evenodd"\n            clip-rule="evenodd"\n            d="M16.22 3H3.78a.78.78 0 00-.78.78v12.44c0 .43.35.78.78.78h12.44c.43 0 .78-.35.78-.78V3.78a.78.78 0 00-.78-.78zM3.78 2h12.44C17.2 2 18 2.8 18 3.78v12.44c0 .98-.8 1.78-1.78 1.78H3.78C2.8 18 2 17.2 2 16.22V3.78C2 2.8 2.8 2 3.78 2zM11 9h3v2h-3v3H9v-3H6V9h3V6h2v3z"\n        />\n    </svg>\n  ',expandedIcon:'\n    <svg\n        width="20"\n        height="20"\n        viewBox="0 0 20 20"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            fill-rule="evenodd"\n            clip-rule="evenodd"\n            d="M3.78 3h12.44c.43 0 .78.35.78.78v12.44c0 .43-.35.78-.78.78H3.78a.78.78 0 01-.78-.78V3.78c0-.43.35-.78.78-.78zm12.44-1H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.78-.8 1.78-1.78V3.78C18 2.8 17.2 2 16.22 2zM14 9H6v2h8V9z"\n        />\n    </svg>\n  '});var I=i(63070),T=i(7511),E=i(38247),L=i(87034),H=i(62567),A=i(31258),F=i(8417),B=i(31074),j=i(97304),M=i(87790),R=i(57905),P=i(64690),z=i(84289),V=i(84925),U=i(12517),N=i(83227);const _=(0,P.e)(N.x.feedbackDialogWC,"Feedback dialog Web Component experience",Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,z.ii)("confirmationHelpAndSupport","Close dialog box help and support","",Object.assign({},(0,V.sz)("href","URL to help and support in MSN")))),(0,z.ii)("help","Close dialog box help and support for hubs","",Object.assign({},(0,V.sz)("href","URL to help and support in hubs")))),(0,z.ii)("privacyStatement","Report dialog box privacy statement","",Object.assign({},(0,V.sz)("href","URL for Microsoft's privacy statement")))),(0,V.sz)("serviceEndPoint","Ocv or Otf endpoint to send feedback")),(0,z.JJ)("includeUserEmail","Flag to determine if user email should be sent")),(0,z.JJ)("advancedFeatures","Flag to enable advanced features for users.")),(0,z.JJ)("powerlift","Flag to enable Powerlift service.")),(0,z.JJ)("overrideDarkMode","Flag to disable dark mode.")),(0,U.u)({cancelDialogButtonText:"cancel",closeButtonAriaLabel:"close",closeDialogBody:"Thanks for sharing. We really appreciate your perspective...",closeDialogButtonText:"close",closeDialogHeader:"Send feedback to Microsoft",closeDialogSupportLinkText:"support page",closeDialogSupportText:"Check out our support page for help",emailAriaLabel:"Enter your email.",emailLabel:"Include email address",emailValidationLabel:"Please enter valid email address",help:"help",includeDiagnosticData:"Include diagnostic data",includeThisScreenshot:"Include this screenshot",pickSpecificArea:"Pick specific area",reportDialogHeader:"Send feedback to Microsoft",reportDialogHeaderAriaLabel:"Feedback to Microsoft",reportDialogFeedbackCategoryText:"Select a Category",reportDialogGeneralFeedbackText:"General feedback",reportDialogContentQualityText:"Content quality",reportDialogCommunitiesText:"Communities",reportDialogBrokenFeatureText:"Broken Feature",reportDialogMoneyText:"Money",reportDialogSportsText:"Sports",reportDialogWeatherText:"Weather",reportDialogEntertainmentText:"Entertainment",reportDialogNewsText:"News",reportDialogTrafficText:"Traffic",reportDialogShoppingText:"Shopping",reportDialogFeedbackText:"Enter your feedback here.  To help protect your privacy...",reportDialogFeedbackMissingText:"Please leave a comment.",reportDialogFeedbackDisclaimerText:"By pressing send, your feedback will be used to improve...",reportDialogPrivacyStatementLinkText:"Microsoft Privacy Statement",sendDialogButtonText:"Send"})));var G,q=i(33940),W=i(33799),X=i(38156),Z=i(60483);!function(e){e.closeButtonName="CloseButton",e.closeButtonHeadline="Close",e.closeConfirmationButtonName="CloseConfirmationButton",e.closeConfirmationButtonHeadline="Close confirmation",e.cancelButton="Cancel",e.submitButton="Submit",e.privacyLink="Privacy",e.helpLink="Help",e.helpAndSupportLinkName="HelpAndSupport",e.helpAndSupportLinkHeadline="Help and support"}(G||(G={}));const K={module:{name:"FeedbackDialog",type:X.c9.Module},closeButton:{name:G.closeButtonName,type:X.c9.ActionButton,behavior:X.wu.Close,content:{headline:G.closeButtonHeadline}},closeConfirmationButton:{name:G.closeConfirmationButtonName,type:X.c9.ActionButton,behavior:X.wu.Close,content:{headline:G.closeConfirmationButtonHeadline}},cancelButton:{name:G.cancelButton,type:X.c9.ActionButton,behavior:X.wu.Cancel,content:{headline:G.cancelButton}},submitButton:{name:G.submitButton,type:X.c9.ActionButton,behavior:X.wu.Complete,content:{headline:G.submitButton}},privacyLink:{name:G.privacyLink,type:X.c9.ActionButton,behavior:X.wu.Navigate,content:{headline:G.privacyLink}},helpLink:{name:G.helpLink,type:X.c9.ActionButton,behavior:X.wu.Navigate,content:{headline:G.helpLink}},helpAndSupport:{name:G.helpAndSupportLinkName,type:X.c9.ActionButton,behavior:X.wu.Navigate,content:{headline:G.helpAndSupportLinkHeadline}}};function J(){return Object.assign({},function(e){const t={};return Object.keys(e).forEach((i=>{t[i]=new Z.D(e[i]).getMetadataTag()})),t}(K))}var Y,Q,ee,te,ie=i(54804),oe=i(16517),ne=i(5633),ae=i(26415),se=i(65135);class re{constructor(e){this.fetchImpl=e}reportFeedbackToOcv(e){return(0,q.mG)(this,void 0,void 0,(function*(){const t={method:"POST",mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{const e=yield this.fetchImpl(re.ocvServiceUrl,t);return!!e.ok||(se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.BadRequestReportingFeedback),{message:"Request is not valid, it has no content, or the manifest is not formatted correctly",pb:Object.assign(Object.assign({},ae.pbA.BadRequestReportingFeedback.pb),{customMessage:`Error code: ${e.status} Error message: ${e.statusText}\n                            Request params: ${t} Service url: ${re.ocvServiceUrl}`})})),!1)}catch(e){return se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback),{message:"Exception reporting feedback to OCV",pb:Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback.pb),{customMessage:`Error code: ${e?e.code:"undefined"} Error message: ${e?e.message:"undefined"}\n                        Request params: ${t} Service url: ${re.ocvServiceUrl}`})})),!1}}))}reportFeedbackToOcvByFiles(e,t,i){return(0,q.mG)(this,void 0,void 0,(function*(){try{const o=new FormData;if(i)try{const n=yield this.sendLogtoPowerLiftServer(e,i);e.application.extendedManifestData=JSON.stringify({diagnosticsUploadInfo:{diagnosticsEndPoint:"PowerLift",diagnosticsUploadId:n}})}catch(a){se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback),{message:"Exception of generate diagnostic data"}))}if(t)try{function s(e){const t=e.split(","),i=t[0].match(/:(.*?);/)[1],o=atob(t[1]);let n=o.length;const a=new Uint8Array(n);for(;n--;)a[n]=o.charCodeAt(n);return new Blob([a],{type:i})}const r=yield s(t);o.append("Screenshot",r,"screenshot.png")}catch(l){se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback),{message:"Exception of generate screenshot file."}))}try{const c=new File([JSON.stringify(e)],"Manifest.json",{type:"application/json"});o.append("Manifest",c)}catch(d){se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback),{message:"Exception of generate Manifest.json."}))}return yield this.fetchImpl(re.ocvServiceUrl,{method:"POST",body:o}),!0}catch(h){return se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback),{message:"Exception reporting feedback to OCV",pb:Object.assign(Object.assign({},ae.pbA.ExceptionReportingFeedback.pb),{customMessage:`Error code: ${h?h.code:"undefined"} Error message: ${h?h.message:"undefined"} from reportFeedbackToOcvByFiles\n                        Service url: ${re.ocvServiceUrl}`})})),!1}}))}sendLogtoPowerLiftServer(e,t){var i,o;return(0,q.mG)(this,void 0,void 0,(function*(){const n={data:{dataStringKey:"dataStringValue",ntp_diagnostics:t,system_flags:""},meta:{accounts:[{userId:e.email}],clientCapabilities:[],clientVersion:"",createdAt:(new Date).toISOString(),id:e.clientFeedbackId,sessionId:-1,installId:"0",lang:(null===(o=null===(i=ie.Al.ClientSettings)||void 0===i?void 0:i.locale)||void 0===o?void 0:o.language)||"en",platform:e.platform||""}},a={method:"POST",headers:{"Content-Type":"application/json","PowerLift-Api-Key":"x+gaQoO6u4HwIn3IyGCftGVGPstT43PS","PowerLift-Api-Version":"v5"},body:JSON.stringify(n)};try{const e=yield this.fetchImpl(re.powerliftUrl,a);e.ok||se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.FwV.ExceptionPowerliftStorage),{message:"Powerlift service response status is not successful",pb:Object.assign(Object.assign({},ae.FwV.ExceptionPowerliftStorage.pb),{customMessage:`Error code: ${e.status} Error message: ${e.statusText}\n                            Request params: ${a} Service url: ${re.powerliftUrl}`})}));return(yield e.json()).id}catch(e){return se.M0.sendAppErrorEvent(Object.assign(Object.assign({},ae.FwV.ExceptionPowerliftStorage),{message:"Exception when parse Powerlift service response",pb:Object.assign(Object.assign({},ae.FwV.ExceptionPowerliftStorage.pb),{customMessage:`Error code: ${e?e.code:"undefined"} Error message: ${e?e.message:"undefined"}\n                        Request params: ${a} Service url: ${re.powerliftUrl}`})})),""}}))}}re.ocvServiceUrl=oe.jG.Environment===ne.q.int?"https://petrol-int.office.microsoft.com/v1/feedback":"https://petrol.office.microsoft.com/v1/feedback",re.powerliftUrl="https://powerlift-frontdesk.acompli.net/api/incidents",function(e){e.Ocv="Ocv",e.Ods="Ods"}(Y||(Y={})),function(e){e.NotConfigured="Not Configured",e.Enabled="Enabled",e.Disabled="Disabled"}(Q||(Q={})),function(e){e[e.Undefined=0]="Undefined",e[e.MinorWithoutParentalConsent=1]="MinorWithoutParentalConsent",e[e.MinorWithParentalConsent=2]="MinorWithParentalConsent",e[e.Adult=3]="Adult",e[e.NotAdult=4]="NotAdult",e[e.MinorNoParentalConsentRequired=5]="MinorNoParentalConsentRequired"}(ee||(ee={})),function(e){e[e.feedbackDefault=2224]="feedbackDefault",e[e.windowsFeed=2475]="windowsFeed",e[e.edgeChromium=2231]="edgeChromium"}(te||(te={}));class le{constructor(){this.manifestType="Sas",this.appId=te.feedbackDefault,this.source="Client",this.type="Idea"}}var ce=i(58958),de=i(18544),he=i(18335),pe=i(46336),ue=i(65337),ge=i(90846),ve=i(9610),be=i(40339),fe=i(79814),me=i(51671);var xe;!function(e){e[e.Alert=0]="Alert",e[e.NoAlert=1]="NoAlert",e[e.HighImpact=2]="HighImpact",e[e.Critical=3]="Critical"}(xe||(xe={}));const ye=new class{constructor(e=20){this.maxLength=20,this.list=[],this.maxLength=e}push(e){this.list.push(e),this.list.length>this.maxLength&&this.list.shift()}get data(){return this.list}};var $e=i(36934);const ke=()=>({width:devicePixelRatio*window.screen.width,height:devicePixelRatio*window.screen.height,fixedHeight:devicePixelRatio*window.screen.height-30*devicePixelRatio});function we(e){let t;const i=[];let o="";const n=function(e){let t,i=1;if(e.nodeType==Node.ATTRIBUTE_NODE)return null;for(t=e.previousSibling;t;t=t.previousSibling)t.nodeName==e.nodeName&&++i;return i};if(e instanceof Document)return"/";for(;e;e=e.nodeType==Node.ATTRIBUTE_NODE?e.ownerElement:e.parentNode){switch(t=i[i.length]={},e.nodeType){case Node.TEXT_NODE:t.name="text()";break;case Node.ATTRIBUTE_NODE:t.name="@"+e.nodeName;break;case Node.PROCESSING_INSTRUCTION_NODE:t.name="processing-instruction()";break;case Node.COMMENT_NODE:t.name="comment()";break;case Node.ELEMENT_NODE:default:t.name=e.nodeName}t.position=n(e)}for(let e=i.length-1;e>=0;e--)t=i[e],o+="/"+t.name,null!=t.position&&(o+="["+t.position+"]");return o}const De=(e,t,i)=>{e();const o=(e,t,i,o)=>Math.abs(e-t)+Math.abs(i-o),n=e=>{const t=document.createElement("div");return Object.keys(e).map((i=>t.style[i]=e[i])),t},a=new Map;g(document.body);const s=setInterval((()=>g(document.body)),500);let r=null;window.addEventListener("scroll",u),window.addEventListener("resize",u);const l=n({position:"fixed",borderRadius:"4px",margin:"0 auto",left:0,width:"240px",bottom:"20px",right:0,zIndex:1001,pointerEvents:"auto",cursor:"pointer",backgroundColor:"#3b3b3b",color:"white",display:"flex",justifyContent:"space-between",padding:"12px 24px"});l.className="temporary-mask-cover";const c=n({borderBottom:"1px solid white",display:"inline-block",marginLeft:"12px",fontSize:"12px"});c.innerHTML=i.cancel,c.addEventListener("click",(()=>{t(null),h(a)}));const d=n({display:"inline-block"});d.innerHTML=i.pickAreaHelpInfo,l.appendChild(d),l.appendChild(c),document.body.appendChild(l);const h=e=>{e.forEach(((e,t)=>t.removeEventListener("mouseover",e))),e.clear(),clearInterval(s),u(),document.body.removeChild(l),window.removeEventListener("scroll",u),window.removeEventListener("resize",u)},p=(0,$e.Z)((e=>e()),200);function u(){r&&(document.body.removeChild(r),r=null)}function g(e,i){var s;if(!e)return;if(i&&!a.get(e)){const s=i.getBoundingClientRect(),l=e.getBoundingClientRect();if(((e,t,i=20)=>o(e.left,t.left,e.top,t.top)<i&&o(e.right,t.right,e.bottom,t.bottom)<i)(l,s)||l.height>window.screen.height);else{if("temporary-mask-cover"===e.className)return;{const i=i=>{i.stopPropagation(),p((()=>{u(),r=function(e){const i=e.getBoundingClientRect(),o=Math.min(i.width,i.height),s=n({position:"fixed",left:i.left+"px",top:i.top+"px",width:i.width+"px",height:i.height+"px",border:"2px solid red",justifyContent:"center",alignItems:"center",display:"flex",zIndex:1e3,pointerEvents:"auto",cursor:"pointer",backgroundColor:"rgba(0,0,0,.2)"}),r=n({maxWidth:o+"px",maxHeight:o+"px",minWidth:o/5+"px",minHeight:o/5+"px",width:"30px",height:"30px",zIndex:1e3,borderRadius:"50%",cursor:"pointer",opacity:.7});let l;return s.className="temporary-mask-cover",s.addEventListener("mousemove",(e=>{(new Date).getTime()-l>50&&l?(s.style.pointerEvents="none",l=0):l=(new Date).getTime()})),s.addEventListener("mouseover",(e=>{p((()=>{r.style.backgroundColor="#ff0000"})),e.stopPropagation(),e.preventDefault()})),s.addEventListener("click",(i=>{t(e),h(a)})),r.innerHTML='<svg viewBox="0 0 16 16" fill="#ffffff" xmlns="http://www.w3.org/2000/svg"><path d="M8 0C8.73438 0 9.44271 0.0963542 10.125 0.289062C10.8073 0.476562 11.4427 0.744792 12.0312 1.09375C12.625 1.44271 13.1641 1.86198 13.6484 2.35156C14.138 2.83594 14.5573 3.375 14.9062 3.96875C15.2552 4.55729 15.5234 5.19271 15.7109 5.875C15.9036 6.55729 16 7.26562 16 8C16 8.73438 15.9036 9.44271 15.7109 10.125C15.5234 10.8073 15.2552 11.4453 14.9062 12.0391C14.5573 12.6276 14.138 13.1667 13.6484 13.6562C13.1641 14.1406 12.625 14.5573 12.0312 14.9062C11.4427 15.2552 10.8073 15.526 10.125 15.7188C9.44271 15.9062 8.73438 16 8 16C7.26562 16 6.55729 15.9062 5.875 15.7188C5.19271 15.526 4.55469 15.2552 3.96094 14.9062C3.3724 14.5573 2.83333 14.1406 2.34375 13.6562C1.85938 13.1667 1.44271 12.6276 1.09375 12.0391C0.744792 11.4453 0.473958 10.8073 0.28125 10.125C0.09375 9.44271 0 8.73438 0 8C0 7.26562 0.09375 6.55729 0.28125 5.875C0.473958 5.19271 0.744792 4.55729 1.09375 3.96875C1.44271 3.375 1.85938 2.83594 2.34375 2.35156C2.83333 1.86198 3.3724 1.44271 3.96094 1.09375C4.55469 0.744792 5.19271 0.476562 5.875 0.289062C6.55729 0.0963542 7.26562 0 8 0ZM7.08594 10.5234C7.20052 10.5234 7.3099 10.5026 7.41406 10.4609C7.51823 10.4141 7.60938 10.3516 7.6875 10.2734L11.0391 6.92188C11.1172 6.84375 11.1771 6.7526 11.2188 6.64844C11.2604 6.54427 11.2812 6.4375 11.2812 6.32812C11.2812 6.21354 11.2578 6.10417 11.2109 6C11.1693 5.89583 11.1094 5.80729 11.0312 5.73438C10.9583 5.65625 10.8698 5.59635 10.7656 5.55469C10.6615 5.50781 10.5521 5.48438 10.4375 5.48438C10.3281 5.48438 10.2188 5.50521 10.1094 5.54688C10.0052 5.58854 9.91406 5.64844 9.83594 5.72656L7.08594 8.47656L6.16406 7.55469C5.9974 7.38802 5.79688 7.30469 5.5625 7.30469C5.44792 7.30469 5.33854 7.32812 5.23438 7.375C5.13021 7.41667 5.03906 7.47656 4.96094 7.55469C4.88281 7.63281 4.82031 7.72396 4.77344 7.82812C4.73177 7.92708 4.71094 8.03385 4.71094 8.14844C4.71094 8.25781 4.73177 8.36719 4.77344 8.47656C4.82031 8.58073 4.88281 8.67188 4.96094 8.75L6.48438 10.2734C6.5625 10.3516 6.65365 10.4141 6.75781 10.4609C6.86719 10.5026 6.97656 10.5234 7.08594 10.5234Z"></path></svg>',s.appendChild(r),document.body.append(s),s}(e)}))};e.addEventListener("mouseover",i),a.set(e,i)}}}const l=(null===(s=e.children)||void 0===s?void 0:s.length)?e.children:e.shadowRoot&&e.shadowRoot.children;l&&l.length&&Array.prototype.slice.call(l).map((t=>g(t,e)))}};function Ce(){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)}))}var Se;!function(e){e.ReportDialog="ReportDialog",e.CloseDialog="CloseDialog"}(Se||(Se={}));const Oe="00000000-0000-0000-0000-000000000000";class Ie extends ve.l{constructor(){super(...arguments),this.visible=!1,this.activeDialog=Se.ReportDialog,this.showDiagnosticData=!1,this.showScreenshotEditor=!1,this.userSignInStatus=-1,this.onKeydown=e=>{if(this.visible&&"Escape"===e.key&&!this.checkActiveElement("report-dialog","reportDialogSelect")){this.close();(document.querySelector("msn-windows-footer")&&document.querySelector("msn-windows-footer").shadowRoot.querySelector("msn-feedback-link").shadowRoot.getElementById("feedback-link-button")).focus()}switch(this.activeDialog){case Se.ReportDialog:this.onKeyDownReportDialog(e);break;case Se.CloseDialog:this.onKeyDownCloseDialog(e)}},this.onKeyDownReportDialog=e=>{if("Tab"===e.key)if(!e.shiftKey&&this.checkActiveElement("report-dialog","reportDialogCancelButton")){e.preventDefault();this.shadowRoot.querySelector("report-dialog").shadowRoot.getElementById("reportDialogSubmitButton").disabled?this.setFocus("reportDialogCloseButtonIcon"):this.setFocus("reportDialogSubmitButton")}else if(!e.shiftKey&&this.checkActiveElement("report-dialog","reportDialogSubmitButton"))e.preventDefault(),this.setFocus("reportDialogCloseButtonIcon");else if(e.shiftKey&&this.checkActiveElement("report-dialog","reportDialogCloseButtonIcon")){e.preventDefault();this.shadowRoot.querySelector("report-dialog").shadowRoot.getElementById("reportDialogSubmitButton").disabled?this.setFocus("reportDialogCancelButton"):this.setFocus("reportDialogSubmitButton")}},this.onKeyDownCloseDialog=e=>{"Tab"===e.key&&(this.checkActiveElement("close-dialog","closeDialogCloseButton")?(e.preventDefault(),this.setFocus("closeDialogCloseButtonIcon")):this.checkActiveElement("close-dialog","closeDialogSupportText")?(e.preventDefault(),this.setFocus("closeDialogCloseButton")):this.checkActiveElement("close-dialog","closeDialogCloseButtonIcon")&&(e.preventDefault(),this.setFocus("closeDialogSupportText")))},this.checkActiveElement=(e,t)=>!(!this.shadowRoot.querySelector(e)||!this.shadowRoot.querySelector(e).shadowRoot.activeElement||this.shadowRoot.querySelector(e).shadowRoot.activeElement.id!==t),this.setFocus=e=>{let t;switch(this.activeDialog){case Se.ReportDialog:t=this.shadowRoot.querySelector("report-dialog").shadowRoot.getElementById(e);break;case Se.CloseDialog:t=this.shadowRoot.querySelector("close-dialog").shadowRoot.getElementById(e)}t&&t.focus()},this.backgroundColorChangeHandler=()=>{this.backgroundColor=!this.config.overrideDarkMode&&(0,ce.Y)()?de.Ve:de.P5},this.generateDiagnosticData=()=>(0,q.mG)(this,void 0,void 0,(function*(){var e,t;const i=(null===(t=null===(e=he.U.getInstance())||void 0===e?void 0:e.getConfigResolver())||void 0===t?void 0:t.getConfigServiceObject())||{};this.diagnosticData={rootConfig:{resolverEnvironment:i.resolverEnvironment,configServiceQueryParams:i.configServiceQueryParams,hadNetworkError:i.hadNetworkError},error:ye.list.length?[...ye.list]:void 0,headData:ie.Al,appEnvironment:oe.jG}})),this.handleShowScreenshot=e=>(0,q.mG)(this,void 0,void 0,(function*(){this.screenshotOptions=e,this.showScreenshotEditor=!0})),this.generateBriefInfo=()=>{var e;const{oid:t,tenant_id:i,account_id:o,account_type:n,age_group:a}=oe.jG.ResolvedAccountInfo||{};return{activityID:null===(e=ie.Al.ClientSettings)||void 0===e?void 0:e.aid,account:{oid:t,tenant_id:i,account_id:o,account_type:n,age_group:a}}}}experienceConnected(){this.feedbackDialogTelemetryTags=J(),this.backgroundColor=!this.config.overrideDarkMode&&(0,ce.Y)()?de.Ve:de.P5,this.getSignInStatus()}getExperienceType(){return N.x.feedbackDialogWC}connectedCallback(){super.connectedCallback(),this.feedbackServiceClient=new re(window.fetch.bind(window)),document.addEventListener("keydown",this.onKeydown),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",this.backgroundColorChangeHandler),this.generateDiagnosticData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.onKeydown),window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.backgroundColorChangeHandler)}visibleChanged(e,t){!0===t&&(this.activeDialog=Se.ReportDialog)}reportFeedback(e){const{feedbackInput:t,feedbackEmail:i,feedbackCategories:o,feedbackScreenshot:n,isDiagnosticData:a}=e;let s,r;switch(this.config.serviceEndPoint){case Y.Ods:s=!0;break;case Y.Ocv:r=!0;break;default:s=!0,r=!0}if(s){const e=this.createFeedbackData(t);se.M0.sendFeedbackEvent(e)}if(r){const e=this.createOcvFeedbackData({feedbackInput:t,email:i,feedbackCategory:o,isDiagnosticData:a});this.config.advancedFeatures||n||a?this.feedbackServiceClient.reportFeedbackToOcvByFiles(e,n,this.config.powerlift?this.diagnosticData:null):this.feedbackServiceClient.reportFeedbackToOcv(e)}}createFeedbackData(e){return{id:Ce(),type:"General",submitValue:e&&e.length>0?e:""}}createOcvFeedbackData({feedbackInput:e,email:t,feedbackCategory:i,isDiagnosticData:o}){const n=new le,a=ie.Al&&ie.Al.ClientSettings||{},s=oe.jG&&oe.jG.HostPage||{},{aid:r="",detection:l={},deviceFormFactor:c="",geo_country:d,pageGenTime:h=""}=a,p=ie.Al&&ie.Al.Diagnostics||{},u=p&&(0,pe.fB)(JSON.stringify(p)),{ip:g="",isMsft:v=!1,isCorpNet:b=!1}=l,{categoryKey:f="",subcategoryKey:m,verticalKey:x="Prod"}=s,y=(0,ue.$o)().getItem("authRecordTrail"),$=se.M0.getPageMetadata().JoinIdProps.IDXId,k=se.M0.getPageMetadata().JoinIdProps.IDXDebugId;let w="";if(null!=$&&""!=$){const e=$.split(","),t=[];e.map((e=>{t.push("https://stampmanagerclient.azurewebsites.net/?service=ContentServices&Key="+e)})),w=t.toString()}const D=oe.jG.CurrentRequestTargetScope&&oe.jG.CurrentRequestTargetScope.pageExperiments?oe.jG.CurrentRequestTargetScope.pageExperiments.join(","):"",C=oe.jG.CurrentRequestTargetScope&&oe.jG.CurrentRequestTargetScope.browser,S=this.getOcvPartDataByPageType({clientSettings:a}),O=this.generateBriefInfo();n.appId=S.appId;const I={serviceType:"oneservice",oneServiceTraceId:"",oneServiceActivityId:r};"windowsShell"===oe.jG.AppType&&(I.oneServiceTraceId=$,I.oneServiceActivityId="");let T=Oe,E="Unauthenticated",L="",H=0;if(this.userSignInStatus===W.Hy.SignedIn){const e=(0,be.xQ)(),t=(0,be.n5)();e===W.Qm.MSA?(E="MSA",L=t&&"p:"+t||"",T=fe.bc,H=(0,be.k$)()):e===W.Qm.AAD&&(E="AAD",L=t&&"ap:"+t||"",T=(0,be.tE)()||Oe)}se.M0.sendTraceInfoEvent(I),n.submitTime=(new Date).toISOString();const A=Ce();n.clientFeedbackId=A,n.comment=e,n.rating=4,n.application={appData:JSON.stringify(Object.assign(Object.assign({ScreenResolution:window&&window.screen?[screen.width,screen.height].join("x"):"",WatsonReportId:A,DDDActivityId:$,ip:g,isMsft:v,isCorpNet:b,vertical:x,accountType:E,authData:y,pageGenTime:h,prgDiagnostics:u,iso:d,debugId:k,stampURL:w},O),!this.config.powerlift&&this.config.advancedFeatures&&o?{diagnosticData:JSON.stringify(this.diagnosticData)}:{}))},n.email=t,n.telemetry={audience:oe.jG?oe.jG.CurrentMarket:"",audienceGroup:"Production",channel:f,deviceType:c,errorClassification:i,featureArea:S.featureArea,flights:D,isUserSubscriber:(0,me.hC)(),platform:oe.jG.CurrentRequestTargetScope&&oe.jG.CurrentRequestTargetScope.os,processSessionId:r,sourceContext:S.sourceContext,isLogIncluded:o,loggableUserId:L,tenantId:T};let F="Unauthenticated";switch(O.account.account_type){case"MSA":case"AAD":case"Unauthenticated":F=O.account.account_type}let B="Unauthenticated",j="Undefined";return null!=O.account.account_type?(B=F,j=O.account.age_group):(B=E,j=ee[H]),n.complianceChecks={authenticationType:B,ageGroup:j},n.web={browser:C?C.browserType:"",browserVersion:C?C.version:"",sourcePageName:m,sourcePageURI:location.href},n}getOcvPartDataByPageType({clientSettings:e}){let t,i,o;switch(oe.jG.AppType){case"windows":case"windowsShell":t=te.windowsFeed,i=oe.jG.AppType,o=e?e.pagetype:"";break;case"edgeChromium":t=te.edgeChromium,i="New Tab Page",o="Features\\New Tab Page";break;case"views":case"homePage":t=te.feedbackDefault,i=oe.jG.AppType,o=e?e.pagetype:""}return{appId:t,sourceContext:i,featureArea:o}}close(){this.visible=!1}handleReportDialogSubmit(e){this.reportFeedback(e.detail),this.activeDialog=Se.CloseDialog}hideDialog(e){this.isHidden=e}getSignInStatus(){return(0,q.mG)(this,void 0,void 0,(function*(){const e=(0,ge.G5)();this.userSignInStatus=e?yield(0,me.XJ)():yield(0,me.rr)()}))}}(0,q.gn)([n.Lj],Ie.prototype,"backgroundColor",void 0),(0,q.gn)([a.LO],Ie.prototype,"visible",void 0),(0,q.gn)([a.LO],Ie.prototype,"activeDialog",void 0),(0,q.gn)([a.LO],Ie.prototype,"isHidden",void 0),(0,q.gn)([a.LO],Ie.prototype,"showDiagnosticData",void 0),(0,q.gn)([a.LO],Ie.prototype,"showScreenshotEditor",void 0),(0,q.gn)([a.LO],Ie.prototype,"userSignInStatus",void 0);var Te=i(89346),Ee=i(90351),Le=i(64434);const He=m.i`
    .action-dialog {
        --action-dialog-z-index: ${Le.K.Dialog.toString()};
        --layer-corner-radius: 6;
        --neutral-divider-rest: ${y.dtw};
        --action-dialog-width: min(368px, 88%);
        --button-min-width: min(156px, 50%);
        position: relative;
    }

    .action-dialog svg {
        fill: ${y.CHi};
    }

    .action-dialog-control-buttons {
        border-radius: var(--button-border-radius);
        font-size: var(--type-ramp-minus-1-font-size, 12px);
    }

    .action-dialog-controls-container-single {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr;
    }

    .action-dialog-controls-container {
        display: grid;
        grid-template-columns: var(--button-min-width) var(--button-min-width);
        justify-content: center;
        grid-gap: var(--space-between-buttons);
    }

    .title {
        height: 48px;
        border-bottom: 1px solid ${y.dtw};
    }
`,Ae=m.i`
    :host {
        border-radius: 6px;
    }
    .temporary-hide {
        display: none;
    }
`,Fe=m.i`    
    ${He}

    fluent-checkbox::part(label) {
        width: 100%;
        margin-inline-end: 0;
    }

    .report-dialog-content {
        display: flex;
        flex-direction: column;
        margin: 18px 0 4px;
    }

    .diagnostic-data-link {
        height: 20px;
        display: flex;
    }

    .report-dialog-content .input-option {
        display: flex;
        flex: 1;
    }

    .text-wrapper {
        display: flex;
        align-items: center;
        justify-content:space-between;
    }

    .margin-gap-from-top {
        margin-top: 14px;
    }

    .report-dialog-content .feedback-inputbox {        
        resize: none;
        width: 100%;
        margin-bottom: "inherit";
    }

    .report-dialog-content .feedback-inputbox::part(control) {
        height: 100px;
        overflow: hidden;
        letter-spacing: inherit !important;
    }

    .report-dialog-content fluent-text-field::part(control) {
        letter-spacing: inherit !important;
    }
    
    .report-dialog-content .feedback-footer {
        display: block;
        height: 45px;
        margin-bottom: 40px;
    }
    
    .report-dialog-content .feedback-footer fluent-anchor {
        font-size: var(--type-ramp-minus-2-font-size, 10px);
    }
    
    .report-dialog-content .feedback-disclaimer {
        display: block;
        margin-top: 5px;
        font-size: var(--type-ramp-minus-2-font-size, 10px);
    }

    .report-dialog-content .image-wrapper {
        width: 100%;
        position: relative;
    }
    .report-dialog-content .image-wrapper img{
        max-height: 400px;
        width: 100%;
        object-fit: contain;
    }
    .report-dialog-content .editor-button {
        position: absolute;
        right: 0;
        top: 0;
        opacity: 0.8;
        padding: 2px;
        backgroundColor: ${y.CHi};
    }

    .question-circle svg {
        fill: var(--neutral-focus) ;
        display: inline-block;
        width: 16px;
        cursor: pointer;
    }
`;var Be=i(18864),je=i(13988),Me=i(545),Re=i(19456);i(90282).q;const Pe=v.d`
    <fluent-select
    id="reportDialogSelect"
    aria-label="reportdialog-select"
    current-value=${e=>e.strings.reportDialogCommunitiesText}
     @change=${(e,t)=>{var i,o;const n=Object.keys(null===(i=e.reportDialogOptions)||void 0===i?void 0:i.options),a=((null===(o=t.event)||void 0===o?void 0:o.target)||{}).selectedIndex||0;e.handleReportTypeChange(n[a])}}>
            <span slot="selected-value">${(e,t)=>e.strings[e.reportDialogOptions.selectedReportType+"Text"]}</span>
            ${(0,Be.rx)((e=>{var t;return Object.keys(null===(t=e.reportDialogOptions)||void 0===t?void 0:t.options)}),v.d`<fluent-option
                @click="${(e,t)=>{t.parent.handleReportTypeChange(e)}}"
                value="${(e,t)=>t.parent.strings[e+"Text"]}"
                id="${e=>e}" 
                class=${(e,t)=>t.parent.reportDialogOptions.selectedReportType===e?"selected":"unselected"}
                aria-label="${e=>e}"
                ?selected=${(e,t)=>t.parent.reportDialogOptions.selectedReportType===e}>
            <span>${(e,t)=>t.parent.strings[e+"Text"]}</span>
         </fluent-option>`)}
    </fluent-select>
`,ze=v.d`
    <div class="report-dialog-content">
        ${(0,je.g)((e=>{var t;return null===(t=e.reportDialogOptions)||void 0===t?void 0:t.options}),Pe)}

        <fluent-text-area
            class="feedback-inputbox"
            :value=${e=>{var t;return null===(t=e.reportDialogOptions)||void 0===t?void 0:t.reportDialogFeedbackInput}}
            @input=${(e,t)=>e.setReportDialogFeedbackInput(t.event.target.value)}
            placeholder=${e=>e.strings.reportDialogFeedbackText}
            aria-required="false"
        >
        </fluent-text-area>

        ${(0,je.g)((e=>e.advancedFeatures),v.d`
        <template>
            <div class="text-wrapper" >
                <fluent-checkbox
                    @change="${(e,t,i)=>{var o;return e.isDiagnosticData=null===(o=t.event.target)||void 0===o?void 0:o.checked}}"
                    class="input-option diagnostic-data-link"
                    arial-label=${e=>e.strings.includeDiagnosticData}
                    :defaultChecked="${e=>e.isDiagnosticData}">
                    <fluent-anchor
                        appearance="lightweight"
                        target="_blank"
                        @click=${(e,t)=>{t.event.preventDefault(),t.event.stopPropagation(),e.$emit("showDiagnosticData")}}> ${e=>e.strings.includeDiagnosticData}
                    </fluent-anchor>

                </fluent-checkbox>
                <span
                    arial-label=${e=>e.strings.pickSpecificArea}
                    class="question-circle"
                    id="pick-area-info-helper"
                    @click="${(e,t)=>e.pickArea()}"> ${'<svg viewBox="0 0 24 24" fill="none"><path d="M12 2c1.2 0 2.36.21 3.42.6l-1.19 1.2a8.51 8.51 0 1 0 5.97 5.97l1.2-1.2A10 10 0 1 1 12 2Zm0 4c.52 0 1.02.07 1.5.19v1.57a4.5 4.5 0 1 0 2.74 2.74h1.57A6.01 6.01 0 1 1 12 6Zm2 6a2 2 0 1 1-1.22-1.84l1.72-1.72V5.25c0-.2.08-.39.22-.53l2.5-2.5a.75.75 0 0 1 1.28.53V5.5h2.75a.75.75 0 0 1 .53 1.28l-2.5 2.5a.75.75 0 0 1-.53.22h-3.19l-1.72 1.72c.1.24.16.5.16.78Zm4.44-4 1-1h-1.69a.75.75 0 0 1-.75-.75V4.56l-1 1v2.38a.7.7 0 0 1 .06.06h2.38Z"/></svg>'}
                </span>
                <fluent-tooltip :delay=${e=>0} anchor="pick-area-info-helper"><span class="tooltip-info">${e=>e.strings.pickSpecificArea}</span> </fluent-tooltip>
            </div>
            ${(0,je.g)((e=>e.supportScreenshot),v.d`<div class="text-wrapper" >
                <fluent-checkbox
                    class="input-option"
                    @change="${(e,t,i)=>{var o;return(null===(o=t.event.target)||void 0===o?void 0:o.checked)?e.screenshot(t.event.target):e.screenshotUrl=""}}"
                    arial-label=${e=>e.strings.includeThisScreenshot}>
                        <span class="input-text">${e=>e.strings.includeThisScreenshot}</span>
                </fluent-checkbox>
              <span class="question-circle" id="screenshot-info-helper">${'<svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.67a8.34 8.34 0 0 0 0 16.66 8.34 8.34 0 0 0 0-16.66Zm0 11.83a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-8.75a2.75 2.75 0 0 1 2.75 2.75c0 1.01-.3 1.57-1.05 2.36l-.17.17c-.62.62-.78.89-.78 1.47a.75.75 0 0 1-1.5 0c0-1.01.3-1.57 1.05-2.36l.17-.17c.62-.62.78-.89.78-1.47a1.25 1.25 0 0 0-2.5-.13v.13a.75.75 0 0 1-1.5 0A2.75 2.75 0 0 1 12 6.75Z"/></svg>'}</span>
                <fluent-tooltip :delay=${e=>0} anchor="screenshot-info-helper">
                    <span class="tooltip-info">${e=>e.strings.screenshotHelpInfo}</span>
                </fluent-tooltip>
            </div>`)}
            ${(0,je.g)((e=>e.supportScreenshot&&e.screenshotUrl),v.d`
                <div class="image-wrapper">
                    <img src="${e=>e.screenshotUrl}"/>
                    <fluent-button
                        class="editor-button"
                        arial-label=${e=>e.strings.corpImage}
                        role="button"
                        title=${e=>e.strings.corpImage}
                        appearance="stealth"tabindex="0"
                        @click=${e=>e.$emit("handleShowScreenshot",{screenshotUrl:e.screenshotUrlBackup,screenshotCorpCallback:t=>e.screenshotUrl=t})}
                        >
                        ${Re.Z}
                    </fluent-button>
                </div>`)}

        </template>`)}

        <div class="text-wrapper">
            <fluent-checkbox
                class="input-option"
                :checked=${e=>e.useEmailAddress}
                :placeholder=${e=>e.userEmailPlaceholder}
                @change=${(e,t)=>{var i;return e.useEmailAddress=null===(i=t.event.target)||void 0===i?void 0:i.checked}}
                arial-label=${e=>e.strings.emailLabel}
                :defaultChecked="${e=>e.useEmailAddress}">
                ${e=>e.strings.emailLabel}
            </fluent-checkbox>
        </div>

        <fluent-text-field
            :value=${e=>e.userEmailValue}
            :placeholder=${e=>e.strings.emailValidationLabel}
             @input=${(e,t)=>{e.inputEmailHandler(t.event.target.value)}}
            aria-required="false">
        </fluent-text-field>

        <div class="feedback-footer margin-gap-from-top">
            <div class="feedback-disclaimer">
               <div> ${e=>e.statementText}</div>
               <fluent-anchor appearance="lightweight" href=${"https://go.microsoft.com/fwlink/?LinkId=521839"} target="_blank" data-t="${e=>e.feedbackDialogTelemetryTags.privacyLink}">
                ${e=>e.strings.reportDialogPrivacyStatementLinkText}
               </fluent-anchor>
        </div>

        </div>
    </div>
`,Ve=v.d`
    <msn-action-dialog 
        class="action-dialog"
        headline=${e=>e.strings.reportDialogHeader}
        ariaLabel=${e=>e.strings.reportDialogHeaderAriaLabel}
        :trapFocus=${e=>!0}
        >
        <fluent-button
            slot="close-button"
            appearance="stealth"
            tabindex="0"
            id="reportDialogCloseButtonIcon"
            @click=${e=>e.close()}
            aria-label=${e=>e.strings.closeDialogButtonText}
            role="button"
            title=${e=>e.strings.closeDialogButtonText}
            data-t="${e=>e.feedbackDialogTelemetryTags.closeButton}"
        >
            ${Me.Z}
        </fluent-button>
        ${(0,je.g)((e=>e.reportDialogOptions),ze)}
        <div class="action-dialog-controls-container">
          <fluent-button
                class="action-dialog-control-buttons"
                slot="cancel-button"
                id="reportDialogCancelButton"
                @click=${e=>e.close()}
                aria-label=${e=>e.strings.closeDialogButtonText}
                role="button"
                title=${e=>e.strings.closeDialogButtonText}
                data-t="${e=>e.feedbackDialogTelemetryTags.cancelButton}"
            >
                ${e=>e.strings.closeDialogButtonText}
            </fluent-button>
            <fluent-button
                class="action-dialog-control-buttons"
                slot="action-button"
                appearance="accent"
                id="reportDialogSubmitButton"
                @click=${e=>e.raiseSubmitEvent()}
                ?disabled=${e=>e.shouldSubmitBeDisabled}
                aria-label=${e=>e.strings.sendDialogButtonText}
                role="button"
                title=${e=>e.strings.sendDialogButtonText}
                data-t="${e=>e.feedbackDialogTelemetryTags.submitButton}"
            >
                ${e=>e.strings.sendDialogButtonText}
            </fluent-button>

        </div>
    </msn-action-dialog>
`,Ue="user-email-to-ocv-key";let Ne=class extends Te.H{constructor(){var e;super(...arguments),this.userEmailPlaceholder="",this.isDiagnosticData=!1,this.advancedFeatures=!1,this.supportScreenshot="function"==typeof(null===(e=navigator.mediaDevices)||void 0===e?void 0:e.getUserMedia),this.inputBlurHandler=(0,$e.Z)((()=>{this.isValidEmail(this.userEmailValue)&&(this.useEmailAddress=!0)}),1e3),this.setReportDialogFeedbackInput=e=>{this.reportDialogOptions=Object.assign(Object.assign({},this.reportDialogOptions),{reportDialogFeedbackInput:e})},this.screenshot=e=>{var t;t=(t,i)=>{t&&i?(this.screenshotUrl=i,this.screenshotUrlBackup=i):e.checked=!1,this.$emit("hideDialog",!1)},(()=>{this.$emit("hideDialog",!0)})(),navigator.mediaDevices.getDisplayMedia({video:!0}).then((function(e){const{width:i,height:o,fixedHeight:n}=ke(),a=document.createElement("video");a.width=i,a.height=o,a.autoplay=!0,a.playsInline=!0,document.body.appendChild(a),a.srcObject=e,a.style.display="none",setTimeout((()=>{const s=document.createElement("canvas");s.width=i,s.height=o,s.getContext("2d").drawImage(a,0,0,i,o);const r=document.createElement("canvas"),l=r.getContext("2d");r.width=i,r.height=n,l.drawImage(s,0,0),t(!0,r.toDataURL("image/png")),e.getTracks().forEach((e=>{e.stop(),document.body.removeChild(a)}))}),300)}),(()=>t(!1))).catch((()=>t(!1)))},this.pickArea=()=>{De((()=>{this.$emit("hideDialog",!0)}),(e=>{if(this.$emit("hideDialog",!1),!e)return;this.highlightSelectedArea(e);const t=Object.assign(Object.assign({xPath:we(e)},e.getBoundingClientRect().toJSON()),{dom:e.outerHTML.slice(0,1e4)});this.$emit("pickAnAreaDone",t)}),{pickAreaHelpInfo:this.strings.pickAreaHelpInfo,cancel:this.strings.cancelDialogButtonText})}}connectedCallback(){super.connectedCallback(),this.strings.reportDialogBlurryImageText&&this.strings.reportDialogFeedRelevancyText&&this.strings.reportDialogFeedbackCategoryText?this.reportDialogOptions={options:{reportDialogCommunities:!1,reportDialogBrokenFeature:!1,reportDialogContentQuality:!1,reportDialogMoney:!1,reportDialogSports:!1,reportDialogWeather:!1,reportDialogEntertainment:!1,reportDialogNews:!1,reportDialogTraffic:!1,reportDialogShopping:!1,reportDialogGeneralFeedback:!1},selectedReportType:"reportDialogFeedbackCategory",reportDialogFeedbackInput:""}:this.reportDialogOptions={options:{reportDialogBlurryImage:!1,reportDialogFeedRelevancy:!1,reportDialogDuplicateContent:!1,reportDialogAdQuality:!1,reportDialogContentQuality:!1,reportDialogGeneralFeedback:!1},selectedReportType:"reportDialogGeneralFeedback",reportDialogFeedbackInput:""},this.statementText=this.strings.reportDialogFeedbackDisclaimerText;const e=ie.Al&&ie.Al.ClientSettings,t=e&&e.detection&&e.detection.isMsft||!1;this.useEmailAddress=null!=this.useEmailAddress?this.useEmailAddress:t}inputEmailHandler(e){this.userEmailValue=e,this.inputBlurHandler()}useEmailAddressChanged(e,t){!0===t?this.getUserEmail():this.userEmailValue=""}shouldAutoFillEmailChanged(e,t){!0===t?this.getUserEmail():this.userEmailValue=""}handleReportTypeChange(e){this.reportDialogOptions=Object.assign(Object.assign({},this.reportDialogOptions),{selectedReportType:e})}close(){this.$emit("close")}raiseSubmitEvent(){const e={feedbackInput:this.reportDialogOptions.reportDialogFeedbackInput,feedbackEmail:this.useEmailAddress?this.userEmailValue:void 0,feedbackCategories:this.reportDialogOptions.selectedReportType,feedbackScreenshot:this.screenshotUrl,isDiagnosticData:this.isDiagnosticData};this.$emit("submit",e)}get shouldSubmitBeDisabled(){var e,t;const i=this.userEmailValue,o=!!i&&this.isValidEmail(i);return""===(null===(e=this.reportDialogOptions)||void 0===e?void 0:e.reportDialogFeedbackInput.trim())||this.useEmailAddress&&!o||"reportDialogFeedbackCategory"==(null===(t=this.reportDialogOptions)||void 0===t?void 0:t.selectedReportType)}isValidEmail(e){const t=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e);return t&&(0,ue.$o)().setItem(Ue,e),t}getUserEmail(){const e=(0,ue.$o)().getItem(Ue);if(e)return void(this.userEmailValue=e);if(!this.userEmailValue){const e=(0,Ee.Z)(window,"MeControl.WebInline.getOptions",void 0);if(!e)return;const t=(0,Ee.Z)(e(),"currentAccount.memberName","");this.userEmailValue=t}}highlightSelectedArea(e){var t;this.recoverPickAreaStyle(),this.pickAreaBorderStyle=null===(t=e.style)||void 0===t?void 0:t.border,e.style.border="solid 2px red",this.pickAreaDom=e}recoverPickAreaStyle(){this.pickAreaDom&&(this.pickAreaDom.style.border=this.pickAreaBorderStyle,this.pickAreaDom=null,this.pickAreaBorderStyle="")}disconnectedCallback(){super.disconnectedCallback(),this.recoverPickAreaStyle()}};(0,q.gn)([a.LO],Ne.prototype,"feedbackDialogTelemetryTags",void 0),(0,q.gn)([a.LO],Ne.prototype,"reportDialogOptions",void 0),(0,q.gn)([a.LO],Ne.prototype,"strings",void 0),(0,q.gn)([a.LO],Ne.prototype,"useEmailAddress",void 0),(0,q.gn)([a.LO],Ne.prototype,"userEmailValue",void 0),(0,q.gn)([a.LO],Ne.prototype,"shouldAutoFillEmail",void 0),(0,q.gn)([a.LO],Ne.prototype,"userEmailPlaceholder",void 0),(0,q.gn)([a.LO],Ne.prototype,"isDiagnosticData",void 0),(0,q.gn)([a.LO],Ne.prototype,"advancedFeatures",void 0),(0,q.gn)([a.LO],Ne.prototype,"screenshotUrl",void 0),(0,q.gn)([a.LO],Ne.prototype,"statementText",void 0),(0,q.gn)([a.lk],Ne.prototype,"shouldSubmitBeDisabled",null),Ne=(0,q.gn)([(0,Te.M)({name:"report-dialog",template:Ve,styles:Fe})],Ne);const _e=((e=2)=>{const t=ke(),i=Math.max(innerWidth/e,800);return{width:i,height:t.fixedHeight/t.width*i}})(),Ge=m.i`
    ${He}

    msn-action-dialog::part(control) {
        width: ${String(_e.width+60)}px;
        height: ${String(_e.height+120)}px;
    }

    msn-action-dialog .img-editor {
        width: ${String(_e.width)}px;
        height: ${String(_e.height)}px;
        position: relative;
        margin-top: 12px;
    }

    .action-dialog-control-buttons::part(control) {
        padding:12px 48px;
    }

    .canvas-mask{
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-color: transparent;
    }

    .action-buttons{
        margin-top:20px;
        width: 100%;
        text-align:center;
    }`,qe=v.d`
    <msn-action-dialog 
        class="action-dialog"
        headline=${e=>e.strings.screenshotEditorHeader}
        ariaLabel=${e=>e.strings.screenshotEditorHeader}
        :trapFocus=${e=>!1}
        >
        <fluent-button
            slot="close-button"
            appearance="stealth"
            tabindex="0"
            @click=${e=>e.$emit("close")}
            aria-label=${e=>e.strings.closeDialogButtonText}
            role="button"
            title=${e=>e.strings.closeDialogButtonText}
        >
            ${Me.Z}
        </fluent-button>
        <div class="img-editor" ${(0,k.i)("container")}
                @mousemove=${(e,t)=>e.drag(t.event)} 
                @touchmove= ${(e,t)=>e.drag(t.event)}
                @mousedown=${(e,t)=>e.dragStart(t.event)}
                @mouseup=${(e,t)=>e.dragEnd(t.event)}
                @touchend=${(e,t)=>e.dragEnd(t.event)}
                @touchstart=${(e,t)=>e.dragStart(t.event)}>
            <img ${(0,k.i)("imageRef")}  width="100%" height="100%" src="${e=>{var t;return null===(t=e.screenshotOptions)||void 0===t?void 0:t.screenshotUrl}}"/>
            <canvas ${(0,k.i)("canvasRef")} class="canvas-mask" width="${e=>e.rect.width}" height="${e=>e.rect.height}"></canvas>
        </div>
        <div class="action-buttons">
            <fluent-button
                class="action-dialog-control-buttons"
                slot="action-button"
                appearance="accent"
                tabindex="0"
                @click=${e=>e.confirm()}
                aria-label=${e=>e.strings.confirm}
                role="button"
                title=${e=>e.strings.confirm}
            >
                ${e=>e.strings.confirm}
            </fluent-button>
            <fluent-button
                class="action-dialog-control-buttons"
                slot="cancel-button"
                tabindex="0"
                aria-label=${e=>e.strings.cancelDialogButtonText}
                role="button"
                title=${e=>e.strings.cancelDialogButtonText}
                @click=${e=>e.$emit("close")}
            >
                ${e=>e.strings.cancelDialogButtonText}
            </fluent-button>
        </div>
    </msn-action-dialog>
`;let We=class extends Te.H{constructor(){super(...arguments),this.strings={},this.rect=_e,this.selectedRect=[],this.startX=0,this.startY=0,this.active=!1,this.drag=e=>{if(e.preventDefault(),!this.active)return;const t=this.canvasRef.getBoundingClientRect(),i="touchmove"===e.type?e.touches[0].clientX-t.left:e.clientX-t.left,o="touchmove"===e.type?e.touches[0].clientY-t.top:e.clientY-t.top,n=i<this.startX?i:this.startX,a=o<this.startY?o:this.startY,s=Math.abs(i-this.startX),r=Math.abs(o-this.startY);this.drawSelectedArea(n,a,s,r)}}dragStart(e){this.active=!0;const t=this.canvasRef.getBoundingClientRect();this.startX="touchstart"===e.type?e.touches[0].clientX-t.left:e.clientX-t.left,this.startY="touchstart"===e.type?e.touches[0].clientY-t.top:e.clientY-t.top}dragEnd(e){e.preventDefault(),this.active=!1;const t=this.canvasRef.getBoundingClientRect(),i="touchend"===e.type?e.touches[0].clientX-t.left:e.clientX-t.left,o="touchend"===e.type?e.touches[0].clientY-t.top:e.clientY-t.top,n=i<this.startX?i:this.startX,a=o<this.startY?o:this.startY,s=Math.abs(i-this.startX),r=Math.abs(o-this.startY);this.drawSelectedArea(n,a,s,r,!0),this.selectedRect=[n,a,s,r]}confirm(){const e=ke(),t=document.createElement("canvas");t.width=e.width,t.height=e.fixedHeight;const i=t.getContext("2d");this.imageRef.setAttribute("crossOrigin","Anonymous"),i.drawImage(this.imageRef,0,0,e.width,e.fixedHeight);const o=e.width/this.rect.width,n=document.createElement("canvas"),a=n.getContext("2d"),s=this.selectedRect.map((e=>e*o));n.width=s[2],n.height=s[3],a.drawImage(t,s[0],s[1],s[2],s[3],0,0,s[2],s[3]),this.screenshotOptions.screenshotCorpCallback(n.toDataURL("image/png")),this.$emit("close")}drawSelectedArea(e,t,i,o,n=!1){const a=this.rect.width,s=this.rect.height,r=this.canvasRef.getContext("2d");r.fillStyle="rgba(0,0,0, 0.7)",r.strokeStyle=n?"#ffffff":"rgba(255,255,255,.5)",r.clearRect(0,0,a,s),r.fillRect(0,0,a,s),r.clearRect(e,t,i,o),r.setLineDash([15,3,3,3]),r.strokeRect(e,t,i,o)}};(0,q.gn)([a.LO],We.prototype,"screenshotOptions",void 0),(0,q.gn)([a.LO],We.prototype,"strings",void 0),We=(0,q.gn)([(0,Te.M)({name:"screenshot-editor-dialog",template:qe,styles:Ge})],We);const Xe=m.i`
    ${He}
    
    .feedback-text {
        padding: 0 10px 0 0;
        font-size: var(--type-ramp-minus-1-font-size, 10px);
    }

    .feedback-supportText {
        display: flex;
        font-size: var(--type-ramp-minus-1-font-size, 10px);
    }

    .feedback-supportUrl {
        padding: 0 5px 0 5px;
        position: relative;
        top: -9px;
        font-size: var(--type-ramp-minus-2-font-size, 10px);
    }

    .feedback-supportUrl a {
        text-decoration: none;
        color: ${y.goi};
    }

    .feedback-supportUrl a:hover {
        color: ${y.D9J};
    }
`,Ze=v.d`
    <msn-action-dialog
        class="action-dialog"
        headline=" ${e=>e.strings.closeDialogHeader}"
        ariaLabel=${e=>e.strings.closeDialogHeader}
        :trapFocus=${e=>!0}
        >
        <fluent-button
            slot="close-button"
            appearance="stealth"
            tabindex="0"
            id="closeDialogCloseButtonIcon"
            @click=${e=>e.close()}
            aria-label=${e=>e.strings.closeButtonAriaLabel}
            role="button"
            title=${e=>e.strings.closeDialogButtonText}
            data-t="${e=>e.feedbackDialogTelemetryTags.closeButton}"
        >
            ${Me.Z}
        </fluent-button>
        <div class="close-dialog-content">
            <p class="feedback-text">
                ${e=>e.strings.closeDialogBody}
            </p>
            <div class="feedback-supportText">
               ${e=>e.supportText[0]}
                <div class="feedback-supportUrl">
                    <fluent-anchor
                    appearance="lightweight"
                    id="closeDialogSupportText"
                    href= ${e=>e.supportUrlLink}
                    target="_blank" >
                        ${e=>e.strings.closeDialogSupportLinkText}
                    </fluent-anchor>
                </div>
                ${e=>e.supportText[1]}
            </div>
        </div>
        <div class="action-dialog-controls-container-single">
            <fluent-button
                class="action-dialog-control-buttons"
                appearance="accent"
                id="closeDialogCloseButton"
                @click=${e=>e.close()}
                title=${e=>e.strings.closeDialogButtonText}
                aria-label=${e=>e.strings.closeButtonAriaLabel}
                role="button"
                data-t="${e=>e.feedbackDialogTelemetryTags.submitButton}"
            >
                ${e=>e.strings.closeDialogButtonText}
            </fluent-button>
        </div>
    </msn-action-dialog>
`;let Ke=class extends Te.H{close(){this.$emit("close")}get supportUrlLink(){return this.supportUrl}get supportText(){return this.strings.closeDialogSupportText.split("{0}")}};(0,q.gn)([n.Lj],Ke.prototype,"supportUrl",void 0),(0,q.gn)([a.LO],Ke.prototype,"feedbackDialogTelemetryTags",void 0),(0,q.gn)([a.LO],Ke.prototype,"strings",void 0),Ke=(0,q.gn)([(0,Te.M)({name:"close-dialog",template:Ze,styles:Xe})],Ke);const Je=m.i`
    ${He}
    msn-action-dialog::part(control) {
        width: 600px;
        max-width: 100%;
        max-height: 800px;
        padding-bottom: 60px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .pre-wrapper {
        border: #e5e5e5 1px solid;
    }
    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    svg.action-operator {
        fill: transparent;
        stroke: ${y.yGg};
    }
    fluent-accordion-item {
        margin-top: var(--dialog-padding);
        border-bottom: 1px solid ${y.wFS};
        padding: 12px;
    }
    .heading {
        font-size: ${y.mWK};
    }
`,Ye='<svg class="action-operator" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="collapsed-icon">\n            <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n            <path d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n            <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n        </svg>',Qe='<svg class="action-operator" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="expanded-icon">\n            <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n            <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n        </svg>',et=v.d`
    <msn-action-dialog
        :trapFocus=${e=>!1}
        class="action-dialog"
        headline=${e=>e.strings.diagnosticDialogHeader}
        ariaLabel=${e=>e.strings.diagnosticDialogHeader}
        >
        <fluent-button
            slot="close-button"
            appearance="stealth"
            tabindex="0"
            @click=${e=>e.close()}
            aria-label=${e=>e.strings.closeDialogButtonText}
            role="button"
            title=${e=>e.strings.closeDialogButtonText}
            data-t="${e=>e.feedbackDialogTelemetryTags.closeButton}"
        >
            ${Me.Z}
        </fluent-button>
        <fluent-accordion>
            <fluent-accordion-item>
                <div slot="heading" class="heading">${e=>e.strings.diagnosticAppInfo}</div>
                ${Ye}
                ${Qe}
                <div class="pre-wrapper"><pre>${e=>JSON.stringify({headData:e.diagnosticData.headData,appEnvironment:e.diagnosticData.appEnvironment},null,2)}</pre></div>
            </fluent-accordion-item>
            <fluent-accordion-item>
                <div slot="heading" class="heading">${e=>e.strings.diagnosticSettingInfo}</div>
                ${Ye}
                ${Qe}
                <div class="pre-wrapper"><pre>${e=>JSON.stringify({rootConfig:e.diagnosticData.rootConfig},null,2)}</pre></div>
            </fluent-accordion-item>
            <fluent-accordion-item>
                <div slot="heading" class="heading">${e=>e.strings.diagnosticErrorInfo}</div>
                ${Ye}
                ${Qe}
                <div class="pre-wrapper"><pre>${e=>JSON.stringify({error:e.diagnosticData.error},null,2)}</pre></div>
            </fluent-accordion-item>
            ${(0,je.g)((e=>e.diagnosticData.pickedArea),v.d`  <fluent-accordion-item>
                <div slot="heading" class="heading">${e=>e.strings.selectedAreaInfo}</div>
                ${Ye}
                ${Qe}
                <div class="pre-wrapper"><pre>${e=>JSON.stringify({pickedArea:e.diagnosticData.pickedArea},null,2)}</pre></div>
            </fluent-accordion-item>`)}
        </fluent-accordion>
    </msn-action-dialog>
`;let tt=class extends Te.H{constructor(){super(...arguments),this.strings={}}close(){this.$emit("close")}};(0,q.gn)([a.LO],tt.prototype,"diagnosticData",void 0),(0,q.gn)([a.LO],tt.prototype,"strings",void 0),(0,q.gn)([a.LO],tt.prototype,"feedbackDialogTelemetryTags",void 0),tt=(0,q.gn)([(0,Te.M)({name:"diagnostic-data-dialog",template:et,styles:Je})],tt);const it=v.d`
    <div data-t="${e=>e.feedbackDialogTelemetryTags.module}" class="${e=>e.isHidden?"temporary-hide":""}">
        <fluent-design-system-provider fill-color=${e=>e.backgroundColor}>
            ${(0,je.g)((e=>e.visible&&e.activeDialog===Se.ReportDialog),v.d`
                <report-dialog 
                    :shouldAutoFillEmail=${e=>e.config.includeUserEmail}
                    :feedbackDialogTelemetryTags=${e=>e.feedbackDialogTelemetryTags}
                    :strings=${e=>e.strings}
                    :advancedFeatures=${e=>e.config.advancedFeatures}
                    @hideDialog=${(e,t)=>{var i;e.hideDialog(null===(i=t.event)||void 0===i?void 0:i.detail)}}
                    @submit=${(e,t)=>e.handleReportDialogSubmit(t.event)}
                    @showDiagnosticData= ${e=>{e.showDiagnosticData=!0}}
                    @handleShowScreenshot =${(e,t)=>{var i;return e.handleShowScreenshot(null===(i=t.event)||void 0===i?void 0:i.detail)}}
                    @pickAnAreaDone =${(e,t)=>{var i;return e.diagnosticData=Object.assign(Object.assign({},e.diagnosticData),{pickedArea:null===(i=t.event)||void 0===i?void 0:i.detail})}}
                    @close=${e=>e.close()}
                >
                </report-dialog>
            `)}
            ${(0,je.g)((e=>e.visible&&e.activeDialog===Se.CloseDialog),v.d`
                <close-dialog
                    supportUrl=${e=>{var t;return null===(t=e.config.confirmationHelpAndSupport)||void 0===t?void 0:t.href}}
                    :feedbackDialogTelemetryTags=${e=>e.feedbackDialogTelemetryTags}
                    :strings=${e=>e.strings}
                    @close=${e=>e.close()}
                >
                </close-dialog>
            `)}
            ${(0,je.g)((e=>e.visible&&e.showDiagnosticData),v.d`
                <diagnostic-data-dialog @close=${e=>e.showDiagnosticData=!1}
                        :feedbackDialogTelemetryTags=${e=>e.feedbackDialogTelemetryTags}
                        :diagnosticData=${e=>e.diagnosticData}
                        :strings=${e=>e.strings}>
                </diagnostic-data-dialog>
            `)}
            ${(0,je.g)((e=>e.visible&&e.showScreenshotEditor),v.d`
                <screenshot-editor-dialog @close=${e=>e.showScreenshotEditor=!1}
                        :feedbackDialogTelemetryTags=${e=>e.feedbackDialogTelemetryTags}
                        :screenshotOptions=${e=>e.screenshotOptions}
                        :strings=${e=>e.strings}
                </screenshot-editor-dialog>
            `)}
        </fluent-design-system-provider>
    </div>
`,ot={experienceConfigSchema:_};(0,I.z)().withShadowRootMode("closed").withElementDisambiguation((()=>R.h.ignoreDuplicate)).register((0,T.hb)(),(0,E.QT)(),(0,L.g)(),(0,H.of)(),(0,A.i0)(),(0,F.$M)(),(0,B.P)(),$(),O(),(0,j.x)()),(0,I.z)().withShadowRootMode("open").withElementDisambiguation((()=>R.h.ignoreDuplicate)).register((0,M.Ad)())},90282:function(e,t,i){i.d(t,{q:function(){return m}});var o=i(33940),n=i(89346),a=i(44541),s=i(65620);class r extends a.V{constructor(){super(...arguments),this.headinglevel=2,this.dismiss=()=>{this.$emit("action-dialog-dismiss")}}}(0,o.gn)([(0,s.Lj)({attribute:"headline"})],r.prototype,"headline",void 0);var l=i(32804),c=i(53046),d=i(67020);const h=c.i`
    ${(0,d.j)("flex")} :host {
        --dialog-height: var(--action-dialog-height, auto);
        --dialog-width: var(--action-dialog-width, auto);
        --button-border-radius: 20px;
        --button-min-width: 160px;
        --control-corner-radius: 2px;
        --dialog-padding: 24px;
        --space-above-title: 20px;
        --space-between-buttons: 8px;
        z-index: var(--action-dialog-z-index, 0);
    }

    .body {
        margin: 0 var(--dialog-padding) var(--dialog-padding) var(--dialog-padding);
    }

    .content {
        display: flex;
        flex-direction: column;
    }

    .controls {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: var(--space-between-buttons);
        justify-content: center;
    }

    .heading {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 1;
        position: relative;
        width: 100%;
    }

    .heading span {
        font-size: ${l.mWK};
        font-weight: 600;
        line-height: ${l.ipv};
        margin-inline-start: var(--dialog-padding);
        margin-top: var(--space-above-title);
    }
`;var p=i(39181),u=i(13988),g=i(58952);const v=p.d`
    <div class="positioning-region" part="positioning-region">
        ${(0,u.g)((e=>e.modal),p.d`
                <div
                    class="overlay"
                    part="overlay"
                    role="presentation"
                    tabindex="-1"
                    @click="${e=>e.dismiss()}"
                ></div>
            `)}
        <div
            role="dialog"
            class="control"
            part="control"
            aria-modal="${e=>e.modal}"
            aria-describedby="${e=>e.ariaDescribedby}"
            aria-labelledby="${e=>e.ariaLabelledby}"
            aria-label="${e=>e.ariaLabel}"
            ${(0,g.i)("dialog")}
        >
            <div class="heading" part="heading">
                <span role="heading" aria-level=${e=>e.headinglevel}>${e=>e.headline}</span>
                <slot name="close-button" aria-hidden="true"></slot>
            </div>
            <div class="body" part="body">
                <div class="content" part="content">
                    <slot></slot>
                </div>
                <div class="controls" part="controls">
                    <slot name="action-button"></slot>
                    <slot name="cancel-button"></slot>
                </div>
            </div>
        </div>
    </div>
`;var b=i(62734);const f=c.i`
  :host([hidden]) {
    display: none;
  }

  :host {
    --elevation: 14;
    --dialog-height: 480px;
    --dialog-width: 640px;
    display: block;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    touch-action: none;
  }

  .positioning-region {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
  }

  .control {
    ${b.XC}
    margin-top: auto;
    margin-bottom: auto;
    border-radius: calc(${l.rSr} * 1px);
    width: var(--dialog-width);
    height: var(--dialog-height);
    background: ${l.IfY};
    z-index: 1;
    border: calc(${l.Han} * 1px) solid transparent;
  }
`;let m=class extends r{};m=(0,o.gn)([(0,n.M)({name:"msn-action-dialog",template:v,styles:[f,h],shadowOptions:{delegatesFocus:!0}})],m)},38247:function(e,t,i){i.d(t,{QT:function(){return h}});var o=i(33940),n=i(28090),a=i(65620),s=i(45169),r=i(53046),l=i(45597),c=i(82636);class d extends n.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,o.gn)([a.Lj,(0,o.w6)("design:type",String)],d.prototype,"appearance",void 0);const h=d.compose({baseName:"anchor",baseClass:n.e,template:s.g,styles:(e,t)=>r.i`
        ${(0,l.vN)(e,t)}
    `.withBehaviors((0,c.H)("accent",l.jQ),(0,c.H)("hypertext",l.Xu),(0,c.H)("lightweight",l.vt),(0,c.H)("outline",l.O8),(0,c.H)("stealth",l.cg)),shadowOptions:{delegatesFocus:!0}})},87034:function(e,t,i){i.d(t,{g:function(){return k}});var o=i(20005),n=i(65620),a=i(87697),s=i(36153),r=i(82500),l=i(48839);class c extends l.I{}class d extends((0,r.V2)(c)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class h extends d{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.readOnly&&e.key===s.BI)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=e=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}(0,o.gn)([(0,n.Lj)({attribute:"readonly",mode:"boolean"})],h.prototype,"readOnly",void 0),(0,o.gn)([a.LO],h.prototype,"defaultSlottedNodes",void 0),(0,o.gn)([a.LO],h.prototype,"indeterminate",void 0);var p=i(39181),u=i(90960);var g=i(53046),v=i(67020),b=i(56201),f=i(37139),m=i(40082),x=i(15933),y=i(2658),$=i(32804);const k=h.compose({baseName:"checkbox",template:(e,t)=>p.d`
    <template
        role="checkbox"
        aria-checked="${e=>e.checked}"
        aria-required="${e=>e.required}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.readOnly?"readonly":""} ${e=>e.checked?"checked":""} ${e=>e.indeterminate?"indeterminate":""}"
    >
        <div part="control" class="control">
            <slot name="checked-indicator">
                ${t.checkedIndicator||""}
            </slot>
            <slot name="indeterminate-indicator">
                ${t.indeterminateIndicator||""}
            </slot>
        </div>
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,u.Q)("defaultSlottedNodes")}></slot>
        </label>
    </template>
`,styles:(e,t)=>g.i`
        ${(0,v.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            margin: calc(${$._5n} * 1px) 0;
            ${""} user-select: none;
        }

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

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

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

        .checked-indicator {
            width: 100%;
            height: 100%;
            display: block;
            fill: ${$.CHi};
            opacity: 0;
            pointer-events: none;
        }

        .indeterminate-indicator {
            border-radius: calc((${$.UWU} / 2) * 1px);
            background: ${$.CHi};
            position: absolute;
            top: 50%;
            left: 50%;
            width: 50%;
            height: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
        }

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

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

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

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

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

        :host(.disabled) {
            opacity: ${$.VFZ};
        }
    `.withBehaviors((0,m.vF)(g.i`
                .control {
                    forced-color-adjust: none;
                    border-color: ${x.H.FieldText};
                    background: ${x.H.Field};
                }
                :host(:enabled) .control:hover,
                .control:active {
                    border-color: ${x.H.Highlight};
                    background: ${x.H.Field};
                }
                .checked-indicator {
                    fill: ${x.H.FieldText};
                }
                .indeterminate-indicator {
                    background: ${x.H.FieldText};
                }
                :host(:${b.b}) .control {
                    border-color: ${x.H.Highlight};
                    box-shadow: 0 0 0 2px ${x.H.Field},
                        0 0 0 4px ${x.H.FieldText};
                }
                :host(.checked:${b.b}:enabled) .control {
                    box-shadow: 0 0 0 2px ${x.H.Field},
                        0 0 0 4px ${x.H.FieldText};
                }
                :host(.checked) .control {
                    background: ${x.H.Highlight};
                    border-color: ${x.H.Highlight};
                }
                :host(.checked) .control:hover,
                .control:active {
                    background: ${x.H.HighlightText};
                }
                :host(.checked) .checked-indicator {
                    fill: ${x.H.HighlightText};
                }
                :host(.checked) .control:hover .checked-indicator {
                    fill: ${x.H.Highlight};
                }
                :host(.checked) .indeterminate-indicator {
                    background: ${x.H.HighlightText};
                }
                :host(.checked) .control:hover .indeterminate-indicator {
                    background: ${x.H.Highlight};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .control {
                    forced-color-adjust: none;
                    border-color: ${x.H.GrayText};
                    background: ${x.H.Field};
                }
                :host(.disabled) .indeterminate-indicator,
                :host(.checked.disabled) .control:hover .indeterminate-indicator {
                    forced-color-adjust: none;
                    background: ${x.H.GrayText};
                }
                :host(.disabled) .checked-indicator,
                :host(.checked.disabled) .control:hover .checked-indicator {
                    forced-color-adjust: none;
                    fill: ${x.H.GrayText};
                }
            `)),checkedIndicator:'\n    <svg\n        aria-hidden="true"\n        part="checked-indicator"\n        class="checked-indicator"\n        viewBox="0 0 20 20"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            fill-rule="evenodd"\n            clip-rule="evenodd"\n            d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z"\n        />\n    </svg>\n  ',indeterminateIndicator:'\n    <div part="indeterminate-indicator" class="indeterminate-indicator"></div>\n  '})},31074:function(e,t,i){i.d(t,{s:function(){return v},P:function(){return g}});var o=i(67491),n=i(34015),a=i(53046),s=i(67020),r=i(56201),l=i(37139),c=i(40082),d=i(87839),h=i(2658),p=i(32804);const u=(e,t)=>a.i`
        ${(0,s.j)("inline-flex")} :host {
            font-family: ${p.SVJ};
            border-radius: calc(${p.UWU} * 1px);
            border: calc(${p.vxp} * 1px) solid transparent;
            box-sizing: border-box;
            color: ${p.CHi};
            cursor: pointer;
            fill: currentcolor;
            font-size: ${p.cSu};
            height: calc(${h.i} * 1px);
            line-height: ${p.RUt};
            margin: 0 calc(${p._5n} * 1px);
            outline: none;
            overflow: hidden;
            align-items: center;
            padding: 0 calc(${p._5n} * 2.25px);
            user-select: none;
            white-space: nowrap;
        }

        :host(:${r.b}) {
            box-shadow: 0 0 0 calc(${p.vxp} * 1px) inset ${p.a2F};
            border-color: ${p.yGg};
            background: ${p.D8M};
            color: ${p.$uW};
        }

        :host([aria-selected="true"]) {
            background: ${p.Avx};
            color: ${p.w41};
        }

        :host(:hover) {
            background: ${p.OCG};
            color: ${p.lJV};
        }

        :host(:active) {
            background: ${p.UEO};
            color: ${p.PpH};
        }

        :host(:not([aria-selected="true"]):hover) {
            background: ${p.XiB};
            color: ${p.CHi};
        }

        :host(:not([aria-selected="true"]):active) {
            background: ${p.Gy2};
            color: ${p.CHi};
        }

        :host([disabled]) {
            cursor: ${l.H};
            opacity: ${p.VFZ};
        }

        :host([disabled]:hover) {
            background-color: inherit;
        }

        .content {
            grid-column-start: 2;
            justify-self: start;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .start,
        .end,
        ::slotted(svg) {
            display: flex;
        }

        ::slotted(svg) {
            ${""}
            height: calc(${p._5n} * 4px);
            width: calc(${p._5n} * 4px);
        }

        ::slotted([slot="end"]) {
            margin-inline-start: 1ch;
        }

        ::slotted([slot="start"]) {
            margin-inline-end: 1ch;
        }
    `.withBehaviors((0,c.vF)(a.i`
                :host {
                    border-color: transparent;
                    color: ${d.H.ButtonText};
                    forced-color-adjust: none;
                }

                :host(:not([aria-selected="true"]):hover),
                :host([aria-selected="true"]) {
                    background: ${d.H.Highlight};
                    color: ${d.H.HighlightText};
                }

                :host([disabled]),
                :host([disabled]:not([aria-selected="true"]):hover) {
                    background: ${d.H.Canvas};
                    color: ${d.H.GrayText};
                    fill: currentcolor;
                    opacity: 1;
                }
            `)),g=o.wt.compose({baseName:"option",template:n.T,styles:u}),v=u},8417:function(e,t,i){i.d(t,{Ph:function(){return k},$M:function(){return w},XO:function(){return D}});var o=i(33940),n=i(65620),a=i(20005),s=i(12968),r=i(87697),l=i(11673),c=i(36153),d=i(65898),h=i(51208),p=i(86076),u=i(17453),g=i(82500);class v extends u.k{}class b extends((0,g.Um)(v)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}var f=i(51565);class m extends b{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=(0,l.EL)("listbox-"),this.maxHeight=0}openChanged(e,t){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void s.SO.queueUpdate((()=>this.focus()));this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return r.y$.track(this,"value"),this._value}set value(e){var t,i,o,n,a,s,l;const c=`${this._value}`;if(null===(t=this._options)||void 0===t?void 0:t.length){const t=this._options.findIndex((t=>t.value===e)),r=null!==(o=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==o?o:null,c=null!==(a=null===(n=this._options[t])||void 0===n?void 0:n.value)&&void 0!==a?a:null;-1!==t&&r===c||(e="",this.selectedIndex=t),e=null!==(l=null===(s=this.firstSelectedOption)||void 0===s?void 0:s.value)&&void 0!==l?l:e}c!==e&&(this._value=e,super.valueChanged(c,e),r.y$.notify(this,"value"),this.updateDisplayValue())}updateValue(e){var t,i;this.$fastController.isConnected&&(this.value=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.value)&&void 0!==i?i:""),e&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom;this.position=this.forcedPosition?this.positionAttribute:e.top>t?f.S.above:f.S.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===f.S.above?~~e.top:~~t}get displayValue(){var e,t;return r.y$.track(this,"displayValue"),null!==(t=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)&&void 0!==t?t:""}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(t&&t.disabled)return}return super.clickHandler(e),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){var t;if(super.focusoutHandler(e),!this.open)return!0;const i=e.relatedTarget;this.isSameNode(i)?this.focus():(null===(t=this.options)||void 0===t?void 0:t.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(e,t){super.handleChange(e,t),"value"===t&&this.updateValue()}slottedOptionsChanged(e,t){this.options.forEach((e=>{r.y$.getNotifier(e).unsubscribe(this,"value")})),super.slottedOptionsChanged(e,t),this.options.forEach((e=>{r.y$.getNotifier(e).subscribe(this,"value")})),this.setProxyOptions(),this.updateValue()}mousedownHandler(e){var t;return e.offsetX>=0&&e.offsetX<=(null===(t=this.listbox)||void 0===t?void 0:t.scrollWidth)?super.mousedownHandler(e):this.collapsible}multipleChanged(e,t){super.multipleChanged(e,t),this.proxy&&(this.proxy.multiple=t)}selectedOptionsChanged(e,t){var i;super.selectedOptionsChanged(e,t),null===(i=this.options)||void 0===i||i.forEach(((e,t)=>{var i;const o=null===(i=this.proxy)||void 0===i?void 0:i.options.item(t);o&&(o.selected=e.selected)}))}setDefaultSelectedOption(){var e;const t=null!==(e=this.options)&&void 0!==e?e:Array.from(this.children).filter(d.R.slottedOptionFilter),i=null==t?void 0:t.findIndex((e=>e.hasAttribute("selected")||e.selected||e.value===this.value));this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((e=>{const t=e.proxy||(e instanceof HTMLOptionElement?e.cloneNode():null);t&&this.proxy.options.add(t)})))}keydownHandler(e){super.keydownHandler(e);const t=e.key||e.key.charCodeAt(0);switch(t){case c.BI:e.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open);break;case c.tU:case c.Kh:e.preventDefault();break;case c.kL:e.preventDefault(),this.open=!this.open;break;case c.CX:this.collapsible&&this.open&&(e.preventDefault(),this.open=!1);break;case c.oM:return this.collapsible&&this.open&&(e.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(t===c.iF||t===c.SB)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(e,t){super.sizeChanged(e,t),this.proxy&&(this.proxy.size=t)}updateDisplayValue(){this.collapsible&&r.y$.notify(this,"displayValue")}}(0,a.gn)([(0,n.Lj)({attribute:"open",mode:"boolean"})],m.prototype,"open",void 0),(0,a.gn)([r.lk],m.prototype,"collapsible",null),(0,a.gn)([r.LO],m.prototype,"control",void 0),(0,a.gn)([(0,n.Lj)({attribute:"position"})],m.prototype,"positionAttribute",void 0),(0,a.gn)([r.LO],m.prototype,"position",void 0),(0,a.gn)([r.LO],m.prototype,"maxHeight",void 0);class x{}(0,a.gn)([r.LO],x.prototype,"ariaControls",void 0),(0,p.e)(x,d.x),(0,p.e)(m,h.hW,x);var y=i(9530),$=i(27663);class k extends m{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}(0,o.gn)([(0,n.Lj)({mode:"fromView"}),(0,o.w6)("design:type",String)],k.prototype,"appearance",void 0);const w=k.compose({baseName:"select",baseClass:m,template:y.U,styles:$.X,indicator:'\n    <svg\n        class="select-indicator"\n        part="select-indicator"\n        viewBox="0 0 12 7"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n        />\n    </svg>\n  '}),D=$.X},27663:function(e,t,i){i.d(t,{A:function(){return u},X:function(){return g}});var o=i(53046),n=i(56201),a=i(67020),s=i(37139),r=i(40082),l=i(87839),c=i(2658),d=i(62734),h=i(82636),p=i(32804);const u=(e,t)=>o.i`
    :host([appearance="filled"]) {
        background: ${p.wFS};
        border-color: transparent;
    }

    :host([appearance="filled"]:hover:not([disabled])) {
        background: ${p.XiB};
        border-color: transparent;
    }

    :host([appearance="filled"]:${n.b}) {
        border-color: ${p.yGg};
    }
`,g=(e,t)=>o.i`
        ${(0,a.j)("inline-flex")} :host {
            --elevation: 14;
            background: ${p._Bj};
            border-radius: calc(${p.UWU} * 1px);
            border: calc(${p.Han} * 1px) solid ${p.akT};
            box-sizing: border-box;
            color: ${p.CHi};
            font-family: ${p.SVJ};
            height: calc(${c.i} * 1px);
            position: relative;
            user-select: none;
            min-width: 250px;
            vertical-align: top;
        }

        .listbox {
            ${d.XC}
            background: ${p.s55};
            border-radius: calc(${p.UWU} * 1px);
            box-sizing: border-box;
            display: inline-flex;
            flex-direction: column;
            left: 0;
            max-height: calc(var(--max-height) - (${c.i} * 1px));
            padding: calc(${p._5n} * 1px) 0;
            overflow-y: auto;
            position: absolute;
            width: 100%;
            z-index: 1;
            margin: 1px 0;
        }

        .listbox[hidden] {
            display: none;
        }

        .control {
            align-items: center;
            box-sizing: border-box;
            cursor: pointer;
            display: flex;
            font-size: ${p.cSu};
            font-family: inherit;
            min-height: 100%;
            line-height: ${p.RUt};
            padding: 0 calc(${p._5n} * 2.25px);
            width: 100%;
        }

        :host(:not([disabled]):hover) {
            background: ${p.Tm7};
            border-color: ${p.QPc};
        }

        :host(:focus) {
            outline: none;
        }

        :host(:${n.b}) {
            border-color: ${p.yGg};
            outline: none;
            box-shadow: 0 0 0 1px inset ${p.yGg};
        }

        :host([open]:${n.b}) {
            border-color: ${p.akT};
            outline: none;
            box-shadow: none;
        }

        :host(:${n.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
            box-shadow: 0 0 0 calc(${p.vxp} * 1px) inset ${p.a2F};
            border-color: ${p.yGg};
            background: ${p.D8M};
            color: ${p.$uW};
        }

        :host([disabled]) {
            cursor: ${s.H};
            opacity: ${p.VFZ};
        }

        :host([disabled]) .control {
            cursor: ${s.H};
            user-select: none;
        }

        :host([disabled]:hover) {
            background: ${p.jql};
            color: ${p.CHi};
            fill: currentcolor;
        }

        :host(:not([disabled])) .control:active {
            background: ${p.Ium};
            border-color: ${p.c1L};
            border-radius: calc(${p.UWU} * 1px);
        }

        :host([open][position="above"]) .listbox {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        :host([open][position="below"]) .listbox {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        :host([open][position="above"]) .listbox {
            border-bottom: 0;
            bottom: calc(${c.i} * 1px);
        }

        :host([open][position="below"]) .listbox {
            border-top: 0;
            top: calc(${c.i} * 1px);
        }

        .selected-value {
            font-family: inherit;
            flex: 1 1 auto;
            text-align: start;
        }

        .indicator {
            flex: 0 0 auto;
            margin-inline-start: 1em;
        }

        ::slotted([name="listbox"]) {
            display: none;
            width: 100%;
        }

        :host([open]) ::slotted([name="listbox"]) {
            display: flex;
            position: absolute;
            ${d.XC}
        }

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

        .start,
        .end,
        .indicator,
        .select-indicator,
        ::slotted(svg) {
            ${""}
            fill: currentcolor;
            height: 1em;
            min-height: calc(${p._5n} * 4px);
            min-width: calc(${p._5n} * 4px);
            width: 1em;
        }

        ::slotted([role="option"]) {
            flex: 0 0 auto;
        }
    `.withBehaviors((0,h.H)("filled",u(e,t)),(0,r.vF)(o.i`
                :host([disabled]) {
                    border-color: ${l.H.GrayText};
                    background-color: ${l.H.ButtonFace};
                    color: ${l.H.GrayText};
                    opacity: 1;
                    forced-color-adjust: none;
                }

                :host([disabled]:hover) {
                    background: ${l.H.ButtonFace};
                }

                :host([disabled]) .control {
                    color: ${l.H.GrayText};
                    border-color: ${l.H.GrayText};
                }

                :host(:not([disabled]):hover) {
                    background: ${l.H.ButtonFace};
                    border-color: ${l.H.Highlight};
                }

                :host(:${n.b}) {
                    forced-color-adjust: none;
                    background: ${l.H.ButtonFace};
                    border-color: ${l.H.Highlight};
                    box-shadow: 0 0 0 1px inset ${l.H.Highlight};
                    color: ${l.H.ButtonText};
                    fill: currentcolor;
                }

                :host([open]) .listbox {
                    background: ${l.H.ButtonFace};
                    border: 1px solid ${l.H.ButtonText};
                }

                :host(:${n.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
                    background: ${l.H.Highlight};
                    border-color: ${l.H.ButtonText};
                    box-shadow: 0 0 0 calc(${p.vxp} * 1px) inset
                        ${l.H.HighlightText};
                    color: ${l.H.HighlightText};
                    fill: currentcolor;
                }

                ::slotted([role="option"]:not([aria-selected="true"]):not([disabled]):hover) {
                    forced-color-adjust: none;
                    color: ${l.H.ButtonText};
                    background: ${l.H.ButtonFace};
                    border-color: ${l.H.Highlight};
                    box-shadow: none;
                }
            `))},62567:function(e,t,i){i.d(t,{of:function(){return T}});var o=i(33940),n=i(20005),a=i(65620),s=i(87697),r=i(99096),l=i(86076),c=i(82500),d=i(48839);class h extends d.I{}class p extends((0,c.Um)(h)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const u="none";class g extends p{constructor(){super(...arguments),this.resize=u,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}}(0,n.gn)([(0,a.Lj)({mode:"boolean"})],g.prototype,"readOnly",void 0),(0,n.gn)([a.Lj],g.prototype,"resize",void 0),(0,n.gn)([(0,a.Lj)({mode:"boolean"})],g.prototype,"autofocus",void 0),(0,n.gn)([(0,a.Lj)({attribute:"form"})],g.prototype,"formId",void 0),(0,n.gn)([a.Lj],g.prototype,"list",void 0),(0,n.gn)([(0,a.Lj)({converter:a.Id})],g.prototype,"maxlength",void 0),(0,n.gn)([(0,a.Lj)({converter:a.Id})],g.prototype,"minlength",void 0),(0,n.gn)([a.Lj],g.prototype,"name",void 0),(0,n.gn)([a.Lj],g.prototype,"placeholder",void 0),(0,n.gn)([(0,a.Lj)({converter:a.Id,mode:"fromView"})],g.prototype,"cols",void 0),(0,n.gn)([(0,a.Lj)({converter:a.Id,mode:"fromView"})],g.prototype,"rows",void 0),(0,n.gn)([(0,a.Lj)({mode:"boolean"})],g.prototype,"spellcheck",void 0),(0,n.gn)([s.LO],g.prototype,"defaultSlottedNodes",void 0),(0,l.e)(g,r.yd);var v=i(39181),b=i(90960),f=i(58952);var m=i(53046),x=i(40082),y=i(87839),$=i(67020),k=i(56201),w=i(37139),D=i(74358),C=i(2658),S=i(82636),O=i(32804);class I extends g{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}(0,o.gn)([a.Lj,(0,o.w6)("design:type",String)],I.prototype,"appearance",void 0);const T=I.compose({baseName:"text-area",baseClass:g,template:(e,t)=>v.d`
    <template
        class="
            ${e=>e.readOnly?"readonly":""}
            ${e=>e.resize!==u?`resize-${e.resize}`:""}"
    >
        <label
            part="label"
            for="control"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,b.Q)("defaultSlottedNodes")}></slot>
        </label>
        <textarea
            part="control"
            class="control"
            id="control"
            ?autofocus="${e=>e.autofocus}"
            cols="${e=>e.cols}"
            ?disabled="${e=>e.disabled}"
            form="${e=>e.form}"
            list="${e=>e.list}"
            maxlength="${e=>e.maxlength}"
            minlength="${e=>e.minlength}"
            name="${e=>e.name}"
            placeholder="${e=>e.placeholder}"
            ?readonly="${e=>e.readOnly}"
            ?required="${e=>e.required}"
            rows="${e=>e.rows}"
            ?spellcheck="${e=>e.spellcheck}"
            :value="${e=>e.value}"
            aria-atomic="${e=>e.ariaAtomic}"
            aria-busy="${e=>e.ariaBusy}"
            aria-controls="${e=>e.ariaControls}"
            aria-current="${e=>e.ariaCurrent}"
            aria-describedby="${e=>e.ariaDescribedby}"
            aria-details="${e=>e.ariaDetails}"
            aria-disabled="${e=>e.ariaDisabled}"
            aria-errormessage="${e=>e.ariaErrormessage}"
            aria-flowto="${e=>e.ariaFlowto}"
            aria-haspopup="${e=>e.ariaHaspopup}"
            aria-hidden="${e=>e.ariaHidden}"
            aria-invalid="${e=>e.ariaInvalid}"
            aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
            aria-label="${e=>e.ariaLabel}"
            aria-labelledby="${e=>e.ariaLabelledby}"
            aria-live="${e=>e.ariaLive}"
            aria-owns="${e=>e.ariaOwns}"
            aria-relevant="${e=>e.ariaRelevant}"
            aria-roledescription="${e=>e.ariaRoledescription}"
            @input="${(e,t)=>e.handleTextInput()}"
            @change="${e=>e.handleChange()}"
            ${(0,f.i)("control")}
        ></textarea>
    </template>
`,styles:(e,t)=>m.i`
        ${(0,$.j)("inline-flex")} :host {
            font-family: ${O.SVJ};
            outline: none;
            user-select: none;
            position: relative;
            flex-direction: column;
            vertical-align: bottom;
        }

        .control {
            box-sizing: border-box;
            position: relative;
            color: ${O.CHi};
            background: ${O._Bj};
            border-radius: calc(${O.UWU} * 1px);
            border: calc(${O.Han} * 1px) solid ${O.akT};
            height: calc(${C.i} * 2px);
            font: inherit;
            font-size: ${O.cSu};
            line-height: ${O.RUt};
            padding: calc(${O._5n} * 1.5px) calc(${O._5n} * 2px + 1px);
            width: 100%;
            resize: none;
        }

        .control:hover:enabled {
            background: ${O.Tm7};
            border-color: ${O.QPc};
        }

        .control:hover,
    .control:${k.b},
    .control:disabled,
    .control:active {
            outline: none;
        }

        :host(:focus-within) .control {
            border-color: ${O.yGg};
            box-shadow: 0 0 0 1px ${O.yGg} inset;
        }

        :host(.resize-both) .control {
            resize: both;
        }

        :host(.resize-horizontal) .control {
            resize: horizontal;
        }

        :host(.resize-vertical) .control {
            resize: vertical;
        }

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

        .label {
            display: block;
            color: ${O.CHi};
            cursor: pointer;
            $font-size: ${O.cSu};
            line-height: ${O.RUt};
            margin-bottom: 4px;
        }

        :host([disabled]) .label,
        :host([readonly]) .label,
        :host([readonly]) .control,
        :host([disabled]) .control {
            cursor: ${w.H};
        }
        :host([disabled]) {
            opacity: ${O.VFZ};
        }
    `.withBehaviors((0,S.H)("filled",((e,t)=>m.i`
        :host([appearance="filled"]) .control {
            background: ${O.wFS};
            border-color: transparent;
        }

        :host([appearance="filled"]:hover:not([disabled])) .control {
            background: ${O.XiB};
            border-color: transparent;
        }

        :host([appearance="filled"]:focus-within:not([disabled])) .control {
            border-color: transparent;
            box-shadow: none;
        }
        ${(0,D.n)(e,t)}
    `.withBehaviors((0,x.vF)(m.i`
                :host([appearance="filled"]:hover:not([disabled])) .control,
                :host([appearance="filled"]:focus-within:not([disabled])) .control {
                    background: ${y.H.Field};
                    border-color: ${y.H.FieldText};
                }
                :host([appearance="filled"]:not([disabled]):active)::after,
                :host([appearance="filled"]:not([disabled]):focus-within:not(:active))::after {
                    border-bottom-color: ${y.H.Highlight};
                }
            `)))(e,t)),(0,x.vF)(m.i`
                :host([disabled]) {
                    opacity: 1;
                }
                ::placeholder,
                ::-webkit-input-placeholder {
                    color: ${y.H.FieldText};
                }
                :host([disabled]) ::placeholder,
                :host([disabled]) ::-webkit-input-placeholder,
                :host([disabled]) .label {
                    color: ${y.H.GrayText};
                }
            `)),shadowOptions:{delegatesFocus:!0}})},97304:function(e,t,i){i.d(t,{x:function(){return F}});var o=i(20005),n=i(12968),a=i(65620),s=i(87697),r=i(65825),l=i(36153),c=i(11433),d=i(48839);const h="top",p="right",u="bottom",g="left",v="start",b="end",f="top-left",m="top-right",x="bottom-left",y="bottom-right",$="top-start",k="top-end",w="bottom-start",D="bottom-end";class C extends d.I{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=r.N.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=e=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=e=>{this.isRegionHovered=!0},this.handleRegionMouseOut=e=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=e=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=e=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=e=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=e=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout((()=>{this.updateTooltipVisibility()}),60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout((()=>{this.startHover()}),this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const e=this.getRootNode();return e instanceof ShadowRoot?e.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.tooltipVisible&&e.key===l.CX)this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip();else{if(!0===this.visible)return void this.showTooltip();if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip();this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=(0,c.M)(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),n.SO.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(this.clearHideDelayTimer(),null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null,this.region.removeEventListener("mouseover",this.handleRegionMouseOver),this.region.removeEventListener("mouseout",this.handleRegionMouseOut)),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange),this.region.addEventListener("mouseover",this.handleRegionMouseOver,{passive:!0}),this.region.addEventListener("mouseout",this.handleRegionMouseOut,{passive:!0}))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&(this.anchorElement=this.getAnchor())}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(e){if(this.$fastController.isConnected){if(null!=e&&(e.removeEventListener("mouseover",this.handleAnchorMouseOver),e.removeEventListener("mouseout",this.handleAnchorMouseOut),e.removeEventListener("focusin",this.handleAnchorFocusIn),e.removeEventListener("focusout",this.handleAnchorFocusOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0}),this.anchorElement.addEventListener("focusin",this.handleAnchorFocusIn,{passive:!0}),this.anchorElement.addEventListener("focusout",this.handleAnchorFocusOut,{passive:!0});const e=this.anchorElement.id;null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach((t=>{t.id===e&&this.startShowDelayTimer()}))}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case h:case u:this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition="center";break;case p:case g:case v:case b:this.verticalDefaultPosition="center",this.horizontalDefaultPosition=this.position;break;case f:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="left";break;case m:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="right";break;case x:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="left";break;case y:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right";break;case $:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start";break;case k:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end";break;case w:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start";break;case D:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end";break;default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}(0,o.gn)([(0,a.Lj)({mode:"boolean"})],C.prototype,"visible",void 0),(0,o.gn)([a.Lj],C.prototype,"anchor",void 0),(0,o.gn)([a.Lj],C.prototype,"delay",void 0),(0,o.gn)([a.Lj],C.prototype,"position",void 0),(0,o.gn)([(0,a.Lj)({attribute:"auto-update-mode"})],C.prototype,"autoUpdateMode",void 0),(0,o.gn)([(0,a.Lj)({attribute:"horizontal-viewport-lock"})],C.prototype,"horizontalViewportLock",void 0),(0,o.gn)([(0,a.Lj)({attribute:"vertical-viewport-lock"})],C.prototype,"verticalViewportLock",void 0),(0,o.gn)([s.LO],C.prototype,"anchorElement",void 0),(0,o.gn)([s.LO],C.prototype,"viewportElement",void 0),(0,o.gn)([s.LO],C.prototype,"verticalPositioningMode",void 0),(0,o.gn)([s.LO],C.prototype,"horizontalPositioningMode",void 0),(0,o.gn)([s.LO],C.prototype,"horizontalInset",void 0),(0,o.gn)([s.LO],C.prototype,"verticalInset",void 0),(0,o.gn)([s.LO],C.prototype,"horizontalScaling",void 0),(0,o.gn)([s.LO],C.prototype,"verticalScaling",void 0),(0,o.gn)([s.LO],C.prototype,"verticalDefaultPosition",void 0),(0,o.gn)([s.LO],C.prototype,"horizontalDefaultPosition",void 0),(0,o.gn)([s.LO],C.prototype,"tooltipVisible",void 0),(0,o.gn)([s.LO],C.prototype,"currentDirection",void 0);var S=i(39181),O=i(13988),I=i(58952),T=i(57076);var E=i(32804),L=i(53046),H=i(40082),A=i(62734);const F=class extends C{connectedCallback(){super.connectedCallback();const e=E._Rw.getValueFor(this),t=E.IfY.getValueFor(this.parentElement);E.IfY.setValueFor(this,(i=>e.evaluate(i,t).rest))}}.compose({baseName:"tooltip",baseClass:C,template:(e,t)=>S.d`
        ${(0,O.g)((e=>e.tooltipVisible),S.d`
            <${e.tagFor(T.$)}
                fixed-placement="true"
                auto-update-mode="${e=>e.autoUpdateMode}"
                vertical-positioning-mode="${e=>e.verticalPositioningMode}"
                vertical-default-position="${e=>e.verticalDefaultPosition}"
                vertical-inset="${e=>e.verticalInset}"
                vertical-scaling="${e=>e.verticalScaling}"
                horizontal-positioning-mode="${e=>e.horizontalPositioningMode}"
                horizontal-default-position="${e=>e.horizontalDefaultPosition}"
                horizontal-scaling="${e=>e.horizontalScaling}"
                horizontal-inset="${e=>e.horizontalInset}"
                vertical-viewport-lock="${e=>e.horizontalViewportLock}"
                horizontal-viewport-lock="${e=>e.verticalViewportLock}"
                dir="${e=>e.currentDirection}"
                ${(0,I.i)("region")}
            >
                <div class="tooltip" part="tooltip" role="tooltip">
                    <slot></slot>
                </div>
            </${e.tagFor(T.$)}>
        `)}
    `,styles:(e,t)=>L.i`
        :host {
            --elevation: 11;
            position: relative;
            contain: layout;
            overflow: visible;
            height: 0;
            width: 0;
            z-index: 10000;
        }

        .tooltip {
            box-sizing: border-box;
            border-radius: calc(${E.UWU} * 1px);
            border: calc(${E.Han} * 1px) solid transparent;
            background: ${E.IfY};
            color: ${E.CHi};
            padding: 4px 12px;
            height: fit-content;
            width: fit-content;
            font-family: ${E.SVJ};
            font-size: ${E.cSu};
            line-height: ${E.RUt};
            white-space: nowrap;
            ${A.XC}
        }

        fluent-anchored-region {
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: visible;
            flex-direction: row;
        }

        fluent-anchored-region.right,
        fluent-anchored-region.left {
            flex-direction: column;
        }

        fluent-anchored-region.top .tooltip::after,
        fluent-anchored-region.bottom .tooltip::after,
        fluent-anchored-region.left .tooltip::after,
        fluent-anchored-region.right .tooltip::after {
            content: "";
            width: 12px;
            height: 12px;
            background: ${E.IfY};
            border-radius: calc(${E.UWU} * 1px);
            position: absolute;
        }

        fluent-anchored-region.top .tooltip::after {
            transform: rotate(45deg) translateX(-50%);
            bottom: 4px;
            left: 50%;
        }

        fluent-anchored-region.top .tooltip {
            margin-bottom: 12px;
        }

        fluent-anchored-region.bottom .tooltip::after {
            transform: rotate(45deg) translateX(-50%);
            top: 12px;
            left: 50%;
        }

        fluent-anchored-region.bottom .tooltip {
            margin-top: 12px;
        }

        fluent-anchored-region.left .tooltip::after {
            transform: rotate(45deg) translateY(-50%);
            top: 50%;
            right: 12px;
        }

        fluent-anchored-region.left .tooltip {
            margin-right: 12px;
        }

        fluent-anchored-region.right .tooltip::after {
            transform: rotate(45deg) translateY(-50%);
            top: 50%;
            left: 4px;
        }

        fluent-anchored-region.right .tooltip {
            margin-left: 12px;
        }
    `.withBehaviors((0,H.vF)(L.i`
                :host([disabled]) {
                    opacity: 1;
                }
                fluent-anchored-region.top .tooltip::after,
                fluent-anchored-region.bottom .tooltip::after,
                fluent-anchored-region.left .tooltip::after,
                fluent-anchored-region.right .tooltip::after {
                    content: "";
                    width: unset;
                    height: unset;
                }
            `))})},28090:function(e,t,i){i.d(t,{e:function(){return d},m:function(){return h}});var o=i(20005),n=i(65620),a=i(87697),s=i(48839),r=i(7775),l=i(51208),c=i(86076);class d extends s.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,o.gn)([n.Lj],d.prototype,"download",void 0),(0,o.gn)([n.Lj],d.prototype,"href",void 0),(0,o.gn)([n.Lj],d.prototype,"hreflang",void 0),(0,o.gn)([n.Lj],d.prototype,"ping",void 0),(0,o.gn)([n.Lj],d.prototype,"referrerpolicy",void 0),(0,o.gn)([n.Lj],d.prototype,"rel",void 0),(0,o.gn)([n.Lj],d.prototype,"target",void 0),(0,o.gn)([n.Lj],d.prototype,"type",void 0),(0,o.gn)([a.LO],d.prototype,"defaultSlottedContent",void 0);class h{}(0,o.gn)([(0,n.Lj)({attribute:"aria-expanded"})],h.prototype,"ariaExpanded",void 0),(0,c.e)(h,r.v),(0,c.e)(d,l.hW,h)},45169:function(e,t,i){i.d(t,{g:function(){return r}});var o=i(39181),n=i(58952),a=i(90960),s=i(51208);const r=(e,t)=>o.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,n.i)("control")}
    >
        ${(0,s.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,a.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,s.LC)(e,t)}
    </a>
`},67491:function(e,t,i){i.d(t,{v2:function(){return h},wt:function(){return p}});var o=i(20005),n=i(87697),a=i(65620),s=i(67846),r=i(48839),l=i(7775),c=i(51208),d=i(86076);function h(e){return(0,s.Re)(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}class p extends r.I{constructor(e,t,i,o){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,e&&(this.textContent=e),t&&(this.initialValue=t),i&&(this.defaultSelected=i),o&&(this.selected=o),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(e,t){this.ariaChecked="boolean"!=typeof t?null:t?"true":"false"}contentChanged(e,t){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(e,t){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var e;return null!==(e=this.value)&&void 0!==e?e:this.text}get text(){var e,t;return null!==(t=null===(e=this.textContent)||void 0===e?void 0:e.replace(/\s+/g," ").trim())&&void 0!==t?t:""}set value(e){const t=`${null!=e?e:""}`;this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=t),n.y$.notify(this,"value")}get value(){var e;return n.y$.track(this,"value"),null!==(e=this._value)&&void 0!==e?e:this.text}get form(){return this.proxy?this.proxy.form:null}}(0,o.gn)([n.LO],p.prototype,"checked",void 0),(0,o.gn)([n.LO],p.prototype,"content",void 0),(0,o.gn)([n.LO],p.prototype,"defaultSelected",void 0),(0,o.gn)([(0,a.Lj)({mode:"boolean"})],p.prototype,"disabled",void 0),(0,o.gn)([(0,a.Lj)({attribute:"selected",mode:"boolean"})],p.prototype,"selectedAttribute",void 0),(0,o.gn)([n.LO],p.prototype,"selected",void 0),(0,o.gn)([(0,a.Lj)({attribute:"value",mode:"fromView"})],p.prototype,"initialValue",void 0);class u{}(0,o.gn)([n.LO],u.prototype,"ariaChecked",void 0),(0,o.gn)([n.LO],u.prototype,"ariaPosInSet",void 0),(0,o.gn)([n.LO],u.prototype,"ariaSelected",void 0),(0,o.gn)([n.LO],u.prototype,"ariaSetSize",void 0),(0,d.e)(u,l.v),(0,d.e)(p,c.hW,u)},34015:function(e,t,i){i.d(t,{T:function(){return s}});var o=i(39181),n=i(90960),a=i(51208);const s=(e,t)=>o.d`
    <template
        aria-checked="${e=>e.ariaChecked}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-posinset="${e=>e.ariaPosInSet}"
        aria-selected="${e=>e.ariaSelected}"
        aria-setsize="${e=>e.ariaSetSize}"
        class="${e=>[e.checked&&"checked",e.selected&&"selected",e.disabled&&"disabled"].filter(Boolean).join(" ")}"
        role="option"
    >
        ${(0,a.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,n.Q)("content")}></slot>
        </span>
        ${(0,a.LC)(e,t)}
    </template>
`},17453:function(e,t,i){i.d(t,{k:function(){return d}});var o=i(20005),n=i(12968),a=i(87697),s=i(65620),r=i(78945),l=i(36153),c=i(65898);class d extends c.R{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var e;return null===(e=this.options)||void 0===e?void 0:e.filter((e=>e.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(e,t){var i,o;this.ariaActiveDescendant=null!==(o=null===(i=this.options[t])||void 0===i?void 0:i.id)&&void 0!==o?o:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return;const e=this.activeOption;e&&(e.checked=!0)}checkFirstOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach(((e,t)=>{e.checked=(0,r.Z2)(t,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,r.Z2)(t,this.rangeStartIndex,this.options.length)}))):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,r.Z2)(t,this.rangeStartIndex,this.activeIndex+1)}))):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach(((e,t)=>{e.checked=(0,r.Z2)(t,this.activeIndex,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(e){var t;if(!this.multiple)return super.clickHandler(e);const i=null===(t=e.target)||void 0===t?void 0:t.closest("[role=option]");return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(e){if(!this.multiple)return super.focusinHandler(e);this.shouldSkipFocus||e.target!==e.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(e){this.multiple&&this.uncheckAllOptions()}keydownHandler(e){if(!this.multiple)return super.keydownHandler(e);if(this.disabled)return!0;const{key:t,shiftKey:i}=e;switch(this.shouldSkipFocus=!1,t){case l.tU:return void this.checkFirstOption(i);case l.iF:return void this.checkNextOption(i);case l.SB:return void this.checkPreviousOption(i);case l.Kh:return void this.checkLastOption(i);case l.oM:return this.focusAndScrollOptionIntoView(),!0;case l.CX:return this.uncheckAllOptions(),this.checkActiveIndex(),!0;case l.BI:if(e.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions();default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){if(e.offsetX>=0&&e.offsetX<=this.scrollWidth)return super.mousedownHandler(e)}multipleChanged(e,t){var i;this.ariaMultiSelectable=t?"true":null,null===(i=this.options)||void 0===i||i.forEach((e=>{e.checked=!t&&void 0})),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter((e=>e.selected)),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(e,t){var i;const o=Math.max(0,parseInt(null!==(i=null==t?void 0:t.toFixed())&&void 0!==i?i:"",10));o!==t&&n.SO.queueUpdate((()=>{this.size=o}))}toggleSelectedForAllCheckedOptions(){const e=this.checkedOptions.filter((e=>!e.disabled)),t=!e.every((e=>e.selected));e.forEach((e=>e.selected=t)),this.selectedIndex=this.options.indexOf(e[e.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.multiple){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches(),t=this.options.indexOf(e[0]);t>-1&&(this.activeIndex=t,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(e,t)}uncheckAllOptions(e=!1){this.options.forEach((e=>e.checked=!this.multiple&&void 0)),e||(this.rangeStartIndex=-1)}}(0,o.gn)([a.LO],d.prototype,"activeIndex",void 0),(0,o.gn)([(0,s.Lj)({mode:"boolean"})],d.prototype,"multiple",void 0),(0,o.gn)([(0,s.Lj)({converter:s.Id})],d.prototype,"size",void 0)},65898:function(e,t,i){i.d(t,{x:function(){return u},R:function(){return p}});var o=i(20005),n=i(87697),a=i(65620);var s=i(36153),r=i(11673),l=i(48839),c=i(67491),d=i(7775),h=i(86076);class p extends l.I{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var e;return null!==(e=this.selectedOptions[0])&&void 0!==e?e:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((e=>e.disabled))}get length(){var e,t;return null!==(t=null===(e=this.options)||void 0===e?void 0:e.length)&&void 0!==t?t:0}get options(){return n.y$.track(this,"options"),this._options}set options(e){this._options=e,n.y$.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(e){this.typeaheadExpired=e}clickHandler(e){const t=e.target.closest("option,[role=option]");if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}focusAndScrollOptionIntoView(e=this.firstSelectedOption){this.contains(document.activeElement)&&null!==e&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp(`^${e}`,"gi");return this.options.filter((e=>e.text.trim().match(t)))}getSelectableIndex(e=this.selectedIndex,t){const i=e>t?-1:e<t?1:0,o=e+i;let n=null;switch(i){case-1:n=this.options.reduceRight(((e,t,i)=>!e&&!t.disabled&&i<o?t:e),n);break;case 1:n=this.options.reduce(((e,t,i)=>!e&&!t.disabled&&i>o?t:e),n)}return this.options.indexOf(n)}handleChange(e,t){if("selected"===t)p.slottedOptionFilter(e)&&(this.selectedIndex=this.options.indexOf(e)),this.setSelectedOptions()}handleTypeAhead(e){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout((()=>this.typeaheadExpired=!0),p.TYPE_AHEAD_TIMEOUT_MS),e.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${e}`)}keydownHandler(e){if(this.disabled)return!0;this.shouldSkipFocus=!1;const t=e.key;switch(t){case s.tU:e.shiftKey||(e.preventDefault(),this.selectFirstOption());break;case s.iF:e.shiftKey||(e.preventDefault(),this.selectNextOption());break;case s.SB:e.shiftKey||(e.preventDefault(),this.selectPreviousOption());break;case s.Kh:e.preventDefault(),this.selectLastOption();break;case s.oM:return this.focusAndScrollOptionIntoView(),!0;case s.kL:case s.CX:return!0;case s.BI:if(this.typeaheadExpired)return!0;default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(e,t){this.ariaMultiSelectable=t?"true":null}selectedIndexChanged(e,t){var i;if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof e){const i=this.getSelectableIndex(e,t),o=i>-1?i:e;return this.selectedIndex=o,void(t===o&&this.selectedIndexChanged(t,o))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(e,t){var i;const o=t.filter(p.slottedOptionFilter);null===(i=this.options)||void 0===i||i.forEach((e=>{const t=n.y$.getNotifier(e);t.unsubscribe(this,"selected"),e.selected=o.includes(e),t.subscribe(this,"selected")}))}selectFirstOption(){var e,t;this.disabled||(this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>!e.disabled)))&&void 0!==t?t:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(e,t){let i=e.length;for(;i--;)if(t(e[i],i,e))return i;return-1}(this.options,(e=>!e.disabled)))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var e,t;this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>e.defaultSelected)))&&void 0!==t?t:-1}setSelectedOptions(){var e,t,i;(null===(e=this.options)||void 0===e?void 0:e.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(e,t){this.options=t.reduce(((e,t)=>((0,c.v2)(t)&&e.push(t),e)),[]);const i=`${this.options.length}`;this.options.forEach(((e,t)=>{e.id||(e.id=(0,r.EL)("option-")),e.ariaPosInSet=`${t+1}`,e.ariaSetSize=i})),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(e,t){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches();if(e.length){const t=this.options.indexOf(e[0]);t>-1&&(this.selectedIndex=t)}this.typeaheadExpired=!1}}}p.slottedOptionFilter=e=>(0,c.v2)(e)&&!e.hidden,p.TYPE_AHEAD_TIMEOUT_MS=1e3,(0,o.gn)([(0,a.Lj)({mode:"boolean"})],p.prototype,"disabled",void 0),(0,o.gn)([n.LO],p.prototype,"selectedIndex",void 0),(0,o.gn)([n.LO],p.prototype,"selectedOptions",void 0),(0,o.gn)([n.LO],p.prototype,"slottedOptions",void 0),(0,o.gn)([n.LO],p.prototype,"typeaheadBuffer",void 0);class u{}(0,o.gn)([n.LO],u.prototype,"ariaActiveDescendant",void 0),(0,o.gn)([n.LO],u.prototype,"ariaDisabled",void 0),(0,o.gn)([n.LO],u.prototype,"ariaExpanded",void 0),(0,o.gn)([n.LO],u.prototype,"ariaMultiSelectable",void 0),(0,h.e)(u,d.v),(0,h.e)(p,u)},51565:function(e,t,i){i.d(t,{S:function(){return o}});const o={above:"above",below:"below"}},9530:function(e,t,i){i.d(t,{U:function(){return c}});var o=i(39181),n=i(13988),a=i(58952),s=i(90960),r=i(65898),l=i(51208);const c=(e,t)=>o.d`
    <template
        class="${e=>[e.collapsible&&"collapsible",e.collapsible&&e.open&&"open",e.disabled&&"disabled",e.collapsible&&e.position].filter(Boolean).join(" ")}"
        aria-activedescendant="${e=>e.ariaActiveDescendant}"
        aria-controls="${e=>e.ariaControls}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-haspopup="${e=>e.collapsible?"listbox":null}"
        aria-multiselectable="${e=>e.ariaMultiSelectable}"
        ?open="${e=>e.open}"
        role="combobox"
        tabindex="${e=>e.disabled?null:"0"}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        @focusin="${(e,t)=>e.focusinHandler(t.event)}"
        @focusout="${(e,t)=>e.focusoutHandler(t.event)}"
        @keydown="${(e,t)=>e.keydownHandler(t.event)}"
        @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"
    >
        ${(0,n.g)((e=>e.collapsible),o.d`
                <div
                    class="control"
                    part="control"
                    ?disabled="${e=>e.disabled}"
                    ${(0,a.i)("control")}
                >
                    ${(0,l.m9)(e,t)}
                    <slot name="button-container">
                        <div class="selected-value" part="selected-value">
                            <slot name="selected-value">${e=>e.displayValue}</slot>
                        </div>
                        <div aria-hidden="true" class="indicator" part="indicator">
                            <slot name="indicator">
                                ${t.indicator||""}
                            </slot>
                        </div>
                    </slot>
                    ${(0,l.LC)(e,t)}
                </div>
            `)}
        <div
            class="listbox"
            id="${e=>e.listboxId}"
            part="listbox"
            role="listbox"
            ?disabled="${e=>e.disabled}"
            ?hidden="${e=>!!e.collapsible&&!e.open}"
            ${(0,a.i)("listbox")}
        >
            <slot
                ${(0,s.Q)({filter:r.R.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
            ></slot>
        </div>
    </template>
`},78945:function(e,t,i){function o(e,t,i){return i<e?t:i>t?e:i}function n(e,t,i){return Math.min(Math.max(i,e),t)}function a(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return a},b9:function(){return n},wt:function(){return o}})},11673:function(e,t,i){i.d(t,{EL:function(){return n}});let o=0;function n(e=""){return`${e}${o++}`}}}]);A
Eo