"use strict";(()=>{var BIe=Object.create;var ey=Object.defineProperty;var L9=Object.getOwnPropertyDescriptor;var VIe=Object.getOwnPropertyNames;var GIe=Object.getPrototypeOf,jIe=Object.prototype.hasOwnProperty;var R9=e=>{throw TypeError(e)};var QIe=(e,t,o)=>t in e?ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var cn=(e,t)=>()=>(e&&(t=e(e=0)),t);var vd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Do=(e,t)=>{for(var o in t)ey(e,o,{get:t[o],enumerable:!0})},YIe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of VIe(t))!jIe.call(e,r)&&r!==o&&ey(e,r,{get:()=>t[r],enumerable:!(n=L9(t,r))||n.enumerable});return e};var yC=(e,t,o)=>(o=e!=null?BIe(GIe(e)):{},YIe(t||!e||!e.__esModule?ey(o,"default",{value:e,enumerable:!0}):o,e));var O=(e,t,o,n)=>{for(var r=n>1?void 0:n?L9(t,o):t,s=e.length-1,a;s>=0;s--)(a=e[s])&&(r=(n?a(t,o,r):a(r))||r);return n&&r&&ey(t,o,r),r};var Wt=(e,t,o)=>QIe(e,typeof t!="symbol"?t+"":t,o),o$=(e,t,o)=>t.has(e)||R9("Cannot "+o);var Ae=(e,t,o)=>(o$(e,t,"read from private field"),o?o.call(e):t.get(e)),eo=(e,t,o)=>t.has(e)?R9("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),At=(e,t,o,n)=>(o$(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o),xp=(e,t,o)=>(o$(e,t,"access private method"),o);var Gae,lr,Hp,c2=cn(()=>{Gae=new WeakMap,lr=e=>(...t)=>{let o=e(...t);return Gae.set(o,!0),o},Hp=e=>typeof e=="function"&&Gae.has(e)});var d2,v0,zp,Xf=cn(()=>{d2=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,v0=(e,t,o=null,n=null)=>{for(;t!==o;){let r=t.nextSibling;e.insertBefore(t,n),t=r}},zp=(e,t,o=null)=>{for(;t!==o;){let n=t.nextSibling;e.removeChild(t),t=n}}});var Is,y0,u2=cn(()=>{Is={},y0={}});var el,p2,jae,eh,zy,Qae,m2,Ps,x0,th=cn(()=>{el=`{{lit-${String(Math.random()).slice(2)}}}`,p2=``,jae=new RegExp(`${el}|${p2}`),eh="$lit$",zy=class{constructor(t,o){this.parts=[],this.element=o;let n=[],r=[],s=document.createTreeWalker(o.content,133,null,!1),a=0,i=-1,l=0,{strings:c,values:{length:d}}=t;for(;l0;){let _=c[l],h=x0.exec(_)[2],x=h.toLowerCase()+eh,v=p.getAttribute(x);p.removeAttribute(x);let T=v.split(jae);this.parts.push({type:"attribute",index:i,name:h,strings:T}),l+=T.length-1}}p.tagName==="TEMPLATE"&&(r.push(p),s.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(el)>=0){let g=p.parentNode,f=m.split(jae),_=f.length-1;for(let h=0;h<_;h++){let x,v=f[h];if(v==="")x=Ps();else{let T=x0.exec(v);T!==null&&Qae(T[2],eh)&&(v=v.slice(0,T.index)+T[1]+T[2].slice(0,-eh.length)+T[3]),x=document.createTextNode(v)}g.insertBefore(x,p),this.parts.push({type:"node",index:++i})}f[_]===""?(g.insertBefore(Ps(),p),n.push(p)):p.data=f[_],l+=_}}else if(p.nodeType===8)if(p.data===el){let m=p.parentNode;(p.previousSibling===null||i===a)&&(i++,m.insertBefore(Ps(),p)),a=i,this.parts.push({type:"node",index:i}),p.nextSibling===null?p.data="":(n.push(p),i--),l++}else{let m=-1;for(;(m=p.data.indexOf(el,m+1))!==-1;)this.parts.push({type:"node",index:-1}),l++}}for(let p of n)p.parentNode.removeChild(p)}},Qae=(e,t)=>{let o=e.length-t.length;return o>=0&&e.slice(o)===t},m2=e=>e.index!==-1,Ps=()=>document.createComment(""),x0=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var oh,g2=cn(()=>{Xf();th();oh=class{constructor(t,o,n){this.__parts=[],this.template=t,this.processor=o,this.options=n}update(t){let o=0;for(let n of this.__parts)n!==void 0&&n.setValue(t[o]),o++;for(let n of this.__parts)n!==void 0&&n.commit()}_clone(){let t=d2?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],n=this.template.parts,r=document.createTreeWalker(t,133,null,!1),s=0,a=0,i,l=r.nextNode();for(;s{Xf();th();Yae=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),dPe=` ${el} `,tl=class{constructor(t,o,n,r){this.strings=t,this.values=o,this.type=n,this.processor=r}getHTML(){let t=this.strings.length-1,o="",n=!1;for(let r=0;r-1||n)&&s.indexOf("-->",a+1)===-1;let i=x0.exec(s);i===null?o+=s+(n?dPe:p2):o+=s.substr(0,i.index)+i[1]+i[2]+eh+i[3]+el}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return Yae!==void 0&&(o=Yae.createHTML(o)),t.innerHTML=o,t}}});var qd,S0,nh,li,Yr,Bp,By,Nd,Wae,Vp,uPe,rh=cn(()=>{c2();Xf();u2();g2();T0();th();qd=e=>e===null||!(typeof e=="object"||typeof e=="function"),S0=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),nh=class{constructor(t,o,n){this.dirty=!0,this.element=t,this.name=o,this.strings=n,this.parts=[];for(let r=0;r{try{let e={get capture(){return Wae=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Vp=class{constructor(t,o,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=o,this.eventContext=n,this.__boundHandleEvent=r=>this.handleEvent(r)}setValue(t){this.__pendingValue=t}commit(){for(;Hp(this.__pendingValue);){let s=this.__pendingValue;this.__pendingValue=Is,s(this)}if(this.__pendingValue===Is)return;let t=this.__pendingValue,o=this.value,n=t==null||o!=null&&(t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive),r=t!=null&&(o==null||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=uPe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Is}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},uPe=e=>e&&(Wae?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var w0,C0,f2=cn(()=>{rh();w0=class{handleAttributeExpressions(t,o,n,r){let s=o[0];return s==="."?new By(t,o.slice(1),n).parts:s==="@"?[new Vp(t,o.slice(1),r.eventContext)]:s==="?"?[new Bp(t,o.slice(1),n)]:new nh(t,o,n).parts}handleTextExpression(t){return new Yr(t)}},C0=new w0});function b2(e){let t=h2.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},h2.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let n=e.strings.join(el);return o=t.keyString.get(n),o===void 0&&(o=new zy(e,e.getTemplateElement()),t.keyString.set(n,o)),t.stringsArray.set(e.strings,o),o}var h2,_2=cn(()=>{th();h2=new Map});var v2,y,y2=cn(()=>{Xf();rh();_2();v2=new WeakMap,y=(e,t,o)=>{let n=v2.get(t);n===void 0&&(zp(t,t.firstChild),v2.set(t,n=new Yr(Object.assign({templateFactory:b2},o))),n.appendInto(t)),n.setValue(e),n.commit()}});var u,ze=cn(()=>{f2();T0();f2();c2();Xf();u2();rh();y2();_2();g2();T0();th();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");u=(e,...t)=>new tl(e,t,"html",C0)});var x2,Kae,Wr,Jae=cn(()=>{ze();x2=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let o=(t.getAttribute("class")||"").split(/\s+/);for(let n of o)this.classes.add(n)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){let t="";this.classes.forEach(o=>t+=o+" "),this.element.setAttribute("class",t)}}},Kae=new WeakMap,Wr=lr(e=>t=>{if(!(t instanceof li)||t instanceof Nd||t.committer.name!=="class"||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");let{committer:o}=t,{element:n}=o,r=Kae.get(t);r===void 0&&(n.setAttribute("class",o.strings.join(" ")),Kae.set(t,r=new Set));let s=n.classList||new x2(n);r.forEach(a=>{a in e||(s.remove(a),r.delete(a))});for(let a in e){let i=e[a];i!=r.has(a)&&(i?(s.add(a),r.add(a)):(s.remove(a),r.delete(a)))}typeof s.commit=="function"&&s.commit()})});var T2,Ue,sh=cn(()=>{ze();T2=new WeakMap,Ue=lr(e=>t=>{let o=T2.get(t);if(e===void 0&&t instanceof li){if(o!==void 0||!T2.has(t)){let n=t.committer.name;t.committer.element.removeAttribute(n)}}else e!==o&&t.setValue(e);T2.set(t,e)})});var S2,Zae,Xae=cn(()=>{ze();S2=lr(e=>t=>{let o;if(t instanceof Vp||t instanceof Yr)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Bp)Zae(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:n,name:r,strings:s}=t.committer;if(Zae(s),t instanceof Nd){if(o=n[r],o===e)return}else t instanceof li&&(o=n.getAttribute(r));if(o===String(e))return}t.setValue(e)}),Zae=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var eie,Gp,w2,C2,tie,oie,nie,No,rie=cn(()=>{ze();eie=(e,t)=>{let o=e.startNode.parentNode,n=t===void 0?e.endNode:t.startNode,r=o.insertBefore(Ps(),n);o.insertBefore(Ps(),n);let s=new Yr(e.options);return s.insertAfterNode(r),s},Gp=(e,t)=>(e.setValue(t),e.commit(),e),w2=(e,t,o)=>{let n=e.startNode.parentNode,r=o?o.startNode:e.endNode,s=t.endNode.nextSibling;s!==r&&v0(n,t.startNode,s,r)},C2=e=>{zp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},tie=(e,t,o)=>{let n=new Map;for(let r=t;r<=o;r++)n.set(e[r],r);return n},oie=new WeakMap,nie=new WeakMap,No=lr((e,t,o)=>{let n;return o===void 0?o=t:t!==void 0&&(n=t),r=>{if(!(r instanceof Yr))throw new Error("repeat can only be used in text bindings");let s=oie.get(r)||[],a=nie.get(r)||[],i=[],l=[],c=[],d=0;for(let x of e)c[d]=n?n(x,d):d,l[d]=o(x,d),d++;let p,m,g=0,f=s.length-1,_=0,h=l.length-1;for(;g<=f&&_<=h;)if(s[g]===null)g++;else if(s[f]===null)f--;else if(a[g]===c[_])i[_]=Gp(s[g],l[_]),g++,_++;else if(a[f]===c[h])i[h]=Gp(s[f],l[h]),f--,h--;else if(a[g]===c[h])i[h]=Gp(s[g],l[h]),w2(r,s[g],i[h+1]),g++,h--;else if(a[f]===c[_])i[_]=Gp(s[f],l[_]),w2(r,s[f],s[g]),f--,_++;else if(p===void 0&&(p=tie(c,_,h),m=tie(a,g,f)),!p.has(a[g]))C2(s[g]),g++;else if(!p.has(a[f]))C2(s[f]),f--;else{let x=m.get(c[_]),v=x!==void 0?s[x]:null;if(v===null){let T=eie(r,s[g]);Gp(T,l[_]),i[_]=T}else i[_]=Gp(v,l[_]),w2(r,v,s[g]),s[x]=null;_++}for(;_<=h;){let x=eie(r,i[h+1]);Gp(x,l[_]),i[_++]=x}for(;g<=f;){let x=s[g++];x!==null&&C2(x)}oie.set(r,i),nie.set(r,c)}})});var sie,N,jp=cn(()=>{rh();ze();sie=new WeakMap,N=lr(e=>t=>{if(!(t instanceof Yr))throw new Error("unsafeHTML can only be used in text bindings");let o=sie.get(t);if(o!==void 0&&qd(e)&&e===o.value&&t.value===o.fragment)return;let n=document.createElement("template");n.innerHTML=e;let r=document.importNode(n.content,!0);t.setValue(r),sie.set(t,{value:e,fragment:r})})});var aie,iie,An,lie=cn(()=>{rh();ze();aie=new WeakMap,iie=2147483647,An=lr((...e)=>t=>{let o=aie.get(t);o===void 0&&(o={lastRenderedIndex:iie,values:[]},aie.set(t,o));let n=o.values,r=n.length;o.values=e;for(let s=0;so.lastRenderedIndex);s++){let a=e[s];if(qd(a)||typeof a.then!="function"){t.setValue(a),o.lastRenderedIndex=s;break}s{let l=o.values.indexOf(a);l>-1&&l{"use strict";ze();Jae();sh();Xae();rie();jp();lie()});function wg(e){YL[e.name]=e}function fB(e){if(!e)return null;let t=e.replace(/^azurecli/,"bash").replace(/^azurepowershell/,"powershell"),o;if(t=t.replace(/^(bash|http|powershell|lab-on-demand|msgraph)(?:-|$)/,(s,a)=>(o=a,"")),o===void 0)return null;let n=YL[o]?YL[o].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},r={name:o,flags:{isExternal:o==="lab-on-demand",requiresStructuredData:o==="http"},activateButtonConfig:n};return t=t.replace(/(\w+)$/g,(s,a)=>(r.flags[a]=!0,"")),r}function Ofe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function hB(e,t){let o=gB[e.name];return o||(o=gB[e.name]=YL[e.name].create()),t.firstElementChild!==o.element&&y(o.element,t),{element:o.element,setCode:(n,r)=>o.setCode(n,r),execute:()=>o.execute(),dispose:()=>{delete gB[e.name],o.dispose()}}}var YL,gB,Cg=cn(()=>{"use strict";A();YL={};gB={}});var Abe=vd((sLt,Ebe)=>{Ebe.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var Ibe=vd((aLt,kbe)=>{kbe.exports=/[\0-\x1F\x7F-\x9F]/});var Lbe=vd((iLt,Pbe)=>{Pbe.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Mbe=vd((lLt,Rbe)=>{Rbe.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/});var $be=vd((cLt,Dbe)=>{"use strict";Dbe.exports=function(e){var t={};e=e||{},t.src_Any=Abe().source,t.src_Cc=Ibe().source,t.src_Z=Lbe().source,t.src_P=Mbe().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var o="[><\uFF5C]";return t.src_pseudo_letter="(?:(?!"+o+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+o+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}});var Ube=vd((dLt,Obe)=>{"use strict";function L3(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(o){o&&Object.keys(o).forEach(function(n){e[n]=o[n]})}),e}function yR(e){return Object.prototype.toString.call(e)}function sFe(e){return yR(e)==="[object String]"}function aFe(e){return yR(e)==="[object Object]"}function iFe(e){return yR(e)==="[object RegExp]"}function Nbe(e){return yR(e)==="[object Function]"}function lFe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Fbe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function cFe(e){return Object.keys(e||{}).reduce(function(t,o){return t||Fbe.hasOwnProperty(o)},!1)}var dFe={"http:":{validate:function(e,t,o){var n=e.slice(t);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(n)?n.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,o){var n=e.slice(t);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,o){var n=e.slice(t);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(n)?n.match(o.re.mailto)[0].length:0}}},uFe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",pFe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function mFe(e){e.__index__=-1,e.__text_cache__=""}function gFe(e){return function(t,o){var n=t.slice(o);return e.test(n)?n.match(e)[0].length:0}}function qbe(){return function(e,t){t.normalize(e)}}function vR(e){var t=e.re=$be()(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(uFe),o.push(t.src_xn),t.src_tlds=o.join("|");function n(i){return i.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function s(i,l){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+l)}Object.keys(e.__schemas__).forEach(function(i){var l=e.__schemas__[i];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[i]=c,aFe(l)){iFe(l.validate)?c.validate=gFe(l.validate):Nbe(l.validate)?c.validate=l.validate:s(i,l),Nbe(l.normalize)?c.normalize=l.normalize:l.normalize?s(i,l):c.normalize=qbe();return}if(sFe(l)){r.push(i);return}s(i,l)}}),r.forEach(function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)}),e.__compiled__[""]={validate:null,normalize:qbe()};var a=Object.keys(e.__compiled__).filter(function(i){return i.length>0&&e.__compiled__[i]}).map(lFe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),mFe(e)}function fFe(e,t){var o=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(o,n);this.schema=e.__schema__.toLowerCase(),this.index=o+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function R3(e,t){var o=new fFe(e,t);return e.__compiled__[o.schema].normalize(o,e),o}function Zs(e,t){if(!(this instanceof Zs))return new Zs(e,t);t||cFe(e)&&(t=e,e={}),this.__opts__=L3({},Fbe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=L3({},dFe,e),this.__compiled__={},this.__tlds__=pFe,this.__tlds_replaced__=!1,this.re={},vR(this)}Zs.prototype.add=function(t,o){return this.__schemas__[t]=o,vR(this),this};Zs.prototype.set=function(t){return this.__opts__=L3(this.__opts__,t),this};Zs.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var o,n,r,s,a,i,l,c,d;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(o=l.exec(t))!==null;)if(s=this.testSchemaAt(t,o[2],l.lastIndex),s){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=i))),this.__index__>=0};Zs.prototype.pretest=function(t){return this.re.pretest.test(t)};Zs.prototype.testSchemaAt=function(t,o,n){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,n,this):0};Zs.prototype.match=function(t){var o=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(R3(this,o)),o=this.__last_index__);for(var r=o?t.slice(o):t;this.test(r);)n.push(R3(this,o)),r=r.slice(this.__last_index__),o+=this.__last_index__;return n.length?n:null};Zs.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var o=this.re.schema_at_start.exec(t);if(!o)return null;var n=this.testSchemaAt(t,o[2],o[0].length);return n?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+n,R3(this,0)):null};Zs.prototype.tlds=function(t,o){return t=Array.isArray(t)?t:[t],o?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),vR(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,vR(this),this)};Zs.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Zs.prototype.onCompile=function(){};Obe.exports=Zs});var K3=vd((Y3,W3)=>{(function(e,t){typeof Y3=="object"&&typeof W3<"u"?W3.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(Y3,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t($e){return $e&&$e.default||$e}var o=function($e,H,E={}){var Y,ee,oe;for(Y in H)oe=H[Y],E[Y]=(ee=$e[Y])!=null?ee:oe;return E},n=function($e,H,E={}){var Y,ee;for(Y in $e)ee=$e[Y],H[Y]!==void 0&&(E[Y]=ee);return E},r={load:o,overwrite:n},s;s=class{constructor(H,E){this.incr=H,this.decr=E,this._first=null,this._last=null,this.length=0}push(H){var E;this.length++,typeof this.incr=="function"&&this.incr(),E={value:H,prev:this._last,next:null},this._last!=null?(this._last.next=E,this._last=E):this._first=this._last=E}shift(){var H;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),H=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,H}first(){if(this._first!=null)return this._first.value}getArray(){var H,E,Y;for(H=this._first,Y=[];H!=null;)Y.push((E=H,H=H.next,E.value));return Y}forEachShift(H){var E;for(E=this.shift();E!=null;)H(E),E=this.shift()}debug(){var H,E,Y,ee,oe;for(H=this._first,oe=[];H!=null;)oe.push((E=H,H=H.next,{value:E.value,prev:(Y=E.prev)!=null?Y.value:void 0,next:(ee=E.next)!=null?ee.value:void 0}));return oe}};var a=s,i;i=class{constructor(H){if(this.instance=H,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(E,Y)=>this._addListener(E,"many",Y),this.instance.once=(E,Y)=>this._addListener(E,"once",Y),this.instance.removeAllListeners=(E=null)=>E!=null?delete this._events[E]:this._events={}}_addListener(H,E,Y){var ee;return(ee=this._events)[H]==null&&(ee[H]=[]),this._events[H].push({cb:Y,status:E}),this.instance}listenerCount(H){return this._events[H]!=null?this._events[H].length:0}async trigger(H,...E){var Y,ee;try{return H!=="debug"&&this.trigger("debug",`Event triggered: ${H}`,E),this._events[H]==null?void 0:(this._events[H]=this._events[H].filter(function(oe){return oe.status!=="none"}),ee=this._events[H].map(async oe=>{var Te,Fe;if(oe.status!=="none"){oe.status==="once"&&(oe.status="none");try{return Fe=typeof oe.cb=="function"?oe.cb(...E):void 0,typeof Fe?.then=="function"?await Fe:Fe}catch(Yt){return Te=Yt,this.trigger("error",Te),null}}}),(await Promise.all(ee)).find(function(oe){return oe!=null}))}catch(oe){return Y=oe,this.trigger("error",Y),null}}};var l=i,c,d,p;c=a,d=l,p=class{constructor(H){var E;this.Events=new d(this),this._length=0,this._lists=function(){var Y,ee,oe;for(oe=[],E=Y=1,ee=H;1<=ee?Y<=ee:Y>=ee;E=1<=ee?++Y:--Y)oe.push(new c(()=>this.incr(),()=>this.decr()));return oe}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(H){return this._lists[H.options.priority].push(H)}queued(H){return H!=null?this._lists[H].length:this._length}shiftAll(H){return this._lists.forEach(function(E){return E.forEachShift(H)})}getFirst(H=this._lists){var E,Y,ee;for(E=0,Y=H.length;E0)return ee;return[]}shiftLastFrom(H){return this.getFirst(this._lists.slice(H).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,_,h,x,v,T;v=10,h=5,T=r,_=f,x=class{constructor(H,E,Y,ee,oe,Te,Fe,Yt){this.task=H,this.args=E,this.rejectOnDrop=oe,this.Events=Te,this._states=Fe,this.Promise=Yt,this.options=T.load(Y,ee),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===ee.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((jn,ar)=>{this._resolve=jn,this._reject=ar}),this.retryCount=0}_sanitizePriority(H){var E;return E=~~H!==H?h:H,E<0?0:E>v-1?v-1:E}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:H,message:E="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(H??new _(E)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(H){var E;if(E=this._states.jobStatus(this.options.id),!(E===H||H==="DONE"&&E===null))throw new _(`Invalid job status ${E}, expected ${H}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(H,E){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:H,blocked:E})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(H,E,Y,ee){var oe,Te,Fe;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),Te={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",Te);try{if(Fe=await(H!=null?H.schedule(this.options,this.task,...this.args):this.task(...this.args)),E())return this.doDone(Te),await ee(this.options,Te),this._assertStatus("DONE"),this._resolve(Fe)}catch(Yt){return oe=Yt,this._onFailure(oe,Te,E,Y,ee)}}doExpire(H,E,Y){var ee,oe;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),oe={args:this.args,options:this.options,retryCount:this.retryCount},ee=new _(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(ee,oe,H,E,Y)}async _onFailure(H,E,Y,ee,oe){var Te,Fe;if(Y())return Te=await this.Events.trigger("failed",H,E),Te!=null?(Fe=~~Te,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Fe} ms`,E),this.retryCount++,ee(Fe)):(this.doDone(E),await oe(this.options,E),this._assertStatus("DONE"),this._reject(H))}doDone(H){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",H)}};var I=x,C,z,F;F=r,C=f,z=class{constructor(H,E,Y){this.instance=H,this.storeOptions=E,this.clientId=this.instance._randomIndex(),F.load(Y,Y,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var H;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(H=this.heartbeat=setInterval(()=>{var E,Y,ee,oe,Te;if(oe=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&oe>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=oe,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&oe>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:E,reservoirIncreaseMaximum:ee,reservoir:Te}=this.storeOptions,this._lastReservoirIncrease=oe,Y=ee!=null?Math.min(E,ee-Te):E,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?H.unref():void 0:clearInterval(this.heartbeat)}async __publish__(H){return await this.yieldLoop(),this.instance.Events.trigger("message",H.toString())}async __disconnect__(H){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(H=0){return new this.Promise(function(E,Y){return setTimeout(E,H)})}computePenalty(){var H;return(H=this.storeOptions.penalty)!=null?H:15*this.storeOptions.minTime||5e3}async __updateSettings__(H){return await this.yieldLoop(),F.overwrite(H,H,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(H){return await this.yieldLoop(),this._nextRequest+this.timeout=H}check(H,E){return this.conditionsCheck(H)&&this._nextRequest-E<=0}async __check__(H){var E;return await this.yieldLoop(),E=Date.now(),this.check(H,E)}async __register__(H,E,Y){var ee,oe;return await this.yieldLoop(),ee=Date.now(),this.conditionsCheck(E)?(this._running+=E,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=E),oe=Math.max(this._nextRequest-ee,0),this._nextRequest=ee+oe+this.storeOptions.minTime,{success:!0,wait:oe,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(H,E){var Y,ee,oe;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&E>this.storeOptions.maxConcurrent)throw new C(`Impossible to add a job having a weight of ${E} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return ee=Date.now(),oe=this.storeOptions.highWater!=null&&H===this.storeOptions.highWater&&!this.check(E,ee),Y=this.strategyIsBlock()&&(oe||this.isBlocked(ee)),Y&&(this._unblockTime=ee+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:oe,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(H,E){return await this.yieldLoop(),this._running-=E,this._done+=E,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var de=z,Ce,ie;Ce=f,ie=class{constructor(H){this.status=H,this._jobs={},this.counts=this.status.map(function(){return 0})}next(H){var E,Y;if(E=this._jobs[H],Y=E+1,E!=null&&Y(H[this.status[Y]]=E,H),{})}};var ht=ie,It,Vt;It=a,Vt=class{constructor(H,E){this.schedule=this.schedule.bind(this),this.name=H,this.Promise=E,this._running=0,this._queue=new It}isEmpty(){return this._queue.length===0}async _tryToRun(){var H,E,Y,ee,oe,Te,Fe;if(this._running<1&&this._queue.length>0)return this._running++,{task:Fe,args:H,resolve:oe,reject:ee}=this._queue.shift(),E=await async function(){try{return Te=await Fe(...H),function(){return oe(Te)}}catch(Yt){return Y=Yt,function(){return ee(Y)}}}(),this._running--,this._tryToRun(),E()}schedule(H,...E){var Y,ee,oe;return oe=ee=null,Y=new this.Promise(function(Te,Fe){return oe=Te,ee=Fe}),this._queue.push({task:H,args:E,resolve:oe,reject:ee}),this._tryToRun(),Y}};var yo=Vt,zt="2.19.5",io={version:zt},Mt=Object.freeze({version:zt,default:io}),bt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Me=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),D=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),j,$,X,pe,P,Q;Q=r,j=l,pe=bt,X=Me,P=D,$=function(){class $e{constructor(E={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=E,Q.load(this.limiterOptions,this.defaults,this),this.Events=new j(this),this.instances={},this.Bottleneck=sr,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new pe(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new X(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(E=""){var Y;return(Y=this.instances[E])!=null?Y:(()=>{var ee;return ee=this.instances[E]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${E}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",ee,E),ee})()}async deleteKey(E=""){var Y,ee;return ee=this.instances[E],this.connection&&(Y=await this.connection.__runCommand__(["del",...P.allKeys(`${this.id}-${E}`)])),ee!=null&&(delete this.instances[E],await ee.disconnect()),ee!=null||Y>0}limiters(){var E,Y,ee,oe;Y=this.instances,ee=[];for(E in Y)oe=Y[E],ee.push({key:E,limiter:oe});return ee}keys(){return Object.keys(this.instances)}async clusterKeys(){var E,Y,ee,oe,Te,Fe,Yt,jn,ar;if(this.connection==null)return this.Promise.resolve(this.keys());for(Fe=[],E=null,ar=`b_${this.id}-`.length,Y=9;E!==0;)for([jn,ee]=await this.connection.__runCommand__(["scan",E??0,"match",`b_${this.id}-*_settings`,"count",1e4]),E=~~jn,oe=0,Yt=ee.length;oe{var Y,ee,oe,Te,Fe,Yt;Fe=Date.now(),oe=this.instances,Te=[];for(ee in oe){Yt=oe[ee];try{await Yt._store.__groupCheck__(Fe)?Te.push(this.deleteKey(ee)):Te.push(void 0)}catch(jn){Y=jn,Te.push(Yt.Events.trigger("error",Y))}}return Te},this.timeout/2)).unref=="function"?E.unref():void 0}updateSettings(E={}){if(Q.overwrite(E,this.defaults,this),Q.overwrite(E,E,this.limiterOptions),E.timeout!=null)return this._startAutoCleanup()}disconnect(E=!0){var Y;if(!this.sharedConnection)return(Y=this.connection)!=null?Y.disconnect(E):void 0}}return $e.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},$e}.call(e);var re=$,he,qe,st;st=r,qe=l,he=function(){class $e{constructor(E={}){this.options=E,st.load(this.options,this.defaults,this),this.Events=new qe(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((E,Y)=>this._resolve=E)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(E){var Y;return this._arr.push(E),Y=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),Y}}return $e.prototype.defaults={maxTime:null,maxSize:null,Promise},$e}.call(e);var gt=he,lo=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),ln=t(Mt),xo,B,se,me,ye,Ee,Ye,We,qt,nt,Ht,Tr=[].splice;Ee=10,B=5,Ht=r,Ye=m,me=I,ye=de,We=lo,se=l,qt=ht,nt=yo,xo=function(){class $e{constructor(E={},...Y){var ee,oe;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(E,Y),Ht.load(E,this.instanceDefaults,this),this._queues=new Ye(Ee),this._scheduled={},this._states=new qt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new se(this),this._submitLock=new nt("submit",this.Promise),this._registerLock=new nt("register",this.Promise),oe=Ht.load(E,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return ee=Ht.load(E,this.redisStoreDefaults,{}),new We(this,oe,ee);if(this.datastore==="local")return ee=Ht.load(E,this.localStoreDefaults,{}),new ye(this,oe,ee);throw new $e.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var Te;return(Te=this._store.heartbeat)!=null&&typeof Te.ref=="function"?Te.ref():void 0}),this._queues.on("zero",()=>{var Te;return(Te=this._store.heartbeat)!=null&&typeof Te.unref=="function"?Te.unref():void 0})}_validateOptions(E,Y){if(!(E!=null&&typeof E=="object"&&Y.length===0))throw new $e.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(E){return this._store.__publish__(E)}disconnect(E=!0){return this._store.__disconnect__(E)}chain(E){return this._limiter=E,this}queued(E){return this._queues.queued(E)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(E){return this._states.jobStatus(E)}jobs(E){return this._states.statusJobs(E)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(E=1){return this._store.__check__(E)}_clearGlobalState(E){return this._scheduled[E]!=null?(clearTimeout(this._scheduled[E].expiration),delete this._scheduled[E],!0):!1}async _free(E,Y,ee,oe){var Te,Fe;try{if({running:Fe}=await this._store.__free__(E,ee.weight),this.Events.trigger("debug",`Freed ${ee.id}`,oe),Fe===0&&this.empty())return this.Events.trigger("idle")}catch(Yt){return Te=Yt,this.Events.trigger("error",Te)}}_run(E,Y,ee){var oe,Te,Fe;return Y.doRun(),oe=this._clearGlobalState.bind(this,E),Fe=this._run.bind(this,E,Y),Te=this._free.bind(this,E,Y),this._scheduled[E]={timeout:setTimeout(()=>Y.doExecute(this._limiter,oe,Fe,Te),ee),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(oe,Fe,Te)},ee+Y.options.expiration):void 0,job:Y}}_drainOne(E){return this._registerLock.schedule(()=>{var Y,ee,oe,Te,Fe;return this.queued()===0?this.Promise.resolve(null):(Fe=this._queues.getFirst(),{options:Te,args:Y}=oe=Fe.first(),E!=null&&Te.weight>E?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${Te.id}`,{args:Y,options:Te}),ee=this._randomIndex(),this._store.__register__(ee,Te.weight,Te.expiration).then(({success:Yt,wait:jn,reservoir:ar})=>{var Xv;return this.Events.trigger("debug",`Drained ${Te.id}`,{success:Yt,args:Y,options:Te}),Yt?(Fe.shift(),Xv=this.empty(),Xv&&this.Events.trigger("empty"),ar===0&&this.Events.trigger("depleted",Xv),this._run(ee,oe,jn),this.Promise.resolve(Te.weight)):this.Promise.resolve(null)})))})}_drainAll(E,Y=0){return this._drainOne(E).then(ee=>{var oe;return ee!=null?(oe=E!=null?E-ee:E,this._drainAll(oe,Y+ee)):this.Promise.resolve(Y)}).catch(ee=>this.Events.trigger("error",ee))}_dropAllQueued(E){return this._queues.shiftAll(function(Y){return Y.doDrop({message:E})})}stop(E={}){var Y,ee;return E=Ht.load(E,this.stopDefaults),ee=oe=>{var Te;return Te=()=>{var Fe;return Fe=this._states.counts,Fe[0]+Fe[1]+Fe[2]+Fe[3]===oe},new this.Promise((Fe,Yt)=>Te()?Fe():this.on("done",()=>{if(Te())return this.removeAllListeners("done"),Fe()}))},Y=E.dropWaitingJobs?(this._run=function(oe,Te){return Te.doDrop({message:E.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var oe,Te,Fe;Te=this._scheduled;for(oe in Te)Fe=Te[oe],this.jobStatus(Fe.job.options.id)==="RUNNING"&&(clearTimeout(Fe.timeout),clearTimeout(Fe.expiration),Fe.job.doDrop({message:E.dropErrorMessage}));return this._dropAllQueued(E.dropErrorMessage),ee(0)}))):this.schedule({priority:Ee-1,weight:0},()=>ee(1)),this._receive=function(oe){return oe._reject(new $e.prototype.BottleneckError(E.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new $e.prototype.BottleneckError("stop() has already been called")),Y}async _addToQueue(E){var Y,ee,oe,Te,Fe,Yt,jn;({args:Y,options:Te}=E);try{({reachedHWM:Fe,blocked:ee,strategy:jn}=await this._store.__submit__(this.queued(),Te.weight))}catch(ar){return oe=ar,this.Events.trigger("debug",`Could not queue ${Te.id}`,{args:Y,options:Te,error:oe}),E.doDrop({error:oe}),!1}return ee?(E.doDrop(),!0):Fe&&(Yt=jn===$e.prototype.strategy.LEAK?this._queues.shiftLastFrom(Te.priority):jn===$e.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(Te.priority+1):jn===$e.prototype.strategy.OVERFLOW?E:void 0,Yt?.doDrop(),Yt==null||jn===$e.prototype.strategy.OVERFLOW)?(Yt==null&&E.doDrop(),Fe):(E.doQueue(Fe,ee),this._queues.push(E),await this._drainAll(),Fe)}_receive(E){return this._states.jobStatus(E.options.id)!=null?(E._reject(new $e.prototype.BottleneckError(`A job with the same id already exists (id=${E.options.id})`)),!1):(E.doReceive(),this._submitLock.schedule(this._addToQueue,E))}submit(...E){var Y,ee,oe,Te,Fe,Yt,jn;return typeof E[0]=="function"?(Fe=E,[ee,...E]=Fe,[Y]=Tr.call(E,-1),Te=Ht.load({},this.jobDefaults)):(Yt=E,[Te,ee,...E]=Yt,[Y]=Tr.call(E,-1),Te=Ht.load(Te,this.jobDefaults)),jn=(...ar)=>new this.Promise(function(Xv,zIe){return ee(...ar,function(...P9){return(P9[0]!=null?zIe:Xv)(P9)})}),oe=new me(jn,E,Te,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),oe.promise.then(function(ar){return typeof Y=="function"?Y(...ar):void 0}).catch(function(ar){return Array.isArray(ar)?typeof Y=="function"?Y(...ar):void 0:typeof Y=="function"?Y(ar):void 0}),this._receive(oe)}schedule(...E){var Y,ee,oe;return typeof E[0]=="function"?([oe,...E]=E,ee={}):[ee,oe,...E]=E,Y=new me(oe,E,ee,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(E){var Y,ee;return Y=this.schedule.bind(this),ee=function(...oe){return Y(E.bind(this),...oe)},ee.withOptions=function(oe,...Te){return Y(oe,E,...Te)},ee}async updateSettings(E={}){return await this._store.__updateSettings__(Ht.overwrite(E,this.storeDefaults)),Ht.overwrite(E,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(E=0){return this._store.__incrementReservoir__(E)}}return $e.default=$e,$e.Events=se,$e.version=$e.prototype.version=ln.version,$e.strategy=$e.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},$e.BottleneckError=$e.prototype.BottleneckError=f,$e.Group=$e.prototype.Group=re,$e.RedisConnection=$e.prototype.RedisConnection=bt,$e.IORedisConnection=$e.prototype.IORedisConnection=Me,$e.Batcher=$e.prototype.Batcher=gt,$e.prototype.jobDefaults={priority:B,weight:1,expiration:null,id:""},$e.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:$e.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},$e.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},$e.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},$e.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},$e.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},$e}.call(e);var sr=xo,yp=sr;return yp})});var J_e=vd((LDt,WS)=>{"use strict";var qR=function(){};qR.prototype=Object.create(null);var $R=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,NR=/\\([\v\u0020-\u00ff])/gu,Y_e=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Ng={type:"",parameters:new qR};Object.freeze(Ng.parameters);Object.freeze(Ng);function W_e(e){if(typeof e!="string")throw new TypeError("argument header is required and must be a string");let t=e.indexOf(";"),o=t!==-1?e.slice(0,t).trim():e.trim();if(Y_e.test(o)===!1)throw new TypeError("invalid media type");let n={type:o.toLowerCase(),parameters:new qR};if(t===-1)return n;let r,s,a;for($R.lastIndex=t;s=$R.exec(e);){if(s.index!==t)throw new TypeError("invalid parameter format");t+=s[0].length,r=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),NR.test(a)&&(a=a.replace(NR,"$1"))),n.parameters[r]=a}if(t!==e.length)throw new TypeError("invalid parameter format");return n}function K_e(e){if(typeof e!="string")return Ng;let t=e.indexOf(";"),o=t!==-1?e.slice(0,t).trim():e.trim();if(Y_e.test(o)===!1)return Ng;let n={type:o.toLowerCase(),parameters:new qR};if(t===-1)return n;let r,s,a;for($R.lastIndex=t;s=$R.exec(e);){if(s.index!==t)return Ng;t+=s[0].length,r=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),NR.test(a)&&(a=a.replace(NR,"$1"))),n.parameters[r]=a}return t!==e.length?Ng:n}WS.exports.default={parse:W_e,safeParse:K_e};WS.exports.parse=W_e;WS.exports.safeParse=K_e;WS.exports.defaultContentType=Ng});function M9(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&WIe(o)})}function WIe(e){let t=e.getAttribute("data-dismiss-animation");if(t)switch(e.addEventListener("animationend",()=>{e.remove()}),t){case"slide-up":e.classList.add("animation-slide-up");break;case"fade":e.classList.add("animation-fade");break}else e.remove();window.dispatchEvent(new CustomEvent("dismiss-content-update"))}function ty(e=document.body){e.addEventListener("toggle",t=>{let o=t.target instanceof Element&&t.target.closest("details.popover")||t.target instanceof Element&&t.target.shadowRoot?.activeElement?.closest("details.popover");if(!o)return;let n=o.querySelector(".popover-content");if(!n)return;if(!o.open){n.style.visibility="hidden";return}requestAnimationFrame(()=>{$9(o),n.offsetHeight});let r=()=>{o.open&&$9(o)},s=c=>{c.key==="Escape"&&l()},a=c=>{c.target instanceof Element&&(o?.contains(c.target)||l(),c.type==="click"&&c.target.closest("[data-popover-close]")&&l())},i=()=>{document.activeElement?.nodeName?.toLowerCase()==="iframe"&&l()},l=()=>{e.removeEventListener("focus",a,!0),e.removeEventListener("click",a),e.removeEventListener("touchstart",a),e.removeEventListener("keydown",s),window.removeEventListener("blur",i),window.removeEventListener("resize",r),o?.open&&(o.removeAttribute("open"),n.style.visibility="hidden")};e.addEventListener("focus",a,!0),e.addEventListener("click",a),e.addEventListener("touchstart",a),e.addEventListener("keydown",s),window.addEventListener("blur",i),window.addEventListener("resize",r)},!0)}var D9=24,n$=8;function KIe(e){return window.getComputedStyle(e).direction==="rtl"}function JIe(e,t,o){let n=o.getBoundingClientRect(),r=window.innerHeight-n.bottom,s=n.top,a=e.classList.contains("popover-top"),i=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=i||!a&&(l+n$>s||r>=l||r>=s),d=e.classList.contains("popover-caret");d&&e.classList.remove("popover-caret-bottom");let p=0;c?p=o.offsetTop+o.offsetHeight+n$:(p=o.offsetTop-t.offsetHeight-n$,d&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function ZIe(e,t,o,n){let r=t.offsetWidth,s=o.offsetWidth,a=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=o.offsetLeft,d=c+s,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=n?d-r:c;else if(g)p=n?c:d-r;else{p=c+s/2-r/2;let f=l.left+p,_=f+r;fa-D9&&(p=d-r)}return n?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function XIe(e,t,o,n){let r=e.offsetWidth,s=t.offsetWidth,i=t.offsetLeft+s/2,l;n?l=100-(i-o+4)/r*100:l=(i-o-4)/r*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function $9(e){let t=e.querySelector(".popover-content"),o=e.querySelector("summary");if(!t||!o)return;t.style.top="",t.style.left="",t.style.right="",t.style.setProperty("inset-inline-start","");let n=KIe(e);JIe(e,t,o);let r=ZIe(e,t,o,n);e.classList.contains("popover-caret")&&XIe(t,o,r,n),t.style.visibility="visible"}var r$=!1;function N9(){tPe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)ePe(t)}function ePe(e){let t=e.querySelector("[data-snap-scroll-slides]");if(!t)throw new Error('Your snap scroll element must contain a scrollable element with "data-snap-scroll-slides" attribute.');let o=Array.from(t.querySelectorAll("[data-snap-scroll-slide]")),n={root:t,rootMargin:"0px",threshold:.8},r=new IntersectionObserver(s=>{if(!r$&&s[0].isIntersecting===!0){let a=s[0].target.getAttribute("data-snap-scroll-slide");if(!a)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let i=e.querySelector(`[data-snap-scroll-nav-item="${a}"]`);if(!i)throw new Error("Anchor missing from snap scroll container");q9(e,i)}},n);o.forEach(s=>r.observe(s))}function tPe(){window.addEventListener("click",e=>{let t=e.target instanceof Element&&e.target.closest("[data-snap-scroll-nav-item]");if(!t)return;let o=t.closest("[data-snap-scroll]");if(!o)return;let n=t.dataset.snapScrollNavItem;if(!n)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');r$=!0,e.preventDefault();let r=o.querySelector(`[data-snap-scroll-slide="${n}"]`);q9(o,t),r.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>r$=!1,500)})}function q9(e,t){let o=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let n of o)n.classList.remove("is-current");t.classList.add("is-current")}var oPe=0;function Tp(){return`bx-${oPe++}`}function F9(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var O9={contentHasChanged:"Content has changed, please reload the page to get the latest changes.",inputGroupRequired:"At least one selection for {inputGroup} is required.",inputMaxLength:"{inputLabel} cannot be longer than {maxLength} characters.",inputMinLength:"{inputLabel} must be at least {minLength} characters.",inputRequired:"{inputLabel} is required.",notAuthenticated:"You are not authenticated. Please refresh the page and try again. If this issue persists, please log out and log back in.",notAuthorized:"You are not authorized to make this response. If you believe this to be in error, please refresh the page and try again.",pleaseFixTheFollowingIssues:"Please fix the following issues to continue:",thereAreNoEditsToSubmit:"There are no edits to submit.",tooManyRequests:"You have sent too many requests. Please wait a few minutes and try again.",weEncounteredAnUnexpectedError:"We encountered an unexpected error. Please try again later. If this issue continues, please contact site support."},xC=class extends HTMLElement{constructor(){super();Wt(this,"submitting",!1);Wt(this,"initialData",new FormData);Wt(this,"toDispose",[]);Wt(this,"isDirty",!1);Wt(this,"commitTimeout",0);Wt(this,"locStrings",O9);Wt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Wt(this,"commit",o=>{!z9(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&nPe(o.target),this.setDirty())});this.locStrings=this.locStrings}get canSave(){return this.isDirty||this.isNew}get form(){return this.closest("form")}get hideUnloadMessage(){return this.hasAttribute("nounload")}get isNew(){return this.hasAttribute("new")}get noSubmit(){return this.hasAttribute("nosubmit")}connectedCallback(){let o=this.parentElement;if(!(o instanceof HTMLFormElement))return;this.locStrings=this.getLocaleStrings(),o.setAttribute("novalidate","");let n=document.createElement("div");n.setAttribute("data-form-error-container",""),o.hasAttribute("data-hide-validation-banner")&&(n.hidden=!0),this.insertAdjacentElement("afterend",n),this.initialData=new FormData(o),this.ownerDocument.readyState==="loading"&&this.ownerDocument.addEventListener("readystatechange",()=>this.initialData=new FormData(o)),this.subscribe(o,"input",this),this.subscribe(o,"change",this),this.subscribe(o,"submit",this),this.subscribe(window,"beforeunload",this)}disconnectedCallback(){for(let o of this.toDispose)o()}getLocaleStrings(){let o=Array.from(this.attributes).filter(n=>n.name.startsWith("loc-")).reduce((n,r)=>(n[F9(r.name.substring(4))]=r.value,n),{});return Object.assign({},O9,o)}subscribe(o,n,r){o.addEventListener(n,r),this.toDispose.push(()=>o.removeEventListener(n,r))}setDirty(){let o=new URLSearchParams(this.initialData).toString(),n=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=n!==o}handleEvent(o){switch(o.type){case"submit":this.handleSubmitEvent(o);break;case"beforeunload":this.handleUnloadEvent(o);break;case"input":this.clearValidationErrors(o.target),this.scheduleCommit(o);break;case"change":this.clearValidationErrors(o.target),this.commit(o);break;default:throw new Error(`Unexpected event ${o.type}.`)}}navigate(o){return sPe(o,this.getAttribute("navigation"))}scheduleCommit(o){clearTimeout(this.commitTimeout),setTimeout(this.commit,300,o)}async handleUnloadEvent(o){this.setDirty(),!(!this.isDirty||this.hideUnloadMessage)&&(o.preventDefault(),o.returnValue="You have unsaved work.")}async handleSubmitEvent(o){if(o.preventDefault(),this.submitting)return;let n=o.currentTarget;if(!this.canSave){this.showNoChangesMessage(n);let s=new CustomEvent("form-validating",{detail:{form:n},bubbles:!0});this.dispatchEvent(s);return}let r=!1;try{if(this.submitting=!0,U9(o,n,this.submitting),!(await this.validateForm(n)).valid||this.noSubmit)return;let a=iPe(o)??n.action,i=new URL(a).searchParams,l=new FormData(n),c=new Headers;c.set("content-type","applicationhttps://www.microsoft.com/json");for(let{name:h,value:x}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),x);let p={method:i.get("_method")||n.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:a,init:p,form:n,callback:async()=>{}},bubbles:!0,cancelable:!0}),g=!this.dispatchEvent(m);if(m.detail.callback)try{await m.detail.callback()}catch{return}if(g)return;let f=new Request(m.detail.url,m.detail.init),_=await fetch(f);if(_.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:f,response:_},bubbles:!0})),r=this.navigate(_.headers.get("location")??this.getAttribute("navigation-href"));else{let{errorAlert:h,errorList:x}=this.getErrorAlert(n),v=document.createElement("li");v.innerText=this.locStrings.weEncounteredAnUnexpectedError,_.status===401&&(v.innerText=this.locStrings.notAuthenticated),_.status===403&&(v.innerText=this.locStrings.notAuthorized),_.status===412&&(v.innerText=this.locStrings.contentHasChanged),_.status===429&&(v.innerText=this.locStrings.tooManyRequests),this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:n,request:f,response:_},bubbles:!0})),x.appendChild(v),h.hidden=!1,h.focus()}}finally{this.submitting=r,U9(o,n,this.submitting)}}createErrorAlert(o){let n=o.querySelector("[data-form-error-container]")||o,r=Tp(),s=document.createElement("div");s.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",s.setAttribute("data-form-error-alert",""),s.setAttribute("role","alert"),s.setAttribute("aria-labelledby",r),s.setAttribute("tabindex","-1"),s.hidden=!0;let a=document.createElement("p");a.id=r,a.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",a.innerText=this.locStrings.pleaseFixTheFollowingIssues;let i=document.createElement("ul");return i.setAttribute("aria-label","Validation errors"),i.classList.add("margin-left-sm-tablet"),s.append(a,i),n.appendChild(s),{errorAlert:s,errorList:i}}getErrorAlert(o){let n=o.querySelector("[data-form-error-alert]");return n?{errorAlert:n,errorList:n.lastElementChild}:this.createErrorAlert(o)}validateRequired(o,n){return o.validity.valueMissing?this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(o.localName)||o.type==="radio"?`A selection for "${n}"`:n):null}validateMinLength(o,n){return(o instanceof HTMLTextAreaElement||o instanceof HTMLInputElement)&&(o.validity.tooShort||o.minLength>0&&o.value.length0&&o.value.length>o.maxLength)?this.locStrings.inputMaxLength.replace("{inputLabel}",n).replace("{maxLength}",o.maxLength.toString()):null}async validateForm(o,n=!0,r=o){let s=[],{errorAlert:a,errorList:i}=this.getErrorAlert(o);(n||o.hasAttribute("data-hide-validation-banner"))&&(a.hidden=!0,i.innerHTML="");let l=aPe(o);for(let c of[...o.elements,...l]){if(!r.contains(c)||!s$(c,o))continue;if(c.type==="radio"){let m=o.querySelectorAll(`input[name="${c.name}"]`);if(m.length>1&&m[0]!==c)continue}if(c.hasAttribute("aria-hidden")===!0||c.getAttribute("role")==="combobox"||c.closest("docs-markdown-editor"))continue;if(c.hasAttribute("data-skip-validation")){let m=new CustomEvent("form-validating",{detail:{errors:s,form:o},bubbles:!0});this.dispatchEvent(m);continue}let d=!!l.find(m=>m===c);this.runBasicValidation(c,n,s,i,d);let p=new CustomEvent("form-validating",{detail:{errors:s,form:o},bubbles:!0});this.dispatchEvent(p)}return s.length===0?{valid:!0}:(n&&(a.hidden=!1,a.focus()),{valid:!1,errors:s})}clearValidationErrors(o){if(!s$(o,this.form))return;if(H9(o),Ur(o,""),ir(o).classList.remove("errored"),o.form){let{errorAlert:r,errorList:s}=this.getErrorAlert(o.form);s.querySelectorAll(`a[href="http://approjects.co.za/?big=#${o.id}"]`).forEach(a=>a.parentElement?.remove()),s.querySelector("#no-edits-error")?.remove(),s.firstElementChild||(r.hidden=!0)}let n=new CustomEvent("clear-validation-errors",{detail:{target:o},bubbles:!0});this.dispatchEvent(n)}showNoChangesMessage(o){let{errorAlert:n,errorList:r}=this.getErrorAlert(o);if(r.childElementCount>0){for(;r.firstChild;)r.lastChild?.remove();r.querySelector("#no-edits-error")?.remove()}let s=document.createElement("li");s.id="no-edits-error",s.innerText=this.locStrings.thereAreNoEditsToSubmit,r.appendChild(s),n.hidden=!1,n.focus()}runBasicValidation(o,n=!0,r,s,a){if(!s$(o,this.form))return;let i=a$(o),l=ir(o);for(let c of this.validators){let d=c(o,i);if(!d){a||H9(o);continue}if(r.push({input:o,message:d}),n){if(!o.id)continue;Ur(o,d),l.classList.add("errored");let p=document.createElement("li");p.classList.add("margin-bottom-xs");let m=document.createElement("a");m.href=`#${o.id}`,m.textContent=d,m.classList.add("help","help-danger"),m.addEventListener("click",g=>{if(a){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),s.appendChild(p),a||(o.type==="checkbox"?o.closest("label.checkbox")?.classList.add("is-invalid"):o.type==="radio"?o.closest("label.radio")?.classList.add("is-invalid"):o.classList.add(`${o.localName}-danger`))}break}}};window.customElements.get("form-behavior")||(window.FormBehaviorElement=xC,window.customElements.define("form-behavior",xC));function z9(e,t){let o=e;return o?o instanceof HTMLElement&&"form"in o&&o.form===t&&"validity"in o&&o.validity instanceof ValidityState&&"value"in o&&typeof o.value=="string"&&"type"in o&&typeof o.type=="string"&&!["button","submit"].includes(o.type):!1}function nPe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function U9(e,t,o){let n=e.submitter;Array.from(t.elements).forEach(r=>{r instanceof HTMLButtonElement&&r.type==="submit"&&(n&&n===r?r.classList.toggle("is-loading",o):r.disabled=o)})}function a$(e){let t=null;if(e.type==="radio"){let n=ir(e).querySelector(".field-label");n?t=n.textContent:t=e.getAttribute("aria-label")}else e.labels?.length?t=e.labels[0].textContent:t=e.getAttribute("aria-label");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" has no associated label.`);return t.trim()}function ir(e){let t=e.closest(".field");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" is not within a .field`);return t}function hf(e){let t=e.closest(".field-body");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" is not within a .field-body`);return t}function rPe(e){let t=document.createElement("p");return t.id=Tp(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),hf(e).after(t),t}function Ur(e,t){let n=ir(e).querySelector("[data-field-error]")||rPe(e);n.textContent=t}function s$(e,t){return z9(e,t)&&e.type!=="hidden"}function sPe(e,t){switch(t){case null:return!1;case"follow":return e?(location.href=e,!0):!1;case"hash-reload":if(e){let o=e.includes("?")?"":window.location.search;if(e!==o+window.location.hash){let n=history.state||{};window.history.pushState(n,document.title,window.location.pathname+o+e)}return location.reload(),!0}return!1;case"replace":return e?(location.replace(e),!0):!1;case"reload":return location.reload(),!0;default:throw new Error("Unexpected navigation attribute value.")}}function aPe(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(r=>!e.elements.namedItem(r)).forEach(r=>{let s=e.querySelector(`[name="${r}"]`);s&&o.push(s)}),o}function H9(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function iPe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var B9=globalThis.HTMLElement||null,Sp="assign"in(globalThis.HTMLSlotElement?.prototype||{})?(e,...t)=>{e.assign(...t)}:(e,...t)=>{let o=e.getRootNode().host;for(let n of o.querySelectorAll(`[slot="${e.name}"]`))n.removeAttribute("slot");for(let n of t)n.setAttribute("slot",e.name)},ny,ry,sy,SC=class extends Event{constructor(o,{tabIndex:n,tab:r,panel:s,...a}){super(o,a);eo(this,ny,null);eo(this,ry,null);eo(this,sy,null);At(this,sy,r||null),At(this,ny,n||null),At(this,ry,s||null)}get tabIndex(){return Ae(this,ny)}get panel(){return Ae(this,ry)}get tab(){return Ae(this,sy)}};ny=new WeakMap,ry=new WeakMap,sy=new WeakMap;var wp,Cp,at,bf,V9,oy,G9,j9,Q9,TC,i$,yd,Ep,Ap,Y9,W9,l$,K9,J9,_f=class extends B9{constructor(){super(...arguments);eo(this,at);eo(this,wp,null);eo(this,Cp,null);eo(this,Ep,!1);eo(this,Ap)}static define(o="tab-container",n=customElements){return n.define(o,this),this}get onChange(){return this.onTabContainerChange}set onChange(o){this.onTabContainerChange=o}get onTabContainerChange(){return Ae(this,wp)}set onTabContainerChange(o){Ae(this,wp)&&this.removeEventListener("tab-container-change",Ae(this,wp)),At(this,wp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-change",o)}get onTabContainerChanged(){return Ae(this,Cp)}set onTabContainerChanged(o){Ae(this,Cp)&&this.removeEventListener("tab-container-changed",Ae(this,Cp)),At(this,Cp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-changed",o)}get onChanged(){return this.onTabContainerChanged}set onChanged(o){this.onTabContainerChanged=o}get activeTab(){return Ae(this,at,yd)[this.selectedTabIndex]}get activePanel(){return Ae(this,at,i$).assignedNodes()[0]}get vertical(){return Ae(this,at,bf)?.getAttribute("aria-orientation")==="vertical"}set vertical(o){let n=Ae(this,at,bf);n&&o?n.setAttribute("aria-orientation","vertical"):n.setAttribute("aria-orientation","horizontal")}connectedCallback(){Ae(this,Ap)||At(this,Ap,this.attachInternals?this.attachInternals():null);let o=this.shadowRoot||this.attachShadow({mode:"open",slotAssignment:"manual"}),n=document.createElement("slot");n.style.display="flex",n.setAttribute("part","tablist-wrapper"),n.setAttribute("name","tablist-wrapper");let r=document.createElement("div");r.setAttribute("part","tablist-tab-wrapper"),r.setAttribute("name","tablist-tab-wrapper");let s=document.createElement("slot");s.setAttribute("part","tablist"),s.setAttribute("name","tablist"),r.append(s);let a=document.createElement("slot");a.setAttribute("part","panel"),a.setAttribute("name","panel");let i=document.createElement("slot");i.setAttribute("part","before-tabs"),i.setAttribute("name","before-tabs");let l=document.createElement("slot");l.setAttribute("part","after-tabs"),l.setAttribute("name","after-tabs"),n.append(i,r,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),o.replaceChildren(n,a,c),Ae(this,Ap)&&"role"in Ae(this,Ap)?Ae(this,Ap).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",xp(this,at,K9)),this.addEventListener("click",xp(this,at,J9)),At(this,Ep,!0)}attributeChangedCallback(o){!this.isConnected||!this.shadowRoot||o==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(o){if(o.type==="click")return xp(this,at,W9).call(this,o);if(o.type==="keydown")return xp(this,at,Y9).call(this,o)}get selectedTabIndex(){return Ae(this,at,yd).findIndex(o=>o.matches("[aria-selected=true]"))}set selectedTabIndex(o){this.selectTab(o)}get defaultTabIndex(){return Number(this.getAttribute("default-tab")||-1)}set defaultTabIndex(o){this.setAttribute("default-tab",String(o))}selectTab(o){if(!Ae(this,Ep)){let i=Ae(this,at,TC),l=Ae(this,at,V9),c=this.querySelector("[role=tablist]"),d=this.querySelector("[slot=tablist-wrapper]");d&&d.closest(this.tagName)===this?Sp(l,d):c&&c.closest(this.tagName)===this?Sp(i,c):(Ae(this,at,oy).role="tablist",Sp(i,...[...this.children].filter(_=>_.matches("[role=tab]"))));let p=Ae(this,at,bf);if(xp(this,at,l$).call(this,"aria-description",p),xp(this,at,l$).call(this,"aria-label",p),this.vertical&&Ae(this,at,bf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let _=[],h=[],x=[],v=_;for(let T of this.children){if(T.getAttribute("role")==="tab"||T.getAttribute("role")==="tablist"){v=h;continue}if(T.getAttribute("role")==="tabpanel"){v=x;continue}T.getAttribute("slot")==="before-tabs"?_.push(T):T.getAttribute("slot")==="after-tabs"?h.push(T):v.push(T)}Sp(Ae(this,at,G9),..._),Sp(Ae(this,at,j9),...h),Sp(Ae(this,at,Q9),...x)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;o=o>=0?o:Math.max(0,f)}let n=Ae(this,at,yd),r=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(i=>i.closest(this.tagName)===this);if(o>n.length-1)throw new RangeError(`Index "${o}" out of bounds`);let s=n[o],a=r[o];if(!(Ae(this,Ep)&&!this.dispatchEvent(new SC("tab-container-change",{tabIndex:o,bubbles:!0,cancelable:!0,tab:s,panel:a})))){for(let i of n)i.setAttribute("aria-selected","false"),i.setAttribute("tabindex","-1");for(let i of r)!i.hasAttribute("tabindex")&&!i.hasAttribute("data-tab-container-no-tabstop")&&i.setAttribute("tabindex","0");s.setAttribute("aria-selected","true"),s.setAttribute("tabindex","0"),Sp(Ae(this,at,i$),a),a.hidden=!1,Ae(this,Ep)&&(s.focus(),this.dispatchEvent(new SC("tab-container-changed",{tabIndex:o,bubbles:!0,tab:s,panel:a})))}}};wp=new WeakMap,Cp=new WeakMap,at=new WeakSet,bf=function(){let o=this.querySelector("[slot=tablist-wrapper]");if(o?.closest(this.tagName)===this)return o.querySelector("[role=tablist]");let n=Ae(this,at,TC);return Ae(this,at,oy).hasAttribute("role")?Ae(this,at,oy):n.assignedNodes()[0]},V9=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},oy=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},G9=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},j9=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},Q9=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},TC=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},i$=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},yd=function(){return Ae(this,at,oy).matches("[role=tablist]")?Ae(this,at,TC).assignedNodes():Array.from(Ae(this,at,bf)?.querySelectorAll('[role="tab"]')||[]).filter(o=>o instanceof B9&&o.closest(this.tagName)===this)},Ep=new WeakMap,Ap=new WeakMap,Y9=function(o){let n=o.target?.closest?.('[role="tab"]');if(!n)return;let r=Ae(this,at,yd);if(!r.includes(n))return;let s=this.selectedTabIndex,a=n.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",i=o.code==="ArrowLeft"||a&&o.code==="ArrowUp";if(o.code==="ArrowRight"||a&&o.code==="ArrowDown"){let c=s+1;c>=r.length&&(c=0),this.selectTab(c)}else if(i){let c=s-1;c<0&&(c=r.length-1),this.selectTab(c)}else o.code==="Home"?(this.selectTab(0),o.preventDefault()):o.code==="End"&&(this.selectTab(r.length-1),o.preventDefault())},W9=function(o){let n=o.target?.closest?.("[role=tab]");if(!n)return;let s=Ae(this,at,yd).indexOf(n);s>=0&&this.selectTab(s)},l$=function(o,n){this.hasAttribute(o)&&(n.setAttribute(o,this.getAttribute(o)),this.removeAttribute(o))},K9=function(o){let{tab:n}=o;n&&n.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},J9=function(o){let n=o.target instanceof Element&&o.target.closest("[data-tab-container-nav]");if(!n)return;let r=(n.dataset.tabContainerNav==="next"||n.dataset.tabContainerNav==="previous")&&n.dataset.tabContainerNav;if(!r)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let s=this.selectedTabIndex;if(r==="next"){let a=s+1;a>=Ae(this,at,yd).length&&(a=0),this.selectTab(a)}else{let a=s-1;a<0&&(a=Ae(this,at,yd).length-1),this.selectTab(a)}},Wt(_f,"observedAttributes",["vertical"]);var Z9=typeof globalThis<"u"?globalThis:window;try{Z9.TabContainerElement=_f.define()}catch(e){if(!(Z9.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var vf=document.documentElement,lPe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,o=t?`${t}px`:"0px",n=e?.getBoundingClientRect().y||0,s=`${Math.max(0,n+t)}px`,a=document.querySelector(".layout-body-footer"),i=a?.clientHeight||0,l=i?`${i}px`:"0px",c=a?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function eV(){window.addEventListener("atlas-layout-change-event",()=>{cPe(lPe)}),window.addEventListener("resize",Yi,{passive:!0}),vf.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Yi),window.addEventListener("scroll",Yi,{passive:!0})}var tV="Iniciou sess\xE3o com uma conta associada a uma organiza\xE7\xE3o ({email}). Ao tornar-se membro, compreende e reconhece que a sua associa\xE7\xE3o ao Microsoft Learn significa que a nossa rede de sites e aplica\xE7\xF5es ir\xE1 registar e controlar os seus feitos e atividades e que podemos partilhar os seus resultados e atividades com a sua organiza\xE7\xE3o. Al\xE9m disso, o seu nome de utilizador, nome a apresentar, imagem do perfil, afilia\xE7\xE3o, conquistas e atividades estar\xE3o vis\xEDveis ao p\xFAblico. Pode ocultar as suas conquistas e atividades nas defini\xE7\xF5es.

Depois de criar o seu perfil, recomendamos que associe uma conta pessoal para que possa aceder ao seu progresso de aprendizagem independentemente do estado de emprego. Pode associar contas adicionais na sec\xE7\xE3o Gest\xE3o de Contas nas defini\xE7\xF5es do perfil.";var c$="Aceitar";var sc="Adicionar",oV="Adicionar sec\xE7\xE3o",nV="Adicionar URL",wC="Adicionou";var ay="Informa\xE7\xF5es adicionais";var CC="Adicionar conte\xFAdo";var rV="Erro ao obter o reposit\xF3rio e o caminho do conte\xFAdo do GitHub";var sV="O seu Token do GitHub expirou. Tem de atualizar as permiss\xF5es do Token do GitHub clicando no bot\xE3o abaixo.";var aV='Quer uma experi\xEAncia de edi\xE7\xE3o de texto formatado mais simples? Saiba mais sobre o Editor do Microsoft Learn!';var iV="Sugerir edi\xE7\xF5es em {name}",lV='Obrigado pelo seu interesse em contribuir para o Microsoft Learn. Clique em Editar para abrir este artigo em {name}. Para obter mais informa\xE7\xF5es, veja contribuir.';var cV="Autorizar Novamente o Token do GitHub com as Permiss\xF5es Mais Recentes";var dV="Come\xE7ar Novamente";var uV="MVP",pV="Colaborador da Microsoft",mV="Equipa Externa da Microsoft";var gV="Estagi\xE1rio da Microsoft";var fV="Diretor Regional da Microsoft",hV="Estudante Embaixador",yf="Alfab\xE9tico (A-Z)",xf="Alfab\xE9tico (Z-A)",d$="An\xE1lise";var u$="um {AppliedSkills}",p$="{AppliedSkills} conclu\xEDdo";var bV="perguntou \xE0s {time}";var m$="Marcos";var _V="h\xE1 um dia";var vV="Adicionar Par\xE2metro",yV="Avan\xE7ado";var ei="Todos",EC="Todas as APIs",xV="Todos os filtros";var AC="Todos os Pacotes";var TV="J\xE1 tem uma conta? Iniciar sess\xE3o";var SV="h\xE1 um minuto",wV="h\xE1 um m\xEAs";var CV="h\xE1 uma hora",Hr="An\xF3nimo";var EV="1 resposta",AV="{count} respostas";var g$="Uma das respostas foi aceite pelo autor da pergunta.";var kC="API";var kV="Chave de API",IC="Refer\xEAncia de API de {platformName}",f$="A pesquisa da API est\xE1 indispon\xEDvel. Tente novamente mais tarde.";var IV="{appliedSkillTitle} - Avalia\xE7\xE3o de {AppliedSkills}",PV="Atualize para continuar. O seu laborat\xF3rio ir\xE1 retomar onde parou.";var LV="Esta avalia\xE7\xE3o \xE9 muito popular e estamos esgotados, mas estamos a trabalhar arduamente para alojar mais estudantes. Volte ap\xF3s 10 minutos e tente novamente.",PC="Credencial da Microsoft",RV="O tempo acabou.",MV="Atingiu o limite de tempo.",DV="A sua avalia\xE7\xE3o ser\xE1 classifica\xE7\xE3o agora.",$V="Ver os meus resultados",NV="Estamos a ter um problema e estamos a investigar ativamente o que se passa. Experimente uma avalia\xE7\xE3o diferente.",qV="Ocorreu um erro. Ative novamente ap\xF3s 10 minutos.",FV="A sua conta ou liga\xE7\xE3o foi sinalizada com atividade invulgar. Como resultado, o acesso ao Microsoft {AppliedSkills} foi suspenso. Utilize o bot\xE3o Anterior para voltar \xE0 p\xE1gina de detalhes de credenciais.";var OV="Ver a minha credencial";var UV="Guarde a sua cole\xE7\xE3o para voltar a ela mais tarde. Pode expirar se a avalia\xE7\xE3o for atualizada.",LC="Ir para a p\xE1gina de detalhes",h$="Pode ver as tentativas anteriores na p\xE1gina de detalhes da credencial";var HV="Atualize a p\xE1gina",zV="Ser\xE1 eleg\xEDvel para repetir a avalia\xE7\xE3o em:",BV="Guardar a cole\xE7\xE3o",VV="Desempenho por tarefa",GV="Em processo de classifica\xE7\xE3o",jV="Cole\xE7\xE3o personalizada para melhorar o seu desempenho",QV="Material de {AppliedSkills} - {date}",YV='Os seus resultados ainda est\xE3o a ser processados. Se n\xE3o vir um resultado dentro de {duration} segundos, atualize a p\xE1gina.',WV="Com base nos seus resultados, reunimos materiais relativos \xE0s \xE1reas em que pode melhorar. O material de aprendizagem inclui:",KV="Credencial de {AppliedSkills} obtida",JV="Ocorreu um problema, tente novamente mais tarde";var b$="Os resultados da sua avalia\xE7\xE3o",RC="Os resultados da sua avalia\xE7\xE3o para",ZV="Saiba como esta avalia\xE7\xE3o \xE9 classificada",XV='Esta avalia\xE7\xE3o est\xE1 atualmente em manuten\xE7\xE3o. Entretanto, explore outras Credenciais da Microsoft.',eG='A sua conta ou liga\xE7\xE3o foi sinalizada devido a atividades invulgares. Por este motivo, suspendemos o seu acesso ao Microsoft {AppliedSkills}. Mais informa\xE7\xF5es.',tG="O seu recurso est\xE1 a ser analisado";var oG="(Obsoleto)",nG="{version} e outras vers\xF5es",rG="{version1} e {version2}",sG="Aplicar",MC="Arquitetura",aG="Ideia para Solu\xE7\xE3o",Tf="Vers\xF5es anteriores",xd="Tem a certeza?",iG="Eliminar os seus dados n\xE3o \xE9 uma a\xE7\xE3o que possa ser desfeita.";var lG="Artigo";var cG="h\xE1 um segundo";var dG="Perguntar \xE0 comunidade";var DC="Avalia\xE7\xF5es";var uG="Autoriza\xE7\xE3o obrigat\xF3ria";var pG="h\xE1 uma semana";var mG="Documenta\xE7\xE3o do Azure";var gG="-- Selecione o Valor --",kp="Voltar";var fG="Voltar aos coment\xE1rios";var hG="Iniciante";var Sf="Corpo";var bG="Remover {title} dos Favoritos",_G="Adicionar {title} aos Favoritos";var vG='Ocorreu um problema no ramo "{branchFallbackFrom}". Como alternativa, redirecion\xE1mo-lo para o ramo "{branch}".',yG="Seletor de ramo";var xG="Procurar exames";var Td="Procurar Certifica\xE7\xF5es",ac="Procurar credencial";var TG="Categoria",SG="Categorias",wG="Aten\xE7\xE3o";var Ne="Cancelar",$C="Legendas Desativadas";var ic="Certifica\xE7\xE3o";var CG="Transfer\xEAncia para Pearson Vue";var EG="Insira seu endere\xE7o para que a Pearson Vue, o provedor de entrega do exame, possa validar sua identidade.",AG="Insira seu n\xFAmero de telefone e e-mail de contato para que a Pearson Vue, o provedor de entrega do exame, possa entrar em contato com voc\xEA, se voc\xEA encontrar algum problema durante a realiza\xE7\xE3o do exame.",kG="Quaisquer descontos ser\xE3o aplicados na Pearson Vue durante o pagamento.",IG="Se voc\xEA tiver um c\xF3digo de voucher, insira o c\xF3digo no Pearson Vue durante o pagamento.",PG="Aceda ao portal Pearson Vue para avan\xE7ar com a inscri\xE7\xE3o no exame.",LG='A Microsoft n\xE3o ir\xE1 armazenar as informa\xE7\xF5es de endere\xE7o e n\xFAmero de telefone que forneceu. Agora vamos transferi-lo para a Pearson Vue para completar sua inscri\xE7\xE3o no exame. Declara\xE7\xE3o de Privacidade da Microsoft',RG="Endere\xE7o 1",MG="Endere\xE7o 2",DG="City",$G="Estado",NG="Postal code",qG="C\xF3digo de pa\xEDs/regi\xE3o",_$="Inserir endere\xE7o",FG="Inserir a cidade";var OG="Inserir o c\xF3digo postal",UG="Introduza o n\xFAmero de telefone",HG="Digite o e-mail de contato";var zG="Nome da cole\xE7\xE3o";var iy="Reprovado";var NC="Ups, ocorreu um problema.",ly="Aprova\xE7\xE3o";var BG="Material de avalia\xE7\xE3o \u2013 {date}";var VG="Guardar a cole\xE7\xE3o";var GG="Material de renova\xE7\xE3o - {date}";var jG="Esta \xE9 uma p\xE1gina de pr\xE9-visualiza\xE7\xE3o tempor\xE1ria que expira a {temporaryPreviewExpiresAt}. Quando expirar, ter\xE1 de voltar a ger\xE1-la a partir do Workshop de Itens antes de a pr\xE9-visualizar novamente.",QG="API da Plataforma de Avalia\xE7\xF5es",YG="Verifique A Sua Resposta",WG="Avalia\xE7\xE3o de renova\xE7\xE3o para {certificationName}",KG="Parab\xE9ns, foi aprovado!",Wi="Certifica\xE7\xE3o Microsoft",JG="Renovou o seu {certificationName} e prolongou-o por um ano.",ZG="Veja os resultados",XG="Pergunta {current} de {total}",e7="{current} de {total}",t7="Selecione apenas uma resposta.",o7="Tempo expirado.",n7="Atingiu o limite de tempo. A sua avalia\xE7\xE3o ser\xE1 classifica\xE7\xE3o agora.",r7="Ver os Meus Resultados",s7="Selecione todas as respostas aplic\xE1veis.",a7="Seguinte",i7="A compilar a sua avalia\xE7\xE3o...",l7="Encontr\xE1mos um erro inesperado. Tente novamente mais tarde. Se este problema continuar, contacte o suporte de certifica\xE7\xE3o.",c7="Tudo bem, percebi",d7="Tente submeter a sua avalia\xE7\xE3o de renova\xE7\xE3o novamente. Se este problema continuar, pode contactar o suporte de certifica\xE7\xE3o.",u7="Contactar o Suporte de Certifica\xE7\xE3o",p7="A sua avalia\xE7\xE3o j\xE1 foi classificada",m7="Parece que j\xE1 submeteu esta avalia\xE7\xE3o. Pode ver os resultados da avalia\xE7\xE3o na p\xE1gina de detalhes de renova\xE7\xE3o da certifica\xE7\xE3o. Se acha que se trata de um erro e precisa de ajuda, contacte o suporte de certifica\xE7\xE3o.",qC="Ir para detalhes de renova\xE7\xE3o",g7="Tempo restante",Ip="Esta resposta est\xE1 incorreta.",Pp="Resposta correta.",f7="Mostrar todas as perguntas",h7="Data da avalia\xE7\xE3o:",b7="A sua certifica\xE7\xE3o foi renovada por um ano. Tenha em aten\xE7\xE3o que pode demorar alguns minutos at\xE9 a data de expira\xE7\xE3o da certifica\xE7\xE3o ser atualizada.",_7="Este material de aprendizagem personalizado est\xE1 desatualizado em rela\xE7\xE3o \xE0 avalia\xE7\xE3o atual. Visite a p\xE1gina de detalhes da avalia\xE7\xE3o para obter o material de prepara\xE7\xE3o mais recente.";var FC="Material de aprendizagem personalizado para melhorar as suas compet\xEAncias";var OC='Porque teve uma classifica\xE7\xE3o mais baixa em "{section}":',v$="Os resultados da avalia\xE7\xE3o de renova\xE7\xE3o para {certificationName}";var v7="Os resultados da sua avalia\xE7\xE3o de renova\xE7\xE3o para";var y7="Saiba mais sobre como renovar esta certifica\xE7\xE3o",x7="precisa de {percent}% para passar",UC="Desempenho por sec\xE7\xE3o de avalia\xE7\xE3o",T7="Est\xE1 pronto para realizar novamente a avalia\xE7\xE3o?";var S7="\xC9 eleg\xEDvel para realizar novamente a avalia\xE7\xE3o. Pode tentar novamente tantas vezes quanto precisar at\xE9 {date}. Depois da segunda tentativa, ter\xE1 de esperar 24 horas entre novas tentativas.",y$="Veja as suas certifica\xE7\xF5es",w7="Pode pesquisar as tentativas de avalia\xE7\xE3o anteriores no seu perfil ou visitar a descri\xE7\xE3o geral da certifica\xE7\xE3o",C7="Os seus resultados gerais:";var E7="Descri\xE7\xE3o geral da certifica\xE7\xE3o";var Ki="Certifica\xE7\xF5es";var A7="Tipo de Certifica\xE7\xE3o",k7="Tipos de certifica\xE7\xE3o",ti="Desafio";var I7="Ativo entre {start} e {end}";var P7="Cole\xE7\xE3o de Desafios";var L7="Encontrar um produto";var R7="Ainda n\xE3o tem nenhum desafio";var x$="A data de t\xE9rmino n\xE3o pode ser anterior \xE0 data de in\xEDcio. Selecione novamente uma data de t\xE9rmino.",M7="A hora de t\xE9rmino n\xE3o pode ser antes da hora de in\xEDcio. Selecione novamente uma hora de t\xE9rmino.",D7="A hora de in\xEDcio n\xE3o pode ser anterior \xE0 hora atual. Selecione novamente uma hora de in\xEDcio.";var HC="Encontre outra coisa para aprender";var zC="{score}%",$7="Ver o desafio";var wf="Desafios";var T$="Adicionar a Desafios",BC="Adicionado aos Desafios";var N7="Gerir {title} em desafios",q7="Adicionar {title} a um desafio";var S$="Nenhum item nesta sec\xE7\xE3o.";var VC="Data de in\xEDcio",GC="Hora de in\xEDcio",jC="Data de fim",QC="Hora de fim";var F7="Desculpe, este desafio \xE9 privado.",O7="Este desafio n\xE3o \xE9 vis\xEDvel para outros utilizadores.",U7="Pode rever os seus desafios no seu perfil de utilizador.",H7="Ver os seus desafios",z7="Ir para a tabela de classifica\xE7\xE3o";var cy="Desafio de c\xF3pia",B7="Est\xE1 prestes a copiar este desafio. O novo desafio ter\xE1 os mesmos detalhes e conte\xFAdo. Uma vez criado, ser\xE1 capaz de edit\xE1-lo atrav\xE9s da sua p\xE1gina de detalhes.",V7="Eliminar desafio",G7="A data de in\xEDcio deve estar no futuro.",j7="A data de t\xE9rmino deve ser ap\xF3s a data de in\xEDcio ou a data atual.",Q7="Selecione um assunto principal v\xE1lido.",Y7="Insira um nome de destino v\xE1lido.",W7="Introduza um ID v\xE1lido associado ao p\xFAblico selecionado deste desafio.",K7="Insira uma finalidade v\xE1lida para este desafio.",J7="N\xE3o tem permiss\xE3o para executar esta a\xE7\xE3o.";var dy="Classifica\xE7\xF5es";var Z7='Adicionado \xE0 {collectionName}',X7='Adicionado aos Desafios',ej="Inicie sess\xE3o para adicionar ao seu desafio.",tj='Removido da {collectionName}',oj='Removido dos Desafios';var nj="Viola\xE7\xE3o detetada",rj='O t\xEDtulo ou a descri\xE7\xE3o deste desafio, ou o t\xEDtulo ou a descri\xE7\xE3o de uma sec\xE7\xE3o deste desafio foram eliminados devido a uma viola\xE7\xE3o dos nossos Termos de Utiliza\xE7\xE3o. Estes foram comunicados manualmente ou identificados atrav\xE9s de dete\xE7\xE3o autom\xE1tica antes de serem tomadas medidas. Consulte os nossos Termos de Utiliza\xE7\xE3o para obter mais informa\xE7\xF5es.',w$='Se o t\xEDtulo ou a descri\xE7\xE3o deste desafio tiver sido eliminado, v\xE1 \xE0 sua p\xE1gina de detalhes para o atualizar.';var sj="Se um t\xEDtulo de sec\xE7\xE3o ou uma descri\xE7\xE3o da cole\xE7\xE3o deste desafio tiver sido eliminado, reveja e atualize-o abaixo.",aj="Continuar\xE1 a ver este alerta at\xE9 que seja feita uma atualiza\xE7\xE3o.";var ij="Pergunte ao Learn",lj="Descreva o que gostaria de fazer",cj="O bate-papo foi redefinido",YC='Parei de gerar a resposta. Quer experimentar outra coisa? Experimente o nosso guia de pedidos ao selecionar o bot\xE3o "Ver pedidos".',dj="O conte\xFAdo gerado por IA pode estar incorreto",uj="Conte\xFAdo preciso/relevante",pj="Conte\xFAdo completo/claro",mj="Resposta r\xE1pida",gj="Conte\xFAdo impreciso/irrelevante",fj="Conte\xFAdo incompleto/n\xE3o claro",hj="Conte\xFAdo ofensivo/inapropriado",bj="Resposta lenta",C$="Outro local",_j="Agradecemos os seus coment\xE1rios.",E$='Desculpe, n\xE3o posso conversar sobre isso. Por favor, introduza outro t\xF3pico ou experimente o guia de pedidos ao selecionar o bot\xE3o "Ver pedidos" abaixo.',vj="Agora n\xE3o",yj="Conhe\xE7a o nosso assistente de IA, perguntar e Aprender",WC="O perguntar e Aprender \xE9 um assistente de IA que pode utilizar a documenta\xE7\xE3o fidedigna da Microsoft para responder a perguntas, esclarecer conceitos e definir termos.",xj="Verifique a precis\xE3o",Tj="O perguntar e Aprender est\xE1 em pr\xE9-visualiza\xE7\xE3o. Verifique as respostas, pois o conte\xFAdo gerado por IA pode ser impreciso. Utilize os bot\xF5es de feedback para nos ajudar a melhorar a experi\xEAncia.",Sj='Leia as notas de transpar\xEAncia do perguntar e Aprender para saber mais sobre casos de utiliza\xE7\xE3o e limita\xE7\xF5es.',wj="Experimente o perguntar e Aprender",KC="Inicie sess\xE3o para utilizar o perguntar e Aprender.",Cj='Desculpe, atingi o n\xFAmero m\xE1ximo de respostas que posso dar numa conversa. Selecione "Novo chat" para iniciar uma nova conversa.';var Ej="M\xE1ximo de {max} caracteres",JC="Novo chat",Aj="Nova mensagem do Pergunte Aprender",A$="Pr\xE9-visualizar",kj="Visualize o que ser\xE1 compartilhado",Ij="Guia do pedido",k$="D\xEA o m\xE1ximo de detalhes poss\xEDvel, mas n\xE3o inclua informa\xE7\xF5es privadas ou confidenciais";var Pj="Regenerar";var Lj="Enviar",Rj="Parar de gerar",Mj="Diga-nos mais",Dj="Atualmente, a procura \xE9 elevada. Tente novamente dentro de alguns minutos.",$j="Esta mensagem \xE9 \xFAtil",Nj="Esta mensagem n\xE3o \xE9 \xFAtil",uy='Desculpe, n\xE3o posso ajudar nisso. Experimente o guia de pedidos ao selecionar o bot\xE3o "Ver pedidos" abaixo.',lc="Ocorreu um problema. Tente novamente ou partilhe o seu feedback.",qj="Alguns dos carateres na sua mensagem n\xE3o s\xE3o suportados. Pode tentar novamente com carateres diferentes?",Fj="Escreva uma mensagem para continuar",ZC="A mensagem tem de ter, pelo menos, 10 carateres",I$="Limite de carateres excedido",P$="Ver comandos",XC="Estamos a trabalhar nisso...",Oj="{count} de {total} respostas";var Uj="Apenas o propriet\xE1rio da avalia\xE7\xE3o pode ver as Notas e atualizar os itens da lista de verifica\xE7\xE3o";var Hj="Cita\xE7\xE3o";var Cf="Desmarcar tudo",zj="Alterar Filtro",Bj="Limpar o formul\xE1rio",Vj="Limpar o autor de perguntas";var Gj="Alterar Termo",jj="Clique para o feed RSS",ge="Fechar";var Qj="Fechar pesquisa",Yj='N\xE3o foi poss\xEDvel iniciar o Cloud Shell. Veja o guia de resolu\xE7\xE3o de problemas.';var Wj="Amostra de c\xF3digo",L$="Amostras de c\xF3digo";var eE="Fechar",Kj="Fechar tabela",da="Cole\xE7\xE3o",Jj="Cole\xE7\xE3o Oficial";var Zj="Uma c\xF3pia desta cole\xE7\xE3o foi gravada no seu perfil",Xj="Os dias que faltam para concluir um marco t\xEAm de ser um n\xFAmero.",R$="Descri\xE7\xE3o (opcional)";var eQ="Editar sec\xE7\xE3o",tQ="O comprimento m\xE1ximo \xE9 de 550 carateres.",oQ="O t\xEDtulo da sec\xE7\xE3o n\xE3o pode ser o mesmo que outro t\xEDtulo da cole\xE7\xE3o.",M$="Nova sec\xE7\xE3o",nQ="Guardar sec\xE7\xE3o",D$="Sec\xE7\xE3o {number}";var rQ="O comprimento m\xE1ximo \xE9 de 100 carateres.",sQ="O t\xEDtulo ou a descri\xE7\xE3o da sec\xE7\xE3o n\xE3o passou no servi\xE7o de valida\xE7\xE3o da Microsoft.",aQ="N\xE3o foi poss\xEDvel guardar a sua sec\xE7\xE3o. Tente novamente.",iQ="Adicionar URL",lQ="Nome da p\xE1gina",cQ="Introduza o t\xEDtulo.",dQ="O t\xEDtulo tem de ter entre 2 e 100 carateres.",uQ="N\xE3o conseguimos guardar o seu URL. Tente novamente.",pQ="N\xE3o pode adicionar URLs a esta cole\xE7\xE3o.",mQ="O URL tem de come\xE7ar com http:// ou https://. As liga\xE7\xF5es AKA s\xE3o permitidas.",gQ="O formato de URL n\xE3o \xE9 v\xE1lido.";var fQ="Adicionar \xE0 cole\xE7\xE3o",$$="Adicionado \xE0 cole\xE7\xE3o",N$="Adicionar a Cole\xE7\xF5es",tE="Adicionar a uma cole\xE7\xE3o",hQ='Adicionar "{pageName}" a:',oE="Cole\xE7\xE3o n\xE3o encontrada",bQ="Ups! Parece que esta cole\xE7\xE3o n\xE3o existe ou n\xE3o pode ser encontrada por um dos seguintes motivos:",_Q="O propriet\xE1rio pode ter alterado o URL da Cole\xE7\xE3o, o que pode levar a que n\xE3o seja encontrado se os utilizadores estiverem a aced\xEA-lo com o URL antigo.",vQ="O propriet\xE1rio da Cole\xE7\xE3o pode t\xEA-la exclu\xEDdo completamente, tornando-a inacess\xEDvel.";var yQ='Se a Cole\xE7\xE3o ou o seu conte\xFAdo violou os Termos de Utiliza\xE7\xE3o do Microsoft Learn.',xQ="Em vez disso, eis algumas liga\xE7\xF5es \xFAteis:",TQ="Home Page do Microsoft Learn: crie compet\xEAncias que abram portas na sua carreira",SQ="Pesquisar | Microsoft Learn",wQ="Recursos do Microsoft Learn | Microsoft Learn",CQ="Criar uma Cole\xE7\xE3o do Microsoft Learn",EQ='Cole\xE7\xF5es Atualizadas',q$='Os colaboradores da Microsoft s\xE3o eleg\xEDveis para identificar uma cole\xE7\xE3o com a op\xE7\xE3o "Criado pela Microsoft".',nE="Mais Informa\xE7\xF5es",Lp="Converter numa Cole\xE7\xE3o Oficial",rE="Uma Cole\xE7\xE3o Oficial representa a Microsoft. Portanto, confirme se a sua cole\xE7\xE3o est\xE1 completa, isenta de erros tipogr\xE1ficos e que o conte\xFAdo est\xE1 na sequ\xEAncia correta. Caso contr\xE1rio, edite a cole\xE7\xE3o conforme necess\xE1rio. Uma vez oficializada, a cole\xE7\xE3o n\xE3o pode ser revertida.";var AQ="Cole\xE7\xE3o indispon\xEDvel",kQ="Est\xE1 pronto para converter esta cole\xE7\xE3o numa Cole\xE7\xE3o Oficial?";var sE='J\xE1 existe uma cole\xE7\xE3o com o t\xEDtulo "{title}". Os t\xEDtulos de cole\xE7\xF5es devem ser exclusivos.',Sd="O t\xEDtulo \xE9 obrigat\xF3rio e tem de ter at\xE9 100 carateres.",py="A descri\xE7\xE3o \xE9 opcional e tem de ter at\xE9 550 carateres.",aE="Conte\xFAdo inv\xE1lido. Remova todos os n\xFAmeros de telefone, endere\xE7os de e-mail ou URLs.";var IQ="Se estiver definida como privada, esta cole\xE7\xE3o s\xF3 pode ser visualizada por si. Uma cole\xE7\xE3o que n\xE3o seja privada pode ser vista por qualquer pessoa.",iE="Definir como privado",PQ="Cole\xE7\xE3o de {userDisplayName} {index}",F$="Criado por {name}",LQ="Criado por um utilizador do Microsoft Learn";var RQ="Eliminar cole\xE7\xE3o",MQ="Apresentar o meu nome";var lE="Editar a minha cole\xE7\xE3o",O$="adicionar descri\xE7\xE3o",my="Editar descri\xE7\xE3o",gy="Editar t\xEDtulo",DQ="Editar Resultados de Aprendizagem",$Q="Descri\xE7\xE3o desta cole\xE7\xE3o",NQ="\xC9 necess\xE1rio, pelo menos, um resultado.",qQ="T\xEDtulo desta cole\xE7\xE3o",FQ="N\xE3o foi poss\xEDvel guardar o seu t\xEDtulo. Tente novamente.",OQ="N\xE3o foi poss\xEDvel guardar a sua descri\xE7\xE3o. Tente novamente.",UQ="N\xE3o conseguimos guardar os seus resultados de aprendizagem. Tente novamente.",cE="Favoritos",HQ="Se esta liga\xE7\xE3o tiver sido partilhada consigo, pe\xE7a uma nova liga\xE7\xE3o.",dE="As edi\xE7\xF5es n\xE3o afetar\xE3o a cole\xE7\xE3o original";var zQ="Itens nesta cole\xE7\xE3o";var BQ='N\xE3o existem itens nesta cole\xE7\xE3o. Adicione itens da p\xE1gina de navega\xE7\xE3o em forma\xE7\xF5es do Learn.',VQ="{numberOf} Percursos de Aprendizagem",GQ="{numberOf} Percurso de Aprendizagem",jQ="A Cole\xE7\xE3o est\xE1 completa e revista",QQ="Ir\xE1 demorar at\xE9 14 dias, mas pode ficar conclu\xEDdo antes. Depois de localizado, todas as edi\xE7\xF5es futuras que fizer ser\xE3o automaticamente submetidas ao pipeline de localiza\xE7\xE3o.",YQ="O t\xEDtulo, a descri\xE7\xE3o, as sec\xE7\xF5es e as descri\xE7\xF5es das sec\xE7\xF5es ser\xE3o traduzidos para cada um dos idiomas que o Microsoft Learn suporta",uE="Localizar",WQ="Confirme o seguinte:",KQ="Esta Cole\xE7\xE3o ainda n\xE3o foi localizada para o seu idioma.",JQ="O idioma de origem \xE9 o ingl\xEAs",pE="Esta cole\xE7\xE3o foi submetida para ser localizada",ZQ="Obrigado por submeter a sua cole\xE7\xE3o oficial para localiza\xE7\xE3o.",mE="N\xFAmero de m\xF3dulos: {numberOf}",gE="{numberOf} M\xF3dulo";var XQ="Mover o item para baixo",eY="Mover o item para cima";var tY="Mover a sec\xE7\xE3o para baixo",oY="Mover a sec\xE7\xE3o para cima",nY="Cole\xE7\xE3o oficial da Microsoft",rY="em nome de",sY='Removido da {collectionName}',aY='Removido das Cole\xE7\xF5es';var iY="A op\xE7\xE3o de adicionar a uma cole\xE7\xE3o est\xE1 desativada para conte\xFAdos que requeiram autoriza\xE7\xE3o.",lY='Adicionado \xE0 {collectionName}',cY='Adicionado \xE0s Cole\xE7\xF5es',dY="Salvar todos os itens nesta cole\xE7\xE3o como um novo";var U$="Inicie sess\xE3o para poder adicionar \xE0 sua cole\xE7\xE3o.",fE="Pedimos desculpa, mas esta cole\xE7\xE3o \xE9 privada.",uY="O criador desta cole\xE7\xE3o marcou-a como privada e n\xE3o est\xE1 atualmente vis\xEDvel para outros utilizadores.",pY="Esta cole\xE7\xE3o n\xE3o existe ou foi removida.",mY='Tamb\xE9m pode voltar \xE0s cole\xE7\xF5es.',gY="Pode rever as suas cole\xE7\xF5es no seu perfil de utilizador.",fY="Ver as suas cole\xE7\xF5es",hY="Gerir {title} nas cole\xE7\xF5es",bY="Adicionar {title} a uma cole\xE7\xE3o",_Y="Pode encontrar esta cole\xE7\xE3o no seu perfil do Learn";var vY="Viola\xE7\xE3o detetada",yY='O t\xEDtulo ou a descri\xE7\xE3o desta cole\xE7\xE3o, ou o t\xEDtulo ou a descri\xE7\xE3o de uma sec\xE7\xE3o desta cole\xE7\xE3o foram eliminados devido a uma viola\xE7\xE3o dos nossos Termos de Utiliza\xE7\xE3o. Estes foram comunicados manualmente ou identificados atrav\xE9s de dete\xE7\xE3o autom\xE1tica antes de serem tomadas medidas. Consulte os nossos Termos de Utiliza\xE7\xE3o para obter mais informa\xE7\xF5es.',xY="Continuar\xE1 a ver este alerta at\xE9 que seja feita uma atualiza\xE7\xE3o.",TY="Cole\xE7\xE3o Reportada",SY='Foi comunicada uma preocupa\xE7\xE3o sobre esta cole\xE7\xE3o e est\xE1 atualmente sob revis\xE3o da Microsoft. Consulte os nossos Termos de Utiliza\xE7\xE3o para obter mais informa\xE7\xF5es.';var zr="Conclu\xEDdo";var wY="Parab\xE9ns!";var CY="Contactar o suporte ao cliente",H$="E-mail de contacto";var z$="\xC1rea de conte\xFAdo",EY="Seletor de idioma do conte\xFAdo. Atualmente definido como {language}.";var AY='Nota: O autor criou este artigo com a ajuda da IA. Mais informa\xE7\xF5es',kY='Nota: este artigo cont\xE9m conte\xFAdos criados com IA. Mais informa\xE7\xF5es',IY="Conte\xFAdo criado pela comunidade. Este artigo \xE9 escrito e mantido por especialistas na nossa comunidade do Microsoft Learn.",PY='Nota: este epis\xF3dio cont\xE9m conte\xFAdos criados com IA. Mais informa\xE7\xF5es',LY='Nota: O autor criou este epis\xF3dio com a ajuda da IA. Mais informa\xE7\xF5es';var RY='Nota: este m\xF3dulo cont\xE9m conte\xFAdos criados com IA. Mais informa\xE7\xF5es',MY='Nota: O autor criou este m\xF3dulo com a ajuda da IA. Mais informa\xE7\xF5es',DY='Nota: esta p\xE1gina cont\xE9m conte\xFAdos criados com IA. Mais informa\xE7\xF5es',$Y='Nota: Esta p\xE1gina foi parcialmente criada com a ajuda da IA. Mais informa\xE7\xF5es',cc="Continuar";var hE="Copiado",wd="Copiar";var Rp="Curso";var B$="Austr\xE1lia",V$="\xC1ustria";var bE="B\xE9lgica";var G$="Brasil";var _E="Canad\xE1";var j$="\xCDndia";var Q$="Irlanda";var vE="Mal\xE1sia";var Y$="M\xE9xico";var W$="Nova Zel\xE2ndia";var K$="Portugal";var J$="Singapura";var Z$="\xC1frica do Sul";var fy="Schweiz / Suisse";var X$="Reino Unido",eN="Estados Unidos da Am\xE9rica";var hy="Pa\xEDs/Regi\xE3o";var by="Criar";var tN="Criado por";var NY="Ao tornar-se membro, compreende e reconhece que a sua associa\xE7\xE3o ao Microsoft Learn significa que a nossa rede de sites e aplica\xE7\xF5es ir\xE1 registar e controlar os seus feitos e atividades.

Al\xE9m disso, o seu nome de utilizador, nome a apresentar, imagem do perfil, afilia\xE7\xE3o, conquistas e atividades estar\xE3o vis\xEDveis ao p\xFAblico. Pode ocultar as suas conquistas e atividades nas defini\xE7\xF5es.";var dn="Credencial",qY="Tipo de Credencial",FY="Tipos de Credencial";var OY="Personalizado",UY="Data personalizada";var HY="Escuro",_y="Date";var yE="Dia",vy="Dias",zY="h\xE1 {duration} dias",yy="{days} dias";var ua="Eliminar";var BY="Eliminar Par\xE2metro";var Ef="Description";var VY="Este conte\xFAdo arquivado n\xE3o est\xE1 mais sendo mantido. Os links e informa\xE7\xF5es podem estar desatualizados ou n\xE3o serem seguros e n\xE3o terem sido ativamente revisados pela Microsoft.",GY="Este artigo foi traduzido para o seu mercado a partir de ingl\xEAs. Qu\xE3o satisfeito est\xE1 com a qualidade da linguagem usada?",jY="Este artigo foi traduzido automaticamente ou por IA. Este conte\xFAdo arquivado n\xE3o est\xE1 mais sendo mantido. Os links e informa\xE7\xF5es podem estar desatualizados ou n\xE3o serem seguros e n\xE3o terem sido ativamente revisados pela Microsoft.",QY="Este conte\xFAdo foi extinto e poder\xE1 n\xE3o ser atualizado no futuro. O produto, servi\xE7o ou tecnologia mencionado neste conte\xFAdo deixou de ser suportado.",YY="Este artigo foi traduzido automaticamente ou por IA. Este conte\xFAdo foi extinto e poder\xE1 n\xE3o ser atualizado no futuro. O produto, servi\xE7o ou tecnologia mencionado neste conte\xFAdo deixou de ser suportado.",oi="Dispensar alerta";var WY="Partes deste t\xF3pico podem ter sido traduzidas automaticamente ou por IA.",KY="Partes deste t\xF3pico podem ter sido traduzidas automaticamente ou por IA.";var JY="Microsoft Confidencial",ZY="Esta p\xE1gina foi redirecionada permanentemente para {url}",XY=`J\xE1 n\xE3o estamos a atualizar este conte\xFAdo regularmente. Consulte o Ciclo de Vida de Produtos da Microsoft para obter informa\xE7\xF5es sobre como \xE9 suportado este produto, servi\xE7o, tecnologia ou API.`,eW=`Este artigo foi traduzido automaticamente ou por IA. J\xE1 n\xE3o estamos a atualizar este conte\xFAdo regularmente. Consulte o Ciclo de Vida de Produtos da Microsoft para obter informa\xE7\xF5es sobre como \xE9 suportado este produto, servi\xE7o, tecnologia ou API.`,tW="Vers\xE3o Recomendada",oN="Voltar ao site principal",oW="O conte\xFAdo dos sites de avalia\xE7\xE3o pode ser visualizado por todos os FTEs, fornecedores e funcion\xE1rios do LinkedIn da Microsoft.",nW="Este conte\xFAdo n\xE3o est\xE1 dispon\xEDvel no seu idioma. Aqui tem a vers\xE3o em ingl\xEAs.",xy="Dispensar";var rW="Este percurso de aprendizagem estar\xE1 dispon\xEDvel em breve no seguinte idioma: {language}.",sW="Este percurso de aprendizagem n\xE3o est\xE1 dispon\xEDvel no seguinte idioma: {language}.";var aW="Este m\xF3dulo estar\xE1 dispon\xEDvel em breve no seguinte idioma: {language}.",iW="Este m\xF3dulo n\xE3o est\xE1 dispon\xEDvel no seguinte idioma: {language}.";var lW="Os resultados da pesquisa s\xE3o da documenta\xE7\xE3o de vers\xF5es anteriores e n\xE3o s\xE3o atualizados regularmente.";var cW="Dias at\xE9 \xE0 conclus\xE3o";var ni="Documenta\xE7\xE3o",dW="Detalhes do Documento",uW="N\xE3o edite esta sec\xE7\xE3o. \xC9 necess\xE1rio para a liga\xE7\xE3o de problemas learn.microsoft.com \u279F GitHub.";var pW="Documenta\xE7\xE3o .NET";var xE="Transferir PDF",mW="A transfer\xEAncia de PDF est\xE1 desativada para conte\xFAdos que requeiram autoriza\xE7\xE3o.",gW="A cria\xE7\xE3o do seu PDF pode demorar alguns minutos. Pode continuar a utilizar o site enquanto preparamos o PDF.";var dc="Editar";var fW="Editada em";var uc="E-mail";var hW="N\xE3o \xE9 permitido um nome vazio";var bW="Data de Fim";var _W="Data de fim",vW="Termina a {endDate}";var Cd="Erro",yW="Os valores t\xEAm de ser referentes a {date} ou anteriores.",xW="A data de in\xEDcio tem de ser anterior \xE0 data de fim.";var TW="Grupo do Evento",SW="Grupos de Evento",wW="evento";var Br="Exame";var CW="Resumo da Resposta",EW="Voltar ao Relat\xF3rio",AW="Abaixo pode encontrar um resumo das suas respostas.",kW="Parab\xE9ns, foi aprovado em todas as sec\xE7\xF5es! Se foi aprovado em v\xE1rias tentativas, considere agendar um exame.",IW="Este material de aprendizagem personalizado est\xE1 desatualizado em rela\xE7\xE3o \xE0 avalia\xE7\xE3o pr\xE1tica atual. Visite a p\xE1gina de detalhes do exame para obter o material de prepara\xE7\xE3o mais recente.",PW="Resposta Correta";var LW="Demorou {duration} minutos a concluir esta avalia\xE7\xE3o.";var RW="Resultados da Avalia\xE7\xE3o Pr\xE1tica: {date}",MW="Resultados Gerais",DW="Para estar mais preparado para o exame, tente obter uma classifica\xE7\xE3o de {percent}% ou mais em v\xE1rias tentativas.",$W="Classifica\xE7\xE3o: {percent}%";var NW="Para refor\xE7ar ainda mais as suas compet\xEAncias nas seguintes \xE1reas, consulte a sec\xE7\xE3o Material de Aprendizagem Personalizado abaixo.",qW="Pergunta {x} de {y}",FW="Est\xE1 pronto para fazer o exame?",OW="Pode ver as tentativas de avalia\xE7\xE3o anteriores na p\xE1gina de detalhes do exame.",UW="Material de treino - {date}",HW="Mostrar As Minhas Respostas",zW="Fa\xE7a outra avalia\xE7\xE3o pr\xE1tica.",BW="A Sua Resposta";var VW="Exame";var TE="Expandir",GW="Expandir tabela";var Af="Facebook";var jW="FAQ";var QW="Razo\xE1vel";var YW='Os coment\xE1rios ser\xE3o enviados para a Microsoft: ao premir o bot\xE3o de submiss\xE3o, os seus coment\xE1rios ser\xE3o utilizados para melhorar os produtos e servi\xE7os da Microsoft. Pol\xEDtica de privacidade.',SE='Ao premir Submeter, os seus coment\xE1rios ser\xE3o utilizados para melhorar os produtos e servi\xE7os Microsoft. Declara\xE7\xE3o de Privacidade',wE='A Microsoft processar\xE1 o feedback que submeter de acordo com as instru\xE7\xF5es da sua organiza\xE7\xE3o, de modo a melhorar a sua experi\xEAncia e a da sua organiza\xE7\xE3o com este produto. Se tiver alguma d\xFAvida sobre a utiliza\xE7\xE3o dos dados de feedback, contacte o seu administrador de inquilinos. O processamento dos dados de feedback \xE9 regido pela Adenda de Prote\xE7\xE3o de Dados de Produtos e Servi\xE7os da Microsoft entre a sua organiza\xE7\xE3o e a Microsoft e o feedback que submeter ser\xE1 considerado como Dados Pessoais ao abrigo dessa adenda. Declara\xE7\xE3o de Privacidade',Ty="A Microsoft processar\xE1 o feedback que submeter de acordo com as instru\xE7\xF5es da sua organiza\xE7\xE3o, de modo a melhorar a sua experi\xEAncia e a da sua organiza\xE7\xE3o com este produto.",WW='A Microsoft processar\xE1 o feedback que submeter de acordo com as instru\xE7\xF5es da sua organiza\xE7\xE3o, de modo a melhorar a sua experi\xEAncia e a da sua organiza\xE7\xE3o com este produto. Declara\xE7\xE3o de Privacidade';var KW="[Escreva aqui os seus coment\xE1rios]";var JW="Enviar coment\xE1rios";var ZW="Anexar uma captura de ecr\xE3 (opcional)",XW="Escolher Ficheiros...",eK=".jpeg, .jpg, .png ou .gif";var tK="Problemas no Cloud Shell";var oK="Problemas no Editor .NET";var nK="Problemas na instala\xE7\xE3o de depend\xEAncias";var rK="Qualidade do conte\xFAdo do tutorial";var sK="Descreva os seus coment\xE1rios. Se for aplic\xE1vel, inclua passos para replicar o seu problema",aK="Introduza o t\xEDtulo dos coment\xE1rios",iK="Informa\xE7\xF5es Incorretas/Ortografia/Erro de Conte\xFAdo",lK="Pedido de funcionalidade",cK="Produto ou funcionalidade",dK="Coment\xE1rios gerais",uK="Qualidade do conte\xFAdo de aprendizagem",pK="Tenho quest\xF5es sobre o conte\xFAdo de aprendizagem",mK="N\xE3o me est\xE1 a ser concedido cr\xE9dito/XP pela conclus\xE3o",gK="Outro",fK="Problemas de registo/in\xEDcio de sess\xE3o",hK="Problemas com o Sandbox",bK="Problemas com a qualidade da tradu\xE7\xE3o",_K="Selecione um problema aplic\xE1vel",vK="Selecione o tipo de coment\xE1rios";var yK="O conte\xFAdo \xE9 f\xE1cil de entender",xK="O conte\xFAdo \xE9 dif\xEDcil de entender",TK="N\xE3o consegui encontrar o que preciso",SK="Conclui a minha tarefa ou resolvi o meu problema",wK="Aprendi algo novo",CK="A informa\xE7\xE3o foi f\xE1cil de encontrar",EK="Desatualizado/obsoleto",AK="Estrutura do plano",kK="Abrang\xEAncia do conte\xFAdo",IK="Personaliza\xE7\xE3o",PK="F\xE1cil de utilizar",LK="Auxilia no crescimento da carreira",RK="Demasiado complexo",MK="Quest\xF5es t\xE9cnicas",DK="Falta de personaliza\xE7\xE3o",$K="N\xE3o relevante para o objetivo",NK="Cronogramas incorretos",qK="O procedimento ou o c\xF3digo n\xE3o funciona",nN="Qualidade da tradu\xE7\xE3o";var Ji="Filtro",FK="Filtros";var rN="Filtro limpo",OK="O conte\xFAdo ser\xE1 filtrado enquanto escreve";var UK="Encontre uma {facet}";var HK="Procurar por t\xEDtulo";var zK="Encontre um autor de perguntas";var BK="Modo de detalhe ativado",VK="Modo de detalhe desativado";var GK="Registe-se j\xE1";var Sy="Tem de selecionar pelo menos um item.",Zi="O conte\xFAdo foi alterado. Recarregue a p\xE1gina para obter as altera\xE7\xF5es mais recentes.",sN="Estamos a ter um problema com os seus anexos. Atualize ou remova os anexos para continuar com a sua publica\xE7\xE3o. Se o problema persistir, contacte o suporte do site.",aN="O e-mail \xE9 inv\xE1lido",jK="O e-mail \xE9 inv\xE1lido e deve ter pelo menos 6 caracteres.",QK="Selecione pelo menos um motivo para os seus coment\xE1rios.",YK="Esta p\xE1gina foi \xFAtil? Selecione Sim ou N\xE3o.",WK="\xC9 necess\xE1ria pelo menos uma sele\xE7\xE3o de {inputGroup}.",pa="{inputLabel} n\xE3o pode ter mais de {maxLength} carateres.",ma="{inputLabel} tem de ter, pelo menos, {minLength} carateres.",ga="{inputLabel} \xE9 obrigat\xF3rio.",CE="{inputLabel} n\xE3o deve come\xE7ar ou terminar com um ponto.",KK='{inputLabel} n\xE3o pode conter os caracteres \\ ou " .',JK="Um campo de entrada \xE9 inv\xE1lido. Verifique os campos de entrada e tente novamente.",fa="N\xE3o est\xE1 autenticado. Atualize a p\xE1gina e tente novamente. Se o problema persistir, termine sess\xE3o e reinicie-a.",ha="N\xE3o est\xE1 autorizado a fazer esta resposta. Se acredita que se trata de um erro, atualize a p\xE1gina e tente novamente.";var ZK="O c\xF3digo postal dos EUA deve conter apenas d\xEDgitos num\xE9ricos e deve ter 5 ou 9 d\xEDgitos.",XK="O c\xF3digo postal do Canad\xE1 n\xE3o deve conter espa\xE7os e deve estar no formato A1A1A1.",eJ="O n\xFAmero de telefone \xE9 inv\xE1lido e s\xF3 deve conter d\xEDgitos num\xE9ricos.",un="Corrija os seguintes problemas para continuar:",kf="Fa\xE7a uma sele\xE7\xE3o.",iN="O texto deve estar em ingl\xEAs. Se houver algum texto ou s\xEDmbolo que n\xE3o esteja em ingl\xEAs, remova-o para prosseguir.",ba="N\xE3o existem edi\xE7\xF5es para submeter.",_a="Enviou um n\xFAmero excessivo de pedidos. Aguarde alguns minutos e tente novamente.",Vr="Encontr\xE1mos um erro inesperado. Tente novamente mais tarde. Se este problema continuar, contacte o suporte do site.";var tJ="A gerar PDF...";var oJ="Obter ajuda no Microsoft Q&A",nJ="Obter suporte para produtos",lN="Come\xE7ar agora";var Mp="Global",cN="Navega\xE7\xE3o global";var dN="Voltar";var rJ="Bom";var uN="Ir para os detalhes do exame";var sJ="\xD3timo";var EE="Cabe\xE7alhos",aJ="Ajude-me a escolher";var iJ="aqui",lJ="Ocultar conclu\xEDdos";var cJ='Ol\xE1, {user}';var dJ="Contraste elevado",uJ="Home Page";var pJ="C\xF3digo horizontalmente desloc\xE1vel",pN="Dados horizontalmente desloc\xE1veis",AE="Hora",Ed="Horas",mJ="h\xE1 {duration} horas",gJ="Como estamos?";var fJ="Qual \xE9 o seu n\xEDvel de satisfa\xE7\xE3o com a qualidade do idioma utilizado?";var hJ="hr";var bJ="{hrs} horas",_J="{numberOfHours} hr {numberOfMinutes} min";var vJ="Importante";var wy="Em curso";var yJ="Interm\xE9dio";var mN="Neste artigo";var If='"{itemTitle}" ser\xE1 permanentemente eliminado.';var xJ="agora mesmo";var kE="Problema conhecido",TJ="Confirmado";var SJ="A investigar",wJ="Atenuado",CJ="Comunicado",EJ="Resolvido";var Pf="Tabela de conte\xFAdos";var gN="Linguagem",AJ="Idiomas";var IE="\xDAltima atualiza\xE7\xE3o a {time}";var fN="Percurso de Aprendizagem",Lf="Percurso de Aprendizagem";var Gr="Saber mais";var kJ="Tipo do conte\xFAdo",IJ="Tipos de conte\xFAdo";var Cy="Epis\xF3dio";var PJ="{count} Epis\xF3dios";var LJ="Evento",RJ="\xDAltimo epis\xF3dio",MJ="\xDAltimo epis\xF3dio {date}";var DJ="Publica\xE7\xE3o {date}",PE="S\xE9rie",hN="Mostrar",Sr="Programa";var LE="V\xEDdeo indispon\xEDvel",bN="Este v\xEDdeo est\xE1 indispon\xEDvel. Tente novamente mais tarde enquanto resolvemos o problema.",Rf="Leitor de V\xEDdeo";var $J="Level",NJ="N\xEDvel {number}";var qJ="N\xEDveis",FJ="Ciclo de vida",OJ="Claro";var Mf="LinkedIn";var Qt="A carregar...";var UJ="Mais…",HJ="Carregar mais resultados",RE="\xC1rabe",zJ="\xC1rabe (Ar\xE1bia Saudita)",ME="B\xFAlgaro",BJ="B\xFAlgaro (Bulg\xE1ria)";var DE="B\xF3snio (Latim)",VJ="B\xF3snio (Cir\xEDlico)",$E="Catal\xE3o",NE="Checo",qE="Dinamarqu\xEAs",FE="Alem\xE3o";var OE="Grego",GJ="Grego (Gr\xE9cia)",UE="Ingl\xEAs",jJ="Ingl\xEAs (Mal\xE1sia)";var HE="Espanhol",QJ="Espanhol (M\xE9xico)",zE="Est\xF3nio",BE="Basco",VE="Finland\xEAs",GE="Filipino",jE="Franc\xEAs";var QE="Irland\xEAs",YE="Galego",WE="Hebraico",KE="Hindi",JE="Croata",ZE="H\xFAngaro",YJ="H\xFAngaro (Hungria)",XE="Indon\xE9sio",WJ="Indon\xE9sio (Indon\xE9sia)",eA="Island\xEAs",tA="Italiano";var oA="Japon\xEAs",KJ="Georgiano",nA="Cazaque",rA="Coreano",sA="Luxemburgu\xEAs",aA="Lituano",iA="Let\xE3o",lA="Malaio",cA="Malt\xEAs",dA="Noruegu\xEAs",uA="Neerland\xEAs",pA="Polaco",mA="Portugu\xEAs",JJ="Portugu\xEAs (Brasil)",ZJ="Portugu\xEAs (Portugal)",gA="Romeno",fA="Russo",hA="Eslovaco",bA="Esloveno";var _A="S\xE9rvio (Cir\xEDlico)",vA="S\xE9rvio (Latim)",yA="Sueco",xA="Tailand\xEAs",TA="Turco",SA="Ucraniano",XJ="Ucraniano",eZ="Urdu",wA="Vietnamita",tZ="Vietnamita (Vietname)";var CA="Chin\xEAs (Simplificado)",EA="Chin\xEAs (Tradicional, R.A.E. Hong Kong)",AA="Chin\xEAs (Tradicional)";var oZ="Gerir cookies";var kA="Editor do Microsoft Learn",nZ="Estamos a trabalhar arduamente no sentido de migrar o seu hist\xF3rico de cursos e os seus feitos para o Learn. Contudo, de momento, s\xF3 ser\xE3o apresentadas aqui as atividades conclu\xEDdas no Learn.",rZ='Para ver a sua transcri\xE7\xE3o completa e/ou os distintivos que obteve no Centro de Educadores da Microsoft e no Learn, aceda ao seu perfil do MEC.';var sZ="Aviso de Privacidade de Colaborador da Microsoft",aZ="Iniciou sess\xE3o com uma conta associada a uma organiza\xE7\xE3o ({email}). Ao tornar-se membro, compreende e reconhece que a sua associa\xE7\xE3o ao Microsoft Learn significa que a nossa rede de sites e aplica\xE7\xF5es ir\xE1 registar e controlar os seus feitos e atividades e que podemos partilhar os seus resultados e atividades com a sua organiza\xE7\xE3o. Al\xE9m disso, o seu nome de utilizador, nome a apresentar, imagem do perfil, afilia\xE7\xE3o, conquistas e atividades estar\xE3o vis\xEDveis ao p\xFAblico. Pode ocultar as suas conquistas e atividades nas defini\xE7\xF5es.

Depois de criar o seu perfil, recomendamos que associe uma conta pessoal para que possa aceder ao seu progresso de aprendizagem independentemente do estado de emprego. Pode associar contas adicionais na sec\xE7\xE3o Gest\xE3o de Contas nas defini\xE7\xF5es do perfil.";var iZ="Editor do Microsoft Graph";var IA="Aviso de Privacidade da Microsoft",lZ="Precisa de concordar com o Aviso de Privacidade da Microsoft para manter o seu perfil e os dados relacionados.";var PA="{numberOfMinutes} min";var Dp="{numberOfMinutes} mins";var Ey="Minutos";var cZ="h\xE1 {duration} minutos";var wr="M\xF3dulo";var dZ="Refer\xEAncia do M\xF3dulo de {platformName}",Ay="M\xF3dulos";var uZ="Voc\xEA foi redirecionado para a vers\xE3o mais recente do produto dispon\xEDvel para esta p\xE1gina.";var pZ="h\xE1 {duration} meses";var ky="Mais";var mZ="Name";var va="Seguinte";var ks="No",gZ="Nova cole\xE7\xE3o",Df="Recentes",$f="Antigos";var fZ="Nenhum produto dispon\xEDvel",hZ="Nenhuma etiqueta dispon\xEDvel",LA="N\xE3o existem filtros dispon\xEDveis",bZ='Nenhum item nesta sec\xE7\xE3o. Mova para aqui os itens de outras sec\xE7\xF5es ou adicione itens da p\xE1gina de navega\xE7\xE3o em forma\xE7\xF5es do Learn.';var go="N\xE3o h\xE1 resultados",ri="N\xE3o foram encontrados resultados",_Z="Ainda sem resultados, mas continue a tentar...",vZ='Pesquisar por "{term}" em toda a documenta\xE7\xE3o {searchScope}',yZ='Pesquisar por "{term}" em toda a documenta\xE7\xE3o',xZ="Sem sugest\xF5es",TZ="Normal";var SZ="N\xE3o, obrigado",wZ="Nota";var CZ="N\xE3o conseguimos encontrar nenhum utilizador.";var EZ="{number} item",AZ="{number} itens";var kZ="Muito satisfeito",IZ="Satisfeito",PZ="Nem satisfeito nem insatisfeito",LZ="Insatisfeito",RZ="Muito insatisfeito";var MZ="Documenta\xE7\xE3o de Office";var En="OK",DZ="Tudo bem, percebi.";var $Z="a {date}";var NZ="Abrir pesquisa";var qZ="Coment\xE1rios do {productName}",FZ="O {productName} \xE9 um projeto c\xF3digo aberto. Selecione um link para fornecer coment\xE1rios:";var OZ="Abrir o Cloud Shell",UZ="Opcional";var RA="{label} (facultativo)";var HZ="Ocorreu um erro",zZ='Ocorreu um erro esperado. Tente novamente. Se acreditar que se trata de um erro, n\xE3o hesite em contactar o representante da conta ou o suporte ao cliente.',BZ="A partilha de dados que pediu j\xE1 est\xE1 configurada",VZ="Quer continuar para ver esta partilha de dados?",GZ="Agora, n\xE3o",jZ="A enviar convite de partilha de dados\u2026",QZ="Contrato de Partilha de Dados do Microsoft Learn",YZ='Reconhe\xE7o e aceito os Termos do Contrato-piloto de Partilha de Dados do Microsoft Learn no sentido de permitir que a Microsoft partilhe dados do Learn com a minha organiza\xE7\xE3o no que respeita a utilizadores do Learn que iniciem sess\xE3o com o ID de inquilino da minha organiza\xE7\xE3o.',WZ="Tente novamente com a sua conta profissional associada",KZ="N\xE3o foi poss\xEDvel verificar a sua conta",JZ='Inicie sess\xE3o com a conta profissional para aceder a esta partilha de dados. Se acreditar que se trata de um erro, contacte o suporte ao cliente ou o representante da conta.',ZZ="Sim, por favor",si="Outro";var XZ="No geral, qu\xE3o satisfeito ou insatisfeito est\xE1 com o Microsoft Learn?";var MA="Pacote",_N="Refer\xEAncia do Pacote de {platformName}";var DA="P\xE1gina {pageNumber} de {numberOfPages}";var eX="pagina\xE7\xE3o";var tX="Par\xE2metros";var oX="O seu PDF foi gerado. A abrir para si...";var nX="N\xFAmero de telefone",Ad="Planear";var rX="Preencha este campo.";var sX="Envie-nos coment\xE1rios sobre como podemos melhorar este conte\xFAdo. Se aplic\xE1vel, forne\xE7a a primeira parte da frase ou cadeia de caracteres em quest\xE3o.";var aX="Popular";var iX="Imprimir";var lX="A impress\xE3o est\xE1 desativada para conte\xFAdos que requeiram autoriza\xE7\xE3o.",$A="Pol\xEDtica de privacidade",cX="Fraco";var Nf="Pr\xE9-visualizar";var Xi="Anterior";var qf="Produto",dX="Utilizadores do {productName}:";var Ff="Produtos",uX="Perfil";var pX="Linguagem de programa\xE7\xE3o",mX="Linguagens de programa\xE7\xE3o";var gX="Fornecer coment\xE1rios sobre o produto";var Iy="Q&A";var fX="perguntado";var hX="respostas",bX="coment\xE1rios";var _X="votos";var vX='Agradecemos a sua paci\xEAncia enquanto migramos o conte\xFAdo da Comunidade de Suporte da Microsoft para o Microsoft Q&A. N\xE3o estamos a migrar todo o conte\xFAdo e a pergunta que procura foi retirada. Para obter mais informa\xE7\xF5es sobre a migra\xE7\xE3o, consulte Saiba mais. Pode voltar a colocar a pergunta ou explorar outras perguntas na p\xE1gina {product}.',yX="Esta pergunta foi retirada";var xX="N\xFAmero m\xE1ximo de anexos excedido. Selecione at\xE9 {maximumCount} anexos.";var TX="O n\xFAmero m\xE1ximo de men\xE7\xF5es foi ultrapassado. Selecione at\xE9 {maximumCount} men\xE7\xF5es.";var SX="O utilizador j\xE1 est\xE1 suspenso. Atualize a p\xE1gina.",wX="O utilizador n\xE3o est\xE1 suspenso. Atualize a p\xE1gina.";var CX="Voc\xEA n\xE3o pode executar esta a\xE7\xE3o porque sua conta foi suspensa devido a uma viola\xE7\xE3o do nosso c\xF3digo de conduta. Sua conta foi denunciada manualmente ou identificada por meio da detec\xE7\xE3o automatizada antes da a\xE7\xE3o ser tomada. Veja o nosso C\xF3digo de Conduta para obter mais informa\xE7\xF5es.";var EX="Esta resposta foi \xFAtil",AX="Esta resposta n\xE3o foi \xFAtil";var vN="Comunicar uma preocupa\xE7\xE3o",yN="Motivo da comunica\xE7\xE3o";var kX=` para optar ativamente por receber atualiza\xE7\xF5es por e-mail sobre o problema que comunicou`,IX="Permitir que a Microsoft me contacte com assuntos relacionados com este relat\xF3rio",PX="Nome Completo",LX="Correio Eletr\xF3nico",RX='Entraremos em contacto consigo atrav\xE9s da sua conta pessoal {email}',MX='A Microsoft est\xE1 empenhada em ajudar os utilizadores e em proteger a sua privacidade. Pode ler a Declara\xE7\xE3o de Privacidade da Microsoft para obter mais informa\xE7\xF5es sobre a forma como protegemos dados pessoais.';var DX="Pergunta",$p="Autor de perguntas",xN='

Filtragem por autor de perguntas

Ao filtrar por autor de perguntas, s\xF3 pode filtrar por um utilizador de cada vez e filtrar apenas por utilizadores do Learn.

',TN="Perguntas";var $X="Pergunta j\xE1 respondida.";var NX="Pergunta obrigat\xF3ria.",qX="Pergunta opcional.",FX="Filtros R\xE1pidos";var SN="Ler em ingl\xEAs",OX="Ler em {language}";var UX="Conte\xFAdo recomendado",Qn="Refer\xEAncia";var HX="Refer\xEAncias";var kd="Atualizar";var Of="Remover",wN="Remover {itemName}";var CN="Renovar";var NA="Comunicar uma preocupa\xE7\xE3o",zX="Selecionar raz\xE3o",BX="Adulto e sexual",VX="Imagens de explora\xE7\xE3o e abuso sexual de crian\xE7as",GX="Coordena\xE7\xE3o de atos nefastos";var jX="Intimida\xE7\xE3o e ass\xE9dio",QX="Viol\xEAncia gr\xE1fica e imagens chocantes",YX="Discurso de \xF3dio e discrimina\xE7\xE3o",WX="Imagens \xEDntimas n\xE3o consensuais e extors\xE3o \xEDntima";var KX="Outras viola\xE7\xF5es dos Termos de Utiliza\xE7\xE3o ou do C\xF3digo de Conduta";var JX="Profanidade e vulgaridade",ZX="Solicita\xE7\xE3o sexual";var XX="Suic\xEDdio e automutila\xE7\xE3o",eee="Terrorismo e extremismo violento",tee="Tr\xE1fico",oee="Amea\xE7as violentas, incitamento e glorifica\xE7\xE3o da viol\xEAncia";var nee="Pedir Pr\xE9-visualiza\xE7\xE3o",EN="URL do Pedido";var ai="Os campos necess\xE1rios est\xE3o assinalados com um asterisco";var ree="Tipos";var see="C\xF3digo de Resposta";var AN="Reiniciar";var aee="{numberOfResults} resultados";var Uf="Retomar",qA="Repetir";var iee="Fun\xE7\xE3o";var lee="Percurso de aprendizagem";var cee="Fun\xE7\xF5es";var dee="RSS",uee="Executar";var FA="Estamos a encontrar um problema com o processo de verifica\xE7\xE3o de seguran\xE7a necess\xE1rio para ativar o recurso. Tente novamente ap\xF3s 10 minutos.",kN='Revimos o seu recurso e determin\xE1mos que a sua conta violou os nossos Termos de Utiliza\xE7\xE3o. O seu acesso aos recursos interativos n\xE3o ser\xE1 restabelecido. No entanto, pode continuar a aceder aos conte\xFAdos de forma\xE7\xE3o do Microsoft Learn. Pode concluir muitos exerc\xEDcios dos m\xF3dulos com a sua subscri\xE7\xE3o pessoal, mas poder\xE3o aplicar-se taxas. Poder\xE1 ter de modificar as instru\xE7\xF5es para que funcionem com a sua subscri\xE7\xE3o.';var tt="Guardar";var pee="Habilidade";var IN="Adicionar ao Plano",PN="Adicionado aos Planos",mee="Gerir {title} em planos",gee="Adicionar {title} a um plano";var LN="Copiar Plano",fee="Dias para o marco: {number}";var hee="Tempo estimado para concluir: {time}";var bee="{number} marco(s) neste plano";var _ee="Marco {number}",vee='Adicionado \xE0 {collectionName}',yee='Adicionado aos Planos',xee="Inicie sess\xE3o no Microsoft Learn para utilizar IA para criar um plano de aprendizagem personalizado e ajustado que considere as suas necessidades \xFAnicas e forne\xE7a o conte\xFAdo mais relevante.",Tee='Removido da {collectionName}',See='Removido dos Planos',OA="Fundo",wee="Fun\xE7\xE3o atual",Cee="Escolha uma fun\xE7\xE3o",UA="Forne\xE7a as suas informa\xE7\xF5es de hist\xF3rico de carreira.",Eee="Forne\xE7a o seu t\xEDtulo e responsabilidades detalhadas",Aee="Qual \xE9 a fase da sua carreira?",kee="In\xEDcio de carreira (0 a 5 anos)",Iee="Ponto interm\xE9dio de carreira (5 a 10 anos)",Pee="Carreira avan\xE7ada (mais de 10 anos)",Lee="Construa o seu plano",Ree="{AppliedSkills} (avalia\xE7\xF5es de laborat\xF3rio interativas baseadas em cen\xE1rios)",Mee="Conclua um projeto desafiante no trabalho",Dee="Obtenha uma credencial profissional na sua \xE1rea",$ee="Melhore um conjunto de compet\xEAncias, como aprender uma nova ferramenta de software ou uma nova linguagem de programa\xE7\xE3o",Nee="Introduza tecnologias, objetivos e m\xE9tricas de sucesso do projeto",qee="Mantenha premido o bot\xE3o CTRL no Windows/Command no Mac para selecionar v\xE1rias op\xE7\xF5es.",Fee="Forne\xE7a detalhes do projeto",Oee="Credenciais baseadas em cen\xE1rios que s\xE3o obtidas atrav\xE9s de avalia\xE7\xF5es pr\xE1ticas e interativas em laborat\xF3rio que demonstram a sua profici\xEAncia e capacidade de implementar uma solu\xE7\xE3o no mundo real.";var RN="Selecionar categoria",Py="Selecionar certifica\xE7\xE3o",Uee="Selecionar credencial",HA="Selecionar uma compet\xEAncia",MN="Selecionar assunto",Hee="Selecionar tipo de credencial",zee="Quais s\xE3o os seus objetivos de carreira?",Bee="Escolha o objetivo do seu plano",zA="Conclua um projeto espec\xEDfico",Vee="Forne\xE7a uma descri\xE7\xE3o detalhada do projeto, incluindo uma enuncia\xE7\xE3o do problema e o resultado esperado, juntamente com tecnologias, quadros de pol\xEDticas, idiomas ou servi\xE7os que est\xE1 a utilizar.",Gee="Forne\xE7a o seu t\xEDtulo e responsabilidades detalhadas",jee="Qual \xE9 o objetivo, o problema e o resultado esperado do problema? Inclua quaisquer tecnologias, quadros de pol\xEDticas, idiomas e servi\xE7os que esteja a utilizar.",Qee="Coisas a fazer e a evitar ao descrever o projeto",Yee="Fa\xE7a: \u201CEstou a desenvolver uma aplica\xE7\xE3o baseada na Web que tira partido de algoritmos de aprendizagem autom\xE1tica para prever necessidades de invent\xE1rio, monitorizar n\xEDveis de stock em tempo real e automatizar processos de novas encomendas.

As principais funcionalidades s\xE3o monitoriza\xE7\xE3o de invent\xE1rio em tempo real, an\xE1lise preditiva, novas encomendas automatizadas e relat\xF3rios/an\xE1lise.

As tecnologias que utilizaremos s\xE3o o Microsoft Blazor para a interface de utilizador de front-end, ASP.NET Core para pedidos de API e l\xF3gica do lado do servidor, Azure Cosmos DB para armazenar dados de invent\xE1rio e transa\xE7\xF5es, Azure Machine Learning e servi\xE7os cloud do Azure.\u201D",Wee="Evite: \u201CPreciso de criar uma aplica\xE7\xE3o Web de monitoriza\xE7\xE3o de invent\xE1rio.\u201D",Kee='Dedique alguns minutos para nos ajudar a criar seu plano de aprendizagem com IA, personalizado para si! A Microsoft nunca partilhar\xE1 estes dados. Leia as notas de transpar\xEAncia da IA para saber mais sobre casos de utiliza\xE7\xE3o, limita\xE7\xF5es e pol\xEDtica de privacidade.',BA="Obter uma credencial",Jee="Como quer obter credenciais?",Zee="Valide as compet\xEAncias atrav\xE9s de uma avalia\xE7\xE3o baseada em cen\xE1rios",VA="Selecione as {AppliedSkills} mais relevantes",Xee="Obtenha uma certifica\xE7\xE3o Microsoft reconhecida pela ind\xFAstria e baseada em fun\xE7\xF5es",GA="Certifica\xE7\xF5es reconhecidas pela ind\xFAstria",jA="Hum, ocorreu um problema. Tente novamente.",ete="O plano n\xE3o foi gerado porque o formul\xE1rio pode incluir texto que poder\xE1 estar a violar o c\xF3digo de conduta do Microsoft Learn. Comece de novo e altere a estrutura da frase.",tte="Infelizmente, n\xE3o foi poss\xEDvel gerar o seu plano. Comece de novo.",ote="N\xE3o foi poss\xEDvel abrir o seu plano. Tente novamente.",nte="N\xE3o conseguimos encontrar credenciais para esta fun\xE7\xE3o. Selecione uma fun\xE7\xE3o diferente e tente novamente.",QA="Introduza o t\xEDtulo e as responsabilidades pormenorizadas que podem ajudar o nosso sistema de IA a personalizar melhor o seu plano de aprendizagem. Recomendamos que adicione o seu cargo e detalhes sobre as tarefas espec\xEDficas que desempenha e que est\xE3o relacionadas com o seu objetivo do plano";var rte="Forne\xE7a o m\xE1ximo de detalhes poss\xEDvel, mas n\xE3o inclua informa\xE7\xF5es privadas ou confidenciais",DN="Este plano \xE9 \xFAtil?",ste="Os prompts e as respostas geradas ser\xE3o compartilhados. Visualize o que ser\xE1 compartilhado {here}",$N="Este plano \xE9 \xFAtil",NN="Este plano n\xE3o \xE9 \xFAtil",ate="Agradecemos o seu tempo para classificar o plano sugerido e fornecer coment\xE1rios. A sua opini\xE3o ir\xE1 ajudar-nos a melhorar a nossa experi\xEAncia.",ite="O que poderia ser melhorado no plano?",lte="De que gostou sobre o plano?",cte="Goal",dte="Gerar plano",YA="A gerar o seu plano...",ute="Quase l\xE1.",pte="Estamos quase l\xE1 - estamos apenas a dar os \xFAltimos retoques para garantir que tudo est\xE1 perfeito!",mte="Tempo de conclus\xE3o",gte="Agora, estamos a estimar o tempo de conclus\xE3o de marcos com base no seu ritmo de aprendizagem.",fte="Em seguida, delineamos os seus resultados de aprendizagem.",hte="Por fim, definimos marcos, incluindo fases e pontos de verifica\xE7\xE3o principais.",bte="Primeiro, geramos o t\xEDtulo e a descri\xE7\xE3o do seu plano, que definir\xE3o o objetivo e o \xE2mbito do seu projeto.",_te="T\xEDtulo e descri\xE7\xE3o",WA="Crescer na carreira atual",vte="Como funciona?",yte='Cada plano gerado por IA \xE9 baseado nas suas sele\xE7\xF5es e nas informa\xE7\xF5es fornecidas. Fazemos a organiza\xE7\xE3o de conte\xFAdo relevante da Microsoft para criar um plano personalizado. Este plano inclui forma\xE7\xE3o e documenta\xE7\xE3o personalizados, marcos organizados, ferramentas de controlo de progresso para indiv\xEDduos ou grupos e reconhecimento ap\xF3s a conclus\xE3o. Saiba mais sobre como funciona a gera\xE7\xE3o de planos de IA e as suas limita\xE7\xF5es.',Hf="Objetivos",KA="Forne\xE7a mais informa\xE7\xF5es sobre os seus objetivos de carreira.",JA="Iniciar uma nova carreira",xte="Indicar pormenorizadamente o t\xEDtulo e as responsabilidades. Recomendamos a utiliza\xE7\xE3o de cargos espec\xEDficos e/ou responsabilidades detalhadas relacionadas com o objetivo do plano. Isto ajuda o nosso sistema de IA a ser mais personalizado e exato.",Tte="Descri\xE7\xE3o da fun\xE7\xE3o",Ste="Selecionar fun\xE7\xE3o",wte="Selecione a fun\xE7\xE3o mais relevante",Cte="Que fun\xE7\xE3o tem interesse em explorar?",Ete="Recome\xE7ar sem guardar",Ate="Recome\xE7ar sem guardar o seu plano?",kte="Se recome\xE7ar, o plano e as informa\xE7\xF5es que introduziu n\xE3o ser\xE3o guardadas e ter\xE1 de voltar a introduzir os seus detalhes e prefer\xEAncias.",Ite="Dedique alguns minutos para nos ajudar a criar seu plano de aprendizagem com IA, personalizado para si!",Ly="Diga-nos o seu objetivo",Pte="Adicione o m\xE1ximo de informa\xE7\xE3o e detalhes poss\xEDvel",Lte="Exemplo: \u201CO meu objetivo \xE9 tornar-me proficiente nos servi\xE7os de IA do Azure. Quero aprender a criar, implementar e gerir modelos de IA com o Azure Machine Learning. Al\xE9m disso, procuro compreender como integrar estes modelos nas nossas aplica\xE7\xF5es existentes para melhorar as respetivas funcionalidades e fornecer melhores informa\xE7\xF5es.\u201D",Ry="Linha Cronol\xF3gica",My="Informe-nos quanto tempo tem para trabalhar no seu plano.",Rte="Quanto tempo pode dedicar semanalmente?",Mte="Quando quer terminar o seu plano de aprendizagem?",Dte="Menos de 1 hora",$te="1 a 2 horas",Nte="3 a 5 horas",qte="5 a 10 horas",Fte="Mais de 10 horas",Ote="Dentro de 3 meses",Ute="3-6 meses",Hte="6-12 meses",zte="Mais de 12 meses";var zf="Rever plano";var Bte="\xCAxito! O seu novo plano est\xE1 pronto. Reveja, pois o conte\xFAdo gerado por IA pode ser impreciso.";var Vte="Plano de exemplo",Gte="Este plano de qualifica\xE7\xE3o orienta voc\xEA no desenvolvimento de solu\xE7\xF5es de IA usando os Servi\xE7os de IA do Azure, com foco no processamento de linguagem natural, IA generativa e aplicativos de IA personalizados. Voc\xEA aprender\xE1 a aproveitar as poderosas ferramentas e servi\xE7os do Azure de forma eficaz.";var jte="Ao final deste plano, voc\xEA poder\xE1 criar e implantar solu\xE7\xF5es de IA usando os Servi\xE7os de IA do Azure, incluindo processamento de linguagem natural e aplicativos de IA generativa.",Qte="Ao final deste plano, voc\xEA poder\xE1 implementar aplicativos de IA personalizados usando o Servi\xE7o OpenAI do Azure e o Azure AI Studio.",Yte="Ao final deste plano, voc\xEA poder\xE1 desenvolver aplicativos inteligentes que utilizam os recursos de IA do Azure para v\xE1rios casos de uso.",Wte="Conhe\xE7a os servi\xE7os b\xE1sicos de IA do Azure",Kte="Nesta se\xE7\xE3o, os alunos explorar\xE3o os conceitos b\xE1sicos dos Servi\xE7os de IA do Azure, obtendo conhecimento fundamental para criar solu\xE7\xF5es de IA. As principais tecnologias incluem os Servi\xE7os de IA do Azure, com tarefas como compreender os recursos do servi\xE7o e a configura\xE7\xE3o inicial.",Jte="Comece a usar os Servi\xE7os de IA do Azure",Zte="Desenvolva solu\xE7\xF5es avan\xE7adas de IA com o Azure",Xte="Esta se\xE7\xE3o se concentra no desenvolvimento de solu\xE7\xF5es avan\xE7adas de IA, incluindo processamento de linguagem natural e IA generativa. Os alunos trabalhar\xE3o com os Servi\xE7os de IA do Azure e o Servi\xE7o OpenAI do Azure, envolvendo-se em tarefas como criar modelos de linguagem e criar copilotos personalizados.",eoe="Desenvolva solu\xE7\xF5es de processamento de linguagem natural com os Servi\xE7os de IA do Azure",toe="Desenvolva aplica\xE7\xF5es com o Azure OpenAI nos Modelos do Foundry",ooe="Desenvolva seus pr\xF3prios copilots personalizados com o Azure AI Studio",noe="Desenvolver solu\xE7\xF5es de IA com os Servi\xE7os de IA do Azure",roe='Planos atualizados';var soe="Escolha um nome diferente para o seu plano",aoe="Copiar Liga\xE7\xE3o";var ZA="Gerir";var XA="Sair",ioe="Sair do plano",loe="Quer mesmo sair deste plano?",coe="Perder\xE1 todos os registos do seu progresso e n\xE3o aparecer\xE1 no relat\xF3rio do criador.",doe="Sim, sair da p\xE1gina",uoe="Introduza um t\xEDtulo";var poe="Lamentamos, mas este plano \xE9 privado.",moe="O autor deste plano marcou-o com privado e, atualmente, n\xE3o \xE9 vis\xEDvel para outros utilizadores.",goe="Pode consultar os seus planos no seu perfil de utilizador.",foe="Ver os seus planos",hoe='Tamb\xE9m pode voltar aos Planos.',boe="Plano indispon\xEDvel",_oe="Este plano n\xE3o existe ou foi removido.",voe="Se esta liga\xE7\xE3o tiver sido partilhada consigo, pe\xE7a uma nova liga\xE7\xE3o.",yoe="Conclu\xEDdo";var xoe="Um plano permite que os alunos progridam ao longo de um conjunto de marcos para atingirem resultados de aprendizagem. Pode convidar alunos para o seu plano e acompanhar o respetivo progresso.",Toe="Iniciado";var Soe="Plano oficial";var woe="Plano n\xE3o encontrado. Atualize a p\xE1gina.",Coe="Um ou mais marcos est\xE3o vazios ou faltam os dias recomendados para serem conclu\xEDdos. Corrija esses problemas antes de publicar o plano.",Eoe="Detalhes do plano";var Aoe="Eliminar plano",koe="Para eliminar o seu plano, certifique-se de que nenhum utilizador participa no mesmo. Todos os utilizadores devem remover o plano primeiro.",Ioe="Tem a certeza de que pretende eliminar o seguinte plano?",Poe="Sim, eliminar plano";var Bf="Convidar alunos",qN="Copiar liga\xE7\xE3o do convite",Loe="Liga\xE7\xE3o copiada para a \xE1rea de transfer\xEAncia",Roe="Excluir grupo de aprendizagem",Moe="Est\xE1 prestes a excluir o seguinte grupo de aprendizagem: {learningGroupName}. Quer continuar?",Doe="Grupo exclu\xEDdo",$oe="Grupos",Dy="Group name",Noe="Pessoas";var qoe="Um grupo de aprendizagem \xE9 um nome que lhe permite identificar um grupo de alunos no seu relat\xF3rio de progresso; os alunos n\xE3o ver\xE3o este nome.

Criar um grupo de aprendizagem gera uma liga\xE7\xE3o exclusiva para o seu plano para o grupo espec\xEDfico de alunos.";var FN="Novo grupo de aprendizagem",Foe="Por favor, introduza um nome para este grupo de aprendizagem",Ooe="Seu convite para iniciar o {planTitle} plan no Microsoft Learn",Uoe="Comece hoje mesmo o seu plano e comece hoje mesmo a sua jornada de aprendizagem.",Hoe="Voc\xEA foi convidado a iniciar o plano {planTitle} no Microsoft Learn.",zoe="Um plano \xE9 um conjunto de conte\xFAdo organizado e organizado no Microsoft Learn com marcos projetados para ajud\xE1-lo a alcan\xE7ar resultados de aprendizagem.",Boe="Ao concluir este plano, obter\xE1 os seguintes resultados de aprendizagem:",Voe="Comece hoje mesmo o seu plano!",Vf="Visualizar progresso",Goe="Descarregue este ficheiro para ver uma lista de alunos e os seus progressos.",e0="Descarregar CSV",joe="O ficheiro cont\xE9m as seguintes informa\xE7\xF5es:",Qoe="Grupo de alunos",Yoe="Aprender nome de utilizador",Woe="Data de in\xEDcio",Koe="Data de fim",Joe="Itens conclu\xEDdos",Zoe="Total de itens",Id="Resultados de aprendizagem",Xoe="Editar resultados de aprendizagem",ene="Um resultado de aprendizagem corresponde a conhecimentos, compet\xEAncias ou especializa\xE7\xE3o espec\xEDfica que o aluno obter\xE1 ao concluir este plano.",tne='Sugest\xE3o: comece cada resultado de aprendizagem com um verbo. Cada resultado deve concluir a frase "Ap\xF3s a conclus\xE3o deste plano, os alunos conseguir\xE3o...\u201D';var one="Resultado 1",nne="Resultado 2 (opcional)",rne="Resultado 3 (opcional)",sne="Resultado {number}",ane="Converter num plano oficial",ine="Converter um plano num plano oficial",lne="Deve ser utilizado um plano oficial quando pretender que o seu plano represente a Microsoft e se pretender incluir liga\xE7\xF5es que sejam externas ao Microsoft Learn. Certifique-se sempre de que o seu plano est\xE1 conclu\xEDdo, n\xE3o tem erros ortogr\xE1ficos e que o conte\xFAdo est\xE1 na sequ\xEAncia correta. Uma vez publicado, o plano oficial n\xE3o pode ser alterado.",cne="Para preservar quaisquer liga\xE7\xF5es externas de uma Cole\xE7\xE3o ou plano Oficial subjacente, \xE9 favor converter para um plano oficial.",dne="Um plano oficial representa a Microsoft. Portanto, confirme se o seu plano publicado est\xE1 completo, isento de erros tipogr\xE1ficos e que o conte\xFAdo est\xE1 na sequ\xEAncia correta.";var t0="Este plano foi submetido para ser localizado",une="O plano est\xE1 conclu\xEDdo e revisto",pne="Obrigado por submeter o seu plano oficial para localiza\xE7\xE3o.",mne="Marcar como conclu\xEDdo",ON="Marco",gne="Adicionar Marco",fne="Editar marco";var hne="Novo marco",bne="Dias para o marco:",_ne="1 marco",vne="{numberOfMilestones} marcos";var yne="Marco conclu\xEDdo";var xne="Mover para";var Tne="Confirme se todos os marcos t\xEAm um t\xEDtulo e dias para serem conclu\xEDdos. Talvez seja necess\xE1rio expandir cada marco.";var Sne="Marcar como conclu\xEDdo?",wne="Quer marcar como conclu\xEDdo? Depois de marcar como conclu\xEDdo, n\xE3o poder\xE1 voltar a rever.",Cne="Boas-vindas!",Ene="Para iniciar este plano, tem de partilhar os dados de progresso do plano com o criador do plano. Os dados que ser\xE3o partilhados s\xE3o: as datas em que inicia e conclui o plano e o n\xFAmero de itens do total que concluiu num dado momento. Os seus dados ser\xE3o associados ao seu nome de utilizador p\xFAblico do Learn.",Ane="Aceita partilhar o seu progresso?",kne="Sim, aceito partilhar o meu progresso",Ine="Se quiser receber e-mails \xFAteis que lhe dar\xE3o orienta\xE7\xF5es e encorajamento durante o percurso do seu Plano, v\xE1 \xE0 p\xE1gina Defini\xE7\xF5es do Perfil e forne\xE7a um e-mail de contacto para obter notifica\xE7\xF5es.",Pne="Guardar todos os itens deste plano como um novo",Lne="Inicie sess\xE3o para adicionar \xE0 sua plano.";var Rne="Ainda n\xE3o tem planos.",UN="J\xE1 existe um grupo de alunos com este nome. Introduzir um nome diferente";var Mne="Plano comunicado",Dne='Foi comunicada uma preocupa\xE7\xE3o sobre este plano e est\xE1 atualmente sob revis\xE3o da Microsoft. Consulte os nossos Termos de Utiliza\xE7\xE3o para obter mais informa\xE7\xF5es.';var $ne="Guardar a sua cole\xE7\xE3o personalizada";var HN="Agendar exame";var no="Pesquisar";var Nne="Procurar tudo no Microsoft Learn";var zN="Filtros de pesquisa";var $y="Procurar vers\xF5es anteriores";var o0="Segundos",qne="h\xE1 {duration} segundos",Fne="{seconds} segundos",n0="Section",One="Sec\xE7\xE3o com o t\xEDtulo: {title}";var Ny="Ver menos";var Pd="Ver mais";var r0="Selecione o Pacote";var s0="Selecionar Vers\xE3o";var Une="Servi\xE7o";var qy="Defini\xE7\xF5es",a0="Partilhar";var i0="[Shared Article] {articleTitle}",Hne="Conclu\xED {achievementTitle}! Que orgulho poder celebrar esta conquista e espero que isto o inspire a come\xE7ar o seu pr\xF3prio percurso no @MicrosoftLearn!";var Fy="Partilhar com o seu feed:";var BN="Partilhar via";var zne="Partilhe a sua conquista:",Bne="Partilhar",Vne="A partilha est\xE1 desativada para conte\xFAdos que requeiram autoriza\xE7\xE3o.";var Gf="Mostrar menos",Ld="Mostrar mais",l0="Mostrar mais {number}",c0="Com Sess\xE3o Iniciada",jr="Iniciar sess\xE3o";var Gne="A iniciar sess\xE3o...";var jne='Iniciar sess\xE3o no Microsoft Learn';var Oy="Entrar para iniciar",Np="Terminar sess\xE3o";var Qne="Site";var Yne="Mais {count}",d0="Limpar filtros",Wne="Ocultar filtro",VN="{filter} op\xE7\xF5es";var Kne="Termos consultados:",GN="A pensar...",jN="A gerar resultado...",QN="A procurar...",Jne="Resultados da Pesquisa",Zne="Conte\xFAdo preciso/relevante",Xne="Conte\xFAdo completo/claro",ere="Resposta r\xE1pida",tre="Conte\xFAdo impreciso/irrelevante",ore="Conte\xFAdo incompleto/n\xE3o claro",nre="Conte\xFAdo ofensivo/inapropriado",rre="Resposta lenta",YN="Outro local",WN="D\xEA o m\xE1ximo de detalhes poss\xEDvel, mas n\xE3o inclua informa\xE7\xF5es privadas ou confidenciais",sre="Diga-nos mais",are="Esta resposta foi \xFAtil",ire="Esta resposta n\xE3o foi \xFAtil",jf="Resumo da IA",qp="Ocorreu um problema. Tente novamente mais tarde.",KN="Os resumos est\xE3o temporariamente indispon\xEDveis, tente novamente mais tarde.";var JN="Falha ao obter resumo",ZN="Resposta de resumo inv\xE1lida";var Rd="O conte\xFAdo gerado por IA pode estar incorreto.",Qf='Leia as nossas notas de transpar\xEAncia de IA para obter mais informa\xE7\xF5es.',lre='Leia as nossas notas de transpar\xEAncia de IA para obter mais informa\xE7\xF5es.',Yf="Agradecemos os seus coment\xE1rios!",Uy="Ocultar",XN="Mostrar",u0="A gerar...",cre="Aguarde um momento e tente novamente.",p0="Ainda n\xE3o dispomos dessa informa\xE7\xE3o.",dre='{count} resultados para "{searchPhrase}"',ure='{count} resultado para "{searchPhrase}"',pre='{count} resultados semelhantes para "{searchPhrase}"',mre='{count} resultado semelhante para "{searchPhrase}"',gre='{count} resultados para "{searchPhrase}" em {scope}',fre='{count} resultado para "{searchPhrase}" em {scope}',hre='{count} resultados semelhantes para "{searchPhrase}" em {scope}',bre='{count} resultado semelhante para "{searchPhrase}" em {scope}',_re='N\xE3o foi encontrada nenhuma correspond\xEAncia. A mostrar {count} resultados semelhantes a "{searchPhrase}".',vre='N\xE3o foi encontrada nenhuma correspond\xEAncia. A mostrar {count} resultado semelhante a "{searchPhrase}".';var yre="ou veja todos os resultados no Microsoft Learn",xre='{count} resultados para "{searchPhrase}" em {scope} {pivotCategory}',Tre='{count} resultado para "{searchPhrase}" em {scope} {pivotCategory}',Sre='{count} resultados semelhantes para "{searchPhrase}" em {scope} {pivotCategory}',wre='{count} resultado semelhante para "{searchPhrase}" em {scope} {pivotCategory}',Md="N\xE3o foi poss\xEDvel encontrar qualquer resultado para a sua pesquisa.",Cre="Tent\xE1mos fazer a verifica\xE7\xE3o ortogr\xE1fica e alargar o \xE2mbito da sua pesquisa, mas ainda n\xE3o conseguimos encontrar nada. Experimente uma palavra-chave ou frase diferente.",Ere="Existe uma salvaguarda implementada atualmente no seu dispositivo. De momento, os detalhes n\xE3o est\xE3o dispon\xEDveis. Quando a atualiza\xE7\xE3o estiver dispon\xEDvel, ver\xE1 a mesma na p\xE1gina do Windows Update em Defini\xE7\xF5es.",Are="A atualiza\xE7\xE3o ainda n\xE3o est\xE1 dispon\xEDvel para o seu dispositivo",kre="N\xE3o foi poss\xEDvel encontrar qualquer resultado para a sua pesquisa em {scope}.",Ire='Ainda pode .',Pre='N\xE3o foi poss\xEDvel encontrar resultados correspondentes a "{searchPhrase}"',Lre='N\xE3o foi poss\xEDvel encontrar resultados correspondentes a "{searchPhrase}" em {scope}';var Dd="Hum, ocorreu um problema",ro="Ocorreu um erro. Tente novamente.";var Fp="GitHub";var Rre="Ordenar por:";var ii="Iniciar",Mre="Come\xE7a a {startDate}",Dre="Data de In\xEDcio";var $re="Data de in\xEDcio";var Nre="Recome\xE7ar";var qre="Passo {step-index} de {step-count}",Fre="Gerir {title} em guias de estudo",Ore="Adicionar {title} em guias de estudo";var Ure="Assunto",Hre="Assuntos",$o="Enviar",zre="Submeter outros coment\xE1rios";var Bre="Enviado com \xCAxito!",Vre="Obrigado por enviar os seus coment\xE1rios. Vamos analis\xE1-los em breve. Tenha em aten\xE7\xE3o que o relat\xF3rio de coment\xE1rios \xE9 uma forma de comunica\xE7\xE3o unidirecional e n\xE3o estamos a responder neste momento.",Gre="Tenha em aten\xE7\xE3o que embora n\xE3o possamos responder a coment\xE1rios, a nossa equipa ir\xE1 utiliz\xE1-los para melhorar a experi\xEAncia.";var jre="Sugest\xF5es",Qre="As sugest\xF5es ser\xE3o filtradas enquanto escreve";var Yre="Suporte";var Wre="Tabela {index}";var Kre="Etiqueta";var e2="Etiquetas";var Jre="Carateres restantes";var Zre="S\xF3 pode ligar imagens externas a partir de determinados sites. Estes URLs de imagem n\xE3o s\xE3o permitidos: {urls}. Clique para ver a lista de permiss\xF5es de dom\xEDnio completa.",Xre="O ficheiro {fileName} \xE9 inv\xE1lido. O tipo de ficheiro deve ser uma imagem em gif, jpg, jpeg ou png v\xE1lida.",ese="O ficheiro {fileName} \xE9 demasiado grande. O tamanho do ficheiro n\xE3o pode exceder os cinco megabytes.";var tse="Cloud Shell";var ose="{account} j\xE1 tem um perfil",nse="Atingiu o seu limite de contas",rse="N\xE3o pode ligar mais do que cinco contas escolares ou profissionais a um perfil. Remova uma conta e tente novamente.";var sse="J\xE1 tem uma conta vinculada na mesma organiza\xE7\xE3o";var ase="Adicione outra conta e tente novamente.";var ise='S\xF3 \xE9 poss\xEDvel ligar contas que n\xE3o tenham um perfil registado. Selecione uma conta diferente ou veja a nossa documenta\xE7\xE3o de orienta\xE7\xE3o sobre resolu\xE7\xE3o de problemas para saber mais detalhes.';var lse="J\xE1 ligou esta conta",cse="{account} \xE9 uma conta pessoal. Selecione uma conta escolar ou profissional.";var dse="Precisa de, pelo menos, uma conta ligada ao seu perfil.";var use="S\xF3 \xE9 suportada uma conta por organiza\xE7\xE3o.",pse="S\xF3 pode ter uma conta pessoal ligada",mse="O perfil est\xE1 atualmente a ser intercalado",gse="Pode atualizar a p\xE1gina para verificar o estado da intercala\xE7\xE3o.";var fse="Selecionar conta",t2="Selecione uma conta diferente";var hse="J\xE1 existe um perfil de certifica\xE7\xE3o ligado a este perfil",bse="Para continuar, contacte o suporte ao cliente para remover o perfil de certifica\xE7\xE3o atual.";var _se="Este perfil foi bloqueado",vse="Este perfil est\xE1 atualmente bloqueado e est\xE1 a ser unido a outro perfil. Inicie sess\xE3o num perfil diferente.",o2="Repetir intercala\xE7\xE3o",n2="Terminar intercala\xE7\xE3o";var yse="Intercala\xE7\xE3o conclu\xEDda";var xse="Pode atualizar a p\xE1gina para verificar o estado da intercala\xE7\xE3o.",Tse="O registo de intercala\xE7\xE3o de perfis n\xE3o foi encontrado",Sse='N\xE3o \xE9 poss\xEDvel localizar a intercala\xE7\xE3o do seu perfil. Atualize a p\xE1gina. Se o problema persistir, contacte o suporte ao cliente.',wse="Uma tentativa de intercala\xE7\xE3o anterior est\xE1 a impedir esta a\xE7\xE3o",Cse="Um dos perfis que est\xE1 a tentar intercalar est\xE1 atualmente a ser intercalado com outro perfil. Inicie sess\xE3o em ambos os perfis para verificar o estado.";var Ese="Os seus perfis foram unidos com \xEAxito.",Ase="Ocorreu um problema ao intercalar o seu perfil de origem (nome de utilizador: {sourceUser}) com o seu perfil de destino (nome de utilizador: {destinationUser}).",kse="Alguns dos seus dados podem ter sido intercalados durante o processo, pelo que \xE9 expect\xE1vel que note o desaparecimento de alguns dados do perfil de origem e o seu aparecimento no perfil de destino.",Ise="Pode escolher uma das seguintes a\xE7\xF5es:",Pse="{terminateMergeText}: O processo de fus\xE3o ser\xE1 interrompido e encerrado. Poder\xE1 utilizar ambos os perfis normalmente e acionar uma nova intercala\xE7\xE3o quando quiser. Os dados que j\xE1 tenham sido intercalados permanecer\xE3o no perfil de destino.",Lse="{retryMergeText}: O processo de fus\xE3o ser\xE1 novamente executado. O perfil de origem fica bloqueado durante o processo de intercala\xE7\xE3o.",Rse="Uni\xE3o em curso. Pode demorar v\xE1rios minutos a concluir.",Mse="A intercala\xE7\xE3o foi terminada.";var Dse="Microsoft MVP";var $se="Estudante Embaixador do Microsoft Learn";var Nse="Iniciar sess\xE3o com uma conta diferente";var qse="Bem-vindo \xE0s Perguntas e Respostas!",Fse="Receba atualiza\xE7\xF5es personalizadas sobre t\xF3picos que lhe interessam",Ose="Construa a sua reputa\xE7\xE3o enquanto ajuda os outros",Use="Ligue-se instantaneamente a pessoas que partilham os seus interesses";var Hse="Sem concluir o registo, n\xE3o poder\xE1 publicar ou fazer uma pergunta nas Perguntas e Respostas.";var zse="Fale connosco",m0="Diga-nos mais.",Bse="D\xEA-nos a sua opini\xE3o.",Vse="D\xEA-nos a sua opini\xE3o! Os seus coment\xE1rios s\xE3o fundamentais.";var Gse="P\xE9ssimo";var g0="Obrigado pelos seus coment\xE1rios.",jse="Obrigado pelos seus preciosos coment\xE1rios!";var Qse="Este artigo \xE9 \xFAtil",Yse="Este artigo n\xE3o \xE9 \xFAtil";var Wse="Esta p\xE1gina";var Kse="Esta sec\xE7\xE3o ser\xE1 permanentemente eliminada.";var Jse="Microsoft Build 2026";var Zse="2 a 3 de junho de 2026",Xse="Aprofunde os seus conhecimentos sobre c\xF3digo real e sistemas em S\xE3o Francisco e online",eae="Mais informa\xE7\xF5es",tae="Gorjeta";var pc="T\xEDtulo";var oae="A sua conta do Azure {email} tem v\xE1rios inquilinos. Escolha um para utilizar nesta experi\xEAncia:",nae="J\xE1 tem sess\xE3o iniciada no Learn com a conta abaixo. Pretende continuar a experi\xEAncia atual com esta conta?",rae="Confirmar a conta",sae="Continuar com a Conta",aae="Escolher um dos inquilinos do Azure",iae="Avalia\xE7\xE3o Gratuita do Azure",lae="Ups! N\xE3o existe nenhuma Subscri\xE7\xE3o do Azure dispon\xEDvel nesta conta",cae="A sua conta {email} n\xE3o tem uma Subscri\xE7\xE3o do Azure associada. Pode experimentar uma avalia\xE7\xE3o gratuita do Azure ou iniciar sess\xE3o noutra conta!",dae="Se a sua conta n\xE3o tiver um perfil do Learn registado, este processo ir\xE1 concluir esse registo por si.";var uae="Inicie sess\xE3o com a sua conta.",f0="Utilizar uma conta diferente";var Qr="Forma\xE7\xE3o";var $d="Ups, ocorreu um problema. Recarregue a p\xE1gina para tentar novamente.";var Hy="Tentar novamente";var Wf="Experimente",pae="Experimente a API REST com as entradas abaixo.",mae="Ocorreu um problema ao processar o seu pedido",gae="Tutorial";var fae="\xDAltimos sete dias",hae="\xDAltimas 24 horas",bae="\xDAltimos 30 dias",_ae="\xDAltimos 365 dias";var vae="tipo";var yae="URL",h0="URL copiado!";var r2="Validar a sua conta",Kf="Vers\xE3o",xae="Vers\xF5es";var s2="V\xEDdeo";var a2="Ver resultados ({totalResults})";var Tae="Recomendamos utilizar o Visual Studio 2019.",Sae="Transferir agora",wae="Documenta\xE7\xE3o do Visual Studio";var Cae="Aviso";var Eae="Esta p\xE1gina foi \xFAtil?";var Aae="P\xE1gina Web";var b0="Semana";var _0="Semanas";var kae="h\xE1 {duration} semanas";var Iae='Bem-vindo ao Microsoft Learn!';var Pae="Qual \xE9 o motivo dos seus coment\xE1rios?";var Lae='com IA no Microsoft Learn ';var Rae="Documenta\xE7\xE3o do Windows";var Jf="x.com",i2="{totalXP} XP";var Mae="Anual",l2="Anos";var ya="Yes",Op="Sim, eliminar";var Dae="Ainda n\xE3o tem quaisquer cole\xE7\xF5es.";var $ae="Tem de selecionar entre {min} e {max} {tagLabel}.",Nae="`{tagLabel}` j\xE1 n\xE3o est\xE1 em utiliza\xE7\xE3o. Use uma etiqueta diferente que se aplique ao seu cen\xE1rio.";var qae="A sua Conta";var Fae="O MSDN TechNet foi descontinuado e este artigo j\xE1 n\xE3o existe. As seguintes liga\xE7\xF5es t\xEAm informa\xE7\xF5es relacionadas:",Oae="Conte\xFAdo da Wiki do TechNet arquivado",Uae="F\xF3runs arquivados do MSDN e do TechNet";var Hae="Documenta\xE7\xE3o do Microsoft Learn",zae="Home Page do Microsoft Learn",Bae="Microsoft Q&A";var Up=window;var U=Up,Zf=Up.navigator,S=Up.document,Vae=Up.localStorage,Yn=Up.history,J=Up.location,b=U.msDocs,Se=new Promise(e=>{S.readyState==="loading"?S.addEventListener("DOMContentLoaded",()=>e()):e()});A();function Pt(){window.dispatchEvent(new CustomEvent("content-update"))}function Kt(e,t,o="",n="button-info",r="banner",s){let a=s||S.getElementById("disclaimer-holder");if(!a||S.getElementById("server-disclaimer-holder"))return null;let l=t&&t.url?u` ${t.text} `:"",c=t&&t.clickHandler?u` `:"",d=t?u`
${l||c}
`:"";return y(u` `,a),Pt(),a}var Vy="__event_type_id__",mPe=0,Be=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[Vy];if(o===void 0||this.callbacks[o]===void 0)return;let n=this.callbacks[o].slice(0);for(let r of n)r(t)}subscribe(t,o){t.hasOwnProperty(Vy)||(t[Vy]=mPe++);let n=t[Vy];this.callbacks[n]===void 0&&(this.callbacks[n]=[]);let r=this.callbacks[n];return r.indexOf(o)===-1&&r.push(o),()=>this.unsubscribe(t,o)}unsubscribe(t,o){let n=t[Vy];if(n===void 0||this.callbacks[n]===void 0)return;let r=this.callbacks[n],s=r.indexOf(o);s!==-1&&r.splice(s,1)}dispose(){this.callbacks={}}},ut=new Be;function Fd(e,t,o){let n=()=>{},r=s=>{o(s),n()};return n=e.subscribe(t,r),n}var E0=class{constructor(t){this.url=t}},To=class{constructor(t,o,n){this.title=t;this.url=o;this.referrerUrl=n}};var ol;function E2(){ol={};let e=S.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let n=o.name||o.getAttribute("property");return t[n]=o.content,t},{})}function L(e){return ol===void 0&&E2(),ol[e]===void 0?void 0:ol[e][0]}function xa(e){return ol===void 0&&E2(),ol[e]?ol[e].slice():[]}var it=class{static get contentDir(){return b.data.contentDir}static get contentLocale(){return b.data.contentLocale}static get userDir(){return b.data.userDir}static get userLocale(){return b.data.userLocale}static get hasLocSideBySideTranslation(){return L("enable_loc_sxs")==="true"||L("bilingual_type")==="hover over"}static get translationType(){return L("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},Ls=class{static get brand(){return b.data.brand}static get kind(){return L("page_kind")}static get type(){return L("page_type")}static get template(){return b.data.pageTemplate}};function te(e){let t,o=/\+/g,n=/([^&=]+)=?([^&]*)/g,r=a=>decodeURIComponent(a.replace(o," "));e===void 0&&(e=J.search),e=e.substring(1);let s={};for(;t=n.exec(e);)s[r(t[1])]=r(t[2]);return s}function ne(e,t=!1){let o=[];for(let n in e)e.hasOwnProperty(n)&&e[n]!==""&&e[n]!==null&&e[n]!==void 0&&(t&&Array.isArray(e[n])?e[n].forEach(r=>{o.push(encodeURIComponent(n)+"="+encodeURIComponent(r))}):o.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n].toString())));return o.join("&")}function Bt(e,t,o){let n=te(),r=!1;for(let c in e)e.hasOwnProperty(c)&&n[c]!==String(e[c])&&(n[c]=e[c],r=!0);let s=J.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),s!==o&&(s=o,r=!0)),!r)return;let a=ne(n);a.length>0&&(a="?"+a);let i=`${J.protocol}//${J.host}${J.pathname}${a}${s}`,l=Yn.state||{};t==="pushState"?Yn.pushState(l,S.title,i):t==="replaceState"?Yn.replaceState(l,S.title,i):J.href=i}function A2(e){let t=S.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=J.protocol+e:t.href=J.origin+e;let o=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,n=t.host.replace(/:443$|:80$/,""),r=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:n,hostname:r,href:t.href,origin:`${t.protocol}//${n}`,pathname:o,protocol:t.protocol,search:t.search}}function k2(e,t=2e3,o=";"){let n=encodeURIComponent(o).length,r=[],s,a;for(let i of e){let l=encodeURIComponent(i).length;if(l>t)throw new Error(`The encoded length of "${i}" (${l}) is greater than the max partition length (${t}).`);(!s||a+l>t)&&(s=[],r.push(s),a=0),s.push(i),a+=l+n}return r}function cr(e=new URL(J.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((n,r)=>o[r]=n),o}var pn=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let o=te().dataSource;return e=L("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&o==="previousVersions",e}})();function fPe(){return L("is_retired")==="true"}function hPe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function bPe(){if(!pn())return;let e=it.machineTranslated,t=e?YY:QY,o=hPe(),n=e?o?eW:jY:o?XY:VY,r=L("current_version_url"),s=fPe()?t:n;if(L("vs_archive")==="true"){let i=Tae,l=Sae;Kt(i,{url:`https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=${location.host}&utm_campaign=button+cta&utm_content=download+vs2019`,text:l})}if(r)Kt(s,{url:r,text:tW});else if(b.data.pageTemplate==="SearchPage"){let i=oN;Kt(lW,{url:location.origin,text:i})}else{let i=oN;Kt(s,{url:location.origin,text:i})}}function cie(){pn()&&bPe()}function _Pe(e){switch(e){case"learn.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"review.learn.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"dev.learn.microsoft.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"docs.azure.cn":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"mooncake"};case"review.docs.azure.cn":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"mooncake"};case"dev.docs.azure.cn":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"mooncake"};case"developer.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"review.developer.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"dev.developer.microsoft.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"localhost":return{supportLevel:"development",accessLevel:"local",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"learn-microsoft-com.local":case"local.learn.microsoft-int.com":case"developer-microsoft-com.local":case"docs-azure-cn.local":return{supportLevel:"development",accessLevel:"local",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};case"prdev.learn.microsoft.com":case"ppe.preview.learn.microsoft-int.com":case"prod.preview.learn.microsoft-int.com":case"mc.preview.learn.microsoft-int.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};default:return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"}}}var R=b?.environment?b.environment:_Pe(location.hostname);var ae={setItem(e,t){try{U.localStorage.setItem(e,t)}catch{}},getItem(e){try{return U.localStorage.getItem(e)}catch{return null}},removeItem(e){try{U.localStorage.removeItem(e)}catch{}},clear(){try{U.localStorage.clear()}catch{}}},mc={setItem(e,t){try{U.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return U.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{U.sessionStorage.removeItem(e)}catch{}}};var I2="docs.preview",P2=(new URLSearchParams(J.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),Gy,vPe=()=>{let e;return ae.getItem(I2)?e=JSON.parse(ae.getItem(I2)):e={},e},yPe=(e,t)=>{Gy=vPe();let o=P2[e]===1,n=!isNaN(Gy[e]),r=o||n,s=P2[`x-${e}`];return o?console.log(`Preview ${e} via query string`):n&&console.log(`Preview ${e} via local storage`),t&&(r||s)&&(r&&(Gy[e]=Date.now()),s&&delete Gy[e],ae.setItem(I2,JSON.stringify(Gy))),r},Ve=(e,t={require:!1,persist:!1})=>{let{require:o,persist:n}=t;return R.reviewFeatures&&Object.keys(P2).length===0&&!o?!0:(e=e.toLowerCase(),yPe(e,n))};function k0(e=J.search,t=R.reviewFeatures){let o="preview-date",n=new URLSearchParams(e),r=new Date(n.get(o)).getTime();return t&&!isNaN(r)&&r!==0?r:Date.now()}var xPe=["https://github.com/dotnet/docs/blob/live/docs/standard/design-guidelines/","https://github.com/dotnet/docs/blob/main/docs/standard/design-guidelines/","https://github.com/MicrosoftDocs/azure-compliance-pr/","https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness-pr/","https://github.com/MicrosoftDocs/OfficeDocs-Teams-PhoneRef-pr/"];function die(){let e=L("original_content_git_url");return xPe.some(o=>e?.startsWith(o))}function uie(){let e=L("page_type"),t=L("page_kind"),o=L("is_admin")==="true",n=L("is_editor")==="true";return e==="learn"||e==="profile"||o||n||t==="learn"&&(e==="browse"||e==="home")}var w=TPe();function TPe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),anonymousVoting:Ve("anonymous-voting",{require:!0}),arkoseEncrypt:R.reviewFeatures,apiBrowser:!0,applicationInsights:uie(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("applied-skills",{require:!0})||Ve("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("applied-skills-share",{require:!0}),assessmentBranches:R.supportLevel==="production"&&R.reviewFeatures,assessmentMergerLearnAssessment:Ve("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:Ve("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:Ve("assessment-merger-renewal-assessment",{require:!0}),assessments:R.siteName==="learn",assessmentsEmail:Ve("assessments-email",{require:!0}),azureNotebooks:!0,banner:!0,blogComments:!0,chatTutor:R.siteName==="learn",chromeless:!!b.data.context.chromeless,certificationAndCourseUpdates:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||Ve("certification-updates",{require:!0}),codeSamples:!0,connectedExperiences:["Conceptual","FAQ","Question"].includes(b.data.pageTemplate),collapsibleToc:Ve("collapsible-toc",{require:!0}),contentBrowse:!0,cookieConsent:!0,courseScheduling:!0,disabledAppliedSkills:!0,disableSiteSearchSuggestions:!0,enableDeepSearch:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&L("page_type")==="search"&&pn()===!1,enableNewSiteSearch:L("page_type")==="search"&&pn()===!1,enableModernSearchAnswer:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&L("page_type")==="search"&&pn()===!1,enableSiteSearchExperiment:R.siteName==="learn"&&R.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:Ve("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:Ve("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&Ve("hub-update",{require:!0}),inlineEdit:Ve("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:Ve("assessment-v0",{require:!0}),learnEventRebrand:Ve("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:Ve("learning-path-ilt-search",{require:!0}),marketing:!0,mecMigration:!0,moduleUnitFeedbackReport:!0,oneCustomerVoiceFeedback:!0,oneDS:R.accessLevel!=="local",openSourceFeedback:["Conceptual","Reference","Architecture","FAQ"].includes(b.data.pageTemplate)&&b.data.feedbackSystem==="OpenSource"&&!!b.data.openSourceFeedbackIssueUrl,pageRecommendations:R.siteName==="learn"&&b.data.hasRecommendations&&(L("page_type")==="conceptual"||["FAQ","Architecture","Sample"].includes(b.data.pageTemplate))&&!["reference","managed-reference","ui-reference","language-reference","error-reference","reference-internal","hub-page","landing-page","archived"].some(e=>e===L("ms.topic")?.toLowerCase())&&L("ROBOTS")!=="NOINDEX,NOFOLLOW"&&!die(),pdfDownload:R.siteName==="learn",permissionedContent:R.reviewFeatures&&Ve("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||Ve("personal-challenge",{require:!0}),practiceAssessmentsAllowParam:R.reviewFeatures&&(L("page_kind")==="practiceAssessment"||L("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||Ve("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:Ve("one-stream-player-next-version",{require:!0}),previewRailEventCard:Ve("rail-event-card",{require:!0}),previewQnaAiAdmin:Ve("qna-ai-admin",{require:!0}),previewQnaAiDemo:Ve("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:Ve("qna-captcha-bypass",{require:!0}),qnaAcceptUpvote:Ve("qna-accept-updated",{require:!0}),qnaStackResults:Ve("qna-stack-results",{require:!0}),quickWins:Ve("quick-wins",{require:!0}),referenceRightRailH3:L("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:Ve("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:Ve("site-search-products",{require:!0}),skipToCompletedModal:Ve("completed-modal",{require:!0}),stayCurrentAllowParam:R.reviewFeatures&&(L("page_kind")==="certification"||L("page_kind")==="certificationrenewal"||L("page_kind")==="certificationRenewalAssessment"||L("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:R.siteName==="learn"||R.accessLevel==="local",systemDrivenAchievement:!0,temporaryClientSideEventBanners:R.siteName==="learn"||R.siteName==="developer",thirdPartyDataSharingConsentFlag:!0,tocSearch:b.data.brand!=="mooncake",translationFeedback:b.data.userLocale!=="en-us"&&L("ocv-translation-feedback")==="true"&&it.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:Ve("tenant-manager",{require:!0}),userFeedback:Ve("user-feedback",{require:!0}),planGenV2:Ve("plan-gen-v2",{require:!0}),userAnalyticsMocks:Ve("user-analytics-mocks",{require:!0}),userServices:!0,usingStandardFeedback:b.data.standardFeedback||b.data.pageTemplate==="ModuleUnit"||b.data.pageTemplate==="Module",supportsSharing:L("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function pie(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),n=SPe(e),r=n===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${n}"]`);o!==r&&(o&&wPe(o),r&&(CPe(r),EPe(r,t)))}function SPe(e){if(e.length>0){let t=e.length-1;for(let o=0;o0){t=o;break}if(e[t].getBoundingClientRect().top>=window.innerHeight&&(t-=1),t>=0)return e[t].id}return null}function wPe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("font-weight-semibold","color-text"),e.classList.add("color-text-subtle"),e.setAttribute("aria-current","false")}function CPe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("color-text-subtle"),e.classList.add("font-weight-semibold","color-text"),e.setAttribute("aria-current","true")}function EPe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var APe=/([a-z]\.)([a-z])/gi,kPe=/([a-z])([A-Z]+[a-z])/g,IPe=/(\w\/)(\S?)/gi,I0="",L2=`$1${I0}$2`,PPe=/\u200B/g;function kn(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(APe,L2)),t&1&&(e=e.replace(kPe,L2)),t&4&&(e=e.replace(IPe,L2))),e}function mie(e,t){let o=[];if(!e||t===0)return o;e=kn(e,t);let n=0,r=e.indexOf(I0,n);for(;r!==-1;)o.push(e.substring(n,r)),o.push(document.createElement("wbr")),n=r+I0.length,r=e.indexOf(I0,n);return o.push(e.substring(n)),o}function gie(e){return e.replace(PPe,"")}var LPe={"&":"&","<":"<",">":">",'"':""","'":"'"},fie=/[&<>"']/g,RPe=RegExp(fie.source);function Ge(e){return e&&RPe.test(e)?e.replace(fie,t=>LPe[t]):e}function P0(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Qp(e){let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function o(n){n!==null&&(o(n.nextElementSibling),window.getComputedStyle(n,null).getPropertyValue("display")==="none"?n.parentElement.removeChild(n):o(n.firstElementChild))}return o(t.firstElementChild),document.body.removeChild(t),t.textContent}function Kr(e,t={year:"numeric",month:"short",day:"numeric"},o=b.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function L0(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let n=Kr(new Date(o.textContent),e);o.textContent=n}})}var MPe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function R0(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(MPe,o)}function R2(e){return decodeURIComponent(atob(DPe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function DPe(e){switch(e.length%4){case 0:return e;case 2:return e+"==";case 3:return e+"=";default:throw new Error("Illegal base64url string!")}}var M2="id_token",D0="docsAuthToken",$Pe="account_linking_token",jy=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},nl=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},M0=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function $0(e){ae.setItem(M2,e)}function Od(){return ae.getItem(M2)}function N0(){ae.removeItem(M2)}function q0(e){ae.setItem(D0,e)}function In(){return ae.getItem(D0)}function F0(){ae.removeItem(D0)}function ah(){ae.removeItem($Pe)}function Yp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new jy({detail:"Invalid JWT - no separators found."});let n=e.split("."),r=JSON.parse(R2(n[1]));if(!r)throw new jy({detail:"Invalid JWT - payload is missing."});if(r.hasOwnProperty("nbf")){let s=r.nbf;if(isNaN(s))throw new M0({detail:"Invalid NBF claim - claim is malformed."});let a=new Date(0);a.setUTCSeconds(r.nbf);let i=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(a>i)throw new nl({detail:"Invalid NBF claim - token not yet valid."})}if(r.hasOwnProperty("exp")){let s=r.exp;if(isNaN(s))throw new M0({detail:"Invalid EXP claim - claim is malformed."});let a=new Date(0);a.setUTCSeconds(r.exp);let i=new Date(Date.now());if(a<=i)throw new nl({detail:"Invalid EXP claim - token has expired."})}return r}finally{}}var O0=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new jy({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(R2(o[1]))};var bie=`data:image/svg+xml;base64,${btoa('')}`,_ie=`data:image/svg+xml;base64,${btoa('')}`,vie="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",NPe=(e,t)=>{e||(e=Hr);let o=t.replace(/\D/g,""),n=parseInt(o.slice(0,2))*.01,r=parseInt(o.slice(2,4))*.01,s=n*320,a=r*100,i=Math.floor(n*31+10),l=`hsl(${s}, ${a}%, ${i}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},mn=(e,t)=>{let{backgroundColor:o,initials:n}=NPe(e,t);return`data:image/svg+xml,${` %3Csvg xmlns='http://www.w3.org/2000/svg' height='64' class='font-weight-bold' style='font: 600 ${64/2.125}px "SegoeUI", Arial' width='64'%3E%3Ccircle fill='${o}' cx='32' cy='32' r='32' /%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='%23FFF' %3E${n}%3C/text%3E%3C/svg%3E`}`},So=class{},Jr="72f988bf-86f1-41af-91ab-2d7cd011db47",H0="9188040d-6c67-4c5b-b112-36a304b66dad",yie="1a092f68-5741-455a-8057-2acdb897a850",xie="604c1504-c6a3-4080-81aa-b33091104187",Tie="ada63eea-fd1c-4d79-b40a-41d1380df7a5",D2={[Jr]:"microsoft",[H0]:"standard"},$2=new Date("2019-11-21T00:00:00.000Z"),co=(e,t)=>Sie(e,t).toString(),U0=class extends Be{constructor(){super();this.idTokenEmail="";this.legalName=null;this.setAnonymous()}setAnonymous(){this.isAuthenticated!==!1&&(this.userId="00000000-0000-0000-0000-000000000000",this.upn="anonymous@anonymous.com",this.email="anonymous@anonymous.com",this.idTokenEmail="anonymous@anonymous.com",this.userName="Anonymous",this.displayName="Anonymous",this.locale="en-us",this.country=null,this.contactPointTopicSetting=null,this.authenticationMode="AAD",this.authenticationModes=[],this.isAuthenticated=!1,this.avatarUrl=mn(this.displayName,this.userId),this.avatarThumbnailUrl=mn(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=$2,this.isAvatarTakenDown=!1,this.followerCount=0,this.followingCount=0,this.answersAccepted=0,this.affiliations=[],this.reputationPoints=1,this.qnaUserId=0,this.interests=null,this.isPrivate=!1,this.tenantId=null,this.credentialId=null,this.source=null,this.sharingId=null,this.legalName=null,this.publish(new So))}mapIdTokenToProfile(o){this.email=o.email||o.preferred_username,this.upn=o.preferred_username,this.userName=o.name,this.displayName=o.name,this.authenticationMode=D2[o.tid]==="standard"?"MSA":"AAD",this.userType=D2[o.tid]||"aad",this.isAuthenticated=!0,this.country="",this.credentialId=this.authenticationMode==="AAD"?o.oid:o.puid,this.authenticationModes=[{id:this.credentialId,type:this.authenticationMode,tenantId:o.tid,upn:this.upn}],this.publish(new So)}readUserProfile(o){this.userId=o.userId,this.email=o.email||"",this.userName=o.userName,this.displayName=o.displayName||o.userName||o.email,this.locale=o.locale,this.country=o.country,this.contactPointTopicSetting=o.contactPointTopicSetting,this.isAuthenticated=!0,this.avatarUrl=o.avatarUrl||mn(this.displayName,this.userId),this.avatarThumbnailUrl=o.avatarThumbnailUrl||o.avatarUrl||mn(this.displayName,this.userId),this.profileUrl=co(o.userName),this.authenticationModes=o.authenticationModes,this.userType=qPe(o.authenticationModes),this.acceptedPrivacyNotice=new Date(o.acceptedPrivacyNotice),this.isAvatarTakenDown=o.isAvatarTakenDown,this.followingCount=o.followingCount,this.followerCount=o.followerCount,this.answersAccepted=o.answersAccepted,this.affiliations=o.affiliations,this.reputationPoints=o.reputationPoints,this.createdOn=new Date(o.createdOn),this.qnaUserId=o.qnaUserId,this.interests=o.interests,this.isPrivate=o.isPrivate,this.source=o.source,this.certificationSettings=o.certificationSettings,this.transcriptSettings=o.transcriptSettings,this.qnaEmailPreferences=o.qnaEmailPreferences,this.isQnaModerator=o.isQnaModerator,this.sharingId=o.sharingId,this.isChallengeAdmin=o.isChallengeAdmin,this.legalName=o.legalName||null,this.publish(new So)}readUserFromToken(o){this.isAuthenticated=!0,this.instructor=o.instructor,this.isChallengeAdmin=o.is_challenge_admin,this.isMecUser=o.is_mec_user,this.userId=o.sub,this.upn=o.cred_upn,this.tenantId=o.tid,this.credentialId=o.cred_id,this.userName=o.preferred_username,this.displayName=o.name||o.preferred_username||o.email,this.avatarUrl=o.picture||mn(this.displayName,this.userId),this.avatarThumbnailUrl=o.thumbnail||o.picture||mn(this.displayName,this.userId),this.authenticationMode=o.cred_type,this.locale=o.locale,this.acceptedPrivacyNotice=new Date(o.accepted_privacy_notice),this.userType=D2[o.tid]||"aad",this.profileUrl=co(o.preferred_username),this.email=o.email||"",this.idTokenEmail=o.id_token_email||"",this.sharingId=o.sharing_id||"",this.publish(new So)}whenAuthenticated(){return k.isAuthenticated?Promise.resolve():new Promise(o=>this.subscribe(So,()=>{this.isAuthenticated&&o()}))}},k=new U0;function N2(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(o=>{let n=o.getAttribute("data-profile-property"),r=t.profileUrl;o instanceof HTMLImageElement&&n==="avatarUrl"?(o.onerror=()=>o.src=mn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLImageElement&&n==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||mn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLAnchorElement&&n==="profileUrl"?(o.href=co("me","activity"),r==="#"&&(o.href=new URL("./register",gc()).toString())):o instanceof HTMLAnchorElement&&n==="bookmarksUrl"?(o.href=r+(R.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="collectionsUrl"?(o.href=r+(R.reviewFeatures?"§ion=collections":"collections"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="settingsUrl"?o.href=co("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=t[n]):n==="createdOn"?o.textContent=Kr(t[n]):o.textContent=t[n]})}function Sie(e,t){let o=gc(),n=new URLSearchParams(J.search);L("page_type")==="profile"&&(o.hash=J.hash),R.reviewFeatures&&(n.has("branch")&&o.searchParams.set("branch",n.get("branch")),n.has("themebranch")&&o.searchParams.set("themebranch",n.get("themebranch")),n.has("preview")&&o.searchParams.set("preview",n.get("preview")));let r=`./${e}/`;t&&(r+=`${t}/`);let s=new URL(r,o);return s.hash=o.hash,s.search=o.search,o=s,o}function gc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,J.origin);return new URL("./users/",t)}function qPe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===Jr)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function fe(e){return e.status===401&&k.setAnonymous(),e}var FPe={"https://review.learn.microsoft.com":{cloudShell:"https://ux.console.azure.com",ocvFeedback:"https://petrol-int.office.microsoft.com/v1/feedback",lists:"https://review.learn.microsoft.com/api/lists",achievements:"https://review.learn.microsoft.com/api/achievements",apiBrowser:"https://review.learn.microsoft.com/api/apibrowser"},"https://dev.learn.microsoft.com":{cloudShell:"https://ux-rc.console.azure.com",ocvFeedback:"https://petrol-int.office.microsoft.com/v1/feedback"},"https://developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://review.developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://dev.developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://localhost:3000":{cloudShell:"https://ux.console.azure.com"},"http://localhost:3000":{cloudShell:"https://ux.console.azure.com"},"https://ppe.preview.learn.microsoft-int.com":{pdf:"https://review.learn.microsoft.com/pdf"}},OPe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function UPe(e,t){let o=e,n=t.systemContent?e:o,r=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",s=FPe[e]||{},a=OPe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:HPe(),apiBrowser:`${o}/api/apibrowser`,assessments:`${n}/api/assessments`,assessmentsAuthoring:`${n}/api/assessments/authoring`,learnAssessment:`${n}/api/assessment`,assessmentsBranch:"https://review.learn.microsoft.com/api/assessments/branches",attachment:`${o}/api/attachments`,azureManagement:"https://management.azure.com",auth:{docs:`${o}/api/profiles/auth`,identityPlatform:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",signOut:`${o}/api/profiles/signout`,partner:`${o}/api/profiles/partnerAuth/authorize`},blogs:`${o}/api/archives/blogs/comments`,browse:{certification:`${o}/api/contentbrowser/search/certifications`,credential:`${o}/api/contentbrowser/search/credentials`,course:`${o}/api/contentbrowser/search/certifications/courses`,events:`${o}/api/contentbrowser/search/events`,learn:`${o}/api/contentbrowser/search`,learnHome:`${o}/api/contentbrowser/home/learn`,learnHomePersonalized:`${o}/api/contentbrowser/home/personalized/learn`,sample:`${o}/api/contentbrowser/search/samples`,lifecycle:`${o}/api/contentbrowser/search/lifecycles`,architecture:`${o}/api/contentbrowser/search/architectures`,windowsSafeguards:`${o}/api/contentbrowser/search/windowsSafeguards`,shows:`${o}/api/contentbrowser/search/shows`},buildAuthAdmin:`${o}/api/build`,prDevBuildAuthAdmin:"https://docs-buildauth-locdev-wus.azurewebsites.net",certification:{appointments:`${o}/api/certification/appointments`,certification:`${o}/api/certification`,certifications:`${o}/api/certification/certifications`,dashboardSummary:`${o}/api/certification/dashboardsummary`,exams:`${o}/api/certification/exams`,linkedAccount:`${o}/api/certification/linkedAccount`,linkedMcId:`${o}/api/certification/linkedMcId`,printableCertification:`${o}/api/certification/printableCertification`,pvuetransfer:`${o}/api/certification/pvuetransfer`,renewalAssessments:`${o}/api/certification/scoredsnapshots`},cloudShell:"https://ux.console.azure.com",contentNav:e,contentOrigin:n,contentAuthorizationService:{setCasTokenCookie:`${o}/api/cas/user/token`,deleteCasTokenCookie:`${o}/api/cas/user/signout`},copilot:{chatAssistant:`${o}/api/copilot/chat/assistant?responseFormat=Markdown&preview=citations`,summarize:`${o}/api/copilot/content/summarize`,chatPlanGeneration:`${o}/api/copilot/chat/plangeneration`},encryptCaptchaPayload:`${o}/api/resources/captcha/encrypt`,forumSearch:{azureKbQuestionSuggestions:`${o}/api/questions/azurekb/searchMSDNThreads/v1.0`},achievements:`${o}/api/achievements`,github:"https://api.github.com",githubOAuth:"https://github.com/login/oauth/authorize",labOnDemand:`${o}/api/resources/labondemand`,learn:{achievementsByUids:`${o}/api/hierarchy/achievements`,batchItemSummaries:`${o}/api/hierarchy/items`,certification:`${o}/api/hierarchy/certification`,challenge:`${o}/api/challenges`,episode:`${o}/api/video/public/v1/entries`,exams:`${o}/api/hierarchy/exams`,iltCourses:{scheduling:`${r}/ilt-scheduling/offerings`,location:`${r}/ilt-scheduling/offerings/location`,languages:`${r}/ilt-scheduling/languages`,duration:`${r}/ilt-scheduling/duration`},learningPath:`${o}/api/hierarchy/paths`,module:`${o}/api/hierarchy/modules`,unit:`${o}/api/hierarchy/units`,progress:{batchUnit:`${o}/api/progress/units`,learningPathPass:`${o}/api/progress/learningPathPass`,moduleAssessment:`${o}/api/progress/moduleAssessment`,unit:`${o}/api/progress/units`,user:`${o}/api/progress`},show:{episodes:`${o}/api/hierarchy/shows`,videos:`${o}/api/video/public/v1/entries/batch`},skillAssessment:`${o}/api/skillassessment`,stayCurrent:`${o}/api/certification`,...a},lists:`${o}/api/lists`,metadata:{platformId:`${o}/api/mms/document/platformId`,metadata:`${o}/api/mms/document/`,schema:`${o}/api/mms/contentTypes/`},monikers:`${n}/_api/familyTrees`,nextSteps:`${o}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${n}/api/privacy/delete`,partialDelete:`${n}/api/privacy/partialdelete`,export:`${n}/api/privacy/export`},profile:{acknowledgeMergeStatus:`${o}/api/profiles/merge/acknowledge`,acknowledgePrivacyNotice:`${o}/api/profiles/me/acknowledgePrivacyNotice`,avatar:`${o}/api/profiles/me/avatar`,avert:`${o}/api/profiles/avert`,certification:`${o}/api/profiles/certification/certifications`,credential:{private:`${o}/api/credentials/credential`,public:`${o}/api/credentials/{credentialId}`,list:`${o}/api/credentials/me`},challenge:`${o}/api/profiles/challenge`,groups:{users:`${o}/api/profiles/groups/{groupId}/users`,manage:`${o}/api/profiles/groups/{groupId}/users/{userId}`},deleteMecUserData:`${o}/api/profiles/mec/delete`,follow:`${o}/api/profiles/follow/{type}/{id}`,unfollow:`${o}/api/profiles/unfollow/{type}/{id}`,follows:`${o}/api/profiles/follows`,followsIds:`${o}/api/profiles/follows/ids`,userFollows:`${o}/api/profiles/userfollows/{userId}`,link:`${o}/api/profiles/link`,me:`${o}/api/profiles/me`,merge:`${o}/api/profiles/merge`,mergeDetails:`${o}/api/profiles/merge/details`,user:`${o}/api/profiles/{username}`,userRetryMerge:`${o}/api/profiles/merge/userretry`,userCancelMerge:`${o}/api/profiles/merge/usercancel`,migrateMecUserData:`${o}/api/profiles/mec/migrate`,profiles:`${o}/api/profiles`,qnaFollowing:`${o}/api/qna/following`,reporting:`${o}/api/profiles/reporting`,validateMerge:`${o}/api/profiles/merge/validate`,transcript:{private:`${o}/api/profiles/transcript/me`,public:`${o}/api/profiles/transcript/share`,settings:{publicLink:`${o}/api/profiles/transcript/share`,transcript:`${o}/api/profiles/transcript/me/settings`}},activeTakedowns:`${o}/api/profiles/takedown/active`,reportStatus:`${o}/api/profiles/report/status/{userId}`,reportConcern:`${o}/api/profiles/report/concern`,contributorEngagement:`${o}/api/profiles/contributor/engagement`},qna:{communication:{getToken:`${o}/api/questions/user/communication_token`,createJoinThread:`${o}/api/questions/admin/private_conversation/{questionId}`,render:`${o}/api/questions/markdown-to-html`,chatMessage:`${wie()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${wie()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},analyticsSummary:`${o}/api/questions/dashboard/metrics`,analyticsQuestions:`${o}/api/questions/answered`,questionAnswerCommentVote:`${o}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${o}/api/questions/comments/{commentId}/vote`,questionDetails:`${o}/api/questions/{questionId}/details`,questionAiAnswer:{generate:`${o}/api/questions/{questionId}/aiAnswer`,reject:`${o}/api/questions/aiAnswers/{answerId}/delete`},questionAutoTagging:{generate:`${o}/api/questions/autotagging`},threadHistory:`${o}/api/questions/admin/questions/{questionId}/history`,questionVote:`${o}/api/questions/{questionId}/vote`,rateAnswerHelpful:`${o}/api/questions/answers/{answerId}/helpful/yes?_method=PUT`,rateAnswerUnhelpful:`${o}/api/questions/answers/{answerId}/helpful/no?_method=PUT`,rateAnswerReset:`${o}/api/questions/answers/{answerId}/helpful/notSet?_method=PUT`,suspended:`${o}/api/questions/users/suspended`,tags:`${o}/api/questions/tags/autocomplete`,tagsNextLevelV2:`${o}/api/questions/tags/nextlevelv2`,admin:{suspend:`${o}/api/questions/admin/users/{userId}/suspend`,unsuspend:`${o}/api/questions/admin/users/{userId}/unsuspend`,suspended:`${o}/api/questions/admin/users/{userId}/suspended`,blockedcontent:`${o}/api/questions/admin/blockedcontent`,updateBlockedContent:`${o}/api/questions/admin/blockedcontent/{contentId}`,deleteAllUserContent:`${o}/api/questions/admin/users/{userId}/deleteAllUserContent`}},qnaSettings:`${o}/en-us/answers/users/{qnaId}/{username}/preferences.html`,recommendations:`${o}/api/recommendations`,sandbox:`${o}/api/resources/sandbox`,sandboxManager:`${o}/api/resources/admin`,siteFeedback:`${o}/api/feedback/report`,siteSearch:`${e}/api/search`,searchAnswer:{user:`${o}/api/aisearch/answers/user/html`,guest:`${o}/api/aisearch/answers/guest/html`},deepSearch:`${o}/api/aisearch/deepsearch/stream`,taxonomy:`${o}/api/taxonomies`,tenantManager:`${o}/api/resources/tenant`,uhf:{consentBanner:`${o}/api/GetConsentBanner`},video:`${o}/api/admin`,...s}}function HPe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function wie(){return R.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var q=UPe(location.origin,R);var zPe=30*1e3,M=async(e,t,o=zPe,n)=>{t=t||{};let r=new AbortController,s=()=>r.abort();n?.addEventListener("abort",s),t.signal=r.signal;try{let a=setTimeout(()=>r.abort(),o),i=await fetch(e,t);return clearTimeout(a),i}finally{n?.removeEventListener("abort",s)}};function K(e,t,o=!0,n=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let r=new Request(e,t);return o&&In()&&r.headers.set("Authorization",`Bearer ${In()}`),(r.method==="PUT"||r.method==="POST")&&n&&r.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),r}var Qy=class{};function q2(e){let t={method:"GET"},o=K(q.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),M(o).then(n=>{if(n.ok)return n.text();throw n.status===404||n.status===204?new Qy:n.status===401?new nl({detail:"token not accepted"}):new Error(`get docs auth token failed (${n.status} ${n.statusText})`)})}function ih(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let n=Yp(o);q0(o),t&&k.readUserFromToken(n)}}return e}catch{return e}}function pt(e=["api-branch","branch"],t=""){if(R.accessLevel==="local")return"main";if(R.reviewFeatures===!0){let o=te(J.search);return e.reduce((n,r)=>n||o[r],"")||t}return null}var Oe=class extends Error{constructor(t,o){super(`Unexpected response status ${t?.status??""}: ${t?.statusText??""} from "${t?.url??""} with error type of ${o}".`),this.status=t?.status,this.statusText=t?.statusText,this.url=t?.url,this.type=o,this.response=t,R.reviewFeatures&&console.error(this)}};async function Wp(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function z0(e){if(!Array.isArray(e))throw new Oe({statusText:"Value must be an array"},"InvalidTypeError");return e}function lh(e,t){let o=t.filter(n=>e[n]===null||e[n]===void 0);if(o.length>0)throw new Oe({statusText:`Missing required fields in object: ${o.join(", ")}`},"MissingRequiredApiAttribute");return e}function Cie(e,t){throw new Oe({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function F2(e){let t;try{t=parseInt(e)}catch{Cie(e,"number")}return isNaN(t)&&Cie(e,"number"),t}function Ud(e,t,o=!0,n="applicationhttps://www.microsoft.com/json",r="",s=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let a=new Request(e,t);return o&&a.headers.set("Authorization",`Bearer ${r||In()}`),(a.method==="PUT"||a.method==="POST")&&s&&n!=="multipart/form-data"&&a.headers.set("Content-Type",n),a}async function fc(e){let t=`${q.profile.profiles}/${e}`,n=await M(Ud(t,{method:"GET"},!1));return fe(n),n.ok?await n.json():(n.status===204,null)}async function O2(e){if(!e)return null;if(e===vie)return{displayName:Hr,userId:e,avatarUrl:mn(Hr,e)};let t=`${q.profile.profiles}/id:${e}`,n=await M(Ud(t,{method:"GET"},!1));return fe(n),n.ok?await n.json():(n.status===204,null)}async function Yy(e){try{let t=await fetch(Ud(q.profile.me,{method:"GET"},!0,"applicationhttps://www.microsoft.com/json",e));return t.ok&&t.status!==204?await t.json():null}catch{return null}}async function Eie(){let e=q.privacy.delete,o=await M(Ud(e,{credentials:"include",method:"POST"},!0,"","",!1));return fe(o),o.ok}async function Aie(){let e=q.profile.acknowledgePrivacyNotice,o=await M(Ud(e,{method:"POST"}));if(fe(o),ih(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function U2(){let e=q.profile.merge,o=await M(Ud(e,{method:"GET"}));if(fe(o),o.ok){let{status:n}=await o.json();return n}return null}async function kie(){let e=q.profile.mergeDetails,o=await M(Ud(e,{method:"GET"}));return fe(o),o.ok?await o.json():null}async function Iie(){let e=q.profile.acknowledgeMergeStatus,o=await M(Ud(e,{method:"POST"}));if(fe(o),ih(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}var BPe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function Pie(e){return e?BPe.some(t=>e.toLowerCase().startsWith(t)):!1}function Zr(e="",t=`${J.origin}${J.pathname}`){let o=e?new URL(e,J.href):new URL(t);if(o.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(J.origin);if(o.protocol==="https:"&&(o.hostname===J.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com")||Pie(o.href))return o;let n=`${J.origin}${J.pathname}`;return t===n?new URL(`${o.pathname}${o.search}${o.hash}`,`${J.origin}`):Zr(t)}var fo={};Do(fo,{addApplicationTelemetry:()=>dx,addAuthorizationCode:()=>HF,addBrokerParameters:()=>vc,addCcsOid:()=>bc,addCcsUpn:()=>Bd,addClaims:()=>rm,addCliData:()=>VF,addClientAssertion:()=>mx,addClientAssertionType:()=>gx,addClientCapabilitiesToClaims:()=>$ie,addClientId:()=>om,addClientInfo:()=>am,addClientSecret:()=>px,addCodeChallengeParams:()=>WLe,addCodeVerifier:()=>BF,addCorrelationId:()=>sm,addDeviceCode:()=>KLe,addDomainHint:()=>FF,addEARParameters:()=>tRe,addExtraParameters:()=>_c,addGrantType:()=>fx,addIdTokenHint:()=>qF,addInstanceAware:()=>hx,addLibraryInfo:()=>cx,addLoginHint:()=>vh,addLogoutHint:()=>GF,addNativeBroker:()=>YLe,addNonce:()=>UF,addOboAssertion:()=>JLe,addPassword:()=>eRe,addPopToken:()=>bx,addPostLogoutRedirectUri:()=>NF,addPrompt:()=>OF,addRedirectUri:()=>nm,addRefreshToken:()=>zF,addRequestTokenUse:()=>ZLe,addResource:()=>xx,addResponseMode:()=>$F,addResponseType:()=>QLe,addScopes:()=>tm,addServerTelemetry:()=>vx,addSid:()=>pk,addSshJwk:()=>_x,addState:()=>ux,addThrottling:()=>yx,addUsername:()=>XLe,instrumentBrokerParams:()=>em});var Le={};Do(Le,{AADAuthority:()=>ci,AAD_INSTANCE_DISCOVERY_ENDPT:()=>G2,AAD_TENANT_DOMAIN_SUFFIX:()=>j2,ADFS:()=>B2,APP_METADATA:()=>mh,AUTHORITY_METADATA_CACHE_KEY:()=>gh,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>lq,AUTHORIZATION_PENDING:()=>QPe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>K2,AuthenticationScheme:()=>wo,AuthorityMetadataSource:()=>Rs,CACHE_ACCOUNT_TYPE_ADFS:()=>aq,CACHE_ACCOUNT_TYPE_GENERIC:()=>W0,CACHE_ACCOUNT_TYPE_MSAV1:()=>mLe,CACHE_ACCOUNT_TYPE_MSSTS:()=>sq,CACHE_KEY_SEPARATOR:()=>Jp,CIAM_AUTH_URL:()=>B0,CLIENT_INFO:()=>iq,CLIENT_INFO_SEPARATOR:()=>ph,CLIENT_MISMATCH_ERROR:()=>_q,CODE_GRANT_TYPE:()=>GPe,CONSUMER_UTID:()=>VPe,CacheOutcome:()=>di,CacheType:()=>gLe,ClaimsRequestKeys:()=>uh,CodeChallengeMethodValues:()=>uLe,CredentialType:()=>gn,DEFAULT_AUTHORITY:()=>Lie,DEFAULT_AUTHORITY_HOST:()=>z2,DEFAULT_COMMON_TENANT:()=>Wy,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>fq,DEFAULT_THROTTLE_TIME_SECONDS:()=>gq,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>yq,DSTS:()=>V2,EMAIL_SCOPE:()=>Die,EncodingTypes:()=>bLe,FORWARD_SLASH:()=>ch,GrantType:()=>Zy,HTTP_BAD_REQUEST:()=>Q0,HTTP_CLIENT_ERROR:()=>XPe,HTTP_CLIENT_ERROR_RANGE_END:()=>tq,HTTP_CLIENT_ERROR_RANGE_START:()=>eq,HTTP_GATEWAY_TIMEOUT:()=>iLe,HTTP_GONE:()=>nLe,HTTP_MULTI_SIDED_ERROR:()=>lLe,HTTP_NOT_FOUND:()=>tLe,HTTP_REDIRECT:()=>ZPe,HTTP_REQUEST_TIMEOUT:()=>oLe,HTTP_SERVER_ERROR:()=>sLe,HTTP_SERVER_ERROR_RANGE_END:()=>nq,HTTP_SERVER_ERROR_RANGE_START:()=>oq,HTTP_SERVICE_UNAVAILABLE:()=>aLe,HTTP_SUCCESS:()=>j0,HTTP_SUCCESS_RANGE_END:()=>JPe,HTTP_SUCCESS_RANGE_START:()=>KPe,HTTP_TOO_MANY_REQUESTS:()=>rLe,HTTP_UNAUTHORIZED:()=>eLe,HeaderNames:()=>Bo,HttpMethod:()=>cLe,IMDS_ENDPOINT:()=>G0,IMDS_TIMEOUT:()=>W2,IMDS_VERSION:()=>Y2,INVALID_GRANT_ERROR:()=>bq,INVALID_INSTANCE:()=>X2,JsonWebTokenTypes:()=>vq,KNOWN_PUBLIC_CLOUDS:()=>Z2,NOT_APPLICABLE:()=>YPe,NOT_AVAILABLE:()=>Kp,OAuthResponseType:()=>pLe,OFFLINE_ACCESS_SCOPE:()=>V0,OIDC_DEFAULT_SCOPES:()=>dh,OIDC_SCOPES:()=>Y0,ONE_DAY_IN_MS:()=>hLe,OPENID_SCOPE:()=>Rie,PROFILE_SCOPE:()=>Mie,PasswordGrantConstants:()=>Z0,PersistentCacheKeys:()=>dLe,PromptValue:()=>Jy,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>J2,RESOURCE_DELIM:()=>Ky,RegionDiscoveryOutcomes:()=>tx,RegionDiscoverySources:()=>zd,ResponseMode:()=>rq,S256_CODE_CHALLENGE_METHOD:()=>jPe,SERVER_TELEM_CACHE_KEY:()=>Xy,SERVER_TELEM_CATEGORY_SEPARATOR:()=>J0,SERVER_TELEM_MAX_CACHED_ERRORS:()=>dq,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>fLe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>cq,SERVER_TELEM_OVERFLOW_FALSE:()=>pq,SERVER_TELEM_OVERFLOW_TRUE:()=>uq,SERVER_TELEM_SCHEMA_VERSION:()=>K0,SERVER_TELEM_UNKNOWN_ERROR:()=>mq,SERVER_TELEM_VALUE_SEPARATOR:()=>Hd,SHR_NONCE_VALIDITY:()=>WPe,SKU:()=>H2,THE_FAMILY_ID:()=>Zp,THROTTLING_PREFIX:()=>ex,URL_FORM_CONTENT_TYPE:()=>Q2,X_MS_LIB_CAPABILITY_VALUE:()=>hq});var H2="msal.js.common",Lie="https://login.microsoftonline.com/common/",z2="login.microsoftonline.com",Wy="common",B2="adfs",V2="dstsv2",G2=`${Lie}discovery/instance?api-version=1.1&authorization_endpoint=`,B0=".ciamlogin.com",j2=".onmicrosoft.com",Ky="|",VPe="9188040d-6c67-4c5b-b112-36a304b66dad",Rie="openid",Mie="profile",V0="offline_access",Die="email",GPe="authorization_code",jPe="S256",Q2="application/x-www-form-urlencoded;charset=utf-8",QPe="authorization_pending",YPe="N/A",Kp="Not Available",ch="/",G0="http://169.254.169.254/metadata/instance/compute/location",Y2="2020-06-01",W2=2e3,K2="TryAutoDetect",J2="login.microsoft.com",Z2=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],WPe=240,X2="invalid_instance",j0=200,KPe=200,JPe=299,ZPe=302,XPe=400,eq=400,Q0=400,eLe=401,tLe=404,oLe=408,nLe=410,rLe=429,tq=499,sLe=500,oq=500,aLe=503,iLe=504,nq=599,lLe=600,cLe={GET:"GET",POST:"POST"},dh=[Rie,Mie,V0],Y0=[...dh,Die],Bo={CONTENT_TYPE:"Content-Type",CONTENT_LENGTH:"Content-Length",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},dLe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ci={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},uh={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},Jy={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},uLe={PLAIN:"plain",S256:"S256"},pLe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},rq={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},Zy={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},sq="MSSTS",aq="ADFS",mLe="MSA",W0="Generic",Jp="-",ph=".",gn={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},gLe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},mh="appmetadata",iq="client_info",Zp="1",gh="authority-metadata",lq=3600*24,Rs={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},K0=5,fLe=80,cq=330,dq=50,Xy="server-telemetry",J0="|",Hd=",",uq="1",pq="0",mq="unknown_error",wo={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},gq=60,fq=3600,ex="throttling",hq="retry-after, h429",bq="invalid_grant",_q="client_mismatch",Z0={username:"username",password:"password"},zd={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},tx={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},di={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},vq={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},hLe=864e5,yq=300,bLe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var hc={};Do(hc,{ACCESS_TOKEN:()=>yLe,BROKER_CLIENT_ID:()=>ox,BROKER_REDIRECT_URI:()=>nk,CCS_HEADER:()=>kLe,CLAIMS:()=>wq,CLIENT_ASSERTION:()=>Yq,CLIENT_ASSERTION_TYPE:()=>Wq,CLIENT_ID:()=>rl,CLIENT_INFO:()=>CLe,CLIENT_REQUEST_ID:()=>Dq,CLIENT_SECRET:()=>Qq,CLI_DATA:()=>aF,CODE:()=>Pq,CODE_CHALLENGE:()=>Lq,CODE_CHALLENGE_METHOD:()=>Rq,CODE_VERIFIER:()=>Mq,DEVICE_CODE:()=>jq,DOMAIN_HINT:()=>oF,EAR_JWE_CRYPTO:()=>rF,EAR_JWK:()=>nF,ERROR:()=>_Le,ERROR_DESCRIPTION:()=>vLe,EXPIRES_IN:()=>TLe,FOCI:()=>ALe,GRANT_TYPE:()=>Sq,ID_TOKEN:()=>xLe,ID_TOKEN_HINT:()=>Gq,INSTANCE_AWARE:()=>fh,LOGIN_HINT:()=>tF,LOGOUT_HINT:()=>Xq,NATIVE_BROKER:()=>Zq,NONCE:()=>kq,OBO_ASSERTION:()=>Kq,ON_BEHALF_OF:()=>ELe,POST_LOGOUT_URI:()=>Vq,PROMPT:()=>Iq,REDIRECT_URI:()=>X0,REFRESH_TOKEN:()=>Eq,REFRESH_TOKEN_EXPIRES_IN:()=>SLe,REQUESTED_TOKEN_USE:()=>Jq,REQ_CNF:()=>tk,RESOURCE:()=>sF,RESPONSE_MODE:()=>Tq,RESPONSE_TYPE:()=>xq,RETURN_SPA_CODE:()=>ok,SCOPE:()=>Cq,SESSION_STATE:()=>wLe,SID:()=>eF,STATE:()=>Aq,TOKEN_TYPE:()=>ek,X_APP_NAME:()=>zq,X_APP_VER:()=>Bq,X_CLIENT_CPU:()=>Fq,X_CLIENT_CURR_TELEM:()=>Oq,X_CLIENT_EXTRA_SKU:()=>ILe,X_CLIENT_LAST_TELEM:()=>Uq,X_CLIENT_OS:()=>qq,X_CLIENT_SKU:()=>$q,X_CLIENT_VER:()=>Nq,X_MS_LIB_CAPABILITY:()=>Hq});var rl="client_id",X0="redirect_uri",xq="response_type",Tq="response_mode",Sq="grant_type",wq="claims",Cq="scope",_Le="error",vLe="error_description",yLe="access_token",xLe="id_token",Eq="refresh_token",TLe="expires_in",SLe="refresh_token_expires_in",Aq="state",kq="nonce",Iq="prompt",wLe="session_state",CLe="client_info",Pq="code",Lq="code_challenge",Rq="code_challenge_method",Mq="code_verifier",Dq="client-request-id",$q="x-client-SKU",Nq="x-client-VER",qq="x-client-OS",Fq="x-client-CPU",Oq="x-client-current-telemetry",Uq="x-client-last-telemetry",Hq="x-ms-lib-capability",zq="x-app-name",Bq="x-app-ver",Vq="post_logout_redirect_uri",Gq="id_token_hint",jq="device_code",Qq="client_secret",Yq="client_assertion",Wq="client_assertion_type",ek="token_type",tk="req_cnf",Kq="assertion",Jq="requested_token_use",ELe="on_behalf_of",ALe="foci",kLe="X-AnchorMailbox",ok="return_spa_code",Zq="nativebroker",Xq="logout_hint",eF="sid",tF="login_hint",oF="domain_hint",ILe="x-client-xtra-sku",ox="brk_client_id",nk="brk_redirect_uri",fh="instance_aware",nF="ear_jwk",rF="ear_jwe_crypto",sF="resource",aF="clidata";function rk(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var ot=class e extends Error{constructor(t,o,n){let r=o||(t?rk(t):""),s=r?`${t}: ${r}`:t;super(s),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=r||"",this.subError=n||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function hh(e,t){return new ot(e,t||rk(e))}var nx=class e extends ot{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Lt(e){return new nx(e)}var qo=class{static isEmptyObj(t){if(t)try{let o=JSON.parse(t);return Object.keys(o).length===0}catch{}return!0}static startsWith(t,o){return t.indexOf(o)===0}static endsWith(t,o){return t.length>=o.length&&t.lastIndexOf(o)===t.length-o.length}static queryStringToObject(t){let o={},n=t.split("&"),r=s=>decodeURIComponent(s.replace(/\+/g," "));return n.forEach(s=>{if(s.trim()){let[a,i]=s.split(/=(.+)/g,2);a&&i&&(o[r(a)]=r(i))}}),o}static trimArrayEntries(t){return t.map(o=>o.trim())}static removeEmptyStringsFromArray(t){return t.filter(o=>!!o)}static jsonParseHelper(t){try{return JSON.parse(t)}catch{return null}}};var rx=class e extends ot{constructor(t,o){super(t,o),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function Z(e,t){return new rx(e,t)}var Xr={};Do(Xr,{authorityMismatch:()=>qLe,authorityUriInsecure:()=>lF,cannotAllowPlatformBroker:()=>NLe,cannotSetOIDCOptions:()=>$Le,claimsRequestParsingError:()=>PLe,emptyInputScopesError:()=>dF,invalidAuthenticationHeader:()=>DLe,invalidAuthorityMetadata:()=>gF,invalidClaims:()=>sk,invalidCloudDiscoveryMetadata:()=>ak,invalidCodeChallengeMethod:()=>LLe,invalidRequestMethodForEAR:()=>FLe,logoutRequestEmpty:()=>pF,missingNonceAuthenticationHeader:()=>MLe,missingSshJwk:()=>sx,missingSshKid:()=>RLe,pkceParamsMissing:()=>mF,redirectUriEmpty:()=>iF,tokenRequestEmpty:()=>uF,untrustedAuthority:()=>fF,urlEmptyError:()=>cF,urlParseError:()=>bh});var iF="redirect_uri_empty",PLe="claims_request_parsing_error",lF="authority_uri_insecure",bh="url_parse_error",cF="empty_url_error",dF="empty_input_scopes_error",sk="invalid_claims",uF="token_request_empty",pF="logout_request_empty",LLe="invalid_code_challenge_method",mF="pkce_params_missing",ak="invalid_cloud_discovery_metadata",gF="invalid_authority_metadata",fF="untrusted_authority",sx="missing_ssh_jwk",RLe="missing_ssh_kid",MLe="missing_nonce_authentication_header",DLe="invalid_authentication_header",$Le="cannot_set_OIDCOptions",NLe="cannot_allow_platform_broker",qLe="authority_mismatch",FLe="invalid_request_method_for_EAR";var fn={};Do(fn,{authTimeNotFound:()=>ax,authorizationCodeMissingFromServerResponse:()=>PF,bindingKeyNotRemoved:()=>zLe,cannotAppendScopeSet:()=>AF,cannotRemoveEmptyScope:()=>EF,clientInfoDecodingError:()=>ik,clientInfoEmptyError:()=>hF,emptyInputScopeSet:()=>dk,endSessionEndpointNotSupported:()=>LF,endpointResolutionError:()=>ui,hashNotDeserialized:()=>yF,invalidCacheEnvironment:()=>lx,invalidCacheRecord:()=>kF,invalidState:()=>Xp,keyIdMissing:()=>RF,maxAgeTranspired:()=>SF,methodNotImplemented:()=>_t,misplacedResourceParam:()=>DF,multipleMatchingAppMetadata:()=>wF,multipleMatchingTokens:()=>OLe,nestedAppAuthBridgeDisabled:()=>GLe,networkError:()=>_F,noAccountFound:()=>ULe,noAccountInSilentRequest:()=>ix,noCryptoObject:()=>uk,noNetworkConnectivity:()=>BLe,nonceMismatch:()=>TF,nullOrEmptyToken:()=>bF,openIdConfigError:()=>vF,platformBrokerError:()=>jLe,requestCannotBeMade:()=>CF,resourceParameterRequired:()=>MF,stateMismatch:()=>xF,stateNotFound:()=>ck,tokenClaimsCnfRequiredForSignedJwt:()=>IF,tokenParsingError:()=>lk,tokenRefreshRequired:()=>_h,unexpectedCredentialType:()=>HLe,userCanceled:()=>VLe});var ik="client_info_decoding_error",hF="client_info_empty_error",lk="token_parsing_error",bF="null_or_empty_token",ui="endpoints_resolution_error",_F="network_error",vF="openid_config_error",yF="hash_not_deserialized",Xp="invalid_state",xF="state_mismatch",ck="state_not_found",TF="nonce_mismatch",ax="auth_time_not_found",SF="max_age_transpired",OLe="multiple_matching_tokens",wF="multiple_matching_appMetadata",CF="request_cannot_be_made",EF="cannot_remove_empty_scope",AF="cannot_append_scopeset",dk="empty_input_scopeset",ix="no_account_in_silent_request",kF="invalid_cache_record",lx="invalid_cache_environment",ULe="no_account_found",uk="no_crypto_object",HLe="unexpected_credential_type",_h="token_refresh_required",IF="token_claims_cnf_required_for_signedjwt",PF="authorization_code_missing_from_server_response",zLe="binding_key_not_removed",LF="end_session_endpoint_not_supported",RF="key_id_missing",BLe="no_network_connectivity",VLe="user_canceled",_t="method_not_implemented",GLe="nested_app_auth_bridge_disabled",jLe="platform_broker_error",MF="resource_parameter_required",DF="misplaced_resource_parameter";var hn=class e{constructor(t){let o=t?qo.trimArrayEntries([...t]):[],n=o?qo.removeEmptyStringsFromArray(o):[];if(!n||!n.length)throw Lt(dF);this.scopes=new Set,n.forEach(r=>this.scopes.add(r))}static fromString(t){let n=(t||"").split(" ");return new e(n)}static createSearchScopes(t){let o=t&&t.length>0?t:[...dh],n=new e(o);return n.containsOnlyOIDCScopes()?n.removeScope(V0):n.removeOIDCScopes(),n}containsScope(t){let o=this.printScopesLowerCase().split(" "),n=new e(o);return t?n.scopes.has(t.toLowerCase()):!1}containsScopeSet(t){return!t||t.scopes.size<=0?!1:this.scopes.size>=t.scopes.size&&t.asArray().every(o=>this.containsScope(o))}containsOnlyOIDCScopes(){let t=0;return Y0.forEach(o=>{this.containsScope(o)&&(t+=1)}),this.scopes.size===t}appendScope(t){t&&this.scopes.add(t.trim())}appendScopes(t){try{t.forEach(o=>this.appendScope(o))}catch{throw Z(AF)}}removeScope(t){if(!t)throw Z(EF);this.scopes.delete(t.trim())}removeOIDCScopes(){Y0.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw Z(dk);let o=new Set;return t.scopes.forEach(n=>o.add(n.toLowerCase())),this.scopes.forEach(n=>o.add(n.toLowerCase())),o}intersectingScopeSets(t){if(!t)throw Z(dk);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let o=this.unionScopeSets(t),n=t.getScopeCount(),r=this.getScopeCount();return o.sizet.push(o)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function em(e,t,o){if(!t)return;let n=e.get(rl);n&&e.has(ox)&&o?.addFields({embeddedClientId:n,embeddedRedirectUri:e.get(X0)},t)}function QLe(e,t){e.set(xq,t)}function $F(e,t){e.set(Tq,t||rq.QUERY)}function YLe(e){e.set(Zq,"1")}function tm(e,t,o=!0,n=dh){o&&!n.includes("openid")&&!t.includes("openid")&&n.push("openid");let r=o?[...t||[],...n]:t||[],s=new hn(r);e.set(Cq,s.printScopes())}function om(e,t){e.set(rl,t)}function nm(e,t){e.set(X0,t)}function NF(e,t){e.set(Vq,t)}function qF(e,t){e.set(Gq,t)}function FF(e,t){e.set(oF,t)}function vh(e,t){e.set(tF,t)}function Bd(e,t){e.set(Bo.CCS_HEADER,`UPN:${t}`)}function bc(e,t){e.set(Bo.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function pk(e,t){e.set(eF,t)}function rm(e,t,o){let n=$ie(t,o);try{JSON.parse(n)}catch{throw Lt(sk)}e.set(wq,n)}function sm(e,t){e.set(Dq,t)}function cx(e,t){e.set($q,t.sku),e.set(Nq,t.version),t.os&&e.set(qq,t.os),t.cpu&&e.set(Fq,t.cpu)}function dx(e,t){t?.appName&&e.set(zq,t.appName),t?.appVersion&&e.set(Bq,t.appVersion)}function OF(e,t){e.set(Iq,t)}function ux(e,t){t&&e.set(Aq,t)}function UF(e,t){e.set(kq,t)}function WLe(e,t,o){if(t&&o)e.set(Lq,t),e.set(Rq,o);else throw Lt(mF)}function HF(e,t){e.set(Pq,t)}function KLe(e,t){e.set(jq,t)}function zF(e,t){e.set(Eq,t)}function BF(e,t){e.set(Mq,t)}function px(e,t){e.set(Qq,t)}function mx(e,t){t&&e.set(Yq,t)}function gx(e,t){t&&e.set(Wq,t)}function JLe(e,t){e.set(Kq,t)}function ZLe(e,t){e.set(Jq,t)}function fx(e,t){e.set(Sq,t)}function am(e){e.set(iq,"1")}function VF(e){e.set(aF,"1")}function hx(e){e.has(fh)||e.set(fh,"true")}function _c(e,t){Object.entries(t).forEach(([o,n])=>{!e.has(o)&&n&&e.set(o,n)})}function $ie(e,t){let o;if(!e)o={};else try{o=JSON.parse(e)}catch{throw Lt(sk)}return t&&t.length>0&&(o.hasOwnProperty(uh.ACCESS_TOKEN)||(o[uh.ACCESS_TOKEN]={}),o[uh.ACCESS_TOKEN][uh.XMS_CC]={values:t}),JSON.stringify(o)}function XLe(e,t){e.set(Z0.username,t)}function eRe(e,t){e.set(Z0.password,t)}function bx(e,t){t&&(e.set(ek,wo.POP),e.set(tk,t))}function _x(e,t){t&&(e.set(ek,wo.SSH),e.set(tk,t))}function vx(e,t){e.set(Oq,t.generateCurrentRequestHeaderValue()),e.set(Uq,t.generateLastRequestHeaderValue())}function yx(e){e.set(Hq,hq)}function GF(e,t){e.set(Xq,t)}function vc(e,t,o){e.has(ox)||e.set(ox,t),e.has(nk)||e.set(nk,o)}function tRe(e,t){e.set(nF,encodeURIComponent(t)),e.set(rF,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function xx(e,t){t&&e.set(sF,t)}var Ta={};Do(Ta,{getDeserializedResponse:()=>oRe,mapToQueryString:()=>sl,normalizeUrlForComparison:()=>nRe,stripLeadingHashOrQuery:()=>qie});function Nie(e){if(!e)return e;let t=e.toLowerCase();return qo.endsWith(t,"?")?t=t.slice(0,-1):qo.endsWith(t,"?/")&&(t=t.slice(0,-2)),qo.endsWith(t,"/")||(t+="/"),t}function qie(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function oRe(e){if(!e||e.indexOf("=")<0)return null;try{let t=qie(e),o=Object.fromEntries(new URLSearchParams(t));if(o.code||o.ear_jwe||o.error||o.error_description||o.state)return o}catch{throw Z(yF)}return null}function sl(e){let t=new Array;return e.forEach((o,n)=>{t.push(`${n}=${encodeURIComponent(o)}`)}),t.join("&")}function nRe(e){if(!e)return e;let t=e.split("#")[0];try{let o=new URL(t),n=o.origin+o.pathname+o.search;return Nie(n)}catch{return Nie(t)}}var Vd={createNewGuid:()=>{throw Z(_t)},base64Decode:()=>{throw Z(_t)},base64Encode:()=>{throw Z(_t)},base64UrlEncode:()=>{throw Z(_t)},encodeKid:()=>{throw Z(_t)},async getPublicKeyThumbprint(){throw Z(_t)},async removeTokenBindingKey(){throw Z(_t)},async clearKeystore(){throw Z(_t)},async signJwt(){throw Z(_t)},async hashString(){throw Z(_t)}};var Dt;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(Dt||(Dt={}));var rRe=50,sRe=500,im=new Map;function aRe(e,t){im.delete(e),im.set(e,t)}function iRe(e,t){let o=Date.now(),n=im.get(e);if(n)aRe(e,n);else if(n={logs:[],firstEventTime:o},im.set(e,n),im.size>rRe){let r=im.keys().next().value;r&&im.delete(r)}n.logs.push({...t,milliseconds:o-n.firstEventTime}),n.logs.length>sRe&&n.logs.shift()}function lRe(e){if(e.length!==6)return!1;for(let t=0;t="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"))return!1}return!0}var bn=class e{constructor(t,o,n){this.level=Dt.Info;let r=()=>{},s=t||e.createDefaultLoggerOptions();this.localCallback=s.loggerCallback||r,this.piiLoggingEnabled=s.piiLoggingEnabled||!1,this.level=typeof s.logLevel=="number"?s.logLevel:Dt.Info,this.packageName=o||"",this.packageVersion=n||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Dt.Info}}clone(t,o){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level},t,o)}logMessage(t,o){let n=o.correlationId;if(lRe(t)){let l={hash:t,level:o.logLevel,containsPii:o.containsPii||!1,milliseconds:0};iRe(n,l)}if(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)return;let i=`${`[${new Date().toUTCString()}] : [${n}]`} : ${this.packageName}@${this.packageVersion} : ${Dt[o.logLevel]} - ${t}`;this.executeCallback(o.logLevel,i,o.containsPii||!1)}executeCallback(t,o,n){this.localCallback&&this.localCallback(t,o,n)}error(t,o){this.logMessage(t,{logLevel:Dt.Error,containsPii:!1,correlationId:o})}errorPii(t,o){this.logMessage(t,{logLevel:Dt.Error,containsPii:!0,correlationId:o})}warning(t,o){this.logMessage(t,{logLevel:Dt.Warning,containsPii:!1,correlationId:o})}warningPii(t,o){this.logMessage(t,{logLevel:Dt.Warning,containsPii:!0,correlationId:o})}info(t,o){this.logMessage(t,{logLevel:Dt.Info,containsPii:!1,correlationId:o})}infoPii(t,o){this.logMessage(t,{logLevel:Dt.Info,containsPii:!0,correlationId:o})}verbose(t,o){this.logMessage(t,{logLevel:Dt.Verbose,containsPii:!1,correlationId:o})}verbosePii(t,o){this.logMessage(t,{logLevel:Dt.Verbose,containsPii:!0,correlationId:o})}trace(t,o){this.logMessage(t,{logLevel:Dt.Trace,containsPii:!1,correlationId:o})}tracePii(t,o){this.logMessage(t,{logLevel:Dt.Trace,containsPii:!0,correlationId:o})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Gd="@azure/msal-common",al="16.4.1";var jd={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"};function jF(e,t){return!!e&&!!t&&e===t.split(".")[1]}function il(e,t,o,n){if(n){let{oid:r,sub:s,tid:a,name:i,tfp:l,acr:c,preferred_username:d,upn:p,login_hint:m}=n,g=a||l||c||"";return{tenantId:g,localAccountId:r||s||"",name:i,username:d||p||"",loginHint:m,isHomeTenant:jF(g,e)}}else return{tenantId:o,localAccountId:t,username:"",isHomeTenant:jF(o,e)}}function lm(e,t,o,n){let r=e;if(t){let{isHomeTenant:s,...a}=t;r={...e,...a}}if(o){let{isHomeTenant:s,...a}=il(e.homeAccountId,e.localAccountId,e.tenantId,o);return r={...r,...a,idTokenClaims:o,idToken:n},r}return r}var ur={};Do(ur,{checkMaxAge:()=>Tx,extractTokenClaims:()=>yc,getJWSPayload:()=>Fie,isKmsi:()=>QF});function yc(e,t){let o=Fie(e);try{let n=t(o);return JSON.parse(n)}catch{throw Z(lk)}}function QF(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(o=>t.includes(o.trim().toLowerCase()))}function Fie(e){if(!e)throw Z(bF);let o=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!o||o.length<4)throw Z(lk);return o[2]}function Tx(e,t){if(t===0||Date.now()-3e5>e+t)throw Z(SF)}var Tt=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Lt(cF);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let o=t.toLowerCase();return qo.endsWith(o,"?")?o=o.slice(0,-1):qo.endsWith(o,"?/")&&(o=o.slice(0,-2)),qo.endsWith(o,"/")||(o+="/"),o}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Lt(bh)}if(!t.HostNameAndPort||!t.PathSegments)throw Lt(bh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Lt(lF)}static appendQueryString(t,o){return o?t.indexOf("?")<0?`${t}?${o}`:`${t}&${o}`:t}static removeHashFromUrl(t){return e.canonicalizeUri(t.split("#")[0])}replaceTenantPath(t){let o=this.getUrlComponents(),n=o.PathSegments;return t&&n.length!==0&&(n[0]===ci.COMMON||n[0]===ci.ORGANIZATIONS)&&(n[0]=t),e.constructAuthorityUriFromObject(o)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Lt(bh);let n={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},r=n.AbsolutePath.split("/");return r=r.filter(s=>s&&s.length>0),n.PathSegments=r,n.QueryString&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n}static getDomainFromUrl(t){let o=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=t.match(o);if(!n)throw Lt(bh);return n[2]}static getAbsoluteUrl(t,o){if(t[0]===ch){let r=new e(o).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t}static constructAuthorityUriFromObject(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))}};var cRe=[{host:"login.microsoftonline.com"},{host:"login.chinacloudapi.cn",issuerHost:"login.partner.microsoftonline.cn"},{host:"login.microsoftonline.us"},{host:"login.sovcloud-identity.fr"},{host:"login.sovcloud-identity.de"},{host:"login.sovcloud-identity.sg"}];function dRe(e,t){return{token_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/token`,jwks_uri:`https://${e}/{tenantid}/discovery/v2.0/keys`,issuer:`https://${t}/{tenantid}/v2.0`,authorization_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/authorize`,end_session_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/logout`}}var uRe=cRe.reduce((e,{host:t,issuerHost:o})=>(e[t]=dRe(t,o||t),e),{}),Uie={endpointMetadata:uRe,instanceDiscoveryMetadata:{metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]},{preferred_network:"login.sovcloud-identity.fr",preferred_cache:"login.sovcloud-identity.fr",aliases:["login.sovcloud-identity.fr"]},{preferred_network:"login.sovcloud-identity.de",preferred_cache:"login.sovcloud-identity.de",aliases:["login.sovcloud-identity.de"]},{preferred_network:"login.sovcloud-identity.sg",preferred_cache:"login.sovcloud-identity.sg",aliases:["login.sovcloud-identity.sg"]}]}},YF=Uie.endpointMetadata,WF=Uie.instanceDiscoveryMetadata,KF=new Set;WF.metadata.forEach(e=>{e.aliases.forEach(t=>{KF.add(t)})});function Hie(e,t,o){let n,r=e.canonicalAuthority;if(r){let s=new Tt(r).getUrlComponents().HostNameAndPort;n=Oie(t,o,s,e.cloudDiscoveryMetadata?.metadata)||Oie(t,o,s,WF.metadata)||e.knownAuthorities}return n||[]}function Oie(e,t,o,n,r){if(e.trace("1bmquz",t),o&&n){let s=Sx(n,o);if(s)return e.trace("1fotbt",t),s.aliases;e.trace("14avvj",t)}return null}function zie(e){return Sx(WF.metadata,e)}function Sx(e,t){for(let o=0;oZF,cacheQuotaExceeded:()=>JF});var JF="cache_quota_exceeded",ZF="cache_error_unknown";var Qd=class e extends Error{constructor(t,o){let n=o||rk(t);super(n),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=n}};function yh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new Qd(JF):new Qd(e.name,e.message):new Qd(ZF)}var Sa={};Do(Sa,{createAccountEntity:()=>XF,createAccountEntityFromAccountInfo:()=>gRe,generateAccountId:()=>pRe,generateHomeAccountId:()=>eO,getAccountInfo:()=>Th,isAccountEntity:()=>fRe,isSingleTenant:()=>mRe});function xh(e,t){if(!e)throw Z(hF);try{let o=t(e);return JSON.parse(o)}catch{throw Z(ik)}}function ll(e){if(!e)throw Z(ik);let t=e.split(ph,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var Cr={Default:0,Adfs:1,Dsts:2,Ciam:3};function cm(e){return e&&(e.tid||e.tfp||e.acr)||null}var uo={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function pRe(e){return[e.homeAccountId,e.environment].join(Jp).toLowerCase()}function Th(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(il(e.homeAccountId,e.localAccountId,e.realm)),{homeAccountId:e.homeAccountId,environment:e.environment,tenantId:e.realm,username:e.username,localAccountId:e.localAccountId,loginHint:e.loginHint,name:e.name,nativeAccountId:e.nativeAccountId,authorityType:e.authorityType,tenantProfiles:new Map(t.map(o=>[o.tenantId,o])),dataBoundary:e.dataBoundary}}function mRe(e){return!e.tenantProfiles}function XF(e,t,o){let n;t.authorityType===Cr.Adfs?n=aq:t.protocolMode===uo.OIDC?n=W0:n=sq;let r,s;e.clientInfo&&o&&(r=xh(e.clientInfo,o),r.xms_tdbr&&(s=r.xms_tdbr==="EU"?"EU":"None"));let a=e.environment||t&&t.getPreferredCache();if(!a)throw Z(lx);let i=e.idTokenClaims?.preferred_username||e.idTokenClaims?.upn,l=e.idTokenClaims?.emails?e.idTokenClaims.emails[0]:null,c=i||l||"",d=e.idTokenClaims?.login_hint,p=r?.utid||cm(e.idTokenClaims)||"",m=r?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[il(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment:a,realm:p,localAccountId:m,username:c,authorityType:n,loginHint:d,clientInfo:e.clientInfo,name:e.idTokenClaims?.name||"",lastModificationTime:void 0,lastModificationApp:void 0,cloudGraphHostName:e.cloudGraphHostName,msGraphHost:e.msGraphHost,nativeAccountId:e.nativeAccountId,tenantProfiles:g,dataBoundary:s}}function gRe(e,t,o){let n=Array.from(e.tenantProfiles?.values()||[]);return n.length===0&&e.tenantId&&e.localAccountId&&n.push(il(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||W0,homeAccountId:e.homeAccountId,localAccountId:e.localAccountId,nativeAccountId:e.nativeAccountId,realm:e.tenantId,environment:e.environment,username:e.username,loginHint:e.loginHint,name:e.name,cloudGraphHostName:t,msGraphHost:o,tenantProfiles:n,dataBoundary:e.dataBoundary}}function eO(e,t,o,n,r,s){if(!(t===Cr.Adfs||t===Cr.Dsts)){if(e)try{let a=xh(e,n.base64Decode);if(a.uid&&a.utid)return`${a.uid}.${a.utid}`}catch{}o.warning("1ub6wv",r)}return s?.sub||""}function fRe(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var dm=class{constructor(t,o,n,r,s){this.clientId=t,this.cryptoImpl=o,this.commonLogger=n.clone(Gd,al),this.staticAuthorityOptions=s,this.performanceClient=r}getAllAccounts(t={},o){return this.buildTenantProfiles(this.getAccountsFilteredBy(t,o),o,t)}getAccountInfoFilteredBy(t,o){if(Object.keys(t).length===0||Object.values(t).every(r=>r==null||r===""))return this.commonLogger.warning("1skb02",o),null;let n=this.getAllAccounts(t,o);return n.length>1?n.sort(s=>s.idTokenClaims?-1:1)[0]:n.length===1?n[0]:null}getBaseAccountInfo(t,o){let n=this.getAccountsFilteredBy(t,o);return n.length>0?Th(n[0]):null}buildTenantProfiles(t,o,n){return t.flatMap(r=>this.getTenantProfilesFromAccountEntity(r,o,n?.tenantId,n))}getTenantedAccountInfoByFilter(t,o,n,r,s){let a=null,i;if(s&&!this.tenantProfileMatchesFilter(n,s))return null;let l=this.getIdToken(t,r,o,n.tenantId);return l&&(i=yc(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(i,s))?null:(a=lm(t,n,i,l?.secret),a)}getTenantProfilesFromAccountEntity(t,o,n,r){let s=Th(t),a=s.tenantProfiles||new Map,i=this.getTokenKeys();if(n){let c=a.get(n);if(c)a=new Map([[n,c]]);else return[]}let l=[];return a.forEach(c=>{let d=this.getTenantedAccountInfoByFilter(s,i,c,o,r);d&&l.push(d)}),l}tenantProfileMatchesFilter(t,o){return!(o.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(t,o.localAccountId)||o.name&&t.name!==o.name||o.isHomeTenant!==void 0&&t.isHomeTenant!==o.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(t,o){return!(o&&(o.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(t,o.localAccountId)||o.loginHint&&!this.matchLoginHintFromTokenClaims(t,o.loginHint)||o.username&&!this.matchUsername(t.preferred_username,o.username)||o.name&&!this.matchName(t,o.name)||o.sid&&!this.matchSid(t,o.sid)))}async saveCacheRecord(t,o,n,r,s){if(!t)throw Z(kF);try{t.account&&await this.setAccount(t.account,o,n,r),t.idToken&&s?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,o,n),t.accessToken&&s?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,o,n),t.refreshToken&&s?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,o,n),t.appMetadata&&this.setAppMetadata(t.appMetadata,o)}catch(a){throw this.commonLogger?.error("0j476p",o),a instanceof ot?a:yh(a)}}async saveAccessToken(t,o,n){let r={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},s=this.getTokenKeys(),a=hn.fromString(t.target);s.accessToken.forEach(i=>{if(!this.accessTokenKeyMatchesFilter(i,r,!1))return;let l=this.getAccessTokenCredential(i,o);l&&this.credentialMatchesFilter(l,r,o)&&hn.fromString(l.target).intersectingScopeSets(a)&&this.removeAccessToken(i,o)}),await this.setAccessTokenCredential(t,o,n)}getAccountsFilteredBy(t,o){let n=this.getAccountKeys(),r=[];return n.forEach(s=>{let a=this.getAccount(s,o);if(!a||t.homeAccountId&&!this.matchHomeAccountId(a,t.homeAccountId)||t.username&&!this.matchUsername(a.username,t.username)||t.environment&&!this.matchEnvironment(a,t.environment,o)||t.realm&&!this.matchRealm(a,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(a,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(a,t.authorityType))return;let i={localAccountId:t?.localAccountId,name:t?.name},l=a.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,i));l&&l.length===0||r.push(a)}),r}credentialMatchesFilter(t,o,n){return!(o.clientId&&!this.matchClientId(t,o.clientId)||o.userAssertionHash&&!this.matchUserAssertionHash(t,o.userAssertionHash)||typeof o.homeAccountId=="string"&&!this.matchHomeAccountId(t,o.homeAccountId)||o.environment&&!this.matchEnvironment(t,o.environment,n)||o.realm&&!this.matchRealm(t,o.realm)||o.credentialType&&!this.matchCredentialType(t,o.credentialType)||o.familyId&&!this.matchFamilyId(t,o.familyId)||o.target&&!this.matchTarget(t,o.target)||t.credentialType===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(o.tokenType&&!this.matchTokenType(t,o.tokenType)||o.tokenType===wo.SSH&&o.keyId&&!this.matchKeyId(t,o.keyId)))}getAppMetadataFilteredBy(t,o){let n=this.getKeys(),r={};return n.forEach(s=>{if(!this.isAppMetadata(s))return;let a=this.getAppMetadata(s,o);a&&(t.environment&&!this.matchEnvironment(a,t.environment,o)||t.clientId&&!this.matchClientId(a,t.clientId)||(r[s]=a))}),r}getAuthorityMetadataByAlias(t,o){let n=this.getAuthorityMetadataKeys(),r=null;return n.forEach(s=>{if(!this.isAuthorityMetadata(s)||s.indexOf(this.clientId)===-1)return;let a=this.getAuthorityMetadata(s,o);a&&a.aliases.indexOf(t)!==-1&&(r=a)}),r}removeAllAccounts(t){this.getAllAccounts({},t).forEach(n=>{this.removeAccount(n,t)})}removeAccount(t,o){this.removeAccountContext(t,o);let n=this.getAccountKeys(),r=s=>s.includes(t.homeAccountId)&&s.includes(t.environment);n.filter(r).forEach(s=>{this.removeItem(s,o),this.performanceClient.incrementFields({accountsRemoved:1},o)})}removeAccountContext(t,o){let n=this.getTokenKeys(),r=s=>s.includes(t.homeAccountId)&&s.includes(t.environment);n.idToken.filter(r).forEach(s=>{this.removeIdToken(s,o)}),n.accessToken.filter(r).forEach(s=>{this.removeAccessToken(s,o)}),n.refreshToken.filter(r).forEach(s=>{this.removeRefreshToken(s,o)})}removeAccessToken(t,o){let n=this.getAccessTokenCredential(t,o);if(n&&(this.removeItem(t,o),this.performanceClient.incrementFields({accessTokensRemoved:1},o),n.credentialType.toLowerCase()===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&n.tokenType===wo.POP)){let s=n.keyId;s&&this.cryptoImpl.removeTokenBindingKey(s,o).catch(()=>{this.commonLogger.error("0cx291",o),this.performanceClient?.incrementFields({removeTokenBindingKeyFailure:1},o)})}}removeAppMetadata(t){return this.getKeys().forEach(n=>{this.isAppMetadata(n)&&this.removeItem(n,t)}),!0}getIdToken(t,o,n,r){this.commonLogger.trace("1drz22",o);let s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:gn.ID_TOKEN,clientId:this.clientId,realm:r},a=this.getIdTokensByFilter(s,o,n),i=a.size;if(i<1)return this.commonLogger.info("1atvtd",o),null;if(i>1){let l=a;if(!r){let c=new Map;a.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let d=c.size;if(d<1)return this.commonLogger.info("0ooalx",o),a.values().next().value;if(d===1)return this.commonLogger.info("1eq2vc",o),c.values().next().value;l=c}return this.commonLogger.info("1ws328",o),l.forEach((c,d)=>{this.removeIdToken(d,o)}),this.performanceClient.addFields({multiMatchedID:a.size},o),null}return this.commonLogger.info("1sm769",o),a.values().next().value}getIdTokensByFilter(t,o,n){let r=n&&n.idToken||this.getTokenKeys().idToken,s=new Map;return r.forEach(a=>{if(!this.idTokenKeyMatchesFilter(a,{clientId:this.clientId,...t}))return;let i=this.getIdTokenCredential(a,o);i&&this.credentialMatchesFilter(i,t,o)&&s.set(a,i)}),s}idTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}removeIdToken(t,o){this.removeItem(t,o)}removeRefreshToken(t,o){this.removeItem(t,o)}getAccessToken(t,o,n,r){let s=o.correlationId;this.commonLogger.trace("1t7hz1",s);let a=hn.createSearchScopes(o.scopes),i=o.authenticationScheme||wo.BEARER,l=i&&i.toLowerCase()!==wo.BEARER.toLowerCase()?gn.ACCESS_TOKEN_WITH_AUTH_SCHEME:gn.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:r||t.tenantId,target:a,tokenType:i,keyId:o.sshKid},d=n&&n.accessToken||this.getTokenKeys().accessToken,p=[];d.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,s);f&&this.credentialMatchesFilter(f,c,s)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",s),null):m>1?(this.commonLogger.info("1wkfwp",s),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),s)}),this.performanceClient.addFields({multiMatchedAT:p.length},s),null):(this.commonLogger.info("06yt98",s),p[0])}accessTokenKeyMatchesFilter(t,o,n){let r=t.toLowerCase();if(o.clientId&&r.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&r.indexOf(o.homeAccountId.toLowerCase())===-1||o.realm&&r.indexOf(o.realm.toLowerCase())===-1)return!1;if(o.target){let s=o.target.asArray();for(let a=0;a{if(!this.accessTokenKeyMatchesFilter(s,t,!0))return;let a=this.getAccessTokenCredential(s,o);a&&this.credentialMatchesFilter(a,t,o)&&r.push(a)}),r}getRefreshToken(t,o,n,r){this.commonLogger.trace("0x53vi",n);let s=o?Zp:void 0,a={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:gn.REFRESH_TOKEN,clientId:this.clientId,familyId:s},i=r&&r.refreshToken||this.getTokenKeys().refreshToken,l=[];i.forEach(d=>{if(this.refreshTokenKeyMatchesFilter(d,a)){let p=this.getRefreshTokenCredential(d,n);p&&this.credentialMatchesFilter(p,a,n)&&l.push(p)}});let c=l.length;return c<1?(this.commonLogger.info("0dlw11",n),null):(c>1&&this.performanceClient.addFields({multiMatchedRT:c},n),this.commonLogger.info("0wcnep",n),l[0])}refreshTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.familyId&&n.indexOf(o.familyId.toLowerCase())===-1||!o.familyId&&o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}readAppMetadataFromCache(t,o){let n={environment:t,clientId:this.clientId},r=this.getAppMetadataFilteredBy(n,o),s=Object.keys(r).map(i=>r[i]),a=s.length;if(a<1)return null;if(a>1)throw Z(wF);return s[0]}isAppMetadataFOCI(t,o){let n=this.readAppMetadataFromCache(t,o);return!!(n&&n.familyId===Zp)}matchHomeAccountId(t,o){return typeof t.homeAccountId=="string"&&o===t.homeAccountId}matchLocalAccountIdFromTokenClaims(t,o){let n=t.oid||t.sub;return o===n}matchLocalAccountIdFromTenantProfile(t,o){return t.localAccountId===o}matchName(t,o){return o.toLowerCase()===t.name?.toLowerCase()}matchUsername(t,o){return!!(t&&typeof t=="string"&&o?.toLowerCase()===t.toLowerCase())}matchUserAssertionHash(t,o){return!!(t.userAssertionHash&&o===t.userAssertionHash)}matchEnvironment(t,o,n){if(this.staticAuthorityOptions){let s=Hie(this.staticAuthorityOptions,this.commonLogger,n);if(s.includes(o)&&s.includes(t.environment))return!0}let r=this.getAuthorityMetadataByAlias(o,n);return!!(r&&r.aliases.indexOf(t.environment)>-1)}matchCredentialType(t,o){return t.credentialType&&o.toLowerCase()===t.credentialType.toLowerCase()}matchClientId(t,o){return!!(t.clientId&&o===t.clientId)}matchFamilyId(t,o){return!!(t.familyId&&o===t.familyId)}matchRealm(t,o){return t.realm?.toLowerCase()===o.toLowerCase()}matchNativeAccountId(t,o){return!!(t.nativeAccountId&&o===t.nativeAccountId)}matchLoginHintFromTokenClaims(t,o){return t.login_hint===o||t.preferred_username===o||t.upn===o}matchSid(t,o){return t.sid===o}matchAuthorityType(t,o){return!!(t.authorityType&&o.toLowerCase()===t.authorityType.toLowerCase())}matchTarget(t,o){return t.credentialType!==gn.ACCESS_TOKEN&&t.credentialType!==gn.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:hn.fromString(t.target).containsScopeSet(o)}matchTokenType(t,o){return!!(t.tokenType&&t.tokenType===o)}matchKeyId(t,o){return!!(t.keyId&&t.keyId===o)}isAppMetadata(t){return t.indexOf(mh)!==-1}isAuthorityMetadata(t){return t.indexOf(gh)!==-1}generateAuthorityMetadataCacheKey(t){return`${gh}-${this.clientId}-${t}`}static toObject(t,o){for(let n in o)t[n]=o[n];return t}},Cx=class extends dm{async setAccount(){throw Z(_t)}getAccount(){throw Z(_t)}async setIdTokenCredential(){throw Z(_t)}getIdTokenCredential(){throw Z(_t)}async setAccessTokenCredential(){throw Z(_t)}getAccessTokenCredential(){throw Z(_t)}async setRefreshTokenCredential(){throw Z(_t)}getRefreshTokenCredential(){throw Z(_t)}setAppMetadata(){throw Z(_t)}getAppMetadata(){throw Z(_t)}setServerTelemetry(){throw Z(_t)}getServerTelemetry(){throw Z(_t)}setAuthorityMetadata(){throw Z(_t)}getAuthorityMetadata(){throw Z(_t)}getAuthorityMetadataKeys(){throw Z(_t)}setThrottlingCache(){throw Z(_t)}getThrottlingCache(){throw Z(_t)}removeItem(){throw Z(_t)}getKeys(){throw Z(_t)}getAccountKeys(){throw Z(_t)}getTokenKeys(){throw Z(_t)}generateCredentialKey(){throw Z(_t)}generateAccountKey(){throw Z(_t)}};var Bie={NotStarted:0,InProgress:1,Completed:2};var xc=class{generateId(){return"callback-id"}startMeasurement(t,o){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:Bie.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:t,startTimeMs:Date.now(),correlationId:o||""}}}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}};var mk={tokenRenewalOffsetSeconds:yq,preventCorsPreflight:!1},hRe={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Dt.Info,correlationId:""},bRe={async sendGetRequestAsync(){throw Z(_t)},async sendPostRequestAsync(){throw Z(_t)}},_Re={sku:H2,version:al,cpu:"",os:""},vRe={clientSecret:"",clientAssertion:void 0},yRe={azureCloudInstance:jd.None,tenant:`${Wy}`},xRe={application:{appName:"",appVersion:""}};function Sh({authOptions:e,systemOptions:t,loggerOptions:o,storageInterface:n,networkInterface:r,cryptoInterface:s,clientCredentials:a,libraryInfo:i,telemetry:l,serverTelemetryManager:c,persistencePlugin:d,serializableCache:p}){let m={...hRe,...o};return{authOptions:TRe(e),systemOptions:{...mk,...t},loggerOptions:m,storageInterface:n||new Cx(e.clientId,Vd,new bn(m),new xc),networkInterface:r||bRe,cryptoInterface:s||Vd,clientCredentials:a||vRe,libraryInfo:{..._Re,...i},telemetry:{...xRe,...l},serverTelemetryManager:c||null,persistencePlugin:d||null,serializableCache:p||null}}function TRe(e){return{clientCapabilities:[],azureCloudOptions:yRe,instanceAware:!1,isMcp:!1,...e}}function gk(e){return e.authOptions.authority.options.protocolMode===uo.OIDC}var fk=class{constructor(t,o){this.cache=t,this.hasChanged=o}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var _n={};Do(_n,{createAccessTokenEntity:()=>nO,createIdTokenEntity:()=>oO,createRefreshTokenEntity:()=>rO,generateAppMetadataKey:()=>LRe,generateAuthorityMetadataExpiresAt:()=>bk,isAccessTokenEntity:()=>ERe,isAppMetadataEntity:()=>RRe,isAuthorityMetadataEntity:()=>MRe,isAuthorityMetadataExpired:()=>_k,isCredentialEntity:()=>hk,isIdTokenEntity:()=>ARe,isRefreshTokenEntity:()=>kRe,isServerTelemetryEntity:()=>IRe,isThrottlingEntity:()=>PRe,updateAuthorityEndpointMetadata:()=>Ch,updateCloudDiscoveryMetadata:()=>Ax});var es={};Do(es,{delay:()=>CRe,isCacheExpired:()=>wRe,isTokenExpired:()=>wh,nowSeconds:()=>Ms,toDateFromSeconds:()=>Ex,toSecondsFromDate:()=>SRe,wasClockTurnedBack:()=>tO});function Ms(){return Math.round(new Date().getTime()/1e3)}function SRe(e){return e.getTime()/1e3}function Ex(e){return e?new Date(Number(e)*1e3):new Date}function wh(e,t){let o=Number(e)||0;return Ms()+t>o}function wRe(e,t){let o=Number(e)+t*24*60*60*1e3;return Date.now()>o}function tO(e){return Number(e)>Ms()}function CRe(e,t){return new Promise(o=>setTimeout(()=>o(t),e))}function oO(e,t,o,n,r){return{credentialType:gn.ID_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,realm:r,lastUpdatedAt:Date.now().toString()}}function nO(e,t,o,n,r,s,a,i,l,c,d,p,m){let g={homeAccountId:e,credentialType:gn.ACCESS_TOKEN,secret:o,cachedAt:Ms().toString(),expiresOn:a.toString(),extendedExpiresOn:i.toString(),environment:t,clientId:n,realm:r,target:s,tokenType:d||wo.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==wo.BEARER.toLowerCase())switch(g.credentialType=gn.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case wo.POP:let f=yc(o,l);if(!f?.cnf?.kid)throw Z(IF);g.keyId=f.cnf.kid;break;case wo.SSH:g.keyId=m}return g}function rO(e,t,o,n,r,s,a){let i={credentialType:gn.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,lastUpdatedAt:Date.now().toString()};return s&&(i.userAssertionHash=s),r&&(i.familyId=r),a&&(i.expiresOn=a.toString()),i}function hk(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function ERe(e){return e?hk(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===gn.ACCESS_TOKEN||e.credentialType===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function ARe(e){return e?hk(e)&&e.hasOwnProperty("realm")&&e.credentialType===gn.ID_TOKEN:!1}function kRe(e){return e?hk(e)&&e.credentialType===gn.REFRESH_TOKEN:!1}function IRe(e,t){let o=e.indexOf(Xy)===0,n=!0;return t&&(n=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),o&&n}function PRe(e,t){let o=!1;e&&(o=e.indexOf(ex)===0);let n=!0;return t&&(n=t.hasOwnProperty("throttleTime")),o&&n}function LRe({environment:e,clientId:t}){return[mh,e,t].join(Jp).toLowerCase()}function RRe(e,t){return t?e.indexOf(mh)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function MRe(e,t){return t?e.indexOf(gh)===0&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri"):!1}function bk(){return Ms()+lq}function Ch(e,t,o){e.authorization_endpoint=t.authorization_endpoint,e.token_endpoint=t.token_endpoint,e.end_session_endpoint=t.end_session_endpoint,e.issuer=t.issuer,e.endpointsFromNetwork=o,e.jwks_uri=t.jwks_uri}function Ax(e,t,o){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=o}function _k(e){return e.expiresAt<=Ms()}var vn={};Do(vn,{AuthClientCreateTokenRequestBody:()=>mO,AuthClientExecuteTokenRequest:()=>pO,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>hO,AuthorityGetEndpointMetadataFromNetwork:()=>_O,AuthorityResolveEndpointsAsync:()=>fO,AuthorityUpdateCloudDiscoveryMetadata:()=>bO,AuthorityUpdateEndpointMetadata:()=>vO,AuthorityUpdateMetadataWithRegionalInformation:()=>vk,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>iO,CacheManagerGetRefreshToken:()=>TO,GetAuthCodeUrl:()=>DRe,HandleCodeResponseFromServer:()=>$Re,HandleServerTokenResponse:()=>Ix,NetworkClientSendPostRequestAsync:()=>sO,PopTokenGenerateCnf:()=>um,RefreshTokenClientAcquireToken:()=>cO,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>kx,RefreshTokenClientCreateTokenRequestBody:()=>dO,RefreshTokenClientExecutePostToTokenEndpoint:()=>aO,RefreshTokenClientExecuteTokenRequest:()=>lO,RegionDiscoveryDetectRegion:()=>yO,RegionDiscoveryGetCurrentVersion:()=>xO,RegionDiscoveryGetRegionFromIMDS:()=>yk,SetUserData:()=>NRe,SilentFlowClientGenerateResultFromCacheRecord:()=>uO,UpdateTokenEndpointAuthority:()=>gO});var sO="networkClientSendPostRequestAsync",aO="refreshTokenClientExecutePostToTokenEndpoint",iO="authorizationCodeClientExecutePostToTokenEndpoint",lO="refreshTokenClientExecuteTokenRequest",cO="refreshTokenClientAcquireToken",kx="refreshTokenClientAcquireTokenWithCachedRefreshToken",dO="refreshTokenClientCreateTokenRequestBody",uO="silentFlowClientGenerateResultFromCacheRecord",DRe="getAuthCodeUrl",$Re="handleCodeResponseFromServer",pO="authClientExecuteTokenRequest",mO="authClientCreateTokenRequestBody",gO="updateTokenEndpointAuthority",um="popTokenGenerateCnf",Ix="handleServerTokenResponse",fO="authorityResolveEndpointsAsync",hO="authorityGetCloudDiscoveryMetadataFromNetwork",bO="authorityUpdateCloudDiscoveryMetadata",_O="authorityGetEndpointMetadataFromNetwork",vO="authorityUpdateEndpointMetadata",vk="authorityUpdateMetadataWithRegionalInformation",yO="regionDiscoveryDetectRegion",yk="regionDiscoveryGetRegionFromIMDS",xO="regionDiscoveryGetCurrentVersion",TO="cacheManagerGetRefreshToken",NRe="setUserData";var Jo=(e,t,o,n,r)=>(...s)=>{o.trace("1plfzx",r);let a=n.startMeasurement(t,r);r&&n.incrementFields({[`ext.${t}CallCount`]:1},r);try{let i=e(...s);return a.end({success:!0}),o.trace("1g8n6a",r),i}catch(i){o.trace("0cfd8i",r);try{o.trace(JSON.stringify(i),r)}catch{o.trace("00dty7",r)}throw a.end({success:!1},i),i}},G=(e,t,o,n,r)=>(...s)=>{o.trace("1plfzx",r);let a=n.startMeasurement(t,r);return r&&n.incrementFields({[`ext.${t}CallCount`]:1},r),e(...s).then(i=>(o.trace("1g8n6a",r),a.end({success:!0}),i)).catch(i=>{o.trace("0cfd8i",r);try{o.trace(JSON.stringify(i),r)}catch{o.trace("00dty7",r)}throw a.end({success:!1},i),i})};var qRe={SW:"sw"},ts=class{constructor(t,o){this.cryptoUtils=t,this.performanceClient=o}async generateCnf(t,o){let n=await G(this.generateKid.bind(this),um,o,this.performanceClient,t.correlationId)(t),r=this.cryptoUtils.base64UrlEncode(JSON.stringify(n));return{kid:n.kid,reqCnfString:r}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:qRe.SW}}async signPopToken(t,o,n){return this.signPayload(t,o,n)}async signPayload(t,o,n,r){let{resourceRequestMethod:s,resourceRequestUri:a,shrClaims:i,shrNonce:l,shrOptions:c}=n,p=(a?new Tt(a):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:Ms(),m:s?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:i||void 0,...r},o,c,n.correlationId)}};var cl={};Do(cl,{badToken:()=>Px,consentRequired:()=>EO,interactionRequired:()=>CO,interruptedUser:()=>kO,loginRequired:()=>AO,nativeAccountUnavailable:()=>FRe,noTokensFound:()=>xk,refreshTokenExpired:()=>SO,uxNotAllowed:()=>wO});var xk="no_tokens_found",FRe="native_account_unavailable",SO="refresh_token_expired",wO="ux_not_allowed",CO="interaction_required",EO="consent_required",AO="login_required",Px="bad_token",kO="interrupted_user";var Vie=[CO,EO,AO,Px,wO,kO],ORe=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],Co=class e extends ot{constructor(t,o,n,r,s,a,i,l){super(t,o,n),Object.setPrototypeOf(this,e.prototype),this.timestamp=r||"",this.traceId=s||"",this.correlationId=a||"",this.claims=i||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function Tk(e,t,o){let n=!!e&&Vie.indexOf(e)>-1,r=!!o&&ORe.indexOf(o)>-1,s=!!t&&Vie.some(a=>t.indexOf(a)>-1);return n||s||r}function pm(e,t){return new Co(e,t)}var os=class e extends ot{constructor(t,o,n,r,s){super(t,o,n),this.name="ServerError",this.errorNo=r,this.status=s,Object.setPrototypeOf(this,e.prototype)}};var pi={};Do(pi,{generateLibraryState:()=>Gie,parseRequestState:()=>IO,setRequestState:()=>URe});function URe(e,t,o){let n=Gie(e,o);return t?`${n}${Ky}${t}`:n}function Gie(e,t){if(!e)throw Z(uk);let o={id:e.createNewGuid()};t&&(o.meta=t);let n=JSON.stringify(o);return e.base64Encode(n)}function IO(e,t){if(!e)throw Z(uk);if(!t)throw Z(Xp);try{let o=t.split(Ky),n=o[0],r=o.length>1?o.slice(1).join(Ky):"",s=e(n),a=JSON.parse(s);return{userRequestState:r||"",libraryState:a}}catch{throw Z(Xp)}}var mi=class e{constructor(t,o,n,r,s,a,i){this.clientId=t,this.cacheStorage=o,this.cryptoObj=n,this.logger=r,this.performanceClient=s,this.serializableCache=a,this.persistencePlugin=i}validateTokenResponse(t,o,n){if(t.error||t.error_description||t.suberror){let r=`Error(s): ${t.error_codes||Kp} - Timestamp: ${t.timestamp||Kp} - Description: ${t.error_description||Kp} - Correlation ID: ${t.correlation_id||Kp} - Trace ID: ${t.trace_id||Kp}`,s=t.error_codes?.length?t.error_codes[0]:void 0,a=new os(t.error,r,t.suberror,s,t.status);if(n&&t.status&&t.status>=oq&&t.status<=nq){this.logger.warning("16ks7j",o);return}else if(n&&t.status&&t.status>=eq&&t.status<=tq){this.logger.warning("0g61x3",o);return}throw Tk(t.error,t.error_description,t.suberror)?new Co(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",s):a}}async handleServerTokenResponse(t,o,n,r,s,a,i,l,c,d){let p;if(t.id_token){if(p=yc(t.id_token||"",this.cryptoObj.base64Decode),a&&a.nonce&&p.nonce!==a.nonce)throw Z(TF);if(r.maxAge||r.maxAge===0){let _=p.auth_time;if(!_)throw Z(ax);Tx(_,r.maxAge)}}this.homeAccountIdentifier=eO(t.client_info||"",o.authorityType,this.logger,this.cryptoObj,r.correlationId,p);let m;a&&a.state&&(m=IO(this.cryptoObj.base64Decode,a.state)),t.key_id=t.key_id||r.sshKid||void 0;let g=this.generateCacheRecord(t,o,n,r,p,i,a),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",r.correlationId),f=new fk(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(f)),l&&!c&&g.account&&this.cacheStorage.getAllAccounts({homeAccountId:g.account.homeAccountId,environment:g.account.environment},r.correlationId).length<1)return this.logger.warning("1gmt66",r.correlationId),this.performanceClient?.addFields({acntLoggedOut:!0},r.correlationId),await e.generateAuthenticationResult(this.cryptoObj,o,g,!1,r,this.performanceClient,p,m,void 0,d);await this.cacheStorage.saveCacheRecord(g,r.correlationId,QF(p||{}),s,r.storeInCache)}finally{this.persistencePlugin&&this.serializableCache&&f&&(this.logger.verbose("1bh17u",r.correlationId),await this.persistencePlugin.afterCacheAccess(f))}return e.generateAuthenticationResult(this.cryptoObj,o,g,!1,r,this.performanceClient,p,m,t,d)}generateCacheRecord(t,o,n,r,s,a,i){let l=o.getPreferredCache();if(!l)throw Z(lx);let c=cm(s),d,p;t.id_token&&s&&(d=oO(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=Sk(this.cacheStorage,o,this.homeAccountIdentifier,this.cryptoObj.base64Decode,r.correlationId,s,t.client_info,l,c,i,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let _=t.scope?hn.fromString(t.scope):new hn(r.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,x=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,v=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,T=n+h,I=T+x,C=v&&v>0?n+v:void 0;m=nO(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||o.tenant||"",_.printScopes(),T,I,this.cryptoObj.base64Decode,C,t.token_type,a,t.key_id);let z=r.resource||null;z&&(m.resource=z)}let g=null;if(t.refresh_token){let _;if(t.refresh_token_expires_in){let h=typeof t.refresh_token_expires_in=="string"?parseInt(t.refresh_token_expires_in,10):t.refresh_token_expires_in;_=n+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:_},r.correlationId)}g=rO(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,a,_)}let f=null;return t.foci&&(f={clientId:this.clientId,environment:l,familyId:t.foci}),{account:p,idToken:d,accessToken:m,refreshToken:g,appMetadata:f}}static async generateAuthenticationResult(t,o,n,r,s,a,i,l,c,d){let p="",m=[],g=null,f,_,h="";if(n.accessToken){if(n.accessToken.tokenType===wo.POP&&!s.popKid){let I=new ts(t,a),{secret:C,keyId:z}=n.accessToken;if(!z)throw Z(RF);p=await I.signPopToken(C,z,s)}else p=n.accessToken.secret;m=hn.fromString(n.accessToken.target).asArray(),g=Ex(n.accessToken.expiresOn),f=Ex(n.accessToken.extendedExpiresOn),n.accessToken.refreshOn&&(_=Ex(n.accessToken.refreshOn))}n.appMetadata&&(h=n.appMetadata.familyId===Zp?Zp:"");let x=i?.oid||i?.sub||"",v=i?.tid||"";c?.spa_accountid&&n.account&&(n.account.nativeAccountId=c?.spa_accountid);let T=n.account?lm(Th(n.account),void 0,i,n.idToken?.secret):null;return{authority:o.canonicalAuthority,uniqueId:x,tenantId:v,scopes:m,account:T,idToken:n?.idToken?.secret||"",idTokenClaims:i||{},accessToken:p,fromCache:r,expiresOn:g,extExpiresOn:f,refreshOn:_,correlationId:s.correlationId,requestId:d||"",familyId:h,tokenType:n.accessToken?.tokenType||"",state:l?l.userRequestState:"",cloudGraphHostName:n.account?.cloudGraphHostName||"",msGraphHost:n.account?.msGraphHost||"",code:c?.spa_code,fromPlatformBroker:!1}}};function Sk(e,t,o,n,r,s,a,i,l,c,d,p,m){p?.verbose("09jz0t",r);let g=i||t.getPreferredCache(),f=e.getAccountsFilteredBy({homeAccountId:o,environment:g},r);m?.addFields({cacheMatchedAccounts:f.length},r),f.length>1&&p?.warning("0x7ad1",r);let h=(f.length===1?f[0]:null)||XF({homeAccountId:o,idTokenClaims:s,clientInfo:a,environment:i,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:d},t,n),x=h.tenantProfiles||[],v=l||h.realm;if(v&&!x.find(T=>T.tenantId===v)){let T=il(o,h.localAccountId,v,s);x.push(T)}return h.tenantProfiles=x,h}var pr={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function wk(e,t,o){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:o})}function Tc(e,t,o){return{clientId:e,authority:t.authority,scopes:t.scopes,homeAccountIdentifier:o,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid,embeddedClientId:t.embeddedClientId||t.extraParameters?.clientId}}var Sc=class e{static generateThrottlingStorageKey(t){return`${ex}.${JSON.stringify(t)}`}static preProcess(t,o,n){let r=e.generateThrottlingStorageKey(o),s=t.getThrottlingCache(r,n);if(s){if(s.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(Bo.RETRY_AFTER)&&(t.status<200||t.status>=300):!1}static calculateThrottleTime(t){let o=t<=0?0:t,n=Date.now()/1e3;return Math.floor(Math.min(n+(o||gq),n+fq)*1e3)}static removeThrottle(t,o,n,r){let s=Tc(o,n,r),a=this.generateThrottlingStorageKey(s);t.removeItem(a,n.correlationId)}};var Eh=class e extends ot{constructor(t,o,n){super(t.errorCode,t.errorMessage,t.subError),Object.setPrototypeOf(this,e.prototype),this.name="NetworkError",this.error=t,this.httpStatus=o,this.responseHeaders=n}};function mm(e,t,o,n){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${n?.name}, error.message:${n?.message}`,new Eh(e,t,o)}function Ck(e,t,o){let n={};if(n[Bo.CONTENT_TYPE]=Q2,!t&&o)switch(o.type){case pr.HOME_ACCOUNT_ID:try{let r=ll(o.credential);n[Bo.CCS_HEADER]=`Oid:${r.uid}@${r.utid}`}catch{e.verbose("1qhtee","")}break;case pr.UPN:n[Bo.CCS_HEADER]=`UPN: ${o.credential}`;break}return n}function Ek(e,t,o,n){let r=new Map;return e.embeddedClientId&&vc(r,t,o),e.extraQueryParameters&&_c(r,e.extraQueryParameters),sm(r,e.correlationId),em(r,e.correlationId,n),sl(r)}async function Ak(e,t,o,n,r,s,a,i,l,c){let d=await HRe(n,e,{body:t,headers:o},r,s,a,i,l);return c&&d.status<500&&d.status!==429&&c.clearTelemetryCache(),d}async function HRe(e,t,o,n,r,s,a,i){Sc.preProcess(r,e,n);let l;try{l=await G(s.sendPostRequestAsync.bind(s),sO,a,i,n)(t,o);let c=l.headers||{};i?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[Bo.X_MS_HTTP_VERSION]||"",requestId:c[Bo.X_MS_REQUEST_ID]||""},n)}catch(c){if(c instanceof Eh){let d=c.responseHeaders;throw d&&i?.addFields({httpVerToken:d[Bo.X_MS_HTTP_VERSION]||"",requestId:d[Bo.X_MS_REQUEST_ID]||"",contentTypeHeader:d[Bo.CONTENT_TYPE]||void 0,contentLengthHeader:d[Bo.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},n),c.error}throw c instanceof ot?c:Z(_F)}return Sc.postProcess(r,e,l,n),l}var Ik={};Do(Ik,{createDiscoveredInstance:()=>LO});function jie(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function Qie(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function Yie(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var Lx=class e{constructor(t,o,n,r){this.networkInterface=t,this.logger=o,this.performanceClient=n,this.correlationId=r}async detectRegion(t,o){let n=t;if(n)o.region_source=zd.ENVIRONMENT_VARIABLE;else{let r=e.IMDS_OPTIONS;try{let s=await G(this.getRegionFromIMDS.bind(this),yk,this.logger,this.performanceClient,this.correlationId)(Y2,r);if(s.status===j0&&(n=s.body,o.region_source=zd.IMDS),s.status===Q0){let a=await G(this.getCurrentVersion.bind(this),xO,this.logger,this.performanceClient,this.correlationId)(r);if(!a)return o.region_source=zd.FAILED_AUTO_DETECTION,null;let i=await G(this.getRegionFromIMDS.bind(this),yk,this.logger,this.performanceClient,this.correlationId)(a,r);i.status===j0&&(n=i.body,o.region_source=zd.IMDS)}}catch{return o.region_source=zd.FAILED_AUTO_DETECTION,null}}return n||(o.region_source=zd.FAILED_AUTO_DETECTION),n||null}async getRegionFromIMDS(t,o){return this.networkInterface.sendGetRequestAsync(`${G0}?api-version=${t}&format=text`,o,W2)}async getCurrentVersion(t){try{let o=await this.networkInterface.sendGetRequestAsync(`${G0}?format=json`,t);return o.status===Q0&&o.body&&o.body["newest-versions"]&&o.body["newest-versions"].length>0?o.body["newest-versions"][0]:null}catch{return null}}};Lx.IMDS_OPTIONS={headers:{Metadata:"true"}};var wc=class e{constructor(t,o,n,r,s,a,i,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=o,this.cacheManager=n,this.authorityOptions=r,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=s,this.performanceClient=i,this.correlationId=a,this.managedIdentity=l||!1,this.regionDiscovery=new Lx(o,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(B0))return Cr.Ciam;let o=t.PathSegments;if(o.length)switch(o[0].toLowerCase()){case B2:return Cr.Adfs;case V2:return Cr.Dsts}return Cr.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(t){this._canonicalAuthority=new Tt(t),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw Z(ui)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw Z(ui)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw Z(ui)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw Z(LF);return this.replacePath(this.metadata.end_session_endpoint)}else throw Z(ui)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw Z(ui)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw Z(ui)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===Cr.Default&&this.protocolMode!==uo.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let o=t,r=new Tt(this.metadata.canonical_authority).getUrlComponents(),s=r.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((i,l)=>{let c=s[l];if(l===0&&this.canReplaceTenant(r)){let d=new Tt(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];c!==d&&(this.logger.verbose("1q3g2x",this.correlationId),c=d)}i!==c&&(o=o.replace(`/${c}/`,`/${i}/`))}),this.replaceTenant(o)}get defaultOpenIdConfigurationEndpoint(){let t=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===Cr.Adfs||this.protocolMode===uo.OIDC&&!this.isAliasOfKnownMicrosoftAuthority(t)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}async resolveEndpointsAsync(){let t=this.getCurrentMetadataEntity(),o=await G(this.updateCloudDiscoveryMetadata.bind(this),bO,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let n=await G(this.updateEndpointMetadata.bind(this),vO,this.logger,this.performanceClient,this.correlationId)(t);this.updateCachedMetadata(t,o,{source:n}),this.performanceClient?.addFields({cloudDiscoverySource:o,authorityEndpointSource:n},this.correlationId)}getCurrentMetadataEntity(){let t=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort,this.correlationId);return t||(t={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:bk(),jwks_uri:""}),t}updateCachedMetadata(t,o,n){o!==Rs.CACHE&&n?.source!==Rs.CACHE&&(t.expiresAt=bk(),t.canonical_authority=this.canonicalAuthority);let r=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache,this.correlationId);this.cacheManager.setAuthorityMetadata(r,t,this.correlationId),this.metadata=t}async updateEndpointMetadata(t){let o=this.updateEndpointMetadataFromLocalSources(t);if(o){if(o.source===Rs.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&o.metadata){let r=await G(this.updateMetadataWithRegionalInformation.bind(this),vk,this.logger,this.performanceClient,this.correlationId)(o.metadata);Ch(t,r,!1),t.canonical_authority=this.canonicalAuthority}return o.source}let n=await G(this.getEndpointMetadataFromNetwork.bind(this),_O,this.logger,this.performanceClient,this.correlationId)();if(n)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(n=await G(this.updateMetadataWithRegionalInformation.bind(this),vk,this.logger,this.performanceClient,this.correlationId)(n)),Ch(t,n,!0),Rs.NETWORK;throw Z(vF,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let o=this.getEndpointMetadataFromConfig();if(o)return this.logger.verbose("06t0uj",this.correlationId),Ch(t,o,!1),{source:Rs.CONFIG};this.logger.verbose("151k0p",this.correlationId);let n=this.getEndpointMetadataFromHardcodedValues();if(n)return Ch(t,n,!1),{source:Rs.HARDCODED_VALUES,metadata:n};this.logger.verbose("1imop5",this.correlationId);let r=_k(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!r?(this.logger.verbose("16uq31",""),{source:Rs.CACHE}):(r&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new Tt(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Lt(gF)}return null}async getEndpointMetadataFromNetwork(){let t={},o=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("1y65x6",this.correlationId);try{let n=await this.networkInterface.sendGetRequestAsync(o,t);return jie(n.body)?n.body:(this.logger.verbose("1koyv8",this.correlationId),null)}catch{return this.logger.verbose("0a9wik",this.correlationId),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in YF?YF[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let o=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(o){if(o!==K2)return this.regionDiscoveryMetadata.region_outcome=tx.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,e.replaceWithRegionalInformation(t,o);let n=await G(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),yO,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(n)return this.regionDiscoveryMetadata.region_outcome=tx.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);this.regionDiscoveryMetadata.region_outcome=tx.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let o=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(o)return o;let n=await G(this.getCloudDiscoveryMetadataFromNetwork.bind(this),hO,this.logger,this.performanceClient,this.correlationId)();if(n)return Ax(t,n,!0),Rs.NETWORK;throw Lt(fF)}updateCloudDiscoveryMetadataFromLocalSources(t){this.logger.verbose("0jhlgt",this.correlationId),this.logger.verbosePii("1fy7uz",this.correlationId),this.logger.verbosePii("08zabj",this.correlationId),this.logger.verbosePii("1o1kv3",this.correlationId);let o=this.getCloudDiscoveryMetadataFromConfig();if(o)return this.logger.verbose("1nakio",this.correlationId),Ax(t,o,!1),Rs.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let n=zie(this.hostnameAndPort);if(n)return this.logger.verbose("0by47c",this.correlationId),Ax(t,n,!1),Rs.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let r=_k(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!r?(this.logger.verbose("1uffgh",""),Rs.CACHE):(r&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===Cr.Ciam)return this.logger.verbose("04y84h",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("0gszr3",this.correlationId);try{this.logger.verbose("1iifkx",this.correlationId);let t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),o=Sx(t.metadata,this.hostnameAndPort);if(this.logger.verbose("0q67e3",""),o)return this.logger.verbose("0hzfao",this.correlationId),o;this.logger.verbose("1ajz3u",this.correlationId)}catch{throw this.logger.verbose("1wq5tu",this.correlationId),Lt(ak)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${G2}${this.canonicalAuthority}oauth2/v2.0/authorize`,o={},n=null;try{let r=await this.networkInterface.sendGetRequestAsync(t,o),s,a;if(Qie(r.body))s=r.body,a=s.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(Yie(r.body)){if(this.logger.warning("062uto",this.correlationId),s=r.body,s.error===X2)return this.logger.error("1x90tm",this.correlationId),null;this.logger.warning("0wchdm",this.correlationId),this.logger.warning("1s5mpv",this.correlationId),this.logger.warning("1yhqpw",this.correlationId),a=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),n=Sx(a,this.hostnameAndPort)}catch(r){return r instanceof ot?this.logger.error("0vwhc7",this.correlationId):this.logger.error("0s2z41",this.correlationId),null}return n||(this.logger.warning("0jp28q",this.correlationId),this.logger.verbose("130sd8",this.correlationId),n=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),n}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(o=>o&&Tt.getDomainFromUrl(o).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,o){let n;if(o&&o.azureCloudInstance!==jd.None){let r=o.tenant?o.tenant:Wy;n=`${o.azureCloudInstance}/${r}/`}return n||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return z2;if(this.discoveryComplete())return this.metadata.preferred_cache;throw Z(ui)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return KF.has(t)}static isPublicCloudAuthority(t){return Z2.indexOf(t)>=0}static buildRegionalAuthorityString(t,o,n){let r=new Tt(t);r.validateAsUri();let s=r.getUrlComponents(),a=`${o}.${s.HostNameAndPort}`;this.isPublicCloudAuthority(s.HostNameAndPort)&&(a=`${o}.${J2}`);let i=Tt.constructAuthorityUriFromObject({...r.getUrlComponents(),HostNameAndPort:a}).urlString;return n?`${i}?${n}`:i}static replaceWithRegionalInformation(t,o){let n={...t};return n.authorization_endpoint=e.buildRegionalAuthorityString(n.authorization_endpoint,o),n.token_endpoint=e.buildRegionalAuthorityString(n.token_endpoint,o),n.end_session_endpoint&&(n.end_session_endpoint=e.buildRegionalAuthorityString(n.end_session_endpoint,o)),n}static transformCIAMAuthority(t){let o=t,r=new Tt(t).getUrlComponents();if(r.PathSegments.length===0&&r.HostNameAndPort.endsWith(B0)){let s=r.HostNameAndPort.split(".")[0];o=`${o}${s}${j2}`}return o}};wc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ci.COMMON,ci.CONSUMERS,ci.ORGANIZATIONS]);function Wie(e){let n=new Tt(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(n){case ci.COMMON:case ci.ORGANIZATIONS:case ci.CONSUMERS:return;default:return n}}function kk(e){return e.endsWith(ch)?e:`${e}${ch}`}function PO(e){let t=e.cloudDiscoveryMetadata,o;if(t)try{o=JSON.parse(t)}catch{throw Lt(ak)}return{canonicalAuthority:e.authority?kk(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:o}}async function LO(e,t,o,n,r,s,a){let i=wc.transformCIAMAuthority(kk(e)),l=new wc(i,t,o,n,r,s,a);try{return await G(l.resolveEndpointsAsync.bind(l),fO,r,a,s)(),l}catch{throw Z(ui)}}var gm=class{constructor(t,o){this.includeRedirectUri=!0,this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gd,al),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}async acquireToken(t,o,n){if(!t.code)throw Z(CF);n&&n.cloud_instance_host_name&&await G(this.updateTokenEndpointAuthority.bind(this),gO,this.logger,this.performanceClient,t.correlationId)(n.cloud_instance_host_name,t.correlationId);let r=Ms(),s=await G(this.executeTokenRequest.bind(this),pO,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),a=s.headers?.[Bo.X_MS_REQUEST_ID],i=new mi(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return i.validateTokenResponse(s.body,t.correlationId),G(i.handleServerTokenResponse.bind(i),Ix,this.logger,this.performanceClient,t.correlationId)(s.body,this.authority,r,t,o,n,void 0,void 0,void 0,a)}getLogoutUri(t){if(!t)throw Lt(pF);let o=this.createLogoutUrlQueryString(t);return Tt.appendQueryString(this.authority.endSessionEndpoint,o)}async executeTokenRequest(t,o,n){let r=Ek(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),s=Tt.appendQueryString(t.tokenEndpoint,r),a=await G(this.createTokenRequestBody.bind(this),mO,this.logger,this.performanceClient,o.correlationId)(o),i;if(o.clientInfo)try{let d=xh(o.clientInfo,this.cryptoUtils.base64Decode);i={credential:`${d.uid}${ph}${d.utid}`,type:pr.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",o.correlationId)}let l=Ck(this.logger,this.config.systemOptions.preventCorsPreflight,i||o.ccsCredential),c=Tc(this.config.authOptions.clientId,o);return G(Ak,iO,this.logger,this.performanceClient,o.correlationId)(s,a,l,c,o.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,n)}async createTokenRequestBody(t){let o=new Map;if(om(o,t.embeddedClientId||t.extraParameters?.[rl]||this.config.authOptions.clientId),this.includeRedirectUri)nm(o,t.redirectUri);else if(!t.redirectUri)throw Lt(iF);if(tm(o,t.scopes,!0,this.oidcDefaultScopes),xx(o,t.resource),HF(o,t.code),cx(o,this.config.libraryInfo),dx(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!gk(this.config)&&vx(o,this.serverTelemetryManager),t.codeVerifier&&BF(o,t.codeVerifier),this.config.clientCredentials.clientSecret&&px(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let r=this.config.clientCredentials.clientAssertion;mx(o,await wk(r.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,r.assertionType)}if(fx(o,Zy.AUTHORIZATION_CODE_GRANT),am(o),t.authenticationScheme===wo.POP){let r=new ts(this.cryptoUtils,this.performanceClient),s;t.popKid?s=this.cryptoUtils.encodeKid(t.popKid):s=(await G(r.generateCnf.bind(r),um,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,s)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)_x(o,t.sshJwk);else throw Lt(sx);(!qo.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&rm(o,t.claims,this.config.authOptions.clientCapabilities);let n;if(t.clientInfo)try{let r=xh(t.clientInfo,this.cryptoUtils.base64Decode);n={credential:`${r.uid}${ph}${r.utid}`,type:pr.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else n=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&n)switch(n.type){case pr.HOME_ACCOUNT_ID:try{let r=ll(n.credential);bc(o,r)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Bd(o,n.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&_c(o,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[ok])&&_c(o,{[ok]:"1"}),em(o,t.correlationId,this.performanceClient),sl(o)}createLogoutUrlQueryString(t){let o=new Map;return t.postLogoutRedirectUri&&NF(o,t.postLogoutRedirectUri),t.correlationId&&sm(o,t.correlationId),t.idTokenHint&&qF(o,t.idTokenHint),t.state&&ux(o,t.state),t.logoutHint&&GF(o,t.logoutHint),t.extraQueryParameters&&_c(o,t.extraQueryParameters),this.config.authOptions.instanceAware&&hx(o),sl(o)}async updateTokenEndpointAuthority(t,o){let n=`https://${t}/${this.authority.tenant}/`,r=await LO(n,this.networkClient,this.cacheManager,this.authority.options,this.logger,o,this.performanceClient);this.authority=r}};var zRe=300,Rx=class{constructor(t,o){this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gd,al),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireToken(t,o){let n=Ms(),r=await G(this.executeTokenRequest.bind(this),lO,this.logger,this.performanceClient,t.correlationId)(t,this.authority),s=r.headers?.[Bo.X_MS_REQUEST_ID],a=new mi(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return a.validateTokenResponse(r.body,t.correlationId),G(a.handleServerTokenResponse.bind(a),Ix,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,n,t,o,void 0,void 0,!0,t.forceCache,s)}async acquireTokenByRefreshToken(t,o){if(!t)throw Lt(uF);if(!t.account)throw Z(ix);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!0,o)}catch(r){let s=r instanceof Co&&r.errorCode===xk,a=r instanceof os&&r.errorCode===bq&&r.subError===_q;if(s||a)return G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!1,o);throw r}return G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!1,o)}async acquireTokenWithCachedRefreshToken(t,o,n){let r=Jo(this.cacheManager.getRefreshToken.bind(this.cacheManager),TO,this.logger,this.performanceClient,t.correlationId)(t.account,o,t.correlationId,void 0);if(!r)throw pm(xk);if(r.expiresOn){let a=t.refreshTokenExpirationOffsetSeconds||zRe;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(r.expiresOn),rtOffsetSeconds:a},t.correlationId),wh(r.expiresOn,a))throw pm(SO)}let s={...t,refreshToken:r.secret,authenticationScheme:t.authenticationScheme||wo.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:pr.HOME_ACCOUNT_ID}};try{return await G(this.acquireToken.bind(this),cO,this.logger,this.performanceClient,t.correlationId)(s,n)}catch(a){if(a instanceof Co&&a.subError===Px){this.logger.verbose("1pg3ap",t.correlationId);let i=this.cacheManager.generateCredentialKey(r);this.cacheManager.removeRefreshToken(i,t.correlationId)}throw a}}async executeTokenRequest(t,o){let n=Ek(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=Tt.appendQueryString(o.tokenEndpoint,n),s=await G(this.createTokenRequestBody.bind(this),dO,this.logger,this.performanceClient,t.correlationId)(t),a=Ck(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),i=Tc(this.config.authOptions.clientId,t);return G(Ak,aO,this.logger,this.performanceClient,t.correlationId)(r,s,a,i,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let o=new Map;if(om(o,t.embeddedClientId||t.extraParameters?.[rl]||this.config.authOptions.clientId),t.redirectUri&&nm(o,t.redirectUri),tm(o,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),fx(o,Zy.REFRESH_TOKEN_GRANT),am(o),cx(o,this.config.libraryInfo),dx(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!gk(this.config)&&vx(o,this.serverTelemetryManager),zF(o,t.refreshToken),this.config.clientCredentials.clientSecret&&px(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let n=this.config.clientCredentials.clientAssertion;mx(o,await wk(n.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,n.assertionType)}if(t.authenticationScheme===wo.POP){let n=new ts(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await G(n.generateCnf.bind(n),um,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,r)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)_x(o,t.sshJwk);else throw Lt(sx);if((!qo.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&rm(o,t.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&t.ccsCredential)switch(t.ccsCredential.type){case pr.HOME_ACCOUNT_ID:try{let n=ll(t.ccsCredential.credential);bc(o,n)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Bd(o,t.ccsCredential.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&_c(o,{...t.extraParameters}),em(o,t.correlationId,this.performanceClient),sl(o)}};var Mx=class{constructor(t,o){this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gd,al),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireCachedToken(t){let o=di.NOT_APPLICABLE;if(t.forceRefresh||!qo.isEmptyObj(t.claims))throw this.setCacheOutcome(di.FORCE_REFRESH_OR_CLAIMS,t.correlationId),Z(_h);if(!t.account)throw Z(ix);let n=t.account.tenantId||Wie(t.authority),r=this.cacheManager.getTokenKeys(),s=this.cacheManager.getAccessToken(t.account,t,r,n);if(s){if(tO(s.cachedAt)||wh(s.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(di.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),Z(_h);if(t.resource){if(s.resource!==t.resource)throw this.setCacheOutcome(di.NO_CACHED_ACCESS_TOKEN,t.correlationId),Z(_h)}else s.refreshOn&&wh(s.refreshOn,0)&&(o=di.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(di.NO_CACHED_ACCESS_TOKEN,t.correlationId),Z(_h);let a=t.authority||this.authority.getPreferredCache(),i={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:s,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,r,n),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(a,t.correlationId)};return this.setCacheOutcome(o,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await G(this.generateResultFromCacheRecord.bind(this),uO,this.logger,this.performanceClient,t.correlationId)(i,t),o]}setCacheOutcome(t,o){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},o),t!==di.NOT_APPLICABLE&&this.logger.info("09ingz",o)}async generateResultFromCacheRecord(t,o){let n;if(t.idToken&&(n=yc(t.idToken.secret,this.config.cryptoInterface.base64Decode)),o.maxAge||o.maxAge===0){let r=n?.auth_time;if(!r)throw Z(ax);Tx(r,o.maxAge)}return mi.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,o,this.performanceClient,n)}};var RO={sendGetRequestAsync:()=>Promise.reject(Z(_t)),sendPostRequestAsync:()=>Promise.reject(Z(_t))};var dl={};Do(dl,{getAuthorizationCodePayload:()=>GRe,getAuthorizeUrl:()=>VRe,getStandardAuthorizeRequestParameters:()=>BRe,validateAuthorizationResponse:()=>Kie});function BRe(e,t,o,n){let r=t.correlationId,s=new Map;om(s,t.embeddedClientId||t.extraQueryParameters?.[rl]||e.clientId);let a=[...t.scopes||[],...t.extraScopesToConsent||[]];if(tm(s,a,!0,e.authority.options.OIDCOptions?.defaultScopes),xx(s,t.resource),nm(s,t.redirectUri),sm(s,r),$F(s,t.responseMode),am(s),VF(s),t.prompt&&(OF(s,t.prompt),n?.addFields({prompt:t.prompt},r)),t.domainHint&&(FF(s,t.domainHint),n?.addFields({domainHintFromRequest:!0},r)),t.prompt!==Jy.SELECT_ACCOUNT)if(t.sid&&t.prompt===Jy.NONE)o.verbose("1tvqyx",t.correlationId),pk(s,t.sid),n?.addFields({sidFromRequest:!0},r);else if(t.account){let i=QRe(t.account),l=YRe(t.account);if(l&&t.domainHint&&(o.warning("0wkg3v",t.correlationId),l=null),l){o.verbose("1eyfsw",t.correlationId),vh(s,l),n?.addFields({loginHintFromClaim:!0},r);try{let c=ll(t.account.homeAccountId);bc(s,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(i&&t.prompt===Jy.NONE){o.verbose("1rmd8s",t.correlationId),pk(s,i),n?.addFields({sidFromClaim:!0},r);try{let c=ll(t.account.homeAccountId);bc(s,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(t.loginHint)o.verbose("0y3007",t.correlationId),vh(s,t.loginHint),Bd(s,t.loginHint),n?.addFields({loginHintFromRequest:!0},r);else if(t.account.username){o.verbose("02f507",t.correlationId),vh(s,t.account.username),n?.addFields({loginHintFromUpn:!0},r);try{let c=ll(t.account.homeAccountId);bc(s,c)}catch{o.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(o.verbose("0g01ey",t.correlationId),vh(s,t.loginHint),Bd(s,t.loginHint),n?.addFields({loginHintFromRequest:!0},r));else o.verbose("169k9v",t.correlationId);return t.nonce&&UF(s,t.nonce),t.state&&ux(s,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&rm(s,t.claims,e.clientCapabilities),t.embeddedClientId&&vc(s,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(fh))&&hx(s),s}function VRe(e,t){let o=sl(t);return Tt.appendQueryString(e.authorizationEndpoint,o)}function GRe(e,t){if(Kie(e,t),!e.code)throw Z(PF);return e}function Kie(e,t){if(!e.state||!t)throw e.state?Z(ck,"Cached State"):Z(ck,"Server State");let o,n;try{o=decodeURIComponent(e.state)}catch{throw Z(Xp,e.state)}try{n=decodeURIComponent(t)}catch{throw Z(Xp,e.state)}if(o!==n)throw Z(xF);if(e.error||e.error_description||e.suberror){let r=jRe(e);throw Tk(e.error,e.error_description,e.suberror)?new Co(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",r):new os(e.error||"",e.error_description,e.suberror,r)}}function jRe(e){let t="code=",o=e.error_uri?.lastIndexOf(t);return o&&o>=0?e.error_uri?.substring(o+t.length):void 0}function QRe(e){return e.idTokenClaims?.sid||null}function YRe(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Dx(e,t){if(e){if(t.resource&&(Jie(t.extraParameters)||Jie(t.extraQueryParameters)))throw Z(DF);if(!t.resource)throw Z(MF)}}function Jie(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Yd={};Do(Yd,{postRequestFailed:()=>KRe,unexpectedError:()=>WRe});var WRe="unexpected_error",KRe="post_request_failed";var Zie=",",Xie="|";function JRe(e){let{skus:t,libraryName:o,libraryVersion:n,extensionName:r,extensionVersion:s}=e,a=new Map([[0,[o,n]],[2,[r,s]]]),i=[];if(t?.length){if(i=t.split(Zie),i.length<4)return t}else i=Array.from({length:4},()=>Xie);return a.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&ZRe({skuArr:i,index:c,skuName:l[0],skuVersion:l[1]})}),i.join(Zie)}function ZRe(e){let{skuArr:t,index:o,skuName:n,skuVersion:r}=e;o>=t.length||(t[o]=[n,r].join(Xie))}var fm=class e{constructor(t,o){this.cacheOutcome=di.NOT_APPLICABLE,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=Xy+Jp+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Hd}${this.cacheOutcome}`,o=[this.wrapperSKU,this.wrapperVer],n=this.getNativeBrokerErrorCode();n?.length&&o.push(`broker_error=${n}`);let r=o.join(Hd),s=this.getRegionDiscoveryFields(),a=[t,s].join(Hd);return[K0,a,r].join(J0)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.failedRequests.slice(0,2*o).join(Hd),r=t.errors.slice(0,o).join(Hd),s=t.errors.length,a=o=dq&&(o.failedRequests.shift(),o.failedRequests.shift(),o.errors.shift()),o.failedRequests.push(this.apiId,this.correlationId),t instanceof Error&&t&&t.toString()?t instanceof ot?t.subError?o.errors.push(t.subError):t.errorCode?o.errors.push(t.errorCode):o.errors.push(t.toString()):o.errors.push(t.toString()):o.errors.push(mq),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o,this.correlationId)}incrementCacheHits(){let t=this.getLastRequests();return t.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t,this.correlationId),t.cacheHits}getLastRequests(){let t={failedRequests:[],errors:[],cacheHits:0};return this.cacheManager.getServerTelemetry(this.telemetryCacheKey,this.correlationId)||t}clearTelemetryCache(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.errors.length;if(o===n)this.cacheManager.removeItem(this.telemetryCacheKey,this.correlationId);else{let r={failedRequests:t.failedRequests.slice(o*2),errors:t.errors.slice(o),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r,this.correlationId)}}static maxErrorsToSend(t){let o,n=0,r=0,s=t.errors.length;for(o=0;otypeof e=="number"&&e in $le?$le[e]:"unknown",je;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(je||(je={}));var zO={scopes:Le.OIDC_DEFAULT_SCOPES},BO="jwk";var Rk="msal.db",qle=1,Fle=`${Rk}.keys`,Wn={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},Ole=[Wn.Default,Wn.Skip,Wn.RefreshTokenAndNetwork];function qx(e){return encodeURIComponent(Jd(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function wa(e){return Ule(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Jd(e){return Ule(new TextEncoder().encode(e))}function Ule(e){let t=Array.from(e,o=>String.fromCodePoint(o)).join("");return btoa(t)}var VO="pkce_not_created",GO="ear_jwk_empty",Hle="ear_jwe_empty",jO="crypto_nonexistent",Mh="empty_navigate_uri",zle="hash_empty_error",Dh="no_state_in_hash",Ble="hash_does_not_contain_known_properties",Mk="unable_to_parse_state",Vle="state_interaction_type_mismatch",Gle="interaction_in_progress",jle="interaction_in_progress_cancelled",Qle="popup_window_error",Yle="empty_window_error",Fx="user_cancelled",Wle="redirect_bridge_empty_response",Kle="redirect_in_iframe",Jle="block_iframe_reload",Zle="block_nested_popups";var $h="silent_logout_unsupported",Xle="no_account_error";var ece="no_token_request_cache_error",tce="unable_to_parse_token_request_cache_error";var Dk="non_browser_environment",Nh="database_not_open",Ox="no_network_connectivity",oce="post_request_failed",nce="get_request_failed",QO="failed_to_parse_response";var $k="crypto_key_not_found",rce="auth_code_required",sce="auth_code_or_nativeAccountId_required",ace="spa_code_and_nativeAccountId_present",Nk="database_unavailable",ice="unable_to_acquire_token_from_native_platform",lce="native_handshake_timeout",cce="native_extension_not_installed",qk="native_connection_not_established",qh="uninitialized_public_client_application",dce="native_prompt_not_supported",uce="invalid_base64_string",pce="invalid_pop_token_request",mce="failed_to_build_headers",gce="failed_to_parse_headers",Fk="failed_to_decrypt_ear_response",_m="timed_out",fce="empty_response";function Ln(e){return new TextDecoder().decode(ul(e))}function ul(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw ue(uce)}let o=atob(t);return Uint8Array.from(o,n=>n.codePointAt(0)||0)}var XRe="RSASSA-PKCS1-v1_5",Fh="AES-GCM",_ce="HKDF",WO="SHA-256",eMe=2048,tMe=new Uint8Array([1,0,1]),hce="0123456789abcdef",bce=new Uint32Array(1),KO="raw",vce="encrypt",JO="decrypt",oMe="deriveKey",nMe="crypto_subtle_undefined",ZO={name:XRe,hash:WO,modulusLength:eMe,publicExponent:tMe};function yce(e){if(!window)throw ue(Dk);if(!window.crypto)throw ue(jO);if(!e&&!window.crypto.subtle)throw ue(jO,nMe)}async function XO(e){let o=new TextEncoder().encode(e);return window.crypto.subtle.digest(WO,o)}function xce(e){return window.crypto.getRandomValues(e)}function YO(){return window.crypto.getRandomValues(bce),bce[0]}function Ds(){let e=Date.now(),t=YO()*1024+(YO()&1023),o=new Uint8Array(16),n=Math.trunc(t/2**30),r=t&2**30-1,s=YO();o[0]=e/2**40,o[1]=e/2**32,o[2]=e/2**24,o[3]=e/2**16,o[4]=e/2**8,o[5]=e,o[6]=112|n>>>8,o[7]=n,o[8]=128|r>>>24,o[9]=r>>>16,o[10]=r>>>8,o[11]=r,o[12]=s>>>24,o[13]=s>>>16,o[14]=s>>>8,o[15]=s;let a="";for(let i=0;i>>4),a+=hce.charAt(o[i]&15),(i===3||i===5||i===7||i===9)&&(a+="-");return a}async function Tce(e,t){return window.crypto.subtle.generateKey(ZO,e,t)}async function Ok(e){return window.crypto.subtle.exportKey(BO,e)}async function Sce(e,t,o){return window.crypto.subtle.importKey(BO,e,ZO,t,o)}async function wce(e,t){return window.crypto.subtle.sign(ZO,e,t)}async function Oh(){let e=await eU(),o={alg:"dir",kty:"oct",k:wa(new Uint8Array(e))};return Jd(JSON.stringify(o))}async function rMe(e){let t=Ln(e),n=JSON.parse(t).k,r=ul(n);return window.crypto.subtle.importKey(KO,r,Fh,!1,[JO])}async function Cce(e,t){let o=t.split(".");if(o.length!==5)throw ue(Fk,"jwe_length");let n=await rMe(e).catch(()=>{throw ue(Fk,"import_key")});try{let r=new TextEncoder().encode(o[0]),s=ul(o[2]),a=ul(o[3]),i=ul(o[4]),l=i.byteLength*8,c=new Uint8Array(a.length+i.length);c.set(a),c.set(i,a.length);let d=await window.crypto.subtle.decrypt({name:Fh,iv:s,tagLength:l,additionalData:r},n,c);return new TextDecoder().decode(d)}catch{throw ue(Fk,"decrypt")}}async function eU(){let e=await window.crypto.subtle.generateKey({name:Fh,length:256},!0,[vce,JO]);return window.crypto.subtle.exportKey(KO,e)}async function tU(e){return window.crypto.subtle.importKey(KO,e,_ce,!1,[oMe])}async function Ece(e,t,o){return window.crypto.subtle.deriveKey({name:_ce,salt:t,hash:WO,info:new TextEncoder().encode(o)},e,{name:Fh,length:256},!1,[vce,JO])}async function Ace(e,t,o){let n=new TextEncoder().encode(t),r=window.crypto.getRandomValues(new Uint8Array(16)),s=await Ece(e,r,o),a=await window.crypto.subtle.encrypt({name:Fh,iv:new Uint8Array(12)},s,n);return{data:wa(new Uint8Array(a)),nonce:wa(r)}}async function oU(e,t,o,n){let r=ul(n),s=await Ece(e,ul(t),o),a=await window.crypto.subtle.decrypt({name:Fh,iv:new Uint8Array(12)},s,r);return new TextDecoder().decode(a)}async function kce(e){let t=await XO(e),o=new Uint8Array(t);return wa(o)}var nU=class e extends ot{constructor(t,o){super(t,o),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function Uh(e){return new nU(e,Lh(e))}var Uk="storage_not_supported";var Ice="in_mem_redirect_unavailable";function sMe(){let e=window.location.hash,t=window.location.search,o=!1,n=!1,r="",s;if(e&&e.length>1){let d=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(d);p.has("state")&&(o=!0,r=d,s=p)}if(t&&t.length>1){let d=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(d);p.has("state")&&(n=!0,r=d,s=p)}if(o&&n){let d=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;r=`${d}${p}`,s=new URLSearchParams(r)}if(!r||!s)throw ue(fce);let a=s.get("state");if(!a)throw ue(Dh);let{libraryState:i}=pi.parseRequestState(Ln,a),{id:l,meta:c}=i;if(!l||!c)throw ue(Mk,"missing_library_state");return{params:s,payload:r,urlHash:e,urlQuery:t,hasResponseInHash:o,hasResponseInQuery:n,libraryState:{id:l,meta:c}}}function Hk(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function Pce(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function Ux(){return window.parent!==window}function aMe(){if(Ux())return!1;try{let{libraryState:e}=sMe(),{meta:t}=e;return t.interactionType===je.Popup}catch{return!1}}var Zd=null;function Lce(e,t){Zd&&(e.verbose("18y01k",t),clearTimeout(Zd.timeoutId),Zd.channel.close(),Zd.reject(ue(jle)),Zd=null)}async function Xd(e,t,o,n,r,s){return new Promise((a,i)=>{t.verbose("1rf6em",n.correlationId);let l=n.correlationId;r.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:s?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=pi.parseRequestState(o.base64Decode,n.state||""),d=new BroadcastChannel(c.id),p,m=!1,g,f,_=window.setTimeout(()=>{Zd=null,s?.iframeTimeoutTelemetry?(f=r.startMeasurement(Dle,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),d.close()},6e4)):d.close(),i(ue(_m,"redirect_bridge_timeout"))},e);Zd={timeoutId:_,channel:d,reject:i},d.onmessage=h=>{p=h.data.payload;let x=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),d.close();return}r.addFields({redirectBridgeMessageVersion:x},l),Zd=null,clearTimeout(_),d.close(),p?a(p):i(ue(Wle))}})}function Ca(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function Rce(){let t=new Tt(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function iMe(){if(Ta.getDeserializedResponse(window.location.hash)&&Ux())throw ue(Jle)}function lMe(e){if(Ux()&&!e)throw ue(Kle)}function cMe(){if(aMe())throw ue(Zle)}function rU(){if(typeof window>"u")throw ue(Dk)}function sU(e){if(!e)throw ue(qh)}function zk(e){rU(),iMe(),cMe(),sU(e)}function aU(e,t){if(zk(e),lMe(t.system.allowRedirectInIframe),t.cache.cacheLocation===Pn.MemoryStorage)throw Uh(Ice)}function Bk(e){let t=document.createElement("link");t.rel="preconnect",t.href=new URL(e).origin,t.crossOrigin="anonymous",document.head.appendChild(t),window.setTimeout(()=>{try{document.head.removeChild(t)}catch{}},1e4)}function Hx(){return Ds()}var Prt=fo.addClientCapabilitiesToClaims;var Vk=class{constructor(){this.dbName=Rk,this.version=qle,this.tableName=Fle,this.dbOpen=!1}async open(){return new Promise((t,o)=>{let n=window.indexedDB.open(this.dbName,this.version);n.addEventListener("upgradeneeded",r=>{r.target.result.createObjectStore(this.tableName)}),n.addEventListener("success",r=>{let s=r;this.db=s.target.result,this.dbOpen=!0,t()}),n.addEventListener("error",()=>o(ue(Nk)))})}closeConnection(){let t=this.db;t&&this.dbOpen&&(t.close(),this.dbOpen=!1)}async validateDbIsOpen(){if(!this.dbOpen)return this.open()}async getItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ue(Nh));let a=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);a.addEventListener("success",i=>{let l=i;this.closeConnection(),o(l.target.result)}),a.addEventListener("error",i=>{this.closeConnection(),n(i)})})}async setItem(t,o){return await this.validateDbIsOpen(),new Promise((n,r)=>{if(!this.db)return r(ue(Nh));let i=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(o,t);i.addEventListener("success",()=>{this.closeConnection(),n()}),i.addEventListener("error",l=>{this.closeConnection(),r(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ue(Nh));let a=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);a.addEventListener("success",()=>{this.closeConnection(),o()}),a.addEventListener("error",i=>{this.closeConnection(),n(i)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,o)=>{if(!this.db)return o(ue(Nh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();s.addEventListener("success",a=>{let i=a;this.closeConnection(),t(i.target.result)}),s.addEventListener("error",a=>{this.closeConnection(),o(a)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ue(Nh));let a=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);a.addEventListener("success",i=>{let l=i;this.closeConnection(),o(l.target.result===1)}),a.addEventListener("error",i=>{this.closeConnection(),n(i)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,o)=>{let n=window.indexedDB.deleteDatabase(Rk),r=setTimeout(()=>o(!1),200);n.addEventListener("success",()=>(clearTimeout(r),t(!0))),n.addEventListener("blocked",()=>(clearTimeout(r),t(!0))),n.addEventListener("error",()=>(clearTimeout(r),o(!1)))})}};var Ec=class{constructor(){this.cache=new Map}async initialize(){}getItem(t){return this.cache.get(t)||null}getUserData(t){return this.getItem(t)}setItem(t,o){this.cache.set(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){this.cache.delete(t)}getKeys(){let t=[];return this.cache.forEach((o,n)=>{t.push(n)}),t}containsKey(t){return this.cache.has(t)}clear(){this.cache.clear()}decryptData(){return Promise.resolve(null)}};var Gk=class{constructor(t){this.inMemoryCache=new Ec,this.indexedDBCache=new Vk,this.logger=t}handleDatabaseAccessError(t,o){if(t instanceof bm&&t.errorCode===Nk)this.logger.error("1wx7zz",o);else throw t}async getItem(t,o){let n=this.inMemoryCache.getItem(t);if(!n)try{return this.logger.verbose("0naxpl",o),await this.indexedDBCache.getItem(t)}catch(r){this.handleDatabaseAccessError(r,o)}return n}async setItem(t,o,n){this.inMemoryCache.setItem(t,o);try{await this.indexedDBCache.setItem(t,o)}catch(r){this.handleDatabaseAccessError(r,n)}}async removeItem(t,o){this.inMemoryCache.removeItem(t);try{await this.indexedDBCache.removeItem(t)}catch(n){this.handleDatabaseAccessError(n,o)}}async getKeys(t){let o=this.inMemoryCache.getKeys();if(o.length===0)try{return this.logger.verbose("1iqrbq",t),await this.indexedDBCache.getKeys()}catch(n){this.handleDatabaseAccessError(n,t)}return o}async containsKey(t,o){let n=this.inMemoryCache.containsKey(t);if(!n)try{return this.logger.verbose("03zl2j",o),await this.indexedDBCache.containsKey(t)}catch(r){this.handleDatabaseAccessError(r,o)}return n}clearInMemory(t){this.logger.verbose("03r21p",t),this.inMemoryCache.clear(),this.logger.verbose("0uksk1",t)}async clearPersistent(t){try{this.logger.verbose("0rdqut",t);let o=await this.indexedDBCache.deleteDatabase();return o&&this.logger.verbose("149ouc",t),o}catch(o){return this.handleDatabaseAccessError(o,t),!1}}};var pl=class e{constructor(t,o,n){this.logger=t,yce(n??!1),this.cache=new Gk(this.logger),this.performanceClient=o}createNewGuid(){return Ds()}base64Encode(t){return Jd(t)}base64Decode(t){return Ln(t)}base64UrlEncode(t){return qx(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let o=this.performanceClient?.startMeasurement(sle,t.correlationId),n=await Tce(e.EXTRACTABLE,e.POP_KEY_USAGES),r=await Ok(n.publicKey),s={e:r.e,kty:r.kty,n:r.n},a=Mce(s),i=await this.hashString(a),l=await Ok(n.privateKey),c=await Sce(l,!1,["sign"]);return await this.cache.setItem(i,{privateKey:c,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri},t.correlationId),o&&o.end({success:!0}),i}async removeTokenBindingKey(t,o){if(await this.cache.removeItem(t,o),await this.cache.containsKey(t,o))throw Z(fn.bindingKeyNotRemoved)}async clearKeystore(t){this.cache.clearInMemory(t);try{return await this.cache.clearPersistent(t),!0}catch(o){return o instanceof Error?this.logger.error("1owpn8",t):this.logger.error("0yrmwo",t),!1}}async signJwt(t,o,n,r){let s=this.performanceClient?.startMeasurement(ale,r),a=await this.cache.getItem(o,r||"");if(!a)throw ue($k);let i=await Ok(a.publicKey),l=Mce(i),c=qx(JSON.stringify({kid:o})),d=$x.getShrHeaderString({...n?.header,alg:i.alg,kid:c}),p=qx(d);t.cnf={jwk:JSON.parse(l)};let m=qx(JSON.stringify(t)),g=`${p}.${m}`,_=new TextEncoder().encode(g),h=await wce(a.privateKey,_),x=wa(new Uint8Array(h)),v=`${g}.${x}`;return s&&s.end({success:!0}),v}async hashString(t){return kce(t)}};pl.POP_KEY_USAGES=["sign","verify"];pl.EXTRACTABLE=!0;function Mce(e){return JSON.stringify(e,Object.keys(e).sort())}var Dce="acquireTokenSilent",$ce="acquireTokenByCode",Nce="acquireTokenPopup",qce="acquireTokenPreRedirect",jk="acquireTokenRedirect",Fce="ssoSilent",Oce="initializeClientApplication",Uce="localStorageUpdated";var Zo="msal",Qk="browser",iU="|";var Bce=`${Zo}.${Qk}.log.level`,Vce=`${Zo}.${Qk}.log.pii`,Zrt=`${Zo}.${Qk}.performance.enabled`,Gce=`${Zo}.${Qk}.platform.auth.dom`,lU=`${Zo}.version`,Hce="account.keys",zce="token.keys";function Ac(e=2){return e<1?`${Zo}.${Hce}`:`${Zo}.${e}.${Hce}`}function kc(e,t=2){return t<1?`${Zo}.${zce}.${e}`:`${Zo}.${t}.${zce}.${e}`}var dMe=24*60*60*1e3,Yk={Lax:"Lax",None:"None"},Hh=class{initialize(){return Promise.resolve()}getItem(t){let o=`${encodeURIComponent(t)}`,n=document.cookie.split(";");for(let r=0;r{let r=decodeURIComponent(n).trim().split("=");o.push(r[0])}),o}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function uMe(e){let t=new Date;return new Date(t.getTime()+e*dMe).toUTCString()}function ml(e,t){let o=e.getItem(Ac(t));return o?JSON.parse(o):[]}function $s(e,t,o){let n=t.getItem(kc(e,o));if(n){let r=JSON.parse(n);if(r&&r.hasOwnProperty("idToken")&&r.hasOwnProperty("accessToken")&&r.hasOwnProperty("refreshToken"))return r}return{idToken:[],accessToken:[],refreshToken:[]}}function zh(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var jce="msal.cache.encryption",pMe="msal.broadcast.cache",Wk=class{constructor(t,o,n){if(!window.localStorage)throw Uh(Uk);this.memoryStorage=new Ec,this.initialized=!1,this.clientId=t,this.logger=o,this.performanceClient=n,this.broadcast=new BroadcastChannel(pMe)}async initialize(t){let o=new Hh,n=o.getItem(jce),r={key:"",id:""};if(n)try{r=JSON.parse(n)}catch{}if(r.key&&r.id){let s=Jo(ul,Ple,this.logger,this.performanceClient,t)(r.key);this.encryptionCookie={id:r.id,key:await G(tU,OO,this.logger,this.performanceClient,t)(s)}}else{let s=Ds(),a=await G(eU,Ile,this.logger,this.performanceClient,t)(),i=Jo(wa,Lle,this.logger,this.performanceClient,t)(new Uint8Array(a));this.encryptionCookie={id:s,key:await G(tU,OO,this.logger,this.performanceClient,t)(a)};let l={id:s,key:i};o.setItem(jce,JSON.stringify(l),0,!0,Yk.None)}await G(this.importExistingCache.bind(this),wle,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",s=>{this.updateCache(s,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw ue(qh);return this.memoryStorage.getItem(t)}async decryptData(t,o,n){if(!this.initialized||!this.encryptionCookie)throw ue(qh);if(o.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null;let r=await G(oU,UO,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data);if(!r)return null;try{return{...JSON.parse(r),lastUpdatedAt:o.lastUpdatedAt}}catch{return this.performanceClient.incrementFields({encryptedCacheCorruptionCount:1},n),null}}setItem(t,o){window.localStorage.setItem(t,o)}async setUserData(t,o,n,r,s){if(!this.initialized||!this.encryptionCookie)throw ue(qh);if(s)this.setItem(t,o);else{let{data:a,nonce:i}=await G(Ace,Rle,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:i,data:a,lastUpdatedAt:r};this.setItem(t,JSON.stringify(l))}this.memoryStorage.setItem(t,o),this.broadcast.postMessage({key:t,value:o,context:this.getContext(t)})}removeItem(t){this.memoryStorage.containsKey(t)&&(this.memoryStorage.removeItem(t),this.broadcast.postMessage({key:t,value:null,context:this.getContext(t)})),window.localStorage.removeItem(t)}getKeys(){return Object.keys(window.localStorage)}containsKey(t){return window.localStorage.hasOwnProperty(t)}clear(){this.memoryStorage.clear(),ml(this).forEach(n=>this.removeItem(n));let o=$s(this.clientId,this);o.idToken.forEach(n=>this.removeItem(n)),o.accessToken.forEach(n=>this.removeItem(n)),o.refreshToken.forEach(n=>this.removeItem(n)),this.getKeys().forEach(n=>{(n.startsWith(Zo)||n.indexOf(this.clientId)!==-1)&&this.removeItem(n)})}async importExistingCache(t){if(!this.encryptionCookie)return;let o=ml(this);o=await this.importArray(o,t),o.length?this.setItem(Ac(),JSON.stringify(o)):this.removeItem(Ac());let n=$s(this.clientId,this);n.idToken=await this.importArray(n.idToken,t),n.accessToken=await this.importArray(n.accessToken,t),n.refreshToken=await this.importArray(n.refreshToken,t),n.idToken.length||n.accessToken.length||n.refreshToken.length?this.setItem(kc(this.clientId),JSON.stringify(n)):this.removeItem(kc(this.clientId))}async getItemFromEncryptedCache(t,o){if(!this.encryptionCookie)return null;let n=this.getItem(t);if(!n)return null;let r;try{r=JSON.parse(n)}catch{return null}return zh(r)?r.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},o),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},o),G(oU,UO,this.logger,this.performanceClient,o)(this.encryptionCookie.key,r.nonce,this.getContext(t),r.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},o),n)}async importArray(t,o){let n=[],r=[];return t.forEach(s=>{let a=this.getItemFromEncryptedCache(s,o).then(i=>{i?(this.memoryStorage.setItem(s,i),n.push(s)):this.removeItem(s)});r.push(a)}),await Promise.all(r),n}getContext(t){let o="";return t.includes(this.clientId)&&(o=this.clientId),o}updateCache(t,o){this.logger.trace("17cxcm",o);let n=this.performanceClient.startMeasurement(Uce);n.add({isBackground:!0});let{key:r,value:s,context:a}=t.data;if(!r){this.logger.error("0e10qr",o),n.end({success:!1,errorCode:"noKey"});return}if(a&&a!==this.clientId){this.logger.trace("04rtdy",o),n.end({success:!1,errorCode:"contextMismatch"});return}s?(this.memoryStorage.setItem(r,s),this.logger.verbose("1vzsgt",o)):(this.memoryStorage.removeItem(r),this.logger.verbose("04ypih",o)),n.end({success:!0})}};var Kk=class{constructor(){if(!window.sessionStorage)throw Uh(Uk)}async initialize(){}getItem(t){return window.sessionStorage.getItem(t)}getUserData(t){return this.getItem(t)}setItem(t,o){window.sessionStorage.setItem(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){window.sessionStorage.removeItem(t)}getKeys(){return Object.keys(window.sessionStorage)}containsKey(t){return window.sessionStorage.hasOwnProperty(t)}decryptData(){return Promise.resolve(null)}};var Ke={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_SUCCESS:"msal:loginSuccess",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",BROKERED_REQUEST_START:"msal:brokeredRequestStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",BROKERED_REQUEST_SUCCESS:"msal:brokeredRequestSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",BROKERED_REQUEST_FAILURE:"msal:brokeredRequestFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache",BROKER_CONNECTION_ESTABLISHED:"msal:brokerConnectionEstablished"};var Qce="@azure/msal-browser",Ns="5.6.3";function Ic(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Bh=class extends dm{constructor(t,o,n,r,s,a,i){super(t,n,r,s,i),this.cacheConfig=o,this.logger=r,this.internalStorage=new Ec,this.browserStorage=Yce(t,o.cacheLocation,r,s),this.temporaryCacheStorage=Yce(t,Pn.SessionStorage,r,s),this.cookieStorage=new Hh,this.eventHandler=a}async initialize(t){this.performanceClient.addFields({cacheLocation:this.cacheConfig.cacheLocation,cacheRetentionDays:this.cacheConfig.cacheRetentionDays},t),await this.browserStorage.initialize(t),await this.migrateExistingCache(t),this.trackVersionChanges(t)}async migrateExistingCache(t){let o=ml(this.browserStorage),n=$s(this.clientId,this.browserStorage);this.performanceClient.addFields({preMigrateAcntCount:o.length,preMigrateATCount:n.accessToken.length,preMigrateITCount:n.idToken.length,preMigrateRTCount:n.refreshToken.length},t);for(let s=0;s<2;s++){let a=s;await this.removeStaleAccounts(s,a,t)}for(let s=0;s<2;s++){let a=s;await this.migrateIdTokens(s,a,t)}let r=this.getKMSIValues();for(let s=0;s<2;s++)await this.migrateAccessTokens(s,r,t),await this.migrateRefreshTokens(s,r,t);o=ml(this.browserStorage),n=$s(this.clientId,this.browserStorage),this.performanceClient.addFields({postMigrateAcntCount:o.length,postMigrateATCount:n.accessToken.length,postMigrateITCount:n.idToken.length,postMigrateRTCount:n.refreshToken.length},t)}async updateOldEntry(t,o){let n=this.browserStorage.getItem(t),r=this.validateAndParseJson(n||"");if(!r)return this.browserStorage.removeItem(t),null;if(!r.lastUpdatedAt)r.lastUpdatedAt=Date.now().toString(),this.setItem(t,JSON.stringify(r),o);else if(es.isCacheExpired(r.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null;let s=zh(r)?await this.browserStorage.decryptData(t,r,o):r;return!s||!_n.isCredentialEntity(s)?(this.performanceClient.incrementFields({invalidCacheCount:1},o),null):(_n.isAccessTokenEntity(s)||_n.isRefreshTokenEntity(s))&&s.expiresOn&&es.isTokenExpired(s.expiresOn,Le.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null):s}async removeStaleAccounts(t,o,n){let r=ml(this.browserStorage,t);if(r.length!==0){for(let s of[...r]){this.performanceClient.incrementFields({oldAcntCount:1},n);let a=this.browserStorage.getItem(s),i=this.validateAndParseJson(a||"");if(!i){Ic(r,s);continue}if(i.lastUpdatedAt)es.isCacheExpired(i.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(s,i,o,n),Ic(r,s));else{i.lastUpdatedAt=Date.now().toString(),this.setItem(s,JSON.stringify(i),n);continue}}this.setAccountKeys(r,n,t)}}async removeAccountOldSchema(t,o,n,r){let a=(zh(o)?await this.browserStorage.decryptData(t,o,r):o)?.homeAccountId;if(a){let i=this.getTokenKeys(n);[...i.idToken].filter(l=>l.includes(a)).forEach(l=>{this.browserStorage.removeItem(l),Ic(i.idToken,l)}),[...i.accessToken].filter(l=>l.includes(a)).forEach(l=>{this.browserStorage.removeItem(l),Ic(i.accessToken,l)}),[...i.refreshToken].filter(l=>l.includes(a)).forEach(l=>{this.browserStorage.removeItem(l),Ic(i.refreshToken,l)}),this.setTokenKeys(i,r,n)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},r),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},o=this.getTokenKeys().idToken;for(let n of o){let r=this.browserStorage.getUserData(n);if(r){let s=JSON.parse(r),a=ur.extractTokenClaims(s.secret,Ln);a&&(t[s.homeAccountId]=ur.isKmsi(a))}}return t}async migrateIdTokens(t,o,n){let r=$s(this.clientId,this.browserStorage,t);if(r.idToken.length===0)return;let s=$s(this.clientId,this.browserStorage,2),a=ml(this.browserStorage),i=ml(this.browserStorage,o);for(let l of[...r.idToken]){this.performanceClient.incrementFields({oldITCount:1},n);let c=await this.updateOldEntry(l,n);if(!c){Ic(r.idToken,l);continue}let d=a.find(v=>v.includes(c.homeAccountId)),p=i.find(v=>v.includes(c.homeAccountId)),m=null;if(d)m=this.getAccount(d,n);else if(p){let v=this.browserStorage.getItem(p),T=this.validateAndParseJson(v||"");m=T&&zh(T)?await this.browserStorage.decryptData(p,T,n):T}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},n);continue}let g=ur.extractTokenClaims(c.secret,Ln),f=this.generateCredentialKey(c),_=this.getIdTokenCredential(f,n),h=Object.keys(g).includes("signin_state"),x=_&&Object.keys(ur.extractTokenClaims(_.secret,Ln)||{}).includes("signin_state");if(!_||c.lastUpdatedAt>_.lastUpdatedAt&&(h||!x)){let v=m.tenantProfiles||[],T=cm(g)||m.realm;if(T&&!v.find(z=>z.tenantId===T)){let z=il(m.homeAccountId,m.localAccountId,T,g);v.push(z)}m.tenantProfiles=v;let I=this.generateAccountKey(Sa.getAccountInfo(m)),C=ur.isKmsi(g);await this.setUserData(I,JSON.stringify(m),n,m.lastUpdatedAt,C),a.includes(I)||a.push(I),await this.setUserData(f,JSON.stringify(c),n,c.lastUpdatedAt,C),this.performanceClient.incrementFields({migratedITCount:1},n),s.idToken.push(f)}}this.setTokenKeys(r,n,t),this.setTokenKeys(s,n),this.setAccountKeys(a,n)}async migrateAccessTokens(t,o,n){let r=$s(this.clientId,this.browserStorage,t);if(r.accessToken.length===0)return;let s=$s(this.clientId,this.browserStorage,2);for(let a of[...r.accessToken]){this.performanceClient.incrementFields({oldATCount:1},n);let i=await this.updateOldEntry(a,n);if(!i){Ic(r.accessToken,a);continue}if(!(i.homeAccountId in o)){this.performanceClient.incrementFields({skipATMigrateCount:1},n);continue}let l=this.generateCredentialKey(i),c=o[i.homeAccountId];if(!s.accessToken.includes(l))await this.setUserData(l,JSON.stringify(i),n,i.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n),s.accessToken.push(l);else{let d=this.getAccessTokenCredential(l,n);(!d||i.lastUpdatedAt>d.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(i),n,i.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n))}}this.setTokenKeys(r,n,t),this.setTokenKeys(s,n)}async migrateRefreshTokens(t,o,n){let r=$s(this.clientId,this.browserStorage,t);if(r.refreshToken.length===0)return;let s=$s(this.clientId,this.browserStorage,2);for(let a of[...r.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},n);let i=await this.updateOldEntry(a,n);if(!i){Ic(r.refreshToken,a);continue}if(!(i.homeAccountId in o)){this.performanceClient.incrementFields({skipRTMigrateCount:1},n);continue}let l=this.generateCredentialKey(i),c=o[i.homeAccountId];if(!s.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(i),n,i.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n),s.refreshToken.push(l);else{let d=this.getRefreshTokenCredential(l,n);(!d||i.lastUpdatedAt>d.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(i),n,i.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n))}}this.setTokenKeys(r,n,t),this.setTokenKeys(s,n)}trackVersionChanges(t){let o=this.browserStorage.getItem(lU);o&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:o},t)),o!==Ns&&this.setItem(lU,Ns,t)}validateAndParseJson(t){if(!t)return null;try{let o=JSON.parse(t);return o&&typeof o=="object"?o:null}catch{return null}}setItem(t,o,n){let r=new Array(3).fill(0),s=[],a=20;for(let i=0;i<=a;i++)try{if(this.browserStorage.setItem(t,o),i>0)for(let l=0;l<=2;l++){let c=r.slice(0,l).reduce((p,m)=>p+m,0);if(c>=i)break;let d=i>c+r[l]?c+r[l]:i;i>c&&r[l]>0&&this.removeAccessTokenKeys(s.slice(c,d),n,l)}break}catch(l){let c=yh(l);if(c.errorCode===wx.cacheQuotaExceeded&&i0)for(let d=0;d<=2;d++){let p=a.slice(0,d).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+a[d]?p+a[d]:c;c>p&&a[d]>0&&this.removeAccessTokenKeys(i.slice(p,m),n,d)}break}catch(d){let p=yh(d);if(p.errorCode===wx.cacheQuotaExceeded&&c-1?(n.splice(r,1),this.setAccountKeys(n,o)):this.logger.trace("1dytu2",o)}removeAccount(t,o){let n=this.getActiveAccount(o);n?.homeAccountId===t.homeAccountId&&n?.environment===t.environment&&this.setActiveAccount(null,o),super.removeAccount(t,o),this.removeAccountKeyFromMap(this.generateAccountKey(t),o),this.browserStorage.getKeys().forEach(r=>{r.includes(t.homeAccountId)&&r.includes(t.environment)&&this.browserStorage.removeItem(r)})}removeIdToken(t,o){super.removeIdToken(t,o);let n=this.getTokenKeys(),r=n.idToken.indexOf(t);r>-1&&(this.logger.info("05udv9",o),n.idToken.splice(r,1),this.setTokenKeys(n,o))}removeAccessToken(t,o,n=!0){super.removeAccessToken(t,o),n&&this.removeAccessTokenKeys([t],o)}removeAccessTokenKeys(t,o,n=2){this.logger.trace("17o18n",o);let r=this.getTokenKeys(n),s=0;if(t.forEach(a=>{let i=r.accessToken.indexOf(a);i>-1&&(r.accessToken.splice(i,1),s++)}),s>0){this.logger.info("15i5d5",o),this.setTokenKeys(r,o,n);return}}removeRefreshToken(t,o){super.removeRefreshToken(t,o);let n=this.getTokenKeys(),r=n.refreshToken.indexOf(t);r>-1&&(this.logger.info("1f4fq3",o),n.refreshToken.splice(r,1),this.setTokenKeys(n,o))}getTokenKeys(t=2){return $s(this.clientId,this.browserStorage,t)}setTokenKeys(t,o,n=2){if(t.idToken.length===0&&t.accessToken.length===0&&t.refreshToken.length===0){this.removeItem(kc(this.clientId,n));return}else this.setItem(kc(this.clientId,n),JSON.stringify(t),o)}getIdTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("1jukz6",o),this.removeIdToken(t,o),null;let r=this.validateAndParseJson(n);return!r||!_n.isIdTokenEntity(r)?(this.logger.trace("1jukz6",o),null):(this.logger.trace("01ju66",o),r)}async setIdTokenCredential(t,o,n){this.logger.trace("13hjll",o);let r=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(r,JSON.stringify(t),o,s,n);let a=this.getTokenKeys();a.idToken.indexOf(r)===-1&&(this.logger.info("07jy92",o),a.idToken.push(r),this.setTokenKeys(a,o))}getAccessTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0bqvx8",o),this.removeAccessTokenKeys([t],o),null;let r=this.validateAndParseJson(n);return!r||!_n.isAccessTokenEntity(r)?(this.logger.trace("0bqvx8",o),null):(this.logger.trace("1o81rl",o),r)}async setAccessTokenCredential(t,o,n){this.logger.trace("1pondb",o);let r=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(r,JSON.stringify(t),o,s,n);let a=this.getTokenKeys(),i=a.accessToken.indexOf(r);i!==-1&&a.accessToken.splice(i,1),this.logger.trace("1onhey",o),a.accessToken.push(r),this.setTokenKeys(a,o)}getRefreshTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0jlizt",o),this.removeRefreshToken(t,o),null;let r=this.validateAndParseJson(n);return!r||!_n.isRefreshTokenEntity(r)?(this.logger.trace("0jlizt",o),null):(this.logger.trace("0nokxi",o),r)}async setRefreshTokenCredential(t,o,n){this.logger.trace("0tcg8d",o);let r=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(r,JSON.stringify(t),o,s,n);let a=this.getTokenKeys();a.refreshToken.indexOf(r)===-1&&(this.logger.info("0eckjs",o),a.refreshToken.push(r),this.setTokenKeys(a,o))}getAppMetadata(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1q101h",o),null;let r=this.validateAndParseJson(n);return!r||!_n.isAppMetadataEntity(t,r)?(this.logger.trace("1q101h",o),null):(this.logger.trace("19pvg2",o),r)}setAppMetadata(t,o){this.logger.trace("0cyma6",o);let n=_n.generateAppMetadataKey(t);this.setItem(n,JSON.stringify(t),o)}getServerTelemetry(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("0jk19c",o),null;let r=this.validateAndParseJson(n);return!r||!_n.isServerTelemetryEntity(t,r)?(this.logger.trace("0jk19c",o),null):(this.logger.trace("12jguk",o),r)}setServerTelemetry(t,o,n){this.logger.trace("1poh61",n),this.setItem(t,JSON.stringify(o),n)}getAuthorityMetadata(t,o){let n=this.internalStorage.getItem(t);if(!n)return this.logger.trace("1r39oe",o),null;let r=this.validateAndParseJson(n);return r&&_n.isAuthorityMetadataEntity(t,r)?(this.logger.trace("1ohvk3",o),r):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(o=>this.isAuthorityMetadata(o))}setWrapperMetadata(t,o){this.internalStorage.setItem(Nx.WRAPPER_SKU,t),this.internalStorage.setItem(Nx.WRAPPER_VER,o)}getWrapperMetadata(){let t=this.internalStorage.getItem(Nx.WRAPPER_SKU)||"",o=this.internalStorage.getItem(Nx.WRAPPER_VER)||"";return[t,o]}setAuthorityMetadata(t,o,n){this.logger.trace("07w8n2",n),this.internalStorage.setItem(t,JSON.stringify(o))}getActiveAccount(t){let o=this.generateCacheKey(Le.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),n=this.browserStorage.getItem(o);if(!n)return this.logger.trace("08gw0e",t),null;let r=this.validateAndParseJson(n);return r?(this.logger.trace("1t3ch7",t),this.getAccountInfoFilteredBy({homeAccountId:r.homeAccountId,localAccountId:r.localAccountId,tenantId:r.tenantId},t)):(this.logger.trace("0me1up",t),null)}setActiveAccount(t,o){let n=this.generateCacheKey(Le.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);if(t){this.logger.verbose("0rsj80",o);let r={homeAccountId:t.homeAccountId,localAccountId:t.localAccountId,tenantId:t.tenantId};this.setItem(n,JSON.stringify(r),o)}else this.logger.verbose("1bp5z5",o),this.browserStorage.removeItem(n);this.eventHandler.emitEvent(Ke.ACTIVE_ACCOUNT_CHANGED,o)}getThrottlingCache(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1h4wa6",o),null;let r=this.validateAndParseJson(n);return!r||!_n.isThrottlingEntity(t,r)?(this.logger.trace("1h4wa6",o),null):(this.logger.trace("0of6n8",o),r)}setThrottlingCache(t,o,n){this.logger.trace("0wfgh6",n),this.setItem(t,JSON.stringify(o),n)}getTemporaryCache(t,o,n){let r=n?this.generateCacheKey(t):t,s=this.temporaryCacheStorage.getItem(r);if(!s){if(this.cacheConfig.cacheLocation===Pn.LocalStorage){let a=this.browserStorage.getItem(r);if(a)return this.logger.trace("1yt61y",o),a}return this.logger.trace("1qhy81",o),null}return s}setTemporaryCache(t,o,n){let r=n?this.generateCacheKey(t):t;this.temporaryCacheStorage.setItem(r,o)}removeItem(t){this.browserStorage.removeItem(t)}removeTemporaryItem(t){this.temporaryCacheStorage.removeItem(t)}getKeys(){return this.browserStorage.getKeys()}clear(t){this.removeAllAccounts(t),this.removeAppMetadata(t),this.temporaryCacheStorage.getKeys().forEach(o=>{(o.indexOf(Zo)!==-1||o.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(o)}),this.browserStorage.getKeys().forEach(o=>{(o.indexOf(Zo)!==-1||o.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(o)}),this.internalStorage.clear()}generateCacheKey(t){return qo.startsWith(t,Zo)?t:`${Zo}.${this.clientId}.${t}`}generateCredentialKey(t){let o=t.credentialType===Le.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,n=t.tokenType&&t.tokenType.toLowerCase()!==Le.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${Zo}.${2}`,t.homeAccountId,t.environment,t.credentialType,o,t.realm||"",t.target||"",n].join(iU).toLowerCase()}generateAccountKey(t){let o=t.homeAccountId.split(".")[1];return[`${Zo}.${2}`,t.homeAccountId,t.environment,o||t.tenantId||""].join(iU).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(Eo.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(Eo.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(Eo.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(Eo.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(Eo.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,o,n){this.logger.trace("1tzef5",o);let r=Jd(JSON.stringify(t));if(this.setTemporaryCache(Eo.REQUEST_PARAMS,r,!0),n){let s=Jd(n);this.setTemporaryCache(Eo.VERIFIER,s,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let o=this.getTemporaryCache(Eo.REQUEST_PARAMS,t,!0);if(!o)throw ue(ece);let n=this.getTemporaryCache(Eo.VERIFIER,t,!0),r,s="";try{r=JSON.parse(Ln(o)),n&&(s=Ln(n))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),ue(tce)}return[r,s]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(Eo.NATIVE_REQUEST,"",!0);if(!t)return this.logger.trace("0mnxd4",""),null;let o=this.validateAndParseJson(t);return o||(this.logger.error("0rrkip",""),null)}isInteractionInProgress(t){let o=this.getInteractionInProgress()?.clientId;return t?o===this.clientId:!!o}getInteractionInProgress(){let t=`${Zo}.${Eo.INTERACTION_STATUS_KEY}`,o=this.getTemporaryCache(t,"",!1);try{return o?JSON.parse(o):null}catch{return this.logger.error("0jjyys",""),this.removeTemporaryItem(t),this.resetRequestCache(""),Hk(window),null}}setInteractionInProgress(t,o=bi.SIGNIN,n=!1,r=""){let s=`${Zo}.${Eo.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(n)this.logger.warning("1pmscr",r),Lce(this.logger,r),this.removeTemporaryItem(s);else throw ue(Gle);this.setTemporaryCache(s,JSON.stringify({clientId:this.clientId,type:o}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(s)}async hydrateCache(t,o){let n=_n.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),r=_n.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?es.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?es.toSecondsFromDate(t.extExpiresOn):0,Ln,void 0,t.tokenType,void 0,o.sshKid);o.resource&&(r.resource=o.resource);let s={idToken:n,accessToken:r};return this.saveCacheRecord(s,t.correlationId,ur.isKmsi(ur.extractTokenClaims(t.idToken,Ln)),St.hydrateCache)}async saveCacheRecord(t,o,n,r,s){try{await super.saveCacheRecord(t,o,n,r,s)}catch(a){if(a instanceof Qd&&this.performanceClient&&o)try{let i=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:i.refreshToken.length,cacheIdCount:i.idToken.length,cacheAtCount:i.accessToken.length},o)}catch{}throw a}}};function Yce(e,t,o,n){try{switch(t){case Pn.LocalStorage:return new Wk(e,o,n);case Pn.SessionStorage:return new Kk;case Pn.MemoryStorage:default:break}}catch(r){o.error(r,"")}return new Ec}var Wce=(e,t,o,n)=>{let r={cacheLocation:Pn.MemoryStorage,cacheRetentionDays:5};return new Bh(e,r,Vd,t,o,n)};function Kce(e,t,o,n,r){return e.verbose("1yd030",n),o?t.getAllAccounts(r,n):[]}function Jce(e,t,o,n){t.trace("0u7b90",n);let r=o.getAccountInfoFilteredBy(e,n);return r?(t.verbose("0btgll",n),r):(t.verbose("0ltaj5",n),null)}function Zce(e,t,o){t.setActiveAccount(e,o)}function Xce(e,t){return e.getActiveAccount(t)}var mMe="msal.broadcast.event",Jk=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new bn({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(mMe)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,o,n){if(typeof window<"u"){let r=n||Hx();return this.eventCallbacks.has(r)?(this.logger.error("1578i0",""),null):(this.eventCallbacks.set(r,[t,o||[]]),this.logger.verbose("1cnec4",""),r)}return null}removeEventCallback(t){this.eventCallbacks.delete(t),this.logger.verbose("12zotd","")}emitEvent(t,o,n,r,s){let a={eventType:t,interactionType:n||null,payload:r||null,error:s||null,correlationId:o,timestamp:Date.now()};switch(t){case Ke.LOGIN_SUCCESS:case Ke.LOGOUT_SUCCESS:case Ke.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(a)}this.invokeCallbacks(a)}invokeCallbacks(t){this.eventCallbacks.forEach(([o,n],r)=>{(n.length===0||n.includes(t.eventType))&&(this.logger.verbose("15jpwk",""),o.apply(null,[t]))})}invokeCrossTabCallbacks(t){let o=t.data;this.invokeCallbacks(o)}subscribeCrossTab(){this.broadcastChannel?.addEventListener("message",this.invokeCrossTabCallbacks)}unsubscribeCrossTab(){this.broadcastChannel?.removeEventListener("message",this.invokeCrossTabCallbacks)}};var Vh=class{constructor(t,o,n,r,s,a,i,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=s,this.navigationClient=a,this.platformAuthProvider=c,this.correlationId=l,this.logger=r.clone(yn.MSAL_SKU,Ns),this.performanceClient=i}};function vm(e,t,o,n){o.verbose("0bd1la",n);let r=e||t||"";return Tt.getAbsoluteUrl(r,Ca())}function Vo(e,t,o,n,r,s){r.verbose("1p12tq",o);let a={clientId:t,correlationId:o,apiId:e,forceRefresh:!1,wrapperSKU:n.getWrapperMetadata()[0],wrapperVer:n.getWrapperMetadata()[1]};return new fm(a,n)}async function ns(e,t,o,n,r,s,a,i,l){let c=i&&i.hasOwnProperty("instance_aware")?i.instance_aware:void 0,d={protocolMode:e.system.protocolMode,OIDCOptions:e.auth.OIDCOptions,knownAuthorities:e.auth.knownAuthorities,cloudDiscoveryMetadata:e.auth.cloudDiscoveryMetadata,authorityMetadata:e.auth.authorityMetadata},p=s||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(Tt.getDomainFromUrl(p),l.environment):p,f=wc.generateAuthority(g,a||e.auth.azureCloudOptions),_=await G(Ik.createDiscoveredInstance,vle,r,o,t)(f,e.system.networkClient,n,d,r,t,o);if(l&&!_.isAlias(l.environment))throw Lt(Xr.authorityMismatch);return _}async function Gh(e,t,o,n,r){if(r)try{e.removeAccount(r,n),o.verbose("0s4z6h",n)}catch{o.error("0mgg1d",n)}else try{o.verbose("0zj631",n),e.clear(n),await t.clearKeystore(n)}catch{o.error("12ih0c",n)}}async function zx(e,t,o,n,r){let s=e.authority||t.auth.authority,a=[...e&&e.scopes||[]],i={...e,correlationId:e.correlationId,authority:s,scopes:a};if(!i.authenticationScheme)i.authenticationScheme=Le.AuthenticationScheme.BEARER,n.verbose("1l4fwv",r);else{if(i.authenticationScheme===Le.AuthenticationScheme.SSH){if(!e.sshJwk)throw Lt(Xr.missingSshJwk);if(!e.sshKid)throw Lt(Xr.missingSshKid)}n.verbose("1ecmns",r)}return i}async function ede(e,t,o,n,r){let s=await G(zx,Ah,r,n,e.correlationId)(e,o,n,r,e.correlationId);return{...e,...s,account:t,forceRefresh:e.forceRefresh||!1}}function Zk(e,t){let o,n=e.httpMethod;if(t===uo.EAR){if(n&&n!==Le.HttpMethod.POST)throw Lt(Xr.invalidRequestMethodForEAR);o=Le.HttpMethod.POST}else o=n||Le.HttpMethod.GET;return o}var rs=class extends Vh{initializeLogoutRequest(t){this.logger.verbose("0546u4",this.correlationId);let o={correlationId:this.correlationId,...t};if(t)if(t.logoutHint)this.logger.verbose("12k4l4",this.correlationId);else if(t.account){let n=this.getLogoutHintFromIdTokenClaims(t.account);n&&(this.logger.verbose("0st5di",this.correlationId),o.logoutHint=n)}else this.logger.verbose("0pdtc3",this.correlationId);else this.logger.verbose("07ndze",this.correlationId);return!t||t.postLogoutRedirectUri!==null?t&&t.postLogoutRedirectUri?(this.logger.verbose("1vamm6",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(t.postLogoutRedirectUri,Ca())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",o.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Ca())):(this.logger.verbose("17s5rf",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(Ca(),Ca())):this.logger.verbose("0ljv63",o.correlationId),o}getLogoutHintFromIdTokenClaims(t){let o=t.idTokenClaims;if(o){if(o.login_hint)return o.login_hint;this.logger.verbose("0mvp54",this.correlationId)}else this.logger.verbose("1e7bdp",this.correlationId);return null}async createAuthCodeClient(t){let o=await G(this.getClientConfiguration.bind(this),Wd,this.logger,this.performanceClient,this.correlationId)(t);return new gm(o,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:o,requestAuthority:n,requestAzureCloudOptions:r,requestExtraQueryParameters:s,account:a}=t,i=t.authority||await G(ns,gi,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,s,a),l=this.config.system.loggerOptions;return{authOptions:{clientId:this.config.auth.clientId,authority:i,clientCapabilities:this.config.auth.clientCapabilities,redirectUri:this.config.auth.redirectUri,isMcp:this.config.auth.isMcp},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:l.loggerCallback,piiLoggingEnabled:l.piiLoggingEnabled,logLevel:l.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:o,libraryInfo:{sku:yn.MSAL_SKU,version:Ns,cpu:"",os:""},telemetry:this.config.telemetry}}};async function eu(e,t,o,n,r,s,a,i){let l=vm(e.redirectUri,o.auth.redirectUri,s,i);new URL(l).origin!==new URL(window.location.href).origin&&(s.warning("08qbvw",i),a.addFields({isRedirectUriCrossOrigin:!0},i));let c={interactionType:t},d=pi.setRequestState(n,e&&e.state||"",c),m={...await G(zx,Ah,s,a,i)({...e,correlationId:i},o,a,s,i),redirectUri:l,state:d,nonce:e.nonce||Ds(),responseMode:o.auth.OIDCOptions.responseMode},g={...m,httpMethod:Zk(m,o.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||r.getActiveAccount(i);return f&&(s.verbose("1eqlb3",i),s.verbosePii("0tf99t",i),g.account=f),g}function tde(e,t){if(!t)return null;try{return pi.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw Z(fn.invalidState)}}function ym(e,t,o,n){let r=Ta.getDeserializedResponse(e);if(!r)throw Ta.stripLeadingHashOrQuery(e)?(o.error("13pl0s",n),o.errorPii("1097vx",n),ue(Ble)):(o.error("18h0l1",n),ue(zle));return r}function ode(e,t,o){if(!e.state)throw ue(Dh);let n=tde(t,e.state);if(!n)throw ue(Mk);if(n.interactionType!==o)throw ue(Vle)}var jh=class{constructor(t,o,n,r,s){this.authModule=t,this.browserStorage=o,this.authCodeRequest=n,this.logger=r,this.performanceClient=s}async handleCodeResponse(t,o,n){let r;try{r=dl.getAuthorizationCodePayload(t,o.state)}catch(s){throw s instanceof os&&s.subError===Fx?ue(Fx):s}return G(this.handleCodeResponseFromServer.bind(this),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,o.correlationId)(r,o,n)}async handleCodeResponseFromServer(t,o,n,r=!0){if(this.logger.trace("0mf2hb",o.correlationId),this.authCodeRequest.code=t.code,r&&(t.nonce=o.nonce||void 0),t.state=o.state,t.client_info)this.authCodeRequest.clientInfo=t.client_info;else{let a=this.createCcsCredentials(o);a&&(this.authCodeRequest.ccsCredential=a)}return await G(this.authModule.acquireToken.bind(this.authModule),_le,this.logger,this.performanceClient,o.correlationId)(this.authCodeRequest,n,t)}createCcsCredentials(t){return t.account?{credential:t.account.homeAccountId,type:pr.HOME_ACCOUNT_ID}:t.loginHint?{credential:t.loginHint,type:pr.UPN}:null}};var nde="ContentError",rde="PageException",sde="user_switch";var ade="USER_INTERACTION_REQUIRED",ide="USER_CANCEL",lde="NO_NETWORK",cde="PERSISTENT_ERROR",dde="DISABLED",ude="ACCOUNT_UNAVAILABLE",pde="UX_NOT_ALLOWED";var gMe=-2147186943,Ea=class e extends ot{constructor(t,o,n){super(t,o||Lh(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=n}};function tu(e){if(e.ext&&e.ext.status&&(e.ext.status===cde||e.ext.status===dde)||e.ext&&e.ext.error&&e.ext.error===gMe)return!0;switch(e.errorCode){case nde:case rde:return!0;default:return!1}}function xm(e,t,o){if(o&&o.status)switch(o.status){case ude:return pm(cl.nativeAccountUnavailable,Lh(e));case ade:return new Co(e,t);case ide:return ue(Fx);case lde:return ue(Ox);case pde:return pm(cl.uxNotAllowed)}return new Ea(e,t,o)}var Qh=class extends rs{async acquireToken(t){let o=Vo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),n=await G(this.getClientConfiguration.bind(this),Wd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),r=new Mx(n,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let a=(await G(r.acquireCachedToken.bind(r),fle,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),a}catch(s){throw s instanceof bm&&s.errorCode===$k&&this.logger.verbose("06wena",this.correlationId),s}}logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t);return Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account)}};var ou=class extends Vh{constructor(t,o,n,r,s,a,i,l,c,d,p,m){super(t,o,n,r,s,a,l,m,c),this.apiId=i,this.accountId=d,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new Qh(t,this.nativeStorageManager,n,r,s,a,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=fm.makeExtraSkuString({libraryName:yn.MSAL_SKU,libraryVersion:Ns,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[hc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,o){this.logger.trace("03qeos",this.correlationId);let n=this.performanceClient.startMeasurement(Pk,t.correlationId),r=es.nowSeconds(),s=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let a=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,a);return n.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(o===Wn.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let i=await this.platformAuthProvider.sendMessage(a);return await this.handleNativeResponse(i,a,r).then(l=>(n.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),s.clearNativeBrokerErrorCode(),l)).catch(l=>{throw n.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(a){throw a instanceof Ea&&s.setNativeBrokerErrorCode(a.errorCode),a}}createSilentCacheRequest(t,o){return{authority:t.authority,correlationId:this.correlationId,scopes:hn.fromString(t.scope).asArray(),account:o,forceRefresh:!1}}async acquireTokensFromCache(t,o){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),Z(fn.noAccountFound);let n=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},o.correlationId);if(!n)throw Z(fn.noAccountFound);try{let r=this.createSilentCacheRequest(o,n),s=await this.silentCacheClient.acquireToken(r),a={...n,idTokenClaims:s?.idTokenClaims,idToken:s?.idToken};return{...s,account:a}}catch(r){throw r}}async acquireTokenRedirect(t,o,n){this.logger.trace("0luikq",this.correlationId);let r=await this.initializeNativeRequest(t),s=n?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(r)}catch(l){if(l instanceof Ea&&(Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),tu(l)))throw l}this.browserStorage.setTemporaryCache(Eo.NATIVE_REQUEST,JSON.stringify(r),!0);let a={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},i=s?window.location.href:vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);o.end({success:!0}),await this.navigationClient.navigateExternal(i,a)}async handleRedirectPromise(t,o){if(this.logger.trace("1c5lhw",this.correlationId),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",this.correlationId),null;let n=this.browserStorage.getCachedNativeRequest();if(!n)return this.logger.verbose("0a6zjb",this.correlationId),t&&o&&t?.addFields({errorCode:"no_cached_request"},o),null;let{prompt:r,...s}=n;r&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.NATIVE_REQUEST));let a=es.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let i=await this.platformAuthProvider.sendMessage(s),l=await this.handleNativeResponse(i,s,a);return Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).clearNativeBrokerErrorCode(),l}catch(i){throw i}}logout(){return this.logger.trace("0u2sjm",this.correlationId),Promise.reject("Logout not implemented yet")}async handleNativeResponse(t,o,n){this.logger.trace("1bojln",this.correlationId);let r=ur.extractTokenClaims(t.id_token,Ln),s=this.createHomeAccountIdentifier(t,r),a=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:o.accountId},this.correlationId)?.homeAccountId;if(o.extraParameters?.child_client_id&&t.account.id!==o.accountId)this.logger.info("1ub1in",this.correlationId);else if(s!==a&&t.account.id!==o.accountId)throw xm(sde);let i=await ns(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o.authority),l=Sk(this.browserStorage,i,s,Ln,this.correlationId,r,t.client_info,i.getPreferredCache(),r.tid,void 0,t.account.id,this.logger,this.performanceClient);t.expires_in=Number(t.expires_in);let c=await this.generateAuthenticationResult(t,o,r,l,i.canonicalAuthority,n);return await this.cacheAccount(l,ur.isKmsi(r)),await this.cacheNativeTokens(t,o,s,r,t.access_token,c.tenantId,n),c}createHomeAccountIdentifier(t,o){return Sa.generateHomeAccountId(t.client_info||"",Cr.Default,this.logger,this.browserCrypto,this.correlationId,o)}generateScopes(t,o){return o?hn.fromString(o):hn.fromString(t)}async generatePopAccessToken(t,o){if(o.tokenType===Le.AuthenticationScheme.POP&&o.signPopToken){if(t.shr)return this.logger.trace("0coqhu",this.correlationId),t.shr;let n=new ts(this.browserCrypto,this.performanceClient),r={resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,shrNonce:o.shrNonce,correlationId:this.correlationId};if(!o.keyId)throw Z(fn.keyIdMissing);return n.signPopToken(t.access_token,o.keyId,r)}else return t.access_token}async generateAuthenticationResult(t,o,n,r,s,a){let i=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(o.scope,t.scope),c=t.account.properties||{},d=c.UID||n.oid||n.sub||"",p=c.TenantId||n.tid||"",m=lm(Sa.getAccountInfo(r),void 0,n,t.id_token);m.nativeAccountId!==t.account.id&&(m.nativeAccountId=t.account.id);let g=await this.generatePopAccessToken(t,o),f=o.tokenType===Le.AuthenticationScheme.POP?Le.AuthenticationScheme.POP:Le.AuthenticationScheme.BEARER;return{authority:s,uniqueId:d,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:n,accessToken:g,fromCache:i?this.isResponseFromCache(i):!1,expiresOn:es.toDateFromSeconds(a+t.expires_in),tokenType:f,correlationId:this.correlationId,state:t.state,fromPlatformBroker:!0,...o.resource&&{resource:o.resource}}}async cacheAccount(t,o){await this.browserStorage.setAccount(t,this.correlationId,o,this.apiId),this.browserStorage.removeAccountContext(Sa.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,o,n,r,s,a,i){let l=_n.createIdTokenEntity(n,o.authority,t.id_token||"",o.clientId,r.tid||""),c=o.tokenType===Le.AuthenticationScheme.POP?Le.SHR_NONCE_VALIDITY:(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,d=i+c,p=this.generateScopes(t.scope,o.scope),m=_n.createAccessTokenEntity(n,o.authority,s,o.clientId,r.tid||a,p.printScopes(),d,0,Ln,void 0,o.tokenType,void 0,o.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,ur.isKmsi(r),this.apiId,o.storeInCache)}getExpiresInValue(t,o){return t===Le.AuthenticationScheme.POP?Le.SHR_NONCE_VALIDITY:(typeof o=="string"?parseInt(o,10):o)||0}addTelemetryFromNativeResponse(t){let o=this.getMATSFromResponse(t);return o?(this.performanceClient.addFields({extensionId:this.platformAuthProvider.getExtensionId(),extensionVersion:this.platformAuthProvider.getExtensionVersion(),matsBrokerVersion:o.broker_version,matsAccountJoinOnStart:o.account_join_on_start,matsAccountJoinOnEnd:o.account_join_on_end,matsDeviceJoin:o.device_join,matsPromptBehavior:o.prompt_behavior,matsApiErrorCode:o.api_error_code,matsUiVisible:o.ui_visible,matsSilentCode:o.silent_code,matsSilentBiSubCode:o.silent_bi_sub_code,matsSilentMessage:o.silent_message,matsSilentStatus:o.silent_status,matsHttpStatus:o.http_status,matsHttpEventCount:o.http_event_count},this.correlationId),o):null}getMATSFromResponse(t){if(t)try{return JSON.parse(t)}catch{this.logger.error("0b3l57",this.correlationId)}return null}isResponseFromCache(t){return typeof t.is_cached>"u"?(this.logger.verbose("1okqev",this.correlationId),!1):!!t.is_cached}async initializeNativeRequest(t){this.logger.trace("04j6wj",this.correlationId);let o=await this.getCanonicalAuthority(t),{scopes:n,...r}=t,s=new hn(n||[]);s.appendScopes(Le.OIDC_DEFAULT_SCOPES);let a={...r,accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:s.printScopes(),redirectUri:vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId),prompt:this.getPrompt(t.prompt),correlationId:this.correlationId,tokenType:t.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...t.extraParameters},extendedExpiryToken:!1,keyId:t.popKid};if(a.signPopToken&&t.popKid)throw ue(pce);if(this.handleExtraBrokerParams(a),a.extraParameters=a.extraParameters||{},a.extraParameters.telemetry=Er.MATS_TELEMETRY,t.authenticationScheme===Le.AuthenticationScheme.POP){let i={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new ts(this.browserCrypto,this.performanceClient),c;if(a.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:a.keyId})),a.signPopToken=!1;else{let d=await G(l.generateCnf.bind(l),vn.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(i,this.logger);c=d.reqCnfString,a.keyId=d.kid,a.signPopToken=!0}a.reqCnf=c}return this.addRequestSKUs(a),a}async getCanonicalAuthority(t){let o=t.authority||this.config.auth.authority,{azureCloudOptions:n,account:r}=t;r&&await ns(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o,n,void 0,r);let s=new Tt(o);return s.validateAsUri(),s}getPrompt(t){switch(this.apiId){case St.ssoSilent:case St.acquireTokenSilent_silentFlow:return this.logger.trace("1hiwaz",this.correlationId),Le.PromptValue.NONE}if(!t){this.logger.trace("1qlu04",this.correlationId);return}switch(t){case Le.PromptValue.NONE:case Le.PromptValue.CONSENT:case Le.PromptValue.LOGIN:return this.logger.trace("1ynje4",this.correlationId),t;default:throw this.logger.trace("0nkr6q",this.correlationId),ue(dce)}}handleExtraBrokerParams(t){let o=t.extraParameters&&t.extraParameters.hasOwnProperty(hc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(hc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(hc.CLIENT_ID);if(!t.embeddedClientId&&!o)return;let n="",r=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,n=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[hc.BROKER_REDIRECT_URI],n=t.extraParameters[hc.CLIENT_ID]),t.extraParameters={child_client_id:n,child_redirect_uri:r},this.performanceClient?.addFields({embeddedClientId:n,embeddedRedirectUri:r},t.correlationId)}};var fMe=new Map([["e","AAD"],["m","MSA"]]);function hMe(e){if(!e)return null;try{let n=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return n.length<5?null:{accountType:fMe.get(n[0]?.trim()||"")||"",error:n[1]?.trim()||"",subError:n[2]?.trim()||"",cloudInstance:n[3]?.trim()||"",callerDataBoundary:n[4]?.trim()||""}}catch{return null}}function mde(e,t,o){let n=hMe(e.clientdata);n?.accountType&&o.addFields({accountType:n.accountType},t),n?.error&&o.addFields({serverErrorNo:n.error},t),n?.subError&&o.addFields({serverSubErrorNo:n.subError},t)}async function dU(e,t,o,n,r){let s=dl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},o,n,r);if(fo.addLibraryInfo(s,{sku:yn.MSAL_SKU,version:Ns,os:"",cpu:""}),e.system.protocolMode!==uo.OIDC&&fo.addApplicationTelemetry(s,e.telemetry.application),o.platformBroker&&(fo.addNativeBroker(s),o.authenticationScheme===Le.AuthenticationScheme.POP)){let a=new pl(n,r),i=new ts(a,r),l;o.popKid?l=a.encodeKid(o.popKid):l=(await G(i.generateCnf.bind(i),vn.PopTokenGenerateCnf,n,r,o.correlationId)(o,n)).reqCnfString,fo.addPopToken(s,l)}return fo.instrumentBrokerParams(s,o.correlationId,r),s}async function Yh(e,t,o,n,r){if(!o.codeChallenge)throw Lt(Xr.pkceParamsMissing);let s=await G(dU,hle,n,r,o.correlationId)(e,t,o,n,r);return fo.addResponseType(s,Le.OAuthResponseType.CODE),fo.addCodeChallengeParams(s,o.codeChallenge,Le.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(s,{...o.extraQueryParameters,...o.extraParameters}),dl.getAuthorizeUrl(t,s)}async function Wh(e,t,o,n,r,s){if(!n.earJwk)throw ue(GO);let a=await dU(t,o,n,r,s);fo.addResponseType(a,Le.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),fo.addEARParameters(a,n.earJwk),fo.addCodeChallengeParams(a,n.codeChallenge,Le.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(a,{...n.extraParameters});let i=new Map;fo.addExtraParameters(i,n.extraQueryParameters||{}),fo.addCorrelationId(i,n.correlationId);let l=dl.getAuthorizeUrl(o,i);return gde(e,l,a)}async function Kh(e,t,o,n,r,s){let a=await dU(t,o,n,r,s);fo.addResponseType(a,Le.OAuthResponseType.CODE),fo.addCodeChallengeParams(a,n.codeChallenge,n.codeChallengeMethod||Le.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(a,{...n.extraParameters});let i=new Map;fo.addExtraParameters(i,n.extraQueryParameters||{}),fo.addCorrelationId(i,n.correlationId);let l=dl.getAuthorizeUrl(o,i);return gde(e,l,a)}function gde(e,t,o){let n=e.createElement("form");return n.method="post",n.action=t,o.forEach((r,s)=>{let a=e.createElement("input");a.hidden=!0,a.name=s,a.value=r,n.appendChild(a)}),e.body.appendChild(n),n}async function fde(e,t,o,n,r,s,a,i,l,c){if(i.verbose("11qcow",e.correlationId),!c)throw ue(qk);let d=new pl(i,l),p=new ou(n,r,d,i,a,n.system.navigationClient,o,l,c,t,s,e.correlationId),{userRequestState:m}=pi.parseRequestState(d.base64Decode,e.state);return G(p.acquireToken.bind(p),Pk,i,l,e.correlationId)({...e,state:m,prompt:void 0})}async function Pc(e,t,o,n,r,s,a,i,l,c,d,p){if(Sc.removeThrottle(a,r.auth.clientId,e),mde(t,e.correlationId,d),t.accountId)return G(fde,qO,c,d,e.correlationId)(e,t.accountId,n,r,a,i,l,c,d,p);let m={...e,code:t.code||"",codeVerifier:o},g=new jh(s,a,m,c,d);return await G(g.handleCodeResponse.bind(g),ble,c,d,e.correlationId)(t,e,n)}async function Jh(e,t,o,n,r,s,a,i,l,c,d){if(Sc.removeThrottle(s,n.auth.clientId,e),mde(t,e.correlationId,c),dl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw ue(Hle);if(!e.earJwk)throw ue(GO);let p=JSON.parse(await G(Cce,Mle,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return G(fde,qO,l,c,e.correlationId)(e,p.accountId,o,n,s,a,i,l,c,d);let m=new mi(n.auth.clientId,s,new pl(l,c),l,c,null,null);m.validateTokenResponse(p,e.correlationId);let g={code:"",state:e.state,nonce:e.nonce,client_info:p.client_info,cloud_graph_host_name:p.cloud_graph_host_name,cloud_instance_host_name:p.cloud_instance_host_name,cloud_instance_name:p.cloud_instance_name,msgraph_host:p.msgraph_host};return await G(m.handleServerTokenResponse.bind(m),vn.HandleServerTokenResponse,l,c,e.correlationId)(p,r,es.nowSeconds(),e,o,g,void 0,void 0,void 0,void 0)}var bMe=32;async function _i(e,t,o){let n=Jo(_Me,Cle,t,e,o)(e,t,o),r=await G(vMe,Ele,t,e,o)(n,e,t,o);return{verifier:n,challenge:r}}function _Me(e,t,o){try{let n=new Uint8Array(bMe);return Jo(xce,kle,t,e,o)(n),wa(n)}catch{throw ue(VO)}}async function vMe(e,t,o,n){try{let r=await G(XO,Ale,o,t,n)(e);return wa(new Uint8Array(r))}catch{throw ue(VO)}}var Xk=class e{navigateInternal(t,o){return e.defaultNavigateWindow(t,o)}navigateExternal(t,o){return e.defaultNavigateWindow(t,o)}static defaultNavigateWindow(t,o){return o.noHistory?window.location.replace(t):window.location.assign(t),new Promise((n,r)=>{setTimeout(()=>{r(ue(_m,"failed_to_redirect"))},o.timeout)})}};var eI=class{async sendGetRequestAsync(t,o){let n,r={},s=0,a=hde(o);try{n=await fetch(t,{method:HO.GET,headers:a})}catch(i){throw mm(ue(window.navigator.onLine?nce:Ox),void 0,void 0,i)}r=bde(n.headers);try{return s=n.status,{headers:r,body:await n.json(),status:s}}catch(i){throw mm(ue(QO),s,r,i)}}async sendPostRequestAsync(t,o){let n=o&&o.body||"",r=hde(o),s,a=0,i={};try{s=await fetch(t,{method:HO.POST,headers:r,body:n})}catch(l){throw mm(ue(window.navigator.onLine?oce:Ox),void 0,void 0,l)}i=bde(s.headers);try{return a=s.status,{headers:i,body:await s.json(),status:a}}catch(l){throw mm(ue(QO),a,i,l)}}};function hde(e){try{let t=new Headers;if(!(e&&e.headers))return t;let o=e.headers;return Object.entries(o).forEach(([n,r])=>{t.append(n,r)}),t}catch(t){throw mm(ue(mce),void 0,void 0,t)}}function bde(e){try{let t={};return e.forEach((o,n)=>{t[n]=o}),t}catch{throw ue(gce)}}var yMe=6e4,xMe=1e4,TMe=3e4,uU=2e3;function _de({auth:e,cache:t,system:o,experimental:n,telemetry:r},s){let a={clientId:"",authority:`${Le.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:"",postLogoutRedirectUri:"",clientCapabilities:[],OIDCOptions:{responseMode:Le.ResponseMode.FRAGMENT,defaultScopes:[Le.OPENID_SCOPE,Le.PROFILE_SCOPE,Le.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:jd.None,tenant:""},instanceAware:!1,isMcp:!1},i={cacheLocation:Pn.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:Dt.Info,piiLoggingEnabled:!1},d={...{...mk,loggerOptions:l,networkClient:s?new eI:RO,navigationClient:new Xk,popupBridgeTimeout:o?.popupBridgeTimeout||yMe,iframeBridgeTimeout:o?.iframeBridgeTimeout||xMe,redirectNavigationTimeout:TMe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:o?.nativeBrokerHandshakeTimeout||uU,protocolMode:uo.AAD},...o,loggerOptions:o?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new xc},m={iframeTimeoutTelemetry:!1};if(o?.protocolMode!==uo.OIDC&&e?.OIDCOptions&&new bn(d.loggerOptions).warning(JSON.stringify(Lt(Xr.cannotSetOIDCOptions)),""),o?.protocolMode&&o.protocolMode===uo.OIDC&&d?.allowPlatformBroker)throw Lt(Xr.cannotAllowPlatformBroker);return{auth:{...a,...e,OIDCOptions:{...a.OIDCOptions,...e?.OIDCOptions}},cache:{...i,...t},system:d,experimental:{...m,...n},telemetry:{...p,...r}}}var tI=class e{constructor(t,o,n,r){this.logger=t,this.handshakeTimeoutMs=o,this.extensionId=r,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=n,this.handshakeEvent=n.startMeasurement(Sle),this.platformAuthType=Er.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let o={method:Rh.GetToken,request:t},n={channel:Er.CHANNEL_ID,extensionId:this.extensionId,responseId:Ds(),body:o};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(n);let r=await new Promise((a,i)=>{this.resolvers.set(n.responseId,{resolve:a,reject:i})});return this.validatePlatformBrokerResponse(r)}static async createProvider(t,o,n,r){t.trace("15zfnw",r);try{let s=new e(t,o,n,Er.PREFERRED_EXTENSION_ID);return await s.sendHandshakeRequest(r),s}catch{let a=new e(t,o,n);return await a.sendHandshakeRequest(r),a}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let o={channel:Er.CHANNEL_ID,extensionId:this.extensionId,responseId:Ds(),body:{method:Rh.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=n=>{this.onChannelMessage(n)},window.postMessage(o,window.origin,[this.messageChannel.port2]),new Promise((n,r)=>{this.handshakeResolvers.set(o.responseId,{resolve:n,reject:r}),this.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",this.windowListener,!1),this.messageChannel.port1.close(),this.messageChannel.port2.close(),this.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),r(ue(lce)),this.handshakeResolvers.delete(o.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let o=Hx();if(this.logger.trace("0jpn5u",o),t.source!==window)return;let n=t.data;if(!(!n.channel||n.channel!==Er.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===Rh.HandshakeRequest){let r=this.handshakeResolvers.get(n.responseId);if(!r){this.logger.trace("07buhm",o);return}this.logger.verbose(n.extensionId?"0xrkug":"No extension installed",o),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),r.reject(ue(cce))}}onChannelMessage(t){let o=Hx();this.logger.trace("1py8yf",o);let n=t.data,r=this.resolvers.get(n.responseId),s=this.handshakeResolvers.get(n.responseId);try{let a=n.body.method;if(a===Rh.Response){if(!r)return;let i=n.body.response;if(this.logger.trace("19hpgm",o),this.logger.tracePii("179a24",o),i.status!=="Success")r.reject(xm(i.code,i.description,i.ext));else if(i.result)i.result.code&&i.result.description?r.reject(xm(i.result.code,i.result.description,i.result.ext)):r.resolve(i.result);else throw hh(Yd.unexpectedError,"Event does not contain result.");this.resolvers.delete(n.responseId)}else if(a===Rh.HandshakeResponse){if(!s){this.logger.trace("082qnt",o);return}clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=n.extensionId,this.extensionVersion=n.body.version,this.logger.verbose("0yf5ib",o),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),s.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(a){this.logger.error("0xf978",o),this.logger.errorPii("04i99o",o),this.logger.errorPii("0xdvsy",o),r?r.reject(a):s&&s.reject(a)}}validatePlatformBrokerResponse(t){if(t.hasOwnProperty("access_token")&&t.hasOwnProperty("id_token")&&t.hasOwnProperty("client_info")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scope")&&t.hasOwnProperty("expires_in"))return t;throw hh(Yd.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===Er.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var oI=class e{constructor(t,o,n){this.logger=t,this.performanceClient=o,this.correlationId=n,this.platformAuthType=Er.PLATFORM_DOM_PROVIDER}static async createProvider(t,o,n){if(t.trace("12mj4a",n),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(Er.MICROSOFT_ENTRA_BROKERID))?.includes(Er.PLATFORM_DOM_APIS))return t.trace("1h5q1r",n),new e(t,o,n)}getExtensionId(){return Er.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return Er.DOM_API_NAME}async sendMessage(t){this.logger.trace("02bcil",t.correlationId);try{let o=this.initializePlatformDOMRequest(t),n=await window.navigator.platformAuthentication.executeGetToken(o);return this.validatePlatformBrokerResponse(n,t.correlationId)}catch(o){throw this.logger.error("11im7g",t.correlationId),o}}initializePlatformDOMRequest(t){this.logger.trace("15d6yv",t.correlationId);let{accountId:o,clientId:n,authority:r,scope:s,redirectUri:a,correlationId:i,state:l,storeInCache:c,embeddedClientId:d,extraParameters:p,...m}=t,g=this.getDOMExtraParams(m,i);return{accountId:o,brokerId:this.getExtensionId(),authority:r,clientId:n,correlationId:i||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:a,scope:s,state:l,storeInCache:c,embeddedClientId:d}}validatePlatformBrokerResponse(t,o){if(t.hasOwnProperty("isSuccess")){if(t.hasOwnProperty("accessToken")&&t.hasOwnProperty("idToken")&&t.hasOwnProperty("clientInfo")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scopes")&&t.hasOwnProperty("expiresIn"))return this.logger.trace("0h4vei",o),this.convertToPlatformBrokerResponse(t,o);if(t.hasOwnProperty("error")){let n=t;if(n.isSuccess===!1&&n.error&&n.error.code)throw this.logger.trace("0g92vm",o),xm(n.error.code,n.error.description,{error:parseInt(n.error.errorCode),protocol_error:n.error.protocolError,status:n.error.status,properties:n.error.properties})}}throw hh(Yd.unexpectedError,"Response missing expected properties.")}convertToPlatformBrokerResponse(t,o){return this.logger.trace("14913t",o),{access_token:t.accessToken,id_token:t.idToken,client_info:t.clientInfo,account:t.account,expires_in:t.expiresIn,scope:t.scopes,state:t.state||"",properties:t.properties||{},extendedLifetimeToken:t.extendedLifetimeToken??!1,shr:t.proofOfPossessionPayload}}getDOMExtraParams(t,o){try{let n={};for(let[r,s]of Object.entries(t))s&&(typeof s=="object"?n[r]=JSON.stringify(s):n[r]=String(s));return n}catch{return this.logger.error("0eu9o3",o),this.logger.errorPii("17rpl5",o),{}}}};async function vde(e,t,o,n){e.trace("134j0v",o);let r=SMe();e.trace("04c81g",o);let s;try{r&&(s=await oI.createProvider(e,t,o)),s||(e.trace("0l3na8",o),s=await tI.createProvider(e,n||uU,t,o))}catch(a){e.trace("0icbd7",a)}return s}function SMe(){let e;try{return e=window[Pn.SessionStorage],e?.getItem(Gce)==="true"}catch{return!1}}function Lc(e,t,o,n,r){if(t.trace("0uko3r",o),!e.system.allowPlatformBroker)return t.trace("04hozs",o),!1;if(!n)return t.trace("0kvv1r",o),!1;if(r)switch(r){case Le.AuthenticationScheme.BEARER:case Le.AuthenticationScheme.POP:return t.trace("18tev1",o),!0;default:return t.trace("1dd2nh",o),!1}return!0}var nI=class extends rs{constructor(t,o,n,r,s,a,i,l,c,d){super(t,o,n,r,s,a,i,c,d),this.nativeStorage=l,this.eventHandler=s}acquireToken(t,o){let n;try{if(n={popupName:this.generatePopupName(t.scopes||Le.OIDC_DEFAULT_SCOPES,t.authority||this.config.auth.authority),popupWindowAttributes:t.popupWindowAttributes||{},popupWindowParent:t.popupWindowParent??window},this.performanceClient.addFields({isAsyncPopup:!this.config.system.navigatePopups},this.correlationId),this.config.system.navigatePopups){let s={...t,httpMethod:Zk(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.acquireTokenPopupAsync(s,n,o)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,n,o)}catch(r){return Promise.reject(r)}}logout(t){try{this.logger.verbose("068rup",this.correlationId);let o=this.initializeLogoutRequest(t),n={popupName:this.generateLogoutPopupName(o),popupWindowAttributes:t?.popupWindowAttributes||{},popupWindowParent:t?.popupWindowParent??window},r=t&&t.authority,s=t&&t.mainWindowRedirectUri;return this.config.system.navigatePopups?(this.logger.verbose("1a28da",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.logoutPopupAsync(o,n,r,s)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(o,n,r,s))}catch(o){return Promise.reject(o)}}async acquireTokenPopupAsync(t,o,n){this.logger.verbose("1g77pg",this.correlationId);let r=await G(eu,Kd,this.logger,this.performanceClient,this.correlationId)(t,je.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.popup&&Bk(r.authority);let s=Lc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return r.platformBroker=s,this.config.system.protocolMode===uo.EAR?this.executeEarFlow(r,o,n):this.executeCodeFlow(r,o,n)}async executeCodeFlow(t,o,n){let r=t.correlationId,s=Vo(St.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),a=n||await G(_i,hi,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),i={...t,codeChallenge:a.challenge};try{let l=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,r)({serverTelemetryManager:s,requestAuthority:i.authority,requestAzureCloudOptions:i.azureCloudOptions,requestExtraQueryParameters:i.extraQueryParameters,account:i.account});if(i.httpMethod===Le.HttpMethod.POST)return await this.executeCodeFlowWithPost(i,o,l,a.verifier);{let c=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,r)(this.config,l.authority,i,this.logger,this.performanceClient),d=this.initiateAuthRequest(c,o);this.eventHandler.emitEvent(Ke.POPUP_OPENED,r,je.Popup,{popupWindow:d},null);let p=await Xd(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await G(Pc,Cc,this.logger,this.performanceClient,r)(t,m,a.verifier,St.acquireTokenPopup,this.config,l,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}}catch(l){throw o.popup?.close(),l instanceof ot&&(l.setCorrelationId(this.correlationId),s.cacheFailedRequest(l)),l}}async executeEarFlow(t,o,n){let{correlationId:r,authority:s,azureCloudOptions:a,extraQueryParameters:i,account:l}=t,c=await G(ns,gi,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,a,i,l),d=await G(Oh,Ph,this.logger,this.performanceClient,r)(),p=n||await G(_i,hi,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),m={...t,earJwk:d,codeChallenge:p.challenge},g=o.popup||this.openPopup("about:blank",o);(await Wh(g.document,this.config,c,m,this.logger,this.performanceClient)).submit();let _=await G(Xd,kh,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(_,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let x=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,r)({serverTelemetryManager:Vo(St.acquireTokenPopup,this.config.auth.clientId,r,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:c});return G(Pc,Cc,this.logger,this.performanceClient,r)(m,h,p.verifier,St.acquireTokenPopup,this.config,x,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(Jh,Ih,this.logger,this.performanceClient,r)(m,h,St.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,o,n,r){let s=t.correlationId,a=await G(ns,gi,this.logger,this.performanceClient,s)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),i=o.popup||this.openPopup("about:blank",o);(await Kh(i.document,this.config,a,t,this.logger,this.performanceClient)).submit();let c=await G(Xd,kh,this.logger,this.performanceClient,s)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),d=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return G(Pc,Cc,this.logger,this.performanceClient,s)(t,d,r,St.acquireTokenPopup,this.config,n,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,o,n,r){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(Ke.LOGOUT_START,this.correlationId,je.Popup,t);let s=Vo(St.logoutPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{await Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,t.account);let a=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:s,requestAuthority:n,account:t.account||void 0});try{a.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&a.authority.protocolMode===uo.OIDC){if(this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,t.correlationId,je.Popup,t),r){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},d=Tt.getAbsoluteUrl(r,Ca());await this.navigationClient.navigateInternal(d,c)}o.popup?.close();return}}let i=a.getLogoutUri(t);this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,t.correlationId,je.Popup,t);let l=this.openPopup(i,o);if(this.eventHandler.emitEvent(Ke.POPUP_OPENED,t.correlationId,je.Popup,{popupWindow:l},null),await Xd(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),r){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},d=Tt.getAbsoluteUrl(r,Ca());this.logger.verbose("0qcur2",this.correlationId),this.logger.verbosePii("0oj7lk",this.correlationId),await this.navigationClient.navigateInternal(d,c)}else this.logger.verbose("03zgcf",this.correlationId)}catch(a){throw o.popup?.close(),a instanceof ot&&(a.setCorrelationId(this.correlationId),s.cacheFailedRequest(a)),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,this.correlationId,je.Popup,null,a),this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,je.Popup),a}this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,je.Popup)}initiateAuthRequest(t,o){if(t)return this.logger.infoPii("1kcr9k",this.correlationId),this.openPopup(t,o);throw this.logger.error("1l7hyp",this.correlationId),ue(Mh)}openPopup(t,o){try{let n;if(o.popup?(n=o.popup,this.logger.verbosePii("0cgeo7",this.correlationId),n.location.assign(t)):typeof o.popup>"u"&&(this.logger.verbosePii("0c2awd",this.correlationId),n=this.openSizedPopup(t,o)),!n)throw ue(Yle);return n.focus&&n.focus(),this.currentWindow=n,n}catch{throw this.logger.error("0dxfb9",this.correlationId),ue(Qle)}}openSizedPopup(t,{popupName:o,popupWindowAttributes:n,popupWindowParent:r}){let s=r.screenLeft?r.screenLeft:r.screenX,a=r.screenTop?r.screenTop:r.screenY,i=r.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=r.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=n.popupSize?.width,d=n.popupSize?.height,p=n.popupPosition?.top,m=n.popupPosition?.left;return(!c||c<0||c>i)&&(this.logger.verbose("08vfmo",this.correlationId),c=yn.POPUP_WIDTH),(!d||d<0||d>l)&&(this.logger.verbose("09cxa0",this.correlationId),d=yn.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-yn.POPUP_HEIGHT/2+a)),(!m||m<0||m>i)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,i/2-yn.POPUP_WIDTH/2+s)),r.open(t,o,`width=${c}, height=${d}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,o){return`${yn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${o}.${this.correlationId}`}generateLogoutPopupName(t){let o=t.account&&t.account.homeAccountId;return`${yn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${o}.${this.correlationId}`}};function wMe(){if(typeof window>"u"||typeof window.performance>"u"||typeof window.performance.getEntriesByType!="function")return;let e=window.performance.getEntriesByType("navigation");return(e.length?e[0]:void 0)?.type}var rI=class extends rs{constructor(t,o,n,r,s,a,i,l,c,d){super(t,o,n,r,s,a,i,c,d),this.nativeStorage=l}async acquireToken(t){let o=await G(eu,Kd,this.logger,this.performanceClient,this.correlationId)(t,je.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.platformBroker=Lc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let n=s=>{s.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(Ke.RESTORE_FROM_BFCACHE,this.correlationId,je.Redirect))},r=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,r,!0),window.addEventListener("pageshow",n);try{this.config.system.protocolMode===uo.EAR?await this.executeEarFlow(o):await this.executeCodeFlow(o)}catch(s){throw s instanceof ot&&s.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",n),s}}async executeCodeFlow(t){let o=t.correlationId,n=Vo(St.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await G(_i,hi,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),s={...t,codeChallenge:r.challenge};this.browserStorage.cacheAuthorizeRequest(s,this.correlationId,r.verifier);try{if(s.httpMethod===Le.HttpMethod.POST)return await this.executeCodeFlowWithPost(s);{let a=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:s.authority,requestAzureCloudOptions:s.azureCloudOptions,requestExtraQueryParameters:s.extraQueryParameters,account:s.account}),i=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,a.authority,s,this.logger,this.performanceClient);return await this.initiateAuthRequest(i)}}catch(a){throw a instanceof ot&&(a.setCorrelationId(this.correlationId),n.cacheFailedRequest(a)),a}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:r,extraQueryParameters:s,account:a}=t,i=await G(ns,gi,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,s,a),l=await G(Oh,Ph,this.logger,this.performanceClient,o)(),c=await G(_i,hi,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),d={...t,earJwk:l,codeChallenge:c.challenge};return this.browserStorage.cacheAuthorizeRequest(d,this.correlationId,c.verifier),(await Wh(document,this.config,i,d,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(ue(_m,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let o=t.correlationId,n=await G(ns,gi,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await Kh(document,this.config,n,t,this.logger,this.performanceClient)).submit(),new Promise((s,a)=>{setTimeout(()=>{a(ue(_m,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,o,n,r){let s=Vo(St.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),a=r?.navigateToLoginRequestUrl??!0;try{let[i,l]=this.getRedirectResponse(r?.hash||"");if(!i)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),wMe()!=="back_forward"?n.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(Eo.ORIGIN_URI,this.correlationId,!0)||"",d=Ta.normalizeUrlForComparison(c),p=Ta.normalizeUrlForComparison(window.location.href);if(d===p&&a)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&Pce(c),await this.handleResponse(i,t,o,s);if(a){if(!Ux()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(Eo.URL_HASH,l,!0);let m={apiId:St.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=Rce();this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,f,!0),this.logger.warning("1dutq1",this.correlationId),g=await this.navigationClient.navigateInternal(f,m)}else this.logger.verbose("08jpy1",this.correlationId),g=await this.navigationClient.navigateInternal(c,m);if(!g)return await this.handleResponse(i,t,o,s)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(i,t,o,s);return null}catch(i){throw i instanceof ot&&(i.setCorrelationId(this.correlationId),s.cacheFailedRequest(i)),i}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let o=t;o||(this.config.auth.OIDCOptions.responseMode===Le.ResponseMode.QUERY?o=window.location.search:o=window.location.hash);let n=Ta.getDeserializedResponse(o);if(n){try{ode(n,this.browserCrypto,je.Redirect)}catch(s){return s instanceof ot&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return Hk(window),this.logger.verbose("00uvho",this.correlationId),[n,o]}let r=this.browserStorage.getTemporaryCache(Eo.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.URL_HASH)),r&&(n=Ta.getDeserializedResponse(r),n)?(this.logger.verbose("001671",this.correlationId),[n,r]):[null,""]}async handleResponse(t,o,n,r){if(!t.state)throw ue(Dh);let{authority:a,azureCloudOptions:i,extraQueryParameters:l,account:c}=o;if(t.ear_jwe){let p=await G(ns,gi,this.logger,this.performanceClient,o.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,a,i,l,c);return G(Jh,Ih,this.logger,this.performanceClient,o.correlationId)(o,t,St.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let d=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:o.authority});return G(Pc,Cc,this.logger,this.performanceClient,o.correlationId)(o,t,n,St.acquireTokenRedirect,this.config,d,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async initiateAuthRequest(t){if(this.logger.verbose("0yaw2e",this.correlationId),t){this.logger.infoPii("1luf83",this.correlationId);let o={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},n=this.config.auth.onRedirectNavigate;if(typeof n=="function")if(this.logger.verbose("1nehvl",this.correlationId),n(t)!==!1){this.logger.verbose("1a0jxh",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}else{this.logger.verbose("09k5h5",this.correlationId);return}else{this.logger.verbose("0klwf7",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}}else throw this.logger.info("0rlh4e",this.correlationId),ue(Mh)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t),n=Vo(St.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(Ke.LOGOUT_START,this.correlationId,je.Redirect,t),await Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account);let r={apiId:St.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},s=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(s.authority.protocolMode===uo.OIDC)try{s.authority.endSessionEndpoint}catch{if(o.account?.homeAccountId){this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,this.correlationId,je.Redirect,o);return}}let a=s.getLogoutUri(o);o.account?.homeAccountId&&this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,this.correlationId,je.Redirect,o);let i=this.config.auth.onRedirectNavigate;if(typeof i=="function")if(i(a)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,bi.SIGNOUT),await this.navigationClient.navigateExternal(a,r);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,bi.SIGNOUT),await this.navigationClient.navigateExternal(a,r);return}}catch(r){throw r instanceof ot&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,this.correlationId,je.Redirect,null,r),this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,je.Redirect),r}this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,je.Redirect)}getRedirectStartPage(t){let o=t||window.location.href;return Tt.getAbsoluteUrl(o,Ca())}};async function yde(e,t,o,n){if(!e)throw o.info("1l7hyp",n),ue(Mh);return Jo(CMe,gle,o,t,n)(e)}async function xde(e,t,o,n,r){let s=pU();if(!s.contentDocument)throw"No document associated with iframe!";return(await Kh(s.contentDocument,e,t,o,n,r)).submit(),s}async function Tde(e,t,o,n,r){let s=pU();if(!s.contentDocument)throw"No document associated with iframe!";return(await Wh(s.contentDocument,e,t,o,n,r)).submit(),s}function CMe(e){let t=pU();return t.src=e,t}function pU(){let e=document.createElement("iframe");return e.className="msalSilentIframe",e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),e.setAttribute("allow","local-network-access *"),document.body.appendChild(e),e}function mU(e){document.body===e.parentNode&&document.body.removeChild(e)}var sI=class extends rs{constructor(t,o,n,r,s,a,i,l,c,d,p){super(t,o,n,r,s,a,l,d,p),this.apiId=i,this.nativeStorage=c}async acquireToken(t){!t.loginHint&&!t.sid&&(!t.account||!t.account.username)&&this.logger.warning("1kl318",this.correlationId);let o={...t};o.prompt?o.prompt!==Le.PromptValue.NONE&&o.prompt!==Le.PromptValue.NO_SESSION&&(this.logger.warning("0bmctg",this.correlationId),o.prompt=Le.PromptValue.NONE):o.prompt=Le.PromptValue.NONE;let n=await G(eu,Kd,this.logger,this.performanceClient,this.correlationId)(o,je.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return n.platformBroker=Lc(this.config,this.logger,this.correlationId,this.platformAuthProvider,n.authenticationScheme),Bk(n.authority),this.config.system.protocolMode===uo.EAR?this.executeEarFlow(n):this.executeCodeFlow(n)}async executeCodeFlow(t){let o,n=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return o=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await G(this.silentTokenHelper.bind(this),NO,this.logger,this.performanceClient,t.correlationId)(o,t)}catch(r){if(r instanceof ot&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),!o||!(r instanceof ot)||r.errorCode!==yn.INVALID_GRANT_ERROR)throw r;return this.performanceClient.addFields({retryError:r.errorCode},this.correlationId),await G(this.silentTokenHelper.bind(this),NO,this.logger,this.performanceClient,this.correlationId)(o,t)}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:r,extraQueryParameters:s,account:a}=t,i=await G(ns,gi,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,s,a),l=await G(Oh,Ph,this.logger,this.performanceClient,o)(),c=await G(_i,hi,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),d={...t,earJwk:l,codeChallenge:c.challenge},p=await G(Tde,Lk,this.logger,this.performanceClient,o)(this.config,i,d,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await G(Xd,kh,this.logger,this.performanceClient,o)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{Jo(mU,FO,this.logger,this.performanceClient,o)(p)}let f=Jo(ym,hm,this.logger,this.performanceClient,o)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let _=await G(this.createAuthCodeClient.bind(this),fi,this.logger,this.performanceClient,o)({serverTelemetryManager:Vo(this.apiId,this.config.auth.clientId,o,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:i});return G(Pc,Cc,this.logger,this.performanceClient,o)(d,f,c.verifier,this.apiId,this.config,_,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(Jh,Ih,this.logger,this.performanceClient,o)(d,f,this.apiId,this.config,i,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}logout(){return Promise.reject(ue($h))}async silentTokenHelper(t,o){let n=o.correlationId,r=await G(_i,hi,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),s={...o,codeChallenge:r.challenge},a;if(o.httpMethod===Le.HttpMethod.POST)a=await G(xde,Lk,this.logger,this.performanceClient,n)(this.config,t.authority,s,this.logger,this.performanceClient);else{let d=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,n)(this.config,t.authority,s,this.logger,this.performanceClient);a=await G(yde,Lk,this.logger,this.performanceClient,n)(d,this.performanceClient,this.logger,n)}let i=this.config.auth.OIDCOptions.responseMode,l;try{l=await G(Xd,kh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,o,this.performanceClient,this.config.experimental)}finally{Jo(mU,FO,this.logger,this.performanceClient,n)(a)}let c=Jo(ym,hm,this.logger,this.performanceClient,n)(l,i,this.logger,this.correlationId);return G(Pc,Cc,this.logger,this.performanceClient,n)(o,c,r.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var aI=class extends rs{async acquireToken(t){let o=await G(zx,Ah,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),n={...t,...o};t.redirectUri&&(n.redirectUri=vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let r=Vo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=await this.createRefreshTokenClient({serverTelemetryManager:r,authorityUrl:n.authority,azureCloudOptions:n.azureCloudOptions,account:n.account});return G(s.acquireTokenByRefreshToken.bind(s),ule,this.logger,this.performanceClient,t.correlationId)(n,St.acquireTokenSilent_silentFlow).catch(a=>{throw a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a),a})}logout(){return Promise.reject(ue($h))}async createRefreshTokenClient(t){let o=await G(this.getClientConfiguration.bind(this),Wd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new Rx(o,this.performanceClient)}};var iI=class extends gm{constructor(t,o){super(t,o),this.includeRedirectUri=!1}};var lI=class extends rs{constructor(t,o,n,r,s,a,i,l,c,d){super(t,o,n,r,s,a,l,c,d),this.apiId=i}async acquireToken(t){if(!t.code)throw ue(rce);let o=await G(eu,Kd,this.logger,this.performanceClient,this.correlationId)(t,je.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),n=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let r={...o,code:t.code},s=await G(this.getClientConfiguration.bind(this),Wd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:o.authority,requestAzureCloudOptions:o.azureCloudOptions,requestExtraQueryParameters:o.extraQueryParameters,account:o.account}),a=new iI(s,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let i=new jh(a,this.browserStorage,r,this.logger,this.performanceClient);return await G(i.handleCodeResponseFromServer.bind(i),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,this.correlationId)({code:t.code,msgraph_host:t.msGraphHost,cloud_graph_host_name:t.cloudGraphHostName,cloud_instance_host_name:t.cloudInstanceHostName},o,this.apiId,!1)}catch(r){throw r instanceof ot&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),r}}logout(){return Promise.reject(ue($h))}};function Sde(e,t,o,n){let r=window.msal?.clientIds||[],s=r.length,a=r.filter(i=>i===e).length;a>1&&o.warning("1e88vg",n),t.add({msalInstanceCount:s,sameClientIdInstanceCount:a})}function cI(e,t,o,n){try{zk(e),Dx(o.auth.isMcp,n)}catch(r){throw t.end({success:!1},r,n.account),r}}var dI=class e{constructor(t){this.operatingContext=t,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=t.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new pl(this.logger,this.performanceClient):Vd,this.eventHandler=new Jk(this.logger),this.browserStorage=this.isBrowserEnvironment?new Bh(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,PO(this.config.auth)):Wce(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let o={cacheLocation:Pn.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new Bh(this.config.auth.clientId,o,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler),this.activeSilentTokenRequests=new Map,this.trackStateChange=this.trackStateChange.bind(this),this.trackStateChangeWithMeasurement=this.trackStateChangeWithMeasurement.bind(this)}static async createController(t,o){let n=new e(t);return await n.initialize(o),n}trackStateChange(t,o){t&&(o.type==="visibilitychange"?(this.logger.info("16v6hv",t),this.performanceClient.incrementFields({visibilityChangeCount:1},t)):o.type==="online"?(this.logger.info("0zirfd",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)):o.type==="offline"&&(this.logger.info("1xk9ef",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)))}async initialize(t){let o=this.getRequestCorrelationId(t);if(this.logger.trace("1f7joy",o),this.initialized){this.logger.info("061m5x",o);return}if(!this.isBrowserEnvironment){this.logger.info("19fvpi",o),this.initialized=!0,this.eventHandler.emitEvent(Ke.INITIALIZE_END,o);return}let n=this.config.system.allowPlatformBroker,r=this.performanceClient.startMeasurement(Oce,o);if(this.eventHandler.emitEvent(Ke.INITIALIZE_START,o),this.logMultipleInstances(r,o),r.add({isMcp:this.config.auth.isMcp}),await G(this.browserStorage.initialize.bind(this.browserStorage),mle,this.logger,this.performanceClient,o)(o),n)try{this.platformAuthProvider=await vde(this.logger,this.performanceClient,o,this.config.system.nativeBrokerHandshakeTimeout)}catch(s){this.logger.verbose(s,o)}this.config.cache.cacheLocation===Pn.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(o),this.initialized=!0,this.eventHandler.emitEvent(Ke.INITIALIZE_END,o),r.end({allowPlatformBroker:n,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),sU(this.initialized),this.isBrowserEnvironment){let o=t?.hash||"",n=this.redirectResponse.get(o);return typeof n>"u"?(n=this.handleRedirectPromiseInternal(t),this.redirectResponse.set(o,n),this.logger.verbose("1wn9kp","")):this.logger.verbose("0w0gm3",""),n}return this.logger.verbose("12xi63",""),null}async handleRedirectPromiseInternal(t){if(!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",""),null;if(this.browserStorage.getInteractionInProgress()?.type===bi.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let n=this.getAllAccounts(),r=this.browserStorage.getCachedNativeRequest(),s=r&&this.platformAuthProvider&&!t?.hash,a,i;try{if(s&&this.platformAuthProvider){let l=r?.correlationId||"";this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_START,l,je.Redirect),a=this.performanceClient.startMeasurement(jk,l),this.logger.trace("12v7is",l);let c=new ou(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,r.accountId,this.nativeInternalStorage,r.correlationId);i=G(c.handleRedirectPromise.bind(c),Tle,this.logger,this.performanceClient,a.event.correlationId)(this.performanceClient,a.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),d=l.correlationId;this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_START,d,je.Redirect),a=this.performanceClient.startMeasurement(jk,d),this.logger.trace("0znzs5",d);let p=this.createRedirectClient(d);i=G(p.handleRedirectPromise.bind(p),xle,this.logger,this.performanceClient,a.event.correlationId)(l,c,a,t)}}catch(l){throw this.browserStorage.resetRequestCache(""),l}return i.then(l=>(l?(this.browserStorage.resetRequestCache(l.correlationId),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,l.correlationId,je.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),n.length{this.browserStorage.resetRequestCache(a.event.correlationId);let c=l;throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,a.event.correlationId,je.Redirect,null,c),this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_END,a.event.correlationId,je.Redirect),a.end({success:!1},c),l})}async acquireTokenRedirect(t){let o=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",o);let n=this.performanceClient.startMeasurement(qce,o);n.add({scenarioId:t.scenarioId});let r=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=s=>{let a=typeof r=="function"?r(s):void 0;return n.add({navigateCallbackResult:a!==!1}),n.event=n.end({success:!0},void 0,t.account)||n.event,a};try{aU(this.initialized,this.config),Dx(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,bi.SIGNIN),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,je.Redirect,t);let s;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?s=new ou(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,o).acquireTokenRedirect(t,n).catch(i=>{if(i instanceof Ea&&tu(i))return this.platformAuthProvider=void 0,this.createRedirectClient(o).acquireToken(t);if(i instanceof Co)return this.logger.verbose("1ipyz4",o),this.createRedirectClient(o).acquireToken(t);throw i}):s=this.createRedirectClient(o).acquireToken(t),await s}catch(s){throw this.browserStorage.resetRequestCache(o),n.event.status===2?this.performanceClient.startMeasurement(jk,o).end({success:!1},s,t.account):n.end({success:!1},s,t.account),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,je.Redirect,null,s),s}}acquireTokenPopup(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Nce,o);n.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",o),cI(this.initialized,n,this.config,t),this.browserStorage.setInteractionInProgress(!0,bi.SIGNIN,t.overrideInteractionInProgress,o)}catch(i){return Promise.reject(i)}let r=this.getAllAccounts();this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,je.Popup,t);let s,a=this.getPreGeneratedPkceCodes(o);return this.canUsePlatformBroker(t)?s=this.acquireTokenNative({...t,correlationId:o},St.acquireTokenPopup).then(i=>(n.end({success:!0,isNativeBroker:!0},void 0,i.account),i)).catch(i=>{if(i instanceof Ea&&tu(i))return this.platformAuthProvider=void 0,this.createPopupClient(o).acquireToken(t,a);if(i instanceof Co)return this.logger.verbose("0yy5fw",o),this.createPopupClient(o).acquireToken(t,a);throw i}):s=this.createPopupClient(o).acquireToken(t,a),s.then(i=>{let l=r.length(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,je.Popup,null,i),n.end({success:!1},i,t.account),Promise.reject(i))).finally(async()=>{this.browserStorage.setInteractionInProgress(!1),this.config.system.navigatePopups||await this.preGeneratePkceCodes(o)})}trackStateChangeWithMeasurement(t){let o=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;o&&(t.type==="visibilitychange"?(this.logger.info("0yzimq",o.event.correlationId),o.increment({visibilityChangeCount:1})):t.type==="online"?(this.logger.info("1caf53",o.event.correlationId),o.increment({onlineStatusChangeCount:1})):t.type==="offline"&&(this.logger.info("0fdyk7",o.event.correlationId),o.increment({onlineStatusChangeCount:1})))}addStateChangeListeners(t){document.addEventListener("visibilitychange",t),window.addEventListener("online",t),window.addEventListener("offline",t)}removeStateChangeListeners(t){document.removeEventListener("visibilitychange",t),window.removeEventListener("online",t),window.removeEventListener("offline",t)}async ssoSilent(t){let o=this.getRequestCorrelationId(t),n={...t,prompt:t.prompt,correlationId:o};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(Fce,o),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),cI(this.initialized,this.ssoSilentMeasurement,this.config,n),this.ssoSilentMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement);let r=this.getAllAccounts();this.logger.verbose("0w1b45",o),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,je.Silent,n);let s;return this.canUsePlatformBroker(n)?s=this.acquireTokenNative(n,St.ssoSilent).catch(a=>{if(a instanceof Ea&&tu(a))return this.platformAuthProvider=void 0,this.createSilentIframeClient(n.correlationId).acquireToken(n);throw a}):s=this.createSilentIframeClient(n.correlationId).acquireToken(n),s.then(a=>{let i=r.length{throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,je.Silent,null,a),this.ssoSilentMeasurement?.end({success:!1},a,t.account),a}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let o=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",o);let n=this.performanceClient.startMeasurement($ce,o);cI(this.initialized,n,this.config,t),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,je.Silent,t),n.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw ue(ace);if(t.code){let r=t.code,s=this.hybridAuthCodeResponses.get(r);return s?(this.logger.verbose("0qgp28",o),n.discard()):(this.logger.verbose("06eh73",o),s=this.acquireTokenByCodeAsync({...t,correlationId:o}).then(a=>(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,o,je.Silent,a),this.hybridAuthCodeResponses.delete(r),n.end({success:!0,isNativeBroker:a.fromPlatformBroker,accessTokenSize:a.accessToken.length,idTokenSize:a.idToken.length},void 0,a.account),a)).catch(a=>{throw this.hybridAuthCodeResponses.delete(r),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,je.Silent,null,a),n.end({success:!1},a),a}),this.hybridAuthCodeResponses.set(r,s)),await s}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let r=await this.acquireTokenNative({...t,correlationId:o},St.acquireTokenByCode,t.nativeAccountId).catch(s=>{throw s instanceof Ea&&tu(s)&&(this.platformAuthProvider=void 0),s});return n.end({success:!0},void 0,r.account),r}else throw ue(ice);else throw ue(sce)}catch(r){throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,je.Silent,null,r),n.end({success:!1},r),r}}async acquireTokenByCodeAsync(t){let o=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",o),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(yle,o),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(o).acquireToken(t).then(s=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:s.fromCache,isNativeBroker:s.fromPlatformBroker}),s)).catch(s=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},s),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,o){switch(o){case Wn.Default:case Wn.AccessToken:case Wn.AccessTokenAndRefreshToken:let n=this.createSilentCacheClient(t.correlationId);return G(n.acquireToken.bind(n),ile,this.logger,this.performanceClient,t.correlationId)(t);default:throw Z(fn.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,o){switch(o){case Wn.Default:case Wn.AccessTokenAndRefreshToken:case Wn.RefreshToken:case Wn.RefreshTokenAndNetwork:let n=this.createSilentRefreshClient(t.correlationId);return G(n.acquireToken.bind(n),dle,this.logger,this.performanceClient,t.correlationId)(t);default:throw Z(fn.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let o=this.createSilentIframeClient(t.correlationId);return G(o.acquireToken.bind(o),lle,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let o=this.getRequestCorrelationId(t);return aU(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,bi.SIGNOUT),this.createRedirectClient(o).logout(t)}logoutPopup(t){try{let o=this.getRequestCorrelationId(t);return zk(this.initialized),this.browserStorage.setInteractionInProgress(!0,bi.SIGNOUT),this.createPopupClient(o).logout(t).finally(()=>{this.browserStorage.setInteractionInProgress(!1)})}catch(o){return Promise.reject(o)}}async clearCache(t){if(!this.isBrowserEnvironment)return;let o=this.getRequestCorrelationId(t);return this.createSilentCacheClient(o).logout(t)}getAllAccounts(t){return Kce(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return Jce(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){Zce(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return Xce(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,o){this.logger.verbose("16jycr",t.correlationId);let n=Sa.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(n,t.correlationId,ur.isKmsi(t.idTokenClaims),St.hydrateCache),t.fromPlatformBroker?(this.logger.verbose("1fxyu8",t.correlationId),this.nativeInternalStorage.hydrateCache(t,o)):this.browserStorage.hydrateCache(t,o)}async acquireTokenNative(t,o,n,r){let s=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",s),!this.platformAuthProvider)throw ue(qk);return new ou(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.platformAuthProvider,n||this.getNativeAccountId(t),this.nativeInternalStorage,s).acquireToken(t,r)}canUsePlatformBroker(t,o){let n=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",n),!this.platformAuthProvider)return this.logger.trace("0vnu11",n),!1;if(!Lc(this.config,this.logger,n,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",n),!1;if(t.prompt)switch(t.prompt){case Le.PromptValue.NONE:case Le.PromptValue.CONSENT:case Le.PromptValue.LOGIN:this.logger.trace("0vdv8e",n);break;default:return this.logger.trace("0pdzw6",n),!1}return!o&&!this.getNativeAccountId(t)?(this.logger.trace("16lbtk",n),!1):!0}getNativeAccountId(t){let o=t.account||this.getAccount({loginHint:t.loginHint,sid:t.sid})||this.getActiveAccount();return o&&o.nativeAccountId||""}createPopupClient(t){return new nI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new rI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new sI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new Qh(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new aI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new lI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,o){return this.eventHandler.addEventCallback(t,o)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return rU(),this.performanceClient.addPerformanceCallback(t)}removePerformanceCallback(t){return this.performanceClient.removePerformanceCallback(t)}getLogger(){return this.logger}setLogger(t){this.logger=t}initializeWrapperLibrary(t,o){this.browserStorage.setWrapperMetadata(t,o)}setNavigationClient(t){this.navigationClient=t}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}isBrowserEnv(){return this.isBrowserEnvironment}getRequestCorrelationId(t){return t?.correlationId?t.correlationId:this.isBrowserEnvironment?Ds():""}async loginRedirect(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",o),this.acquireTokenRedirect({correlationId:o,...t||zO})}loginPopup(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",o),this.acquireTokenPopup({correlationId:o,...t||zO})}async acquireTokenSilent(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Dce,o);n.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),cI(this.initialized,n,this.config,t),this.logger.verbose("0x1c4s",o);let r=t.account||this.getActiveAccount();if(!r)throw ue(Xle);return this.acquireTokenSilentDeduped(t,r,o).then(s=>(n.end({success:!0,fromCache:s.fromCache,isNativeBroker:s.fromPlatformBroker,accessTokenSize:s.accessToken.length,idTokenSize:s.idToken.length},void 0,s.account),{...s,state:t.state,correlationId:o})).catch(s=>{throw s instanceof ot&&s.setCorrelationId(o),n.end({success:!1},s,r),s})}async acquireTokenSilentDeduped(t,o,n){let r=Tc(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:n},o.homeAccountId),s=JSON.stringify(r),a=this.activeSilentTokenRequests.get(s);if(typeof a>"u"){this.logger.verbose("0fcjbk",n),this.performanceClient.addFields({deduped:!1},n);let i=G(this.acquireTokenSilentAsync.bind(this),rle,this.logger,this.performanceClient,n)({...t,correlationId:n},o);return this.activeSilentTokenRequests.set(s,i),i.finally(()=>{this.activeSilentTokenRequests.delete(s)})}else return this.logger.verbose("1yq7nb",n),this.performanceClient.addFields({deduped:!0},n),a}async acquireTokenSilentAsync(t,o){let n=i=>this.trackStateChange(t.correlationId,i);this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,t.correlationId,je.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(n);let r=await G(ede,ple,this.logger,this.performanceClient,t.correlationId)(t,o,this.config,this.performanceClient,this.logger),s=t.cacheLookupPolicy||Wn.Default;return this.acquireTokenSilentNoIframe(r,s).catch(async i=>{if(EMe(i,s)){let c=`${i.errorCode}${i.subError?`|${i.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(s!==Wn.Skip){let[d,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",r.correlationId);let m=this.performanceClient.startMeasurement(cle,r.correlationId);m.add({awaitIframeCorrelationId:p});let g=await d;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",r.correlationId),this.acquireTokenSilentNoIframe(r,s);throw this.logger.info("17y14q",r.correlationId),i}else return this.logger.warning("1bd4p8",r.correlationId),G(this.acquireTokenBySilentIframe.bind(this),$O,this.logger,this.performanceClient,r.correlationId)(r);else{let d;return this.activeIframeRequest=[new Promise(p=>{d=p}),r.correlationId],this.logger.verbose("0rh08z",r.correlationId),G(this.acquireTokenBySilentIframe.bind(this),$O,this.logger,this.performanceClient,r.correlationId)(r).then(p=>(d(!0),p)).catch(p=>{throw d(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw i}).then(i=>(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,t.correlationId,je.Silent,i),t.correlationId&&this.performanceClient.addFields({fromCache:i.fromCache,isNativeBroker:i.fromPlatformBroker},t.correlationId),i)).catch(i=>{throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,t.correlationId,je.Silent,null,i),i}).finally(()=>{this.removeStateChangeListeners(n)})}async acquireTokenSilentNoIframe(t,o){return Lc(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,St.acquireTokenSilent_silentFlow,t.account.nativeAccountId,o).catch(async n=>{throw n instanceof Ea&&tu(n)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,Z(fn.tokenRefreshRequired)):n})):(this.logger.verbose("0ox81t",t.correlationId),o===Wn.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),G(this.acquireTokenFromCache.bind(this),ole,this.logger,this.performanceClient,t.correlationId)(t,o).catch(n=>{if(o===Wn.AccessToken)throw n;return this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,je.Silent,t),G(this.acquireTokenByRefreshToken.bind(this),nle,this.logger,this.performanceClient,t.correlationId)(t,o)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await G(_i,hi,this.logger,this.performanceClient,t)(this.performanceClient,this.logger,t),Promise.resolve()}getPreGeneratedPkceCodes(t){let o=this.pkceCode?{...this.pkceCode}:void 0;return this.pkceCode=void 0,o?this.logger.verbose("12js1o",t):this.logger.verbose("1oe9ci",t),this.performanceClient.addFields({usePreGeneratedPkce:!!o},t),o}logMultipleInstances(t,o){let n=this.config.auth.clientId;if(!window)return;window.msal=window.msal||{},window.msal.clientIds=window.msal.clientIds||[],window.msal.clientIds.length>0&&this.logger.verbose("1qtz3l",o),window.msal.clientIds.push(n),Sde(n,t,this.logger,o)}};function EMe(e,t){let o=!(e instanceof Co&&e.subError!==cl.badToken),n=e.errorCode===yn.INVALID_GRANT_ERROR||e.errorCode===fn.tokenRefreshRequired,r=o&&n||e.errorCode===cl.noTokensFound||e.errorCode===cl.refreshTokenExpired,s=Ole.includes(t);return r&&s}var uI=class e{static loggerCallback(t,o){switch(t){case Dt.Error:console.error(o);return;case Dt.Info:console.info(o);return;case Dt.Verbose:console.debug(o);return;case Dt.Warning:console.warn(o);return;default:console.log(o);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=_de(t,this.browserEnvironment);let o;try{o=window[Pn.SessionStorage]}catch{}let n=o?.getItem(Bce),r=o?.getItem(Vce)?.toLowerCase(),s=r==="true"?!0:r==="false"?!1:void 0,a={...this.config.system.loggerOptions},i=n&&Object.keys(Dt).includes(n)?Dt[n]:void 0;i&&(a.loggerCallback=e.loggerCallback,a.logLevel=i),s!==void 0&&(a.piiLoggingEnabled=s),this.logger=new bn(a,Qce,Ns),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var Zh=class e extends uI{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};Zh.MODULE_NAME="";Zh.ID="StandardOperatingContext";var Bx=class{constructor(t,o){this.controller=o||new dI(new Zh(t))}async initialize(t){return this.controller.initialize(t)}async acquireTokenPopup(t){return this.controller.acquireTokenPopup(t)}acquireTokenRedirect(t){return this.controller.acquireTokenRedirect(t)}acquireTokenSilent(t){return this.controller.acquireTokenSilent(t)}acquireTokenByCode(t){return this.controller.acquireTokenByCode(t)}addEventCallback(t,o){return this.controller.addEventCallback(t,o)}removeEventCallback(t){return this.controller.removeEventCallback(t)}addPerformanceCallback(t){return this.controller.addPerformanceCallback(t)}removePerformanceCallback(t){return this.controller.removePerformanceCallback(t)}getAccount(t){return this.controller.getAccount(t)}getAllAccounts(t){return this.controller.getAllAccounts(t)}handleRedirectPromise(t){return this.controller.handleRedirectPromise(t)}loginPopup(t){return this.controller.loginPopup(t)}loginRedirect(t){return this.controller.loginRedirect(t)}logoutRedirect(t){return this.controller.logoutRedirect(t)}logoutPopup(t){return this.controller.logoutPopup(t)}ssoSilent(t){return this.controller.ssoSilent(t)}getLogger(){return this.controller.getLogger()}setLogger(t){this.controller.setLogger(t)}setActiveAccount(t){this.controller.setActiveAccount(t)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(t,o){return this.controller.initializeWrapperLibrary(t,o)}setNavigationClient(t){this.controller.setNavigationClient(t)}getConfiguration(){return this.controller.getConfiguration()}async hydrateCache(t,o){return this.controller.hydrateCache(t,o)}clearCache(t){return this.controller.clearCache(t)}};var rdt=Le.AuthenticationScheme,sdt=Le.ResponseMode,adt=Le.PromptValue,idt=Le.JsonWebTokenTypes,ldt=Le.OIDC_DEFAULT_SCOPES;async function wde(e){let t={method:"POST",body:JSON.stringify(e)},o=await M(K(q.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var Cde;(function(e){Cde=e()})(function(){let e=function(){let o=0,n={};for(;o"u")return;if(arguments.length>1){if(a=e({path:"/"},n.defaults,a),typeof a.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+a.expires*864e5),a.expires=m}a.expires=a.expires?a.expires.toUTCString():"";try{i=JSON.stringify(s),/^[\{\[]/.test(i)&&(s=i)}catch{}o.write?s=o.write(s,r):s=encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=encodeURIComponent(String(r)),r=r.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),r=r.replace(/[\(\)]/g,escape);let p="";for(let m in a)a[m]&&(p+="; "+m,a[m]!==!0&&(p+="="+a[m]));return document.cookie=r+"="+s+p}r||(i={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,d=0;for(;d{let r=performance.now(),s=setInterval(()=>{let a=ss.get(e);a?(clearInterval(s),n(a)):performance.now()-r>=t&&(clearInterval(s),n(null))},200)})}var Ade=!!window.matchMedia,Xh=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),kr=window.matchMedia("screen and (min-width: 1088px)"),Rc=window.matchMedia("screen and (min-width: 768px)"),kde=window.matchMedia("screen and (max-width: 768px)"),Ide=window.matchMedia("print"),Pde=window.matchMedia("(prefers-color-scheme: dark)"),Lde=window.matchMedia("(prefers-contrast: more)");var nu="light",pI={light:{documentClass:"theme-light",name:"light",text:OJ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:HY,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:dJ,icon:"docon-clear-night"}},AMe=Object.keys(pI),Rde=AMe.map(e=>pI[e].documentClass),gl=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function kMe(e,t,o){e.publish(new gl(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function IMe(e){let t=document.documentElement.classList;for(let o of Rde)t.remove(o);t.add(pI[e].documentClass)}function PMe(e){return nu=e}function Mde(e){let t=Array.from(document.querySelectorAll(".theme-control[data-theme-to]"));for(let o of t)o.dataset.themeTo===e?(o.classList.add("is-selected"),o.setAttribute("aria-pressed","true")):(o.classList.remove("is-selected"),o.setAttribute("aria-pressed","false"))}function LMe(e){ae.setItem("theme",e)}function RMe(e=!1,t=!1){let o=ae.getItem("theme");return o&&/^light|dark|high-contrast$/.test(o)?o:t?"high-contrast":e?"dark":"light"}function Dde(e){gU(ut,e)}function gU(e,t){let o=nu;PMe(t),IMe(t),o!==t&&kMe(e,t,o)}async function $de(e){let t=ru();gU(e,t),MMe(e),await Se,Mde(t),window.setTheme=Dde}function ru(e=Pde.matches){let t=te();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let o=t.checkPrefersContrast==="true"&&Lde.matches;return RMe(e,o)}function MMe(e){window.addEventListener("click",({target:t})=>{let o=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!o)return;let n=o.dataset.themeTo;Mde(n),LMe(n),gU(e,n)})}var Vx,qde=new Promise(e=>Vx=e),Tm,Sm=new Promise(e=>Tm=e),Fde,Ode=()=>Fde,Nde=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function Ude(){if(!w.cookieConsent)return;if(w.chromeless){Tm(!0),Vx();return}let e=()=>ss.get("MSCC")!==void 0,t=U.WcpConsent;if(t===void 0||typeof t.init!="function"){Tm(!1);return}await Se;let o=document.getElementById("cookie-consent-holder"),n=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!o||!n.length){console.log("No container for cookie banner");return}t.init(b.data.userLocale,o,function(r,s){if(r!==void 0){Tm(!1);return}if(Fde=s,!s.isConsentRequired){Tm(!0),Vx();return}let a=document.createElement("button");if(a.setAttribute("data-bi-name","manageCookies"),a.textContent=oZ,n.forEach(i=>{i.appendChild(a.cloneNode(!0)).addEventListener("click",()=>{s.manageConsent()}),i.hidden=!1}),o.hidden=!1,Pt(),Nde(s.getConsent())){Tm(!0),Vx();return}Tm(!1)},async function(r){if(Nde(r)){Vx(),Yi();return}if(await wde({domain:document.location.hostname,analytics:!r.Analytics,advertising:!r.Advertising,social:!r.SocialMedia}),e()){r.Analytics||(document.cookie="mbox=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=.microsoft.com"),U.location.href=U.location.pathname+U.location.search+U.location.hash;return}Yi()},nu)}function Hde(e=location.hostname){return{"developer.microsoft.com":"DevCenter","dev.learn.microsoft.com ":"DocsDev","dev.docs.azure.cn":"DocsDev","review.learn.microsoft.com":"DocsReview","review.docs.azure.cn":"DocsReview","learn.microsoft.com":"Docs","docs.azure.cn":"DocsCN"}[e]||"OneDSTest"}function zde(e=location.hostname){return{"developer.microsoft.com":"d1574ad452ea4a37a5dda6f9f1fb5ef2-b55b2da9-95eb-4cf9-a633-191aa7b0ee25-6798","docs.azure.cn":"54ae4d70fff842118ff98bccfdc28deb-7f4f32ec-ae5a-4562-881c-5c0188170faf-7594","learn.microsoft.com":"c6c27850c9c24cbfae921778d2465031-4c28c161-db47-426b-9d28-733d45d05dd9-7278","review.learn.microsoft.com":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616","review.docs.azure.cn":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616"}[e]??"8617064329544862a1d4dbcc1cdda9d3-079a9ef7-af43-443d-a28b-f60ba4efc9ff-7531"}var Bde="3PAdsOptOut";var fU=!1;function Vde(){let e=S.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",S.body.appendChild(e);let t=U.getComputedStyle(e).backgroundColor.toLowerCase();S.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(S.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",fU=!0)}var DMe={audience:"aud",author:"author",manager:"manager","ms.assetid":"asst","ms.author":"pgauth","ms.contentsource":"pgpubl","ms.custom":"custom","ms.date":"date",depot_name:"depotname","ms.devlang":"pgdevlng",gitcommit:"gitcommit",original_content_git_url:"giturl",updated_at:"publishtime","ms.lasthandoff":"lasthandoff","ms.locfileid":"locfileid","ms.prod":"product","ms.reviewer":"reviewer","ms.service":"pgsrvcs","ms.suite":"suite","ms.technology":"technology","ms.tgt_pltfrm":"pgtrgtplf","ms.topic":"pgtop","ms.workload":"workload","ms.search.region":"searchregion","ms.prod_service":"prod_service","ms.component":"component",experimental:"experimental",experiment_id:"experiment_id","ms.assigned_experiments":"assigned_experiments","ms.translationtype":"translationtype",document_version_independent_id:"document_version_independent_id",platform_id:"platform_id","ms.collection":"collection","ms.subservice":"subservice"};function mI(e){let t=document.querySelectorAll("meta");for(let o=0;ok.isAuthenticated&&(k.authenticationMode==="MSA"||k.tenantId===Jr),pageViewPageTags:gI,pageActionPageTags:gI,contentUpdatePageTags:gI,pageActionContentTags:gI,userConsentDetailsCallback:Qde},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:w.thirdPartyDataSharingConsentFlag?NMe():null}},shareAuthStatus:!0,isLoggedIn:!1};mI(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(o),qMe(e)}function gI(){return k.isAuthenticated?{"ext-app-user-id":`c:${k.userId}`}:{}}var su=new Promise(e=>Gde=e);function NMe(){let e=OMe(),t=FMe(),o=!!navigator.globalPrivacyControl,n=ss.get(Bde)==="1";return!(e||t||o||n)}function qMe(e){var o,n;(o=e.sku.config).extensionConfig??(o.extensionConfig={});let t=e.sku.config.extensionConfig;t.SystemPropertiesCollector??(t.SystemPropertiesCollector={}),(n=t.SystemPropertiesCollector).callback??(n.callback={}),t.SystemPropertiesCollector.callback.userConsentDetails=Qde}function Qde(){return Ode()?.getConsent()||null}function FMe(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function OMe(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var we={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},le={UNDEFINED:0,NAVIGATIONBACK:1,NAVIGATION:2,NAVIGATIONFORWARD:3,APPLY:4,REMOVE:5,SORT:6,EXPAND:7,REDUCE:8,CONTEXTMENU:9,TAB:10,COPY:11,EXPERIMENTATION:12,PRINT:13,SHOW:14,HIDE:15,MAXIMIZE:16,MINIMIZE:17,BACKBUTTON:18,STARTPROCESS:20,PROCESSCHECKPOINT:21,COMPLETEPROCESS:22,SCENARIOCANCEL:23,DOWNLOADCOMMIT:40,DOWNLOAD:41,SEARCHAUTOCOMPLETE:60,SEARCH:61,SEARCHINITIATE:62,TEXTBOXINPUT:63,PURCHASE:80,ADDTOCART:81,VIEWCART:82,ADDWISHLIST:83,FINDSTORE:84,CHECKOUT:85,REMOVEFROMCART:86,PURCHASECOMPLETE:87,VIEWCHECKOUTPAGE:88,VIEWCARTPAGE:89,VIEWPDP:90,UPDATEITEMQUANTITY:91,INTENTTOBUY:92,PUSHTOINSTALL:93,SIGNIN:100,SIGNOUT:101,SOCIALSHARE:120,SOCIALLIKE:121,SOCIALREPLY:122,CALL:123,EMAIL:124,COMMUNITY:125,SOCIALFOLLOW:126,VOTE:140,SURVEYINITIATE:141,SURVEYCOMPLETE:142,REPORTAPPLICATION:143,REPORTREVIEW:144,SURVEYCHECKPOINT:145,CONTACT:160,REGISTRATIONINITIATE:161,REGISTRATIONCOMPLETE:162,CANCELSUBSCRIPTION:163,RENEWSUBSCRIPTION:164,CHANGESUBSCRIPTION:165,REGISTRATIONCHECKPOINT:166,CHATINITIATE:180,CHATEND:181,TRIALSIGNUP:200,TRIALINITIATE:201,SIGNUP:210,FREESIGNUP:211,PARTNERREFERRAL:220,LEARNLOWFUNNEL:230,LEARNHIGHFUNNEL:231,SHOPPINGINTENT:232,VIDEOSTART:240,VIDEOPAUSE:241,VIDEOCONTINUE:242,VIDEOCHECKPOINT:243,VIDEOJUMP:244,VIDEOCOMPLETE:245,VIDEOBUFFERING:246,VIDEOERROR:247,VIDEOMUTE:248,VIDEOUNMUTE:249,VIDEOFULLSCREEN:250,VIDEOUNFULLSCREEN:251,VIDEOREPLAY:252,VIDEOPLAYERLOAD:253,VIDEOPLAYERCLICK:254,VIDEOVOLUMECONTROL:255,VIDEOAUDIOTRACKCONTROL:256,VIDEOCLOSEDCAPTIONCONTROL:257,VIDEOCLOSEDCAPTIONSTYLE:258,VIDEORESOLUTIONCONTROL:259,VIRTUALEVENTJOIN:260,VIRTUALEVENTEND:261,IMPRESSION:280,CLICK:281,RICHMEDIACOMPLETE:282,ADBUFFERING:283,ADERROR:284,ADSTART:285,ADCOMPLETE:286,ADSKIP:287,ADTIMEOUT:288,OTHER:300},Ao={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type",scenario:"data-bi-scn",scenarioStep:"data-bi-scnstp",scenarioStepNumber:"data-bi-subnm",satisfaction:"data-bi-sat"},Gx={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},wm=e=>{let t=e.closest(`[${Ao.name}]`);return t?t.getAttribute(Ao.name):""},Yde=()=>{su.then(e=>{e.sku.getAuthExtension().signOut()})},Wde=(e,t)=>{su.then(o=>{let n=o.sku.getAuthExtension();if(!t){n.setAuthType(0);return}n.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},Kde=e=>{su.then(t=>t.extendCoreData(e))},Jt=(e,t)=>{su.then(o=>o.ct.capturePageAction(e,t))},xe=e=>{su.then(t=>t.ct.captureContentPageAction(e))},Jde=e=>{su.then(t=>t.ct.captureContentUpdate(e))},fI=e=>{su.then(t=>t.ct.capturePageView(e||{}))};var hI,bI="undefined",xI="constructor",fl="prototype",TI="function",SI="_dynInstFuncs",_U="_isDynProxy",eb="_dynClass",UMe="_dynCls$",vU="_dynInstChk",jx=vU,oue="_dfOpts",Zde="_unknown_",TU="__proto__",_I="_dyn"+TU,Xde="__dynProto$Gbl",hU="_dynInstProto",vI="useBaseInst",yU="setInstFuncs",EI=Object,Qx=EI.getPrototypeOf,eue=EI.getOwnPropertyNames;function HMe(){var e;return typeof globalThis!==bI&&(e=globalThis),!e&&typeof self!==bI&&(e=self),!e&&typeof window!==bI&&(e=window),!e&&typeof global!==bI&&(e=global),e||{}}var tue=HMe(),xU=tue[Xde]||(tue[Xde]={o:(hI={},hI[yU]=!0,hI[vI]=!0,hI),n:1e3});function Mc(e,t){return e&&EI[fl].hasOwnProperty.call(e,t)}function yI(e){return e&&(e===EI[fl]||e===Array[fl])}function SU(e){return yI(e)||e===Function[fl]}function Cm(e){var t;if(e){if(Qx)return Qx(e);var o=e[TU]||e[fl]||(e[xI]?e[xI][fl]:null);t=e[_I]||o,Mc(e,_I)||(delete e[hU],t=e[_I]=e[hU]||e[_I],e[hU]=o)}return t}function wI(e,t){var o=[];if(eue)o=eue(e);else for(var n in e)typeof n=="string"&&Mc(e,n)&&o.push(n);if(o&&o.length>0)for(var r=0;r=0;o--)if(e[o]===t)return!0;return!1}function BMe(e,t,o,n){function r(l,c,d){var p=c[d];if(p[_U]&&n){var m=l[SI]||{};m[jx]!==!1&&(p=(m[c[eb]]||{})[d]||p)}return function(){return p.apply(l,arguments)}}var s=tb();wI(o,function(l){s[l]=r(t,o,l)});for(var a=Cm(e),i=[];a&&!SU(a)&&!CU(i,a);)wI(a,function(l){!s[l]&&wU(a,l,!Qx)&&(s[l]=r(t,a,l))}),i.push(a),a=Cm(a);return s}function VMe(e,t,o,n){var r=null;if(e&&Mc(o,eb)){var s=e[SI]||tb();if(r=(s[o[eb]]||tb())[t],r||CI("Missing ["+t+"] "+TI),!r[vU]&&s[jx]!==!1){for(var a=!Mc(e,t),i=Cm(e),l=[];a&&i&&!SU(i)&&!CU(l,i);){var c=i[t];if(c){a=c===n;break}l.push(i),i=Cm(i)}try{a&&(e[t]=r),r[vU]=1}catch{s[jx]=!1}}}return r}function GMe(e,t,o){var n=t[e];return n===o&&(n=Cm(t)[e]),typeof n!==TI&&CI("["+e+"] is not a "+TI),n}function jMe(e,t,o,n,r){function s(l,c){var d=function(){var p=VMe(this,c,l,d)||GMe(c,l,d);return p.apply(this,arguments)};return d[_U]=1,d}if(!yI(e)){var a=o[SI]=o[SI]||tb();if(!yI(a)){var i=a[t]=a[t]||tb();a[jx]!==!1&&(a[jx]=!!r),yI(i)||wI(o,function(l){wU(o,l,!1)&&o[l]!==n[l]&&(i[l]=o[l],delete o[l],(!Mc(e,l)||e[l]&&!e[l][_U])&&(e[l]=s(e,l)))})}}}function QMe(e,t){if(Qx){for(var o=[],n=Cm(t);n&&!SU(n)&&!CU(o,n);){if(n===e)return!0;o.push(n),n=Cm(n)}return!1}return!0}function bU(e,t){return Mc(e,fl)?e.name||t||Zde:((e||{})[xI]||{}).name||t||Zde}function ct(e,t,o,n){Mc(e,fl)||CI("theClass is an invalid class definition.");var r=e[fl];QMe(r,t)||CI("["+bU(e)+"] not in hierarchy of ["+bU(t)+"]");var s=null;Mc(r,eb)?s=r[eb]:(s=UMe+bU(e,"_")+"$"+xU.n,xU.n++,r[eb]=s);var a=ct[oue],i=!!a[vI];i&&n&&n[vI]!==void 0&&(i=!!n[vI]);var l=zMe(t),c=BMe(r,t,l,i);o(t,c);var d=!!Qx&&!!a[yU];d&&n&&(d=!!n[yU]),jMe(r,s,t,l,d!==!1)}ct[oue]=xU.o;var Aa="function",as="object",is="undefined",ko="prototype",Yx="hasOwnProperty";var qs=Object,ob=qs[ko],nb=qs.assign,AI=qs.create,rb=qs.defineProperty,hl=ob[Yx];var nue=null;function ka(e){e===void 0&&(e=!0);var t=e===!1?null:nue;return t||(typeof globalThis!==is&&(t=globalThis),!t&&typeof self!==is&&(t=self),!t&&typeof window!==is&&(t=window),!t&&typeof global!==is&&(t=global),nue=t),t}function sb(e){throw new TypeError(e)}function ab(e){var t=AI;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==as&&o!==Aa&&sb("Object prototype may only be an Object:"+e);function n(){}return n[ko]=e,new n}var sut=(ka()||{}).Symbol,aut=(ka()||{}).Reflect;var WMe=function(e){for(var t,o=1,n=arguments.length;o=n&&!(o=e===t)){for(var s=r-1,a=n-1;a>=0;a--){if(e[s]!=t[a])return!1;s--}o=!0}return o}function Tn(e,t){return e&&t?e[lu](t)!==-1:!1}var wt=oDe||lDe;function lDe(e){return!!(e&&fue[xn](e)==="[object Array]")}function Nm(e){return!!(e&&fue[xn](e)==="[object Error]")}function He(e){return typeof e=="string"}function nT(e){return typeof e=="number"}function bue(e){return typeof e=="boolean"}function due(e){var t=!1;if(e&&typeof e=="object"){var o=OI?OI(e):qU(e);o?(o[FI]&&hl[xn](o,FI)&&(o=o[FI]),t=typeof o===Aa&&hue[xn](o)===nDe):t=!0}return t}function Hs(e){if(e)return tDe?e[pue]():cDe(e)}function cDe(e){if(e&&e.getUTCFullYear){var t=function(o){var n=String(o);return n[Xe]===1&&(n="0"+n),n};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}function Re(e,t,o){var n=e[Xe];try{for(var r=0;r=0?r:n-Math.abs(r),0);s=3)n=arguments[2];else{for(;s0&&bue(i)&&(c=i,i=a[d]||{},d++),gr(i)||(i={});d=g&&(l[T](v[au]),n[I]=!0)}else r>=g&&l[T](v[au]);c(g,v)}},l[oT]=function(g){Cue("warn",g),m("warning",g)},l[qI]=function(g){Cue("error",g),m("error",g)},l.resetInternalMessageCount=function(){o=0,n={}},l[IU]=c;function c(g,f){if(!p()){var _=!0,h=EDe+f[lb];if(n[h]?_=!1:n[h]=!0,_&&(g<=s&&(l.queue[yt](f),o++,m(g===1?"error":"warn",f)),o===a)){var x="Internal events throttle limit per PageView reached for this app.",v=new qc(23,x,!1);l.queue[yt](v),g===1?l[qI](x):l[oT](x)}}}function d(g){r=zs(g.loggingLevelConsole,0),s=zs(g.loggingLevelTelemetry,1),a=zs(g.maxMessageLimit,25),i=zs(g.enableDebug,zs(g[kU],!1))}function p(){return o>=a}function m(g,f){var _=oH(t||{});_&&_[Ia]&&_[Ia](g,f)}})}return e.__ieDyn=1,e}();function nH(e){return e||new Om}function _e(e,t,o,n,r,s){s===void 0&&(s=!1),nH(e).throwInternal(t,o,n,r,s)}function Ma(e,t){nH(e)[oT](t)}function rH(e,t,o){nH(e)[IU](t,o)}var Tb="ctx",aH="ParentContextKey",rT="ChildrenContextKey",ADe=null,sT=function(){function e(t,o,n){var r=this,s=!1;if(r.start=$n(),r[mr]=t,r[Ti]=n,r[Zx]=function(){return!1},Qe(o)){var a;s=La(r,"payload",function(){return!a&&Qe(o)&&(a=o(),o=null),a})}r[Mm]=function(i){return i?i===e[aH]||i===e[rT]?r[i]:(r[Tb]||{})[i]:null},r[wi]=function(i,l){if(i)if(i===e[aH])r[i]||(r[Zx]=function(){return!0}),r[i]=l;else if(i===e[rT])r[i]=l;else{var c=r[Tb]=r[Tb]||{};c[i]=l}},r[$I]=function(){var i=0,l=r[Mm](e[rT]);if(wt(l))for(var c=0;c>>=0),aT=123456789+e&Um,iT=987654321-e&Um,Aue=!0}function IDe(){try{var e=$n()&2147483647;kDe((Math.random()*Eue^e)+e)}catch{}}function Hm(e){var t=0,o=ZU()||XU();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&Um),t===0&&yb()&&(Aue||IDe(),t=cH()&Um),t===0&&(t=Math.floor(Eue*Math.random()|0)),e||(t>>>=0),t}function cH(e){iT=36969*(iT&65535)+(iT>>16)&Um,aT=18e3*(aT&65535)+(aT>>16)&Um;var t=(iT<<16)+(aT&65535)>>>0&Um|0;return e||(t>>>=0),t}function Fc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Hm()>>>0,n=0,r=ft;r[Xe]>>=6,n===5&&(o=(Hm()<<2&4294967295|o&3)>>>0,n=0);return r}var kue=rb,Iue="2.8.13",PDe="."+Fc(6),LDe=0;function RDe(e,t,o){if(kue)try{return kue(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function Pue(e){return e[RI]===1||e[RI]===9||!+e[RI]}function MDe(e,t){var o=t[e.id];if(!o){o={};try{Pue(t)&&(RDe(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function Kn(e,t){return t===void 0&&(t=!1),$m(e+LDe+++(t?"."+Iue:ft)+PDe)}function WI(e){var t={id:Kn("_aiData-"+(e||ft)+"."+Iue),accept:function(o){return Pue(o)},get:function(o,n,r,s){var a=o[t.id];return a?a[$m(n)]:(s&&(a=MDe(t,o),a[$m(n)]=r),r)},kill:function(o,n){if(o&&o[n])try{delete o[n]}catch{}}};return t}var Lue="toGMTString",Rue="toUTCString",gH="cookie",dH="expires",pH="enabled",Mue="isCookieUseDisabled",Due="disableCookiesUsage",fu="_ckMgr",KI=null,uH=null,$ue=null,lT=Qo(),Nue={},ZI={};function DDe(e,t){var o=zm[fu]||ZI[fu];return o||(o=zm[fu]=zm(e,t),ZI[fu]=o),o}function JI(e){return e?e.isEnabled():!0}function $De(e){var t=e[LI]=e[LI]||{};if(Ft(t,"domain",e.cookieDomain,FU,ce),Ft(t,"path",e.cookiePath||"/",null,ce),ce(t[pH])){var o=void 0;ho(e[Mue])||(o=!e[Mue]),ho(e[Due])||(o=!e[Due]),t[pH]=o}return t}function Uue(e,t){return t&&e&&wt(e.ignoreCookies)?e.ignoreCookies[lu](t)!==-1:!1}function NDe(e,t){return t&&e&&wt(e.blockedCookies)&&e.blockedCookies[lu](t)!==-1?!0:Uue(e,t)}function Bm(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var n=t[LI];n[fu]?o=n[fu]:o=zm(t)}return o||(o=DDe(t,(e||{})[Mn])),o}function zm(e,t){var o,n=$De(e||ZI),r=n.path||"/",s=n.domain,a=n[pH]!==!1,i=(o={isEnabled:function(){var l=a&&mH(t),c=ZI[fu];return l&&c&&i!==c&&(l=JI(c)),l}},o[Jx]=function(l){a=l!==!1},o.set=function(l,c,d,p,m){var g=!1;if(JI(i)&&!NDe(n,l)){var f={},_=jo(c||ft),h=_[lu](";");if(h!==-1&&(_=jo(c[db](0,h)),f=Hue(c[db](h+1))),Ft(f,"domain",p||s,hb,ho),!ce(d)){var x=yb();if(ho(f[dH])){var v=$n(),T=v+d*1e3;if(T>0){var I=new Date;I.setTime(T),Ft(f,dH,que(I,x?Lue:Rue)||que(I,x?Lue:Rue)||ft,hb)}}x||Ft(f,"max-age",ft+d,null,ho)}var C=ds();C&&C.protocol==="https:"&&(Ft(f,"secure",null,null,ho),uH===null&&(uH=!fH((Ir()||{})[ub])),uH&&Ft(f,"SameSite","None",null,ho)),Ft(f,"path",m||r,null,ho);var z=n.setCookie||Oue;z(l,Fue(_,f)),g=!0}return g},o.get=function(l){var c=ft;return JI(i)&&!Uue(n,l)&&(c=(n.getCookie||qDe)(l)),c},o.del=function(l,c){var d=!1;return JI(i)&&(d=i.purge(l,c)),d},o.purge=function(l,c){var d,p=!1;if(mH(t)){var m=(d={},d.path=c||"/",d[dH]="Thu, 01 Jan 1970 00:00:01 GMT",d);yb()||(m["max-age"]="0");var g=n.delCookie||Oue;g(l,Fue(ft,m)),p=!0}return p},o);return i[fu]=i,i}function mH(e){if(KI===null){KI=!1;try{var t=lT||{};KI=t[gH]!==void 0}catch(o){_e(e,2,68,"Cannot access document.cookie - "+vt(o),{exception:De(o)})}}return KI}function Hue(e){var t={};if(e&&e[Xe]){var o=jo(e)[cu](";");Re(o,function(n){if(n=jo(n||ft),n){var r=n[lu]("=");r===-1?t[n]=null:t[jo(n[db](0,r))]=jo(n[db](r+1))}})}return t}function que(e,t){return Qe(e[t])?e[t]():null}function Fue(e,t){var o=e||ft;return Ct(t,function(n,r){o+="; "+n+(ce(r)?ft:"="+r)}),o}function qDe(e){var t=ft;if(lT){var o=lT[gH]||ft;$ue!==o&&(Nue=Hue(o),$ue=o),t=jo(Nue[e]||ft)}return t}function Oue(e,t){lT&&(lT[gH]=e+"="+t)}function fH(e){return He(e)?!!(Tn(e,"CPU iPhone OS 12")||Tn(e,"iPad; CPU OS 12")||Tn(e,"Macintosh; Intel Mac OS X 10_14")&&Tn(e,"Version/")&&Tn(e,"Safari")||Tn(e,"Macintosh; Intel Mac OS X 10_14")&&OU(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Tn(e,"Chrome/5")||Tn(e,"Chrome/6")||Tn(e,"UnrealEngine")&&!Tn(e,"Chrome")||Tn(e,"UCBrowser/12")||Tn(e,"UCBrowser/11")):!1}var Yue="on",zue="attachEvent",Bue="addEventListener",Vue="detachEvent",Gue="removeEventListener",hH="events",bH="visibilitychange",oP="pagehide";var Wue="unload",Kue="beforeunload",Jue=Kn("aiEvtPageHide"),Cpt=Kn("aiEvtPageShow"),FDe=/\.[\.]+/g,ODe=/[\.]+$/,UDe=1,XI=WI("events"),HDe=/^([^.]*)(?:\.(.+)|)/;function jue(e){return e&&e[Si]?e[Si](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,ft):e}function _H(e,t){var o;if(t){var n=ft;wt(t)?(n=ft,Re(t,function(s){s=jue(s),s&&(s[0]!=="."&&(s="."+s),n+=s)})):n=jue(t),n&&(n[0]!=="."&&(n="."+n),e=(e||ft)+n)}var r=HDe.exec(e||ft)||[];return o={},o[vl]=r[1],o.ns=(r[2]||ft).replace(FDe,".").replace(ODe,ft)[cu](".").sort().join("."),o}function Zue(e,t,o){o===void 0&&(o=!0);var n=XI.get(e,hH,{},o),r=n[t];return r||(r=n[t]=[]),r}function Xue(e,t,o,n){e&&t&&t[vl]&&(e[Gue]?e[Gue](t[vl],o,n):e[Vue]&&e[Vue](Yue+t[vl],o))}function zDe(e,t,o,n){var r=!1;return e&&t&&t[vl]&&o&&(e[Bue]?(e[Bue](t[vl],o,n),r=!0):e[zue]&&(e[zue](Yue+t[vl],o),r=!0)),r}function Que(e,t,o,n){for(var r=t[Xe];r--;){var s=t[r];s&&(!o.ns||o.ns===s.evtName.ns)&&(!n||n(s))&&(Xue(e,s.evtName,s[DI],s.capture),t[xi](r,1))}}function BDe(e,t,o){if(t[vl])Que(e,Zue(e,t[vl]),t,o);else{var n=XI.get(e,hH,{});Ct(n,function(r,s){Que(e,s,t,o)}),cs(n)[Xe]===0&&XI.kill(e,hH)}}function Vs(e,t){var o;return t?(wt(t)?o=[e].concat(t):o=[e,t],o=_H("xx",o).ns[cu](".")):o=e,o}function Da(e,t,o,n,r){var s;r===void 0&&(r=!1);var a=!1;if(e)try{var i=_H(t,n);if(a=zDe(e,i,o,r),a&&XI.accept(e)){var l=(s={guid:UDe++,evtName:i},s[DI]=o,s.capture=r,s);Zue(e,i.type)[yt](l)}}catch{}return a}function hu(e,t,o,n,r){if(r===void 0&&(r=!1),e)try{var s=_H(t,n),a=!1;BDe(e,s,function(i){return s.ns&&!o||i[DI]===o?(a=!0,!0):!1}),a||Xue(e,s,o,r)}catch{}}function epe(e,t,o){var n=!1,r=Bs();r&&(n=Da(r,e,t,o),n=Da(r.body,e,t,o)||n);var s=Qo();return s&&(n=Da(s,e,t,o)||n),n}function tpe(e,t,o){var n=Bs();n&&(hu(n,e,t,o),hu(n.body,e,t,o));var r=Qo();r&&hu(r,e,t,o)}function eP(e,t,o,n){var r=!1;return t&&e&&e[Xe]>0&&Re(e,function(s){s&&(!o||Dn(o,s)===-1)&&(r=epe(s,t,n)||r)}),r}function ope(e,t,o,n){var r=!1;return t&&e&&wt(e)&&(r=eP(e,t,o,n),!r&&o&&o[Xe]>0&&(r=eP(e,t,null,n))),r}function tP(e,t,o){e&&wt(e)&&Re(e,function(n){n&&tpe(n,t,o)})}function vH(e,t,o){return ope([Kue,Wue,oP],e,t,o)}function yH(e,t){tP([Kue,Wue,oP],e,t)}function cT(e,t,o){function n(a){var i=Qo();e&&i&&i.visibilityState==="hidden"&&e(a)}var r=Vs(Jue,o),s=eP([oP],e,t,r);return(!t||Dn(t,bH)===-1)&&(s=eP([bH],n,t,r)||s),!s&&t&&(s=cT(e,null,o)),s}function xH(e,t){var o=Vs(Jue,t);tP([oP],e,o),tP([bH],null,o)}function us(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=ft,o,n=0;n<4;n++)o=Hm(),t+=e[o&15]+e[o>>4&15]+e[o>>8&15]+e[o>>12&15]+e[o>>16&15]+e[o>>20&15]+e[o>>24&15]+e[o>>28&15];var r=e[8+(Hm()&3)|0];return t[du](0,8)+t[du](9,4)+"4"+t[du](13,3)+r+t[du](16,3)+t[du](19,12)}var TH="00",jDe="ff",rpe="00000000000000000000000000000000",spe="0000000000000000";function dT(e,t,o){return e&&e[Xe]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function npe(e,t,o){return dT(e,t)?e:o}function QDe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[Xe]<2;)t="0"+t;return t}function uT(e,t,o,n){var r;return r={},r[PU]=dT(n,2,jDe)?n:TH,r[Xx]=Vm(e)?e:us(),r.spanId=Gm(t)?t:us()[du](0,16),r.traceFlags=o>=0&&o<=255?o:1,r}function Vm(e){return dT(e,32,rpe)}function Gm(e){return dT(e,16,spe)}function pT(e){if(e){var t=QDe(e[eT]);dT(t,2)||(t="01");var o=e[PU]||TH;return o!=="00"&&o!=="ff"&&(o=TH),"".concat(o,"-").concat(npe(e.traceId,32,rpe),"-").concat(npe(e.spanId,16,spe),"-").concat(t)}return""}var YDe=WI("plugin");function Oc(e){return YDe.get(e,"state",{},!0)}function nP(e,t){for(var o=[],n=null,r=e[Us](),s;r;){var a=r[Pm]();if(a){n&&Qe(n[iu])&&Qe(a[ls])&&n[iu](a);var i=!1;Qe(a[Fs])?i=a[Fs]():(s=Oc(a),i=s[Fs]),i||o[yt](a),n=a,r=r[Us]()}}Re(o,function(l){var c=e[Io]();l[vi](e.getCfg(),c,t,e[Us]()),s=Oc(l),!l[Io]&&!s[Io]&&(s[Io]=c),s[Fs]=!0,delete s[Os]})}function rP(e){return e.sort(function(t,o){var n=0;if(o){var r=Qe(o[ls]);Qe(t[ls])?n=r?t[Pa]-o[Pa]:1:r&&(n=-1)}else n=t?1:-1;return n})}function ape(e){var t={};return{getName:function(){return t[mr]},setName:function(o){e&&e.setName(o),t[mr]=o},getTraceId:function(){return t[Xx]},setTraceId:function(o){e&&e.setTraceId(o),Vm(o)&&(t[Xx]=o)},getSpanId:function(){return t[NI]},setSpanId:function(o){e&&e.setSpanId(o),Gm(o)&&(t[NI]=o)},getTraceFlags:function(){return t[eT]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[eT]=o}}}var WDe="TelemetryPluginChain",ipe="_hasRun",lpe="_getTelCtx",cpe=0;function KDe(e,t,o){for(;e;){if(e[Pm]()===o)return e;e=e[Us]()}return xl([o],t[bl]||{},t)}function SH(e,t,o,n){var r=null,s=[];n!==null&&(r=n?KDe(e,o,n):e);var a={_next:l,ctx:{core:function(){return o},diagLog:function(){return Ei(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:d,hasNext:function(){return!!r},getNext:function(){return r},setNext:function(m){r=m},iterate:p,onComplete:i}};function i(m,g){for(var f=[],_=2;_0&&(Re(g,function(f){try{f.func[xn](f.self,f.args)}catch(_){_e(o[Mn],2,73,"Unexpected Exception during onComplete - "+De(_))}}),s=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var _;if(t){var h=t[pb];h&&m&&(_=h[m])}if(!_)_=g;else if(gr(g)&&f!==0){var x=_b(!0,g,_);t&&f===2&&Ct(g,function(v){if(ce(x[v])){var T=t[v];ce(T)||(x[v]=T)}}),_=x}return _}function d(m,g,f){f===void 0&&(f=!1);var _,h=c(m,null);return h&&!ce(h[g])?_=h[g]:t&&!ce(t[g])&&(_=t[g]),ce(_)?f:_}function p(m){for(var g;g=a._next();){var f=g[Pm]();f&&m(f)}}return a}function Jn(e,t,o,n){var r=SH(e,t,o,n),s=r.ctx;function a(l){var c=r._next();return c&&c[ls](l,s),!c}function i(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,t,o,c)),Jn(l||s[Us](),t,o,c)}return s[so]=a,s[Dc]=i,s}function Sb(e,t,o){var n=t[bl]||{},r=SH(e,n,t,o),s=r.ctx;function a(l){var c=r._next();return c&&c.unload(s,l),!c}function i(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,n,t,c)),Sb(l||s[Us](),t,c)}return s[so]=a,s[Dc]=i,s}function mT(e,t,o){var n=t[bl]||{},r=SH(e,n,t,o),s=r.ctx;function a(l){return s.iterate(function(c){Qe(c[Lm])&&c[Lm](s,l)})}function i(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,n,t,c)),mT(l||s[Us](),t,c)}return s[so]=a,s[Dc]=i,s}function xl(e,t,o,n){var r=null,s=!n;if(wt(e)&&e[Xe]>0){var a=null;Re(e,function(i){if(!s&&n===i&&(s=!0),s&&i&&Qe(i[ls])){var l=JDe(i,t,o);r||(r=l),a&&a._setNext(l),a=l}})}return n&&!r?xl([n],t,o):r}function JDe(e,t,o){var n=null,r=Qe(e[ls]),s=Qe(e[iu]),a;e?a=e[yi]+"-"+e[Pa]+"-"+cpe++:a="Unknown-0-"+cpe++;var i={getPlugin:function(){return e},getNext:function(){return n},processTelemetry:d,unload:p,update:m,_id:a,_setNext:function(g){n=g}};function l(){var g;return e&&Qe(e[lpe])&&(g=e[lpe]()),g||(g=Jn(i,t,o)),g}function c(g,f,_,h,x){var v=!1,T=e?e[yi]:WDe,I=g[ipe];return I||(I=g[ipe]={}),g.setNext(n),e&&gu(g[Io](),function(){return T+":"+_},function(){I[a]=!0;try{var C=n?n._id:ft;C&&(I[C]=!1),v=f(g)}catch(F){var z=n?I[n._id]:!0;z&&(v=!0),(!n||!z)&&_e(g[Ia](),1,73,"Plugin ["+T+"] failed during "+_+" - "+De(F)+", run flags: "+De(I))}},h,x),v}function d(g,f){f=f||l();function _(h){if(!e||!r)return!1;var x=Oc(e);return x[Os]||x[tT]?!1:(s&&e[iu](n),e[ls](g,h),!0)}c(f,_,"processTelemetry",function(){return{item:g}},!g.sync)||f[so](g)}function p(g,f){function _(){var h=!1;if(e){var x=Oc(e),v=e[Io]||x[Io];e&&(!v||v===g.core())&&!x[Os]&&(x[Io]=null,x[Os]=!0,x[Fs]=!1,e[Os]&&e[Os](g,f)===!0&&(h=!0))}return h}c(g,_,"unload",function(){},f[Ti])||g[so](f)}function m(g,f){function _(){var h=!1;if(e){var x=Oc(e),v=e[Io]||x[Io];e&&(!v||v===g.core())&&!x[Os]&&e[Lm]&&e[Lm](g,f)===!0&&(h=!0)}return h}c(g,_,"update",function(){},!1)||g[so](f)}return yl(i)}var gT=500,ZDe="Channel has invalid priority - ";function dpe(e,t,o){t&&wt(t)&&t[Xe]>0&&(t=t.sort(function(n,r){return n[Pa]-r[Pa]}),Re(t,function(n){n[Pa]0&&Re(c,function(_){if(_&&_.queue[Xe]>0){var h=_.chain,x=d[Dc](h);x[Im](f),p(x)}else g--}),f()}function r(c,d){var p=d||{reason:0};return n(e,c,function(m){m[so](p)},function(){c[so](p)}),!0}function s(c,d){var p=d||{reason:0,isAsync:!1};return n(e,c,function(m){m[so](p)},function(){c[so](p),i=!1}),!0}function a(c){var d=null;return e&&e[Xe]>0&&Re(e,function(p){if(p&&p.queue[Xe]>0&&(Re(p.queue,function(m){if(m[yi]===c)return d=m,-1}),d))return-1}),d}var i=!1,l={identifier:"ChannelControllerPlugin",priority:gT,initialize:function(c,d,p,m){i=!0,Re(e,function(g){g&&g.queue[Xe]>0&&nP(Jn(g.chain,c,d),p)})},isInitialized:function(){return i},processTelemetry:function(c,d){n(e,d||o(),function(p){p[so](c)},function(){d[so](c)})},update:r,pause:function(){n(e,o(),function(c){c.iterate(function(d){d.pause&&d.pause()})},null)},resume:function(){n(e,o(),function(c){c.iterate(function(d){d.resume&&d.resume()})},null)},teardown:s,getChannel:a,flush:function(c,d,p,m){var g=1,f=!1,_=null;m=m||5e3;function h(){g--,f&&g===0&&(_&&(clearTimeout(_),_=null),d&&d(f),d=null)}return n(e,o(),function(x){x.iterate(function(v){if(v[ib]){g++;var T=!1;v[ib](c,function(){T=!0,h()},p)||T||(c&&_==null?_=setTimeout(function(){_=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function ppe(e,t,o){var n=[];if(e&&Re(e,function(s){return dpe(n,s,o)}),t){var r=[];Re(t,function(s){s[Pa]>gT&&r[yt](s)}),dpe(n,r,o)}return n}function sP(){var e=[];function t(n){n&&e[yt](n)}function o(n,r){Re(e,function(s){try{s(n,r)}catch(a){_e(n[Ia](),2,73,"Unexpected error calling unload handler - "+De(a))}}),e=[]}return{add:t,run:o}}var bu="getPlugin",Ai=function(){function e(){var t=this,o,n,r,s,a;c(),ct(e,t,function(d){d[vi]=function(p,m,g,f){l(p,m,f),o=!0},d[Os]=function(p,m){var g,f=d[Io];if(!f||p&&f!==p[Io]())return;var _,h=!1,x=p||Sb(null,f,r&&r[bu]?r[bu]():r),v=m||(g={reason:0},g[Ti]=!1,g);function T(){if(!h){h=!0,s.run(x,m);var I=a;a=[],Re(I,function(C){C.rm()}),_===!0&&x[so](v),c()}}return!d[cb]||d[cb](x,v,T)!==!0?T():_=!0,_},d[Lm]=function(p,m){var g=d[Io];if(!g||p&&g!==p[Io]())return;var f,_=!1,h=p||mT(null,g,r&&r[bu]?r[bu]():r),x=m||{reason:0};function v(){_||(_=!0,l(h.getCfg(),h.core(),h[Us]()))}return!d._doUpdate||d._doUpdate(h,x,v)!==!0?v():f=!0,f},d._addHook=function(p){p&&(wt(p)?a=a.concat(p):a[yt](p))},bb(d,"_addUnloadCb",function(){return s},"add")}),t[Ia]=function(d){return i(d)[Ia]()},t[Fs]=function(){return o},t.setInitialized=function(d){o=d},t[iu]=function(d){r=d},t[so]=function(d,p){p?p[so](d):r&&Qe(r[ls])&&r[ls](d,null)},t._getTelCtx=i;function i(d){d===void 0&&(d=null);var p=d;if(!p){var m=n||Jn(null,{},t[Io]);r&&r[bu]?p=m[Dc](null,r[bu]):p=m[Dc](null,r)}return p}function l(d,p,m){d&&Ft(d,pb,[],null,ce),!m&&p&&(m=p[PI]()[Us]());var g=r;r&&r[bu]&&(g=r[bu]()),t[Io]=p,n=Jn(m,d,p,g)}function c(){o=!1,t[Io]=null,n=null,r=null,a=[],s=sP()}}return e.__ieDyn=1,e}();var mpe=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var n,r;s(),ct(t,o,function(a,i){a.addTelemetryInitializer=function(l){var c={id:n++,fn:l};r[yt](c);var d={remove:function(){Re(r,function(p,m){if(p.id===c.id)return r[xi](m,1),-1})}};return d},a[ls]=function(l,c){for(var d=!1,p=r[Xe],m=0;m0){var $=n;n=[],Re($,function(X){ie()[so](X)})}},F.pollInternalLogs=function($){return h=$||null,z=!1,C&&(clearInterval(C),C=null),de(!0)};function de($){if(!C&&!z){var X=$||F[Mn]&&F[Mn].queue[Xe]>0;if(X){var pe=zs(t.diagnosticLogInterval);(!pe||!(pe>0))&&(pe=1e4),C=setInterval(function(){clearInterval(C),C=0,zt()},pe)}}return C}F[AU]=function(){z=!0,C&&(clearInterval(C),C=0,zt())},$c(F,function(){return _},["addTelemetryInitializer"]),F.unload=function($,X,pe){var P;$===void 0&&($=!0),o||Po(XDe),f&&Po(fpe);var Q=(P={reason:50},P[Ti]=$,P.flushComplete=!1,P),re=Sb(Vt(),F);re[Im](function(){Ce(),X&&X(Q)},F);function he(qe){Q.flushComplete=qe,f=!0,v.run(re,Q),F[AU](),re[so](Q)}zt(),io($,he,6,pe)||he(!1)},F[Pm]=It,F.addPlugin=function($,X,pe,P){if(!$){P&&P(!1),j(bpe);return}var Q=It($[yi]);if(Q&&!X){P&&P(!1),j("Plugin ["+$[yi]+"] is already loaded!");return}var re={reason:16};function he(gt){c[yt]($),re.added=[$],ht(re),P&&P(!0)}if(Q){var qe=[Q.plugin],st={reason:2,isAsync:!!pe};yo(qe,st,function(gt){gt?(re.removed=qe,re.reason|=32,he(!0)):P&&P(!1)})}else he(!1)},F.evtNamespace=function(){return x},F[ib]=io,F.getTraceCtx=function($){return I||(I=ape()),I},F.setTraceCtx=function($){I=$||null},bb(F,"addUnloadCb",function(){return v},"add");function Ce(){o=!1,t=_b(!0,{},e1e),F[bl]=t,F[Mn]=new Om(t),F[Kx]=[],_=new mpe,n=[],r=null,s=null,a=null,i=null,l=null,d=null,c=[],p=null,m=null,g=null,f=!1,h=null,x=Kn("AIBaseCore",!0),v=sP(),I=null}function ie(){var $=Jn(Vt(),t,F);return $[Im](de),$}function ht($){var X=o1e(F[Mn],gT,c);d=X[Io],l=null;var pe=X.all;if(g=yl(ppe(m,pe,F)),p){var P=Dn(pe,p);P!==-1&&pe[xi](P,1),P=Dn(d,p),P!==-1&&d[xi](P,1),p._setQueue(g)}else p=upe(g,F);pe[yt](p),d[yt](p),F[Kx]=rP(pe),p[vi](t,F,pe);var Q=ie();nP(Q,pe),F[Kx]=yl(rP(d||[])).slice(),$&&D($)}function It($){var X,pe=null,P=null;return Re(F[Kx],function(Q){if(Q[yi]===$&&Q!==p&&Q!==_)return P=Q,-1}),!P&&p&&(P=p.getChannel($)),P&&(pe=(X={plugin:P},X[Jx]=function(Q){Oc(P)[tT]=!Q},X.isEnabled=function(){var Q=Oc(P);return!Q[Os]&&!Q[tT]},X.remove=function(Q,re){var he;Q===void 0&&(Q=!0);var qe=[P],st=(he={reason:1},he[Ti]=Q,he);yo(qe,st,function(gt){gt&&ht({reason:32,removed:qe}),re&&re(gt)})},X)),pe}function Vt(){if(!l){var $=(d||[]).slice();Dn($,_)===-1&&$[yt](_),l=xl(rP($),t,F)}return l}function yo($,X,pe){if($&&$[Xe]>0){var P=xl($,t,F),Q=Sb(P,F);Q[Im](function(){var re=!1,he=[];Re(c,function(st,gt){hpe(st,$)?re=!0:he[yt](st)}),c=he;var qe=[];m&&(Re(m,function(st,gt){var lo=[];Re(st,function(ln){hpe(ln,$)?re=!0:lo[yt](ln)}),qe[yt](lo)}),m=qe),pe&&pe(re),de()}),Q[so](X)}else pe(!1)}function zt(){if(F[Mn]&&F[Mn].queue){var $=F[Mn].queue.slice(0);F[Mn].queue[Xe]=0,Re($,function(X){var pe,P=(pe={},pe[mr]=h||"InternalMessageId: "+X[lb],pe.iKey=zs(t[II]),pe.time=Hs(new Date),pe.baseType=qc.dataType,pe.baseData={message:X[au]},pe);F.track(P)})}}function io($,X,pe,P){return p?p[ib]($,X,pe||6,P):(X&&X(!1),!0)}function Mt(){var $=zs(t.disableDbgExt);$===!0&&T&&(r[km](T),T=null),r&&!T&&$!==!0&&(T=Sue(t),r[Am](T))}function bt(){var $=zs(t.enablePerfMgr);!$&&a&&(a=null),$&&Fo(t,RU,t1e)}function Me(){var $=Fo(t,pb,{});$.NotificationManager=r}function D($){var X=mT(Vt(),F);X[Im](de),(!F._updateHook||F._updateHook(X,$)!==!0)&&X[so]($)}function j($){var X=F[Mn];X?(_e(X,2,73,$),de()):Po($)}})}return e.__ieDyn=1,e}();function aP(e,t,o,n){Re(e,function(r){if(r&&r[t])if(o)setTimeout(function(){return n(r)},0);else try{n(r)}catch{}})}var vpe=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;ct(e,this,function(n){n[Am]=function(r){n.listeners[yt](r)},n[km]=function(r){for(var s=Dn(n[Rm],r);s>-1;)n.listeners[xi](s,1),s=Dn(n[Rm],r)},n[mb]=function(r){aP(n[Rm],mb,!0,function(s){s[mb](r)})},n[uu]=function(r,s){aP(n[Rm],uu,!0,function(a){a[uu](r,s)})},n[gb]=function(r,s){aP(n[Rm],gb,s,function(a){a[gb](r,s)})},n[pu]=function(r){r&&(o||!r[Zx]())&&aP(n[Rm],pu,!1,function(s){r[Ti]?setTimeout(function(){return s[pu](r)},0):s[pu](r)})}})}return e.__ieDyn=1,e}();var wH=function(e){Rn(t,e);function t(){var o=e.call(this)||this;return ct(t,o,function(n,r){n[vi]=function(i,l,c,d){r[vi](i,l,c||new Om(i),d||new vpe(i))},n.track=function(i){gu(n[Dm](),function(){return"AppInsightsCore:track"},function(){i===null&&(a(i),Po("Invalid telemetry item")),s(i),r.track(i)},function(){return{item:i}},!i.sync)};function s(i){ce(i[mr])&&(a(i),Po("telemetry name required"))}function a(i){var l=n[Wx]();l&&l[uu]([i],2)}}),o}return t.__ieDyn=1,t}(_pe);var ype="_aiHooks",xpe=["req","rsp","hkErr","fnErr"];function EH(e,t){if(e)for(var o=0;o=0&&r<=2&&EH(e,function(s,a){var i=s.cbks,l=i[xpe[r]];if(l){t.ctx=function(){var p=n[a]=n[a]||{};return p};try{l[_l](t.inst,o)}catch(p){var c=t.err;try{var d=i[xpe[2]];d&&(t.err=p,d[_l](t.inst,o))}catch{}finally{t.err=c}}}})}function r1e(e){return function(){var t,o=this,n=arguments,r=e.h,s=(t={},t[mr]=e.n,t.inst=o,t.ctx=null,t.set=c,t),a=[],i=l([s],n);s.evt=Lo("event");function l(p,m){return EH(m,function(g){p[yt](g)}),p}function c(p,m){n=l([],n),n[p]=m,i=l([s],n)}CH(r,s,i,a,0);var d=e.f;if(d)try{s.rslt=d[_l](o,n)}catch(p){throw s.err=p,CH(r,s,i,a,3),p}return CH(r,s,i,a,1),s.rslt}}function AH(e,t,o,n){var r=null;return e&&(UI(e,t)?r=e:o&&(r=AH(qU(e),t,n,!1))),r}function kH(e,t,o){return e?fT(e[ko],t,o,!1):null}function Tpe(e,t,o,n){var r=o&&o[ype];if(!r){r={i:0,n:t,f:o,h:[]};var s=r1e(r);s[ype]=r,e[t]=s}var a={id:r.i,cbks:n,rm:function(){var i=this.id;EH(r.h,function(l,c){if(l.id===i)return r.h[xi](c,1),1})}};return r.i++,r.h[yt](a),a}function fT(e,t,o,n,r){if(n===void 0&&(n=!0),e&&t&&o){var s=AH(e,t,n,r);if(s){var a=s[t];if(typeof a===Aa)return Tpe(s,t,a,o)}}return null}function wb(e,t,o,n,r){if(e&&t&&o){var s=AH(e,t,n,r)||e;if(s)return Tpe(s,t,s[t],o)}return null}var ki="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Cb="sampleRate",Eb="ProcessLegacy",hT="http.method",_u="https://dc.services.visualstudio.com",Uc="/v2/track",Yo="not_specified",iP="iKey";function jm(e){var t=null;if(Qe(Event))t=new Event(e);else{var o=Qo();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Hc="split",dt="length",Tl="toLowerCase",bT="ingestionendpoint",Ii="toString",lP="removeItem",Xo="name",zc="message",Spe="count";var _T="stringify",vT="pathname",IH="correlationHeaderExcludePatterns",Ab="indexOf";var Qm="exceptions",$a="parsedStack",fr="properties",hr="measurements",Ym="sizeInBytes",Sl="typeName",Wm="severityLevel",cP="problemGroup",dP="isManual",PH="CreateFromInterface",Km="assembly",yT="hasFullStack",xT="level",Jm="method",kb="fileName",Ib="line",Zm="duration",LH="receivedResponse",Xm="substring",wpe="sanitizeKeyAndAddUniqueness",Cpe="sanitizeException",Epe="sanitizeProperties",Ape="sanitizeMeasurements";var TT="";function Na(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[Tl]()==="true"}function Gs(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=TT+e%1e3,o=TT+Math.floor(e/1e3)%60,n=TT+Math.floor(e/(1e3*60))%60,r=TT+Math.floor(e/(1e3*60*60))%24,s=Math.floor(e/(1e3*60*60*24));return t=t[dt]===1?"00"+t:t[dt]===2?"0"+t:t,o=o[dt]<2?"0"+o:o,n=n[dt]<2?"0"+n:n,r=r[dt]<2?"0"+r:r,(s>0?s+".":TT)+r+":"+n+":"+o+"."+t}function RH(e,t,o,n,r){return!r&&He(e)&&(e==="Script error."||e==="Script error")}var Zt=BU({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]});var Pb=zI({LocalStorage:0,SessionStorage:1}),h1e=zI({AI:0,AI_AND_W3C:1,W3C:2});var vu=void 0,yu=void 0;function MH(){return ST()?uP(Pb.LocalStorage):null}function uP(e){try{if(ce(ka()))return null;var t=new Date()[Ii](),o=Lo(e===Pb.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var n=o.getItem(t)!==t;if(o[lP](t),!n)return o}catch{}return null}function DH(){return xu()?uP(Pb.SessionStorage):null}function $H(){vu=!1,yu=!1}function NH(){vu=ST(!0),yu=xu(!0)}function ST(e){return(e||vu===void 0)&&(vu=!!uP(Pb.LocalStorage)),vu}function qH(e,t){var o=MH();if(o!==null)try{return o.getItem(t)}catch(n){vu=!1,_e(e,2,1,"Browser failed read of local storage. "+vt(n),{exception:De(n)})}return null}function FH(e,t,o){var n=MH();if(n!==null)try{return n.setItem(t,o),!0}catch(r){vu=!1,_e(e,2,3,"Browser failed write to local storage. "+vt(r),{exception:De(r)})}return!1}function OH(e,t){var o=MH();if(o!==null)try{return o[lP](t),!0}catch(n){vu=!1,_e(e,2,5,"Browser failed removal of local storage item. "+vt(n),{exception:De(n)})}return!1}function xu(e){return(e||yu===void 0)&&(yu=!!uP(Pb.SessionStorage)),yu}function Lb(e,t){var o=DH();if(o!==null)try{return o.getItem(t)}catch(n){yu=!1,_e(e,2,2,"Browser failed read of session storage. "+vt(n),{exception:De(n)})}return null}function wT(e,t,o){var n=DH();if(n!==null)try{return n.setItem(t,o),!0}catch(r){yu=!1,_e(e,2,4,"Browser failed write to session storage. "+vt(r),{exception:De(r)})}return!1}function UH(e,t){var o=DH();if(o!==null)try{return o[lP](t),!0}catch(n){yu=!1,_e(e,2,6,"Browser failed removal of session storage item. "+vt(n),{exception:De(n)})}return!1}var ps;function pP(e,t,o){var n=t[dt],r=HH(e,t);if(r[dt]!==n){for(var s=0,a=r;o[a]!==void 0;)s++,a=r[Xm](0,147)+zH(s);r=a}return r}function HH(e,t){var o;return t&&(t=jo(t[Ii]()),t[dt]>150&&(o=t[Xm](0,150),_e(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function Gt(e,t,o){o===void 0&&(o=1024);var n;return t&&(o=o||1024,t=jo(t),t.toString()[dt]>o&&(n=t[Ii]()[Xm](0,o),_e(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),n||t}function wl(e,t){return fP(e,t,2048,66)}function Rb(e,t){var o;return t&&t[dt]>32768&&(o=t[Xm](0,32768),_e(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function mP(e,t){var o;if(t){var n=""+t;n[dt]>32768&&(o=n[Xm](0,32768),_e(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return o||t}function br(e,t){if(t){var o={};Ct(t,function(n,r){if(gr(r)&&Ci())try{r=Sn()[_T](r)}catch(s){_e(e,2,49,"custom property is not valid",{exception:s},!0)}r=Gt(e,r,8192),n=pP(e,n,o),o[n]=r}),t=o}return t}function _r(e,t){if(t){var o={};Ct(t,function(n,r){n=pP(e,n,o),o[n]=r}),t=o}return t}function gP(e,t){return t&&fP(e,t,128,69)[Ii]()}function fP(e,t,o,n){var r;return t&&(t=jo(t),t[dt]>o&&(r=t[Xm](0,o),_e(e,2,n,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),r||t}function zH(e){var t="00"+e;return t.substr(t[dt]-3)}var kpe=(ps={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768},ps[wpe]=pP,ps.sanitizeKey=HH,ps.sanitizeString=Gt,ps.sanitizeUrl=wl,ps.sanitizeMessage=Rb,ps[Cpe]=mP,ps[Epe]=br,ps[Ape]=_r,ps.sanitizeId=gP,ps.sanitizeInput=fP,ps.padNumber=zH,ps.trim=jo,ps);var Ipe=Qo()||{},Ppe=0,b1e=[null,null,null,null,null];function CT(e){var t=Ppe,o=b1e,n=o[t];return Ipe.createElement?o[t]||(n=o[t]=Ipe.createElement("a")):n={host:BH(e,!0)},n.href=e,t++,t>=o[dt]&&(t=0),Ppe=t,n}function hP(e){var t,o=CT(e);return o&&(t=o.href),t}function bP(e,t){return e?e.toUpperCase()+" "+t:t}function BH(e,t){var o=_P(e,t)||"";if(o){var n=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[dt]>3&&He(n[2])&&n[2][dt]>0)return n[2]+(n[3]||"")}return o}function _P(e,t){var o=null;if(e){var n=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[dt]>2&&He(n[2])&&n[2][dt]>0&&(o=n[2]||"",t&&n[dt]>2)){var r=(n[1]||"")[Tl](),s=n[3]||"";(r==="http"&&s===":80"||r==="https"&&s===":443")&&(s=""),o+=s}}return o}var v1e=[_u+Uc,"https://breeze.aimon.applicationinsights.io"+Uc,"https://dc-int.services.visualstudio.com"+Uc];function eg(e){return Dn(v1e,e[Tl]())!==-1}var Bc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[IH]){for(var n=0;n0},getCorrelationContext:function(e){if(e){var t=Bc.getCorrelationContextValue(e,Zt[1]);if(t&&t!==Bc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Hc](","),n=0;n0){var i=CT(t);if(r=i.host,!s)if(i[vT]!=null){var l=i.pathname[dt]===0?"/":i[vT];l.charAt(0)!=="/"&&(l="/"+l),a=i[vT],s=Gt(e,o?o+" "+l:l)}else s=Gt(e,t)}else r=n,s=n;return{target:r,name:s,data:a}}function Mb(){var e=Ra();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return $n()}function wn(e,t){var o=null;return e!==0&&t!==0&&!ce(e)&&!ce(t)&&(o=t-e),o}function tg(e,t){var o=e||{};return{getName:function(){return o[Xo]},setName:function(n){t&&t.setName(n),o[Xo]=n},getTraceId:function(){return o.traceID},setTraceId:function(n){t&&t.setTraceId(n),Vm(n)&&(o.traceID=n)},getSpanId:function(){return o.parentID},setSpanId:function(n){t&&t.setSpanId(n),Gm(n)&&(o.parentID=n)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(n){t&&t.setTraceFlags(n),o.traceFlags=n}}}var y1e=";",x1e="=";function VH(e){if(!e)return{};var t=e[Hc](y1e),o=UU(t,function(r,s){var a=s[Hc](x1e);if(a[dt]===2){var i=a[0][Tl](),l=a[1];r[i]=l}return r},{});if(cs(o)[dt]>0){if(o.endpointsuffix){var n=o.location?o.location+".":"";o[bT]=o[bT]||"https://"+n+"dc."+o.endpointsuffix}o[bT]=o[bT]||_u}return o}var vP=function(){function e(t,o,n){var r=this,s=this;s.ver=1,s.sampleRate=100,s.tags={},s[Xo]=Gt(t,n)||Yo,s.data=o,s.time=Hs(new Date),s.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return r.sampleRate===100?4:1},tags:1,data:1}}return e}();var js=function(){function e(t,o,n,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var s=this;s.ver=2,s[Xo]=Gt(t,o)||Yo,s[fr]=br(t,n),s[hr]=_r(t,r)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var T1e="",Db="error",ms="stack",jH="stackDetails",Rpe="errorSrc",QH="message",$pe="description";function YH(e,t){var o=e;return o&&!He(o)&&(JSON&&JSON[_T]?(o=JSON[_T](e),t&&(!o||o==="{}")&&(Qe(e[Ii])?o=e[Ii]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function Npe(e,t){var o=e;return e&&(o&&!He(o)&&(o=e[QH]||e[$pe]||o),o&&!He(o)&&(o=YH(o,!0)),e.filename&&(o=o+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(o||"")[Ab](t)===-1&&(o=t+": "+o),o||""}function S1e(e){try{if(gr(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function w1e(e){try{if(gr(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Mpe(e){return e&&e.src&&He(e.src)&&e.obj&&wt(e.obj)}function og(e){var t=e||"";He(t)||(He(t[ms])?t=t[ms]:t=""+t);var o=t[Hc](` `);return{src:t,obj:o}}function C1e(e){for(var t=[],o=e[Hc](` `),n=0;n0){t=[];var n=0,r=0;Re(o,function(f){var _=f[Ii]();if(WH.regex.test(_)){var h=new WH(_,n++);r+=h[Ym],t.push(h)}});var s=32*1024;if(r>s)for(var a=0,i=t[dt]-1,l=0,c=a,d=i;as){var g=d-c+1;t.splice(c,g);break}c=a,d=i,a++,i--}}return t}function yP(e){var t="";if(e&&(t=e.typeName||e[Xo]||"",!t))try{var o=/function (.{1,200})\(/,n=o.exec(e.constructor[Ii]());t=n&&n[dt]>1?n[1]:""}catch{}return t}function GH(e){if(e)try{if(!He(e)){var t=yP(e),o=YH(e,!1);return(!o||o==="{}")&&(e[Db]&&(e=e[Db],t=yP(e)),o=YH(e,!0)),o[Ab](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var Zn=function(){function e(t,o,n,r,s,a){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var i=this;i.ver=2,w1e(o)?(i[Qm]=o[Qm]||[],i[fr]=o[fr],i[hr]=o[hr],o[Wm]&&(i[Wm]=o[Wm]),o.id&&(i.id=o.id),o[cP]&&(i[cP]=o[cP]),ce(o[dP])||(i[dP]=o[dP])):(n||(n={}),i[Qm]=[new Dpe(t,o,n)],i[fr]=br(t,n),i[hr]=_r(t,r),s&&(i[Wm]=s),a&&(i.id=a))}return e.CreateAutoException=function(t,o,n,r,s,a,i,l){var c,d=yP(s||a||t);return c={},c[zc]=Npe(t,d),c.url=o,c.lineNumber=n,c.columnNumber=r,c.error=GH(s||a||t),c.evt=GH(a||t),c[Sl]=d,c.stackDetails=qpe(i||s||a),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,n,r){var s=o[Qm]&&qm(o[Qm],function(i){return Dpe[PH](t,i)}),a=new e(t,Go(Go({},o),{exceptions:s}),n,r);return a},e.prototype.toInterface=function(){var t,o=this,n=o.exceptions,r=o.properties,s=o.measurements,a=o.severityLevel,i=o.problemGroup,l=o.id,c=o.isManual,d=n instanceof Array&&qm(n,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[Qm]=d,t.severityLevel=a,t.properties=r,t.measurements=s,t.problemGroup=i,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,n,r,s,a){var i;return{exceptions:[(i={},i[yT]=!0,i.message=t,i.stack=s,i.typeName=o,i)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=GH,e}();var Dpe=function(){function e(t,o,n){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var r=this;if(S1e(o))r[Sl]=o[Sl],r[zc]=o[zc],r[ms]=o[ms],r[$a]=o[$a]||[],r[yT]=o[yT];else{var s=o,a=s&&s.evt;Nm(s)||(s=s[Db]||a||s),r[Sl]=Gt(t,yP(s))||Yo,r[zc]=Rb(t,Npe(o||s,r[Sl]))||Yo;var i=o[jH]||qpe(o);r[$a]=A1e(i),wt(r[$a])&&qm(r[$a],function(l){return l[Km]=Gt(t,l[Km])}),r[ms]=mP(t,E1e(i)),r.hasFullStack=wt(r.parsedStack)&&r.parsedStack[dt]>0,n&&(n[Sl]=n[Sl]||r[Sl])}}return e.prototype.toInterface=function(){var t,o=this,n=o[$a]instanceof Array&&qm(o[$a],function(s){return s.toInterface()}),r=(t={id:o.id,outerId:o.outerId,typeName:o[Sl],message:o[zc],hasFullStack:o[yT],stack:o[ms]},t[$a]=n||void 0,t);return r},e.CreateFromInterface=function(t,o){var n=o[$a]instanceof Array&&qm(o[$a],function(s){return WH[PH](s)})||o[$a],r=new e(t,Go(Go({},o),{parsedStack:n}));return r},e}();var WH=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var n=this;if(n[Ym]=0,typeof t=="string"){var r=t;n[xT]=o,n[Jm]=T1e,n[Km]=jo(r),n[kb]="",n[Ib]=0;var s=r.match(e.regex);s&&s[dt]>=5&&(n[Jm]=jo(s[2])||n[Jm],n[kb]=jo(s[4]),n[Ib]=parseInt(s[5])||0)}else n[xT]=t[xT],n[Jm]=t[Jm],n[Km]=t[Km],n[kb]=t[kb],n[Ib]=t[Ib],n[Ym]=0;n.sizeInBytes+=n.method[dt],n.sizeInBytes+=n.fileName[dt],n.sizeInBytes+=n.assembly[dt],n[Ym]+=e.baseSize,n.sizeInBytes+=n.level.toString()[dt],n.sizeInBytes+=n.line.toString()[dt]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[xT],method:t[Jm],assembly:t[Km],fileName:t[kb],line:t[Ib]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Fpe=function(){function e(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0}return e}();var Qs=function(){function e(t,o,n,r,s,a,i,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var d=this;d.ver=2;var p=new Fpe;p[Spe]=r>0?r:void 0,p.max=isNaN(a)||a===null?void 0:a,p.min=isNaN(s)||s===null?void 0:s,p[Xo]=Gt(t,o)||Yo,p.value=n,p.stdDev=isNaN(i)||i===null?void 0:i,d.metrics=[p],d[fr]=br(t,l),d[hr]=_r(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Pr=function(){function e(t,o,n,r,s,a,i){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=gP(t,i),l.url=wl(t,n),l[Xo]=Gt(t,o)||Yo,isNaN(r)||(l[Zm]=Gs(r)),l[fr]=br(t,s),l[hr]=_r(t,a)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Ys=function(){function e(t,o,n,r,s,a,i,l,c,d,p,m){c===void 0&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var g=this;g.ver=2,g.id=o,g[Zm]=Gs(s),g.success=a,g.resultCode=i+"",g.type=Gt(t,c);var f=Lpe(t,n,l,r);g.data=wl(t,r)||f.data,g.target=Gt(t,f.target),d&&(g.target="".concat(g.target," | ").concat(d)),g[Xo]=Gt(t,f[Xo]),g[fr]=br(t,p),g[hr]=_r(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var Pi=function(){function e(t,o,n,r,s){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var a=this;a.ver=2,o=o||Yo,a[zc]=Rb(t,o),a[fr]=br(t,r),a[hr]=_r(t,s),n&&(a[Wm]=n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var Li=function(){function e(t,o,n,r,s,a,i){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var l=this;l.ver=2,l.url=wl(t,n),l[Xo]=Gt(t,o)||Yo,l[fr]=br(t,s),l[hr]=_r(t,a),i&&(l.domProcessing=i.domProcessing,l[Zm]=i[Zm],l.networkConnect=i.networkConnect,l.perfTotal=i.perfTotal,l[LH]=i[LH],l.sentRequest=i.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Cl=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function Su(e){var t="ai."+e+".";return function(o){return t+o}}var ET=Su("application"),Cn=Su("device"),xP=Su("location"),$b=Su("operation"),KH=Su("session"),Tu=Su("user"),ng=Su("cloud"),AT=Su("internal"),Nb=function(e){Rn(t,e);function t(){return e.call(this)||this}return t}(zU({applicationVersion:ET("ver"),applicationBuild:ET("build"),applicationTypeId:ET("typeId"),applicationId:ET("applicationId"),applicationLayer:ET("layer"),deviceId:Cn("id"),deviceIp:Cn("ip"),deviceLanguage:Cn("language"),deviceLocale:Cn("locale"),deviceModel:Cn("model"),deviceFriendlyName:Cn("friendlyName"),deviceNetwork:Cn("network"),deviceNetworkName:Cn("networkName"),deviceOEMName:Cn("oemName"),deviceOS:Cn("os"),deviceOSVersion:Cn("osVersion"),deviceRoleInstance:Cn("roleInstance"),deviceRoleName:Cn("roleName"),deviceScreenResolution:Cn("screenResolution"),deviceType:Cn("type"),deviceMachineName:Cn("machineName"),deviceVMName:Cn("vmName"),deviceBrowser:Cn("browser"),deviceBrowserVersion:Cn("browserVersion"),locationIp:xP("ip"),locationCountry:xP("country"),locationProvince:xP("province"),locationCity:xP("city"),operationId:$b("id"),operationName:$b("name"),operationParentId:$b("parentId"),operationRootId:$b("rootId"),operationSyntheticSource:$b("syntheticSource"),operationCorrelationVector:$b("correlationVector"),sessionId:KH("id"),sessionIsFirst:KH("isFirst"),sessionIsNew:KH("isNew"),userAccountAcquisitionDate:Tu("accountAcquisitionDate"),userAccountId:Tu("accountId"),userAgent:Tu("userAgent"),userId:Tu("id"),userStoreRegion:Tu("storeRegion"),userAuthUserId:Tu("authUserId"),userAnonymousUserAcquisitionDate:Tu("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Tu("authUserAcquisitionDate"),cloudName:ng("name"),cloudRole:ng("role"),cloudRoleVer:ng("roleVer"),cloudRoleInstance:ng("roleInstance"),cloudEnvironment:ng("environment"),cloudLocation:ng("location"),cloudDeploymentUnit:ng("deploymentUnit"),internalNodeName:AT("nodeName"),internalSdkVersion:AT("sdkVersion"),internalAgentVersion:AT("agentVersion"),internalSnippet:AT("snippet"),internalSdkSrc:AT("sdkSrc")}));function qa(e,t,o,n,r,s){var a;o=Gt(n,o)||Yo,(ce(e)||ce(t)||ce(o))&&Po("Input doesn't contain all required fields");var i="";e[iP]&&(i=e[iP],delete e[iP]);var l=(a={},a[Xo]=o,a.time=Hs(new Date),a.iKey=i,a.ext=s||{},a.tags=[],a.data={},a.baseType=t,a.baseData=e,a);return ce(r)||Ct(r,function(c,d){l.data[c]=d}),l}var Ope=function(){function e(){}return e.create=qa,e}();var Xn={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Xt=new Nb;var wu="AppInsightsPropertiesPlugin",kT="AppInsightsChannelPlugin",JH="ApplicationInsightsAnalytics";var IT="toString",TP="disableExceptionTracking",PT="autoTrackPageVisitTime",SP="overridePageViewDuration",wP="enableUnhandledPromiseRejectionTracking",LT="samplingPercentage",RT="isStorageUseDisabled",MT="isBrowserLinkTrackingEnabled",CP="enableAutoRouteTracking",EP="namePrefix",AP="disableFlushOnBeforeUnload";var Nn="core",Vc="dataType",Cu="envelopeType",gs="diagLog",Eu="track",qb="trackPageView",DT="trackPreviousPageVisit",Gc="sendPageViewInternal",$T="sendPageViewPerformanceInternal",Fb="populatePageViewPerformanceEvent",Au="href",ZH="sendExceptionInternal",kP="exception",Ob="error",IP="_onerror",PP="errorSrc",LP="lineNumber",RP="columnNumber",XH="message",MP="CreateAutoException",NT="addTelemetryInitializer",El="duration",ku="length",DP="isPerformanceTimingSupported",$P="getPerformanceTiming",Ub="navigationStart",qT="shouldCollectDuration",NP="isPerformanceTimingDataReady",Upe="getEntriesByType",Hb="responseStart",Hpe="requestStart",FT="loadEventEnd",qP="responseEnd",OT="connectEnd",ez="pageVisitStartTime";var FP=null;function R1e(){if(FP==null)try{FP=!!(self&&self instanceof WorkerGlobalScope)}catch{FP=!1}return FP}var zpe=function(){function e(t,o,n,r){ct(e,this,function(s){var a=null,i=[],l=!1,c;n&&(c=n.logger);function d(g){n&&n.flush(g)}function p(){a||(a=setTimeout(function(){a=null;var g=i.slice(0),f=!1;i=[],Re(g,function(_){_()?f=!0:i.push(_)}),i[ku]>0&&p(),f&&d(!0)},100))}function m(g){i.push(g),p()}s[qb]=function(g,f){var _=g.name;if(ce(_)||typeof _!="string"){var h=Qo();_=g.name=h&&h.title||""}var x=g.uri;if(ce(x)||typeof x!="string"){var v=ds();x=g.uri=v&&v[Au]||""}if(!r[DP]()){t[Gc](g,f),d(!0),R1e()||_e(c,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var T=!1,I,C=r[$P]()[Ub];C>0&&(I=wn(C,+new Date),r[qT](I)||(I=void 0));var z;!ce(f)&&!ce(f[El])&&(z=f[El]),(o||!isNaN(z))&&(isNaN(z)&&(f||(f={}),f[El]=I),t[Gc](g,f),d(!0),T=!0);var F=6e4;f||(f={}),m(function(){var de=!1;try{if(r[NP]()){de=!0;var Ce={name:_,uri:x};r[Fb](Ce),!Ce.isValid&&!T?(f[El]=I,t[Gc](g,f)):(T||(f[El]=Ce.durationMs,t[Gc](g,f)),l||(t[$T](Ce,f),l=!0))}else C>0&&wn(C,+new Date)>F&&(de=!0,T||(f[El]=F,t[Gc](g,f)))}catch(ie){_e(c,1,38,"trackPageView failed on page load calculation: "+vt(ie),{exception:De(ie)})}return de})},s.teardown=function(g,f){if(a){clearTimeout(a),a=null;var _=i.slice(0),h=!1;i=[],Re(_,function(x){x()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var M1e=36e5,Bpe=["googlebot","adsbot-google","apis-google","mediapartners-google"];function Gpe(){var e=Ra();return e&&!!e.timing}function D1e(){var e=Ra();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[ku]>0}function $1e(){var e=Ra(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[Ub]>0&&t[Hb]>0&&t[Hpe]>0&&t[FT]>0&&t[qP]>0&&t[OT]>0&&t.domLoading>0}function Vpe(){return Gpe()?Ra().timing:null}function N1e(){return D1e()?Ra()[Upe]("navigation")[0]:null}function q1e(){for(var e=[],t=0;t=M1e)return!1;return!0}var jpe=function(){function e(t){var o=this,n=Ei(t);ct(e,this,function(r){r[Fb]=function(s){s.isValid=!1;var a=N1e(),i=Vpe(),l=0,c=0,d=0,p=0,m=0;(a||i)&&(a?(l=a[El],c=a.startTime===0?a[OT]:wn(a.startTime,a[OT]),d=wn(a.requestStart,a[Hb]),p=wn(a[Hb],a[qP]),m=wn(a.responseEnd,a[FT])):(l=wn(i[Ub],i[FT]),c=wn(i[Ub],i[OT]),d=wn(i.requestStart,i[Hb]),p=wn(i[Hb],i[qP]),m=wn(i.responseEnd,i[FT])),l===0?_e(n,2,10,"error calculating page view performance.",{total:l,network:c,request:d,response:p,dom:m}):o[qT](l,c,d,p,m)?l=100)&&(e[LT]=100),e[RT]=Na(e[RT]),e[MT]=Na(e[MT]),e[CP]=Na(e[CP]),e[EP]=e[EP]||"",e.enableDebug=Na(e.enableDebug),e[AP]=Na(e[AP]),e.disableFlushOnUnload=Na(e.disableFlushOnUnload,e[AP]),e}function H1e(e){ho(e[RT])||(e[RT]?$H():NH())}var OP=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=JH,o.priority=180,o.autoRoutePVDelay=500;var n,r,s,a,i,l,c,d,p,m,g,f,_,h,x=0,v,T,I;return ct(t,o,function(C,z){var F=z._addHook;Me(),C.getCookieMgr=function(){return Bm(C[Nn])},C.processTelemetry=function(D,j){C.processNext(D,j)},C.trackEvent=function(D,j){try{var $=qa(D,js[Vc],js[Cu],C[gs](),j);C[Nn][Eu]($)}catch(X){bt(2,39,"trackTrace failed, trace will not be collected: "+vt(X),{exception:De(X)})}},C.startTrackEvent=function(D){try{n.start(D)}catch(j){bt(1,29,"startTrackEvent failed, event will not be collected: "+vt(j),{exception:De(j)})}},C.stopTrackEvent=function(D,j,$){try{n.stop(D,void 0,j,$)}catch(X){bt(1,30,"stopTrackEvent failed, event will not be collected: "+vt(X),{exception:De(X)})}},C.trackTrace=function(D,j){try{var $=qa(D,Pi[Vc],Pi[Cu],C[gs](),j);C[Nn][Eu]($)}catch(X){bt(2,39,"trackTrace failed, trace will not be collected: "+vt(X),{exception:De(X)})}},C.trackMetric=function(D,j){try{var $=qa(D,Qs[Vc],Qs[Cu],C[gs](),j);C[Nn][Eu]($)}catch(X){bt(1,36,"trackMetric failed, metric will not be collected: "+vt(X),{exception:De(X)})}},C[qb]=function(D,j){try{var $=D||{};s[qb]($,Go(Go(Go({},$.properties),$.measurements),j)),C.config[PT]&&i[DT]($.name,$.uri)}catch(X){bt(1,37,"trackPageView failed, page view will not be collected: "+vt(X),{exception:De(X)})}},C[Gc]=function(D,j,$){var X=Qo();X&&(D.refUri=D.refUri===void 0?X.referrer:D.refUri);var pe=qa(D,Pr[Vc],Pr[Cu],C[gs](),j,$);C[Nn][Eu](pe),x=0},C[$T]=function(D,j,$){var X=qa(D,Li[Vc],Li[Cu],C[gs](),j,$);C[Nn][Eu](X)},C.trackPageViewPerformance=function(D,j){var $=D||{};try{a[Fb]($),C[$T]($,j)}catch(X){bt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+vt(X),{exception:De(X)})}},C.startTrackPage=function(D){try{if(typeof D!="string"){var j=Qo();D=j&&j.title||""}r.start(D)}catch($){bt(1,31,"startTrackPage failed, page view may not be collected: "+vt($),{exception:De($)})}},C.stopTrackPage=function(D,j,$,X){try{if(typeof D!="string"){var pe=Qo();D=pe&&pe.title||""}if(typeof j!="string"){var P=ds();j=P&&P[Au]||""}r.stop(D,j,$,X),C.config[PT]&&i[DT](D,j)}catch(Q){bt(1,32,"stopTrackPage failed, page view will not be collected: "+vt(Q),{exception:De(Q)})}},C[ZH]=function(D,j,$){var X=D&&(D[kP]||D[Ob])||Nm(D)&&D||{name:D&&typeof D,message:D||Yo};D=D||{};var pe=new Zn(C[gs](),X,D.properties||j,D.measurements,D.severityLevel,D.id).toInterface(),P=qa(pe,Zn[Vc],Zn[Cu],C[gs](),j,$);C[Nn][Eu](P)},C.trackException=function(D,j){D&&!D[kP]&&D[Ob]&&(D[kP]=D[Ob]);try{C[ZH](D,j)}catch($){bt(1,35,"trackException failed, exception will not be collected: "+vt($),{exception:De($)})}},C[IP]=function(D){var j=D&&D[Ob],$=D&&D.evt;try{if(!$){var X=Bs();X&&($=X[O1e])}var pe=D&&D.url||(Qo()||{}).URL,P=D[PP]||"window.onerror@"+pe+":"+(D[LP]||0)+":"+(D[RP]||0),Q={errorSrc:P,url:pe,lineNumber:D[LP]||0,columnNumber:D[RP]||0,message:D[XH]};RH(D.message,D.url,D.lineNumber,D.columnNumber,D[Ob])?It(Zn[MP]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",pe,D[LP]||0,D[RP]||0,j,$,null,P),Q):(D[PP]||(D[PP]=P),C.trackException({exception:D,severityLevel:3},Q))}catch(he){var re=j?j.name+", "+j[XH]:"null";bt(1,11,"_onError threw exception while logging error, error will not be collected: "+vt(he),{exception:De(he),errorString:re})}},C[NT]=function(D){if(C[Nn])return C[Nn][NT](D);l||(l=[]),l.push(D)},C.initialize=function(D,j,$,X){if(!C.isInitialized()){ce(j)&&Po("Error initializing"),z.initialize(D,j,$,X);try{I=Vs(Kn(C.identifier),j.evtNamespace&&j.evtNamespace()),l&&(Re(l,function(P){j[NT](P)}),l=null);var pe=de(D);H1e(pe),a=new jpe(C[Nn]),s=new zpe(o,pe[SP],C[Nn],a),i=new Qpe(C[gs](),function(P,Q,re){return ie(P,Q,re)}),Ce(pe,D),n=new tz(C[gs](),"trackEvent"),n.action=function(P,Q,re,he,qe){he||(he={}),qe||(qe={}),he.duration=re[IT](),C.trackEvent({name:P,properties:he,measurements:qe})},r=new tz(C[gs](),"trackPageView"),r.action=function(P,Q,re,he,qe){ce(he)&&(he={}),he.duration=re[IT]();var st={name:P,uri:Q,properties:he,measurements:qe};C[Gc](st,he)},Nc()&&(Vt(pe),yo(pe))}catch(P){throw C.setInitialized(!1),P}}},C._doTeardown=function(D,j){s&&s.teardown(D,j),hu(window,null,null,I),Me()};function de(D){var j=Jn(null,D,C[Nn]),$=C.identifier,X=Kpe(D),pe=C.config=j.getExtCfg($);return X!==void 0&&Ct(X,function(P,Q){pe[P]=j.getConfig($,P,Q),pe[P]===void 0&&(pe=Q)}),pe}function Ce(D,j){c=D[MT]||j[MT],ht()}function ie(D,j,$){var X={PageName:D,PageUrl:j};C.trackMetric({name:"PageVisitTime",average:$,max:$,min:$,sampleCount:1},X)}function ht(){if(!d&&c){var D=["/browserLinkSignalR/","/__browserLink/"],j=function($){if(c&&$.baseType===Ys[Vc]){var X=$.baseData;if(X){for(var pe=0;pe=0)return!1}}return!0};C[NT](j),d=!0}}function It(D,j){var $=qa(D,Zn[Vc],Zn[Cu],C[gs](),j);C[Nn][Eu]($)}function Vt(D){var j=Bs(),$=ds(!0);g=D[TP],!g&&!f&&!D.autoExceptionInstrumented&&(F(wb(j,"onerror",{ns:I,rsp:function(X,pe,P,Q,re,he){!g&&X.rslt!==!0&&C[IP](Zn[MP](pe,P,Q,re,he,X.evt))}},!1)),f=!0),Mt(D,j,$)}function yo(D){var j=Bs(),$=ds(!0);if(p=D[CP]===!0,j&&p&&VI()){var X=KU();Qe(X.pushState)&&Qe(X.replaceState)&&typeof Event!==is&&io(D,j,X,$)}}function zt(){var D=null;if(C[Nn]&&C[Nn].getTraceCtx&&(D=C[Nn].getTraceCtx(!1)),!D){var j=C[Nn].getPlugin(wu);if(j){var $=j.plugin.context;$&&(D=tg($.telemetryTrace))}}return D}function io(D,j,$,X){var pe=D[EP]||"";function P(){p&&UT(j,jm(pe+"locationchange"))}function Q(){if(T?(v=T,T=X&&X[Au]||""):T=X&&X[Au]||"",p){var re=zt();if(re){re.setTraceId(us());var he="_unknown_";X&&X.pathname&&(he=X.pathname+(X.hash||"")),re.setName(Gt(C[gs](),he))}setTimeout(function(qe){C[qb]({refUri:qe,properties:{duration:0}})}.bind(this,v),C.autoRoutePVDelay)}}m||(F(wb($,"pushState",{ns:I,rsp:function(){p&&(UT(j,jm(pe+"pushState")),UT(j,jm(pe+"locationchange")))}},!0)),F(wb($,"replaceState",{ns:I,rsp:function(){p&&(UT(j,jm(pe+"replaceState")),UT(j,jm(pe+"locationchange")))}},!0)),Da(j,pe+"popstate",P,I),Da(j,pe+"locationchange",Q,I),m=!0)}function Mt(D,j,$){_=D[wP]===!0,_&&!h&&(F(wb(j,"onunhandledrejection",{ns:I,rsp:function(X,pe){_&&X.rslt!==!0&&C[IP](Zn[MP](U1e(pe),$?$[Au]:"",0,0,pe,X.evt))}},!1)),h=!0,D.autoUnhandledPromiseInstrumented=h)}function bt(D,j,$,X,pe){C[gs]().throwInternal(D,j,$,X,pe)}function Me(){n=null,r=null,s=null,a=null,i=null,l=null,c=!1,d=!1,p=!1,m=!1,g=!1,f=!1,_=!1,h=!1,x=0;var D=ds(!0);v=D&&D[Au]||"",T=null,I=null}La(C,"_pageViewManager",function(){return s}),La(C,"_pageViewPerformanceManager",function(){return a}),La(C,"_pageVisitTimeManager",function(){return i}),La(C,"_evtNamespace",function(){return"."+I})}),o}return t.Version="2.8.13",t.getDefaultConfig=Kpe,t}(Ai);var Iu="duration";var en="tags",UP="deviceType",fs="data",Al="name",rg="traceID",xt="length",Pu="stringify",Lu="measurements",Fa="dataType",Ru="envelopeType",jc="toString",HT="onLine",zT="isOnline",sg="enqueue",Mu="count",Qc="push",BT="emitLineDelimitedJson",Du="clear",ag="batchPayloads",$u="markAsSent",ig="clearSent",VT="bufferOverride",zb="BUFFER_KEY",Nu="SENT_BUFFER_KEY",Bb="MAX_BUFFER_SIZE",Yc="namePrefix",HP="maxBatchSizeInBytes",lg="triggerSend",vr="diagLog",oz="onunloadDisableBeacon",zP="isBeaconApiDisabled",Vb="_sender",ao="_senderConfig",nz="enableSessionStorageBuffer",qu="_buffer",rz="samplingPercentage",GT="instrumentationKey",Fu="endpointUrl",sz="customHeaders",Gb="disableXhr",az="onunloadDisableFetch",BP="disableTelemetry",VP="baseType",jb="sampleRate",iz="convertUndefined",Jpe="_xhrReadyStateChange",Oa="_onError",GP="_onPartialSuccess",jT="_onSuccess",QT="itemsAccepted",Zpe="itemsReceived",Qb="isRetryDisabled",jP="setRequestHeader",lz="maxBatchInterval",cz="eventsSendRequest",dz="disableInstrumentationKeyValidation",QP="getSamplingScore",Xpe="getHashCodeScore";var uz="baseType",bo="baseData",qn="properties",eme="true";function tn(e,t,o){return Ft(e,t,o,hb)}function z1e(e,t,o){var n=o[en]=o[en]||{},r=t.ext=t.ext||{},s=t[en]=t[en]||[],a=r.user;a&&(tn(n,Xt.userAuthUserId,a.authId),tn(n,Xt.userId,a.id||a.localId));var i=r.app;i&&tn(n,Xt.sessionId,i.sesId);var l=r.device;l&&(tn(n,Xt.deviceId,l.id||l.localId),tn(n,Xt[UP],l.deviceClass),tn(n,Xt.deviceIp,l.ip),tn(n,Xt.deviceModel,l.model),tn(n,Xt[UP],l[UP]));var c=t.ext.web;if(c){tn(n,Xt.deviceLanguage,c.browserLang),tn(n,Xt.deviceBrowserVersion,c.browserVer),tn(n,Xt.deviceBrowser,c.browser);var d=o[fs]=o[fs]||{},p=d[bo]=d[bo]||{},m=p[qn]=p[qn]||{};tn(m,"domain",c.domain),tn(m,"isManual",c.isManual?eme:null),tn(m,"screenRes",c.screenRes),tn(m,"userConsent",c.userConsent?eme:null)}var g=r.os;g&&tn(n,Xt.deviceOS,g[Al]);var f=r.trace;f&&(tn(n,Xt.operationParentId,f.parentID),tn(n,Xt.operationName,Gt(e,f[Al])),tn(n,Xt.operationId,f[rg]));for(var _={},h=s[xt]-1;h>=0;h--){var x=s[h];Ct(x,function(T,I){_[T]=I}),s.splice(h,1)}Ct(s,function(T,I){_[T]=I});var v=Go(Go({},n),_);v[Xt.internalSdkVersion]||(v[Xt.internalSdkVersion]="javascript:".concat(B1e.Version)),o[en]=HI(v)}function Ou(e,t,o){ce(e)||Ct(e,function(n,r){nT(r)?o[n]=r:He(r)?t[n]=r:Ci()&&(t[n]=Sn()[Pu](r))})}function cg(e,t){ce(e)||Ct(e,function(o,n){e[o]=n||t})}function dg(e,t,o,n){var r=new vP(e,n,t);tn(r,"sampleRate",o[Cb]),(o[bo]||{}).startTime&&(r.time=Hs(o[bo].startTime)),r.iKey=o.iKey;var s=o.iKey.replace(/-/g,"");return r[Al]=r[Al].replace("{0}",s),z1e(e,o,r),o[en]=o[en]||[],HI(r)}function ug(e,t){ce(t[bo])&&_e(e,1,46,"telemetryItem.baseData cannot be null.")}var B1e={Version:"2.8.13"};function tme(e,t,o){ug(e,t);var n=t[bo][Lu]||{},r=t[bo][qn]||{};Ou(t[fs],r,n),ce(o)||cg(r,o);var s=t[bo];if(ce(s))return Ma(e,"Invalid input for dependency data"),null;var a=s[qn]&&s[qn][hT]?s[qn][hT]:"GET",i=new Ys(e,s.id,s.target,s[Al],s[Iu],s.success,s.responseCode,a,s.type,s.correlationContext,r,n),l=new Cl(Ys[Fa],i);return dg(e,Ys[Ru],t,l)}function pz(e,t,o){ug(e,t);var n={},r={};t[uz]!==js[Fa]&&(n.baseTypeSource=t[uz]),t[uz]===js[Fa]?(n=t[bo][qn]||{},r=t[bo][Lu]||{}):t[bo]&&Ou(t[bo],n,r),Ou(t[fs],n,r),ce(o)||cg(n,o);var s=t[bo][Al],a=new js(e,s,n,r),i=new Cl(js[Fa],a);return dg(e,js[Ru],t,i)}function ome(e,t,o){ug(e,t);var n=t[bo][Lu]||{},r=t[bo][qn]||{};Ou(t[fs],r,n),ce(o)||cg(r,o);var s=t[bo],a=Zn.CreateFromInterface(e,s,r,n),i=new Cl(Zn[Fa],a);return dg(e,Zn[Ru],t,i)}function nme(e,t,o){ug(e,t);var n=t[bo],r=n[qn]||{},s=n[Lu]||{};Ou(t[fs],r,s),ce(o)||cg(r,o);var a=new Qs(e,n[Al],n.average,n.sampleCount,n.min,n.max,n.stdDev,r,s),i=new Cl(Qs[Fa],a);return dg(e,Qs[Ru],t,i)}function rme(e,t,o){ug(e,t);var n,r=t[bo];!ce(r)&&!ce(r[qn])&&!ce(r[qn][Iu])?(n=r[qn][Iu],delete r[qn][Iu]):!ce(t[fs])&&!ce(t[fs][Iu])&&(n=t[fs][Iu],delete t[fs][Iu]);var s=t[bo],a;((t.ext||{}).trace||{})[rg]&&(a=t.ext.trace[rg]);var i=s.id||a,l=s[Al],c=s.uri,d=s[qn]||{},p=s[Lu]||{};if(ce(s.refUri)||(d.refUri=s.refUri),ce(s.pageType)||(d.pageType=s.pageType),ce(s.isLoggedIn)||(d.isLoggedIn=s.isLoggedIn[jc]()),!ce(s[qn])){var m=s[qn];Ct(m,function(_,h){d[_]=h})}Ou(t[fs],d,p),ce(o)||cg(d,o);var g=new Pr(e,l,c,n,d,p,i),f=new Cl(Pr[Fa],g);return dg(e,Pr[Ru],t,f)}function sme(e,t,o){ug(e,t);var n=t[bo],r=n[Al],s=n.uri||n.url,a=n[qn]||{},i=n[Lu]||{};Ou(t[fs],a,i),ce(o)||cg(a,o);var l=new Li(e,r,s,void 0,a,i,n),c=new Cl(Li[Fa],l);return dg(e,Li[Ru],t,c)}function ame(e,t,o){ug(e,t);var n=t[bo].message,r=t[bo].severityLevel,s=t[bo][qn]||{},a=t[bo][Lu]||{};Ou(t[fs],s,a),ce(o)||cg(s,o);var i=new Pi(e,n,r,s,a),l=new Cl(Pi[Fa],i);return dg(e,Pi[Ru],t,l)}function ime(e,t){hu(e,null,null,t)}function lme(e){var t,o=Qo(),n=Ir(),r=!1,s=!0,a=Vs(Kn("OfflineListener"),e);try{if(l(Bs())&&(r=!0),o){var i=o.body||o;i.ononline&&l(i)&&(r=!0)}r&&n&&!ce(n[HT])&&(s=n[HT])}catch{r=!1}function l(g){var f=!1;return g&&(f=Da(g,"online",c,a),f&&Da(g,"offline",d,a)),f}function c(){s=!0}function d(){s=!1}function p(){var g=!0;return r?g=s:n&&!ce(n[HT])&&(g=n[HT]),g}function m(){var g=Bs();if(g&&r){if(ime(g,a),o){var f=o.body||o;ho(f.ononline)||ime(f,a)}r=!1}}return t={},t[zT]=p,t.isListening=function(){return r},t.unload=m,t}var cme=function(){function e(t,o){var n=[],r=!1;this._get=function(){return n},this._set=function(s){return n=s,n},ct(e,this,function(s){s[sg]=function(a){if(s[Mu]()>=o.eventsLimitInMem()){r||(_e(t,2,105,"Maximum in-memory buffer size reached: "+s[Mu](),!0),r=!0);return}n[Qc](a)},s[Mu]=function(){return n[xt]},s.size=function(){for(var a=n[xt],i=0;i0){var i=o[BT]()?a.join(` `):"["+a.join(",")+"]";return i}return null}})}return e.__ieDyn=1,e}(),dme=function(e){Rn(t,e);function t(o,n){var r=e.call(this,o,n)||this;return ct(t,r,function(s,a){s[$u]=function(i){a[Du]()},s[ig]=function(i){}}),r}return t.__ieDyn=1,t}(cme);var ume=function(e){Rn(t,e);function t(o,n){var r=e.call(this,o,n)||this,s=!1,a=n[VT]()||{getItem:Lb,setItem:wT},i=a.getItem,l=a.setItem;return ct(t,r,function(c,d){var p=_(t[zb]),m=_(t[Nu]),g=c._set(p.concat(m));g[xt]>t[Bb]&&(g[xt]=t[Bb]),h(t[Nu],[]),h(t[zb],g),c[sg]=function(x){if(c[Mu]()>=t[Bb]){s||(_e(o,2,67,"Maximum buffer size reached: "+c[Mu](),!0),s=!0);return}d[sg](x),h(t[zb],c._get())},c[Du]=function(){d[Du](),h(t[zb],c._get()),h(t[Nu],[]),s=!1},c[$u]=function(x){h(t[zb],c._set(f(x,c._get())));var v=_(t[Nu]);v instanceof Array&&x instanceof Array&&(v=v.concat(x),v[xt]>t[Bb]&&(_e(o,1,67,"Sent buffer reached its maximum size: "+v[xt],!0),v[xt]=t[Bb]),h(t[Nu],v))},c[ig]=function(x){var v=_(t[Nu]);v=f(x,v),h(t[Nu],v)};function f(x,v){var T=[];return Re(v,function(I){!Qe(I)&&Dn(x,I)===-1&&T[Qc](I)}),T}function _(x){var v=x;try{v=n[Yc]&&n[Yc]()?n[Yc]()+"_"+v:v;var T=i(o,v);if(T){var I=Sn().parse(T);if(He(I)&&(I=Sn().parse(I)),I&&wt(I))return I}}catch(C){_e(o,1,42," storage key: "+v+", "+vt(C),{exception:De(C)})}return[]}function h(x,v){var T=x;try{T=n[Yc]&&n[Yc]()?n[Yc]()+"_"+T:T;var I=JSON[Pu](v);l(o,T,I)}catch(C){l(o,T,JSON[Pu]([])),_e(o,2,41," storage key: "+T+", "+vt(C)+". Buffer cleared",{exception:De(C)})}}}),r}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(cme);var pme=function(){function e(t){ct(e,this,function(o){o.serialize=function(a){var i=n(a,"root");try{return Sn()[Pu](i)}catch(l){_e(t,1,48,l&&Qe(l[jc])?l[jc]():"Error serializing object",null,!0)}};function n(a,i){var l="__aiCircularRefCheck",c={};if(!a)return _e(t,1,48,"cannot serialize object because it is null or undefined",{name:i},!0),c;if(a[l])return _e(t,2,50,"Circular reference detected while serializing object",{name:i},!0),c;if(!a.aiDataContract){if(i==="measurements")c=s(a,"number",i);else if(i==="properties")c=s(a,"string",i);else if(i==="tags")c=s(a,"string",i);else if(wt(a))c=r(a,i);else{_e(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:i},!0);try{Sn()[Pu](a),c=a}catch(d){_e(t,1,48,d&&Qe(d[jc])?d[jc]():"Error serializing object",null,!0)}}return c}return a[l]=!0,Ct(a.aiDataContract,function(d,p){var m=Qe(p)?p()&1:p&1,g=Qe(p)?p()&4:p&4,f=p&2,_=a[d]!==void 0,h=gr(a[d])&&a[d]!==null;if(m&&!_&&!f)_e(t,1,24,"Missing required field specification. The field is required but not present on source",{field:d,name:i});else if(!g){var x=void 0;h?f?x=r(a[d],d):x=n(a[d],d):x=a[d],x!==void 0&&(c[d]=x)}}),delete a[l],c}function r(a,i){var l;if(a)if(!wt(a))_e(t,1,54,`This field was specified as an array in the contract but the item is not an array.\r `,{name:i},!0);else{l=[];for(var c=0;c100||t<0)&&(n.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:t},!0),t=100),this[jb]=t,this.samplingScoreGenerator=new gme}return e.prototype.isSampledIn=function(t){var o=this[jb],n=!1;return o==null||o>=100||t.baseType===Qs[Fa]?!0:(n=this.samplingScoreGenerator[QP](t)h._senderConfig[HP]()&&h[lg](!0,null,10),zt())},h.flush=function(P,Q,re){if(P===void 0&&(P=!0),!a){io();try{h[lg](P,null,re||1)}catch(he){_e(h[vr](),1,22,"flush failed, telemetry will not be collected: "+vt(he),{exception:De(he)})}}},h.onunloadFlush=function(){if(!a)if((h._senderConfig[oz]()===!1||h[ao][zP]()===!1)&&mu())try{h[lg](!0,C,2)}catch(P){_e(h[vr](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+vt(P),{exception:De(P)})}else h.flush()},h.addHeader=function(P,Q){d[P]=Q},h.initialize=function(P,Q,re,he){h.isInitialized()&&_e(h[vr](),1,28,"Sender is already initialized"),x.initialize(P,Q,re,he);var qe=h._getTelCtx(),st=h.identifier;l=new pme(Q.logger),n=0,r=null,s=0,h[Vb]=null,c=0;var gt=h[vr]();_=Vs(Kn("Sender"),Q.evtNamespace&&Q.evtNamespace()),f=lme(_);var lo=hme();Ct(lo,function(se,me){h[ao][se]=function(){var ye=qe.getConfig(st,se,me());return!ye&&se==="endpointUrl"&&(ye=me()),ye}});var ln=h[ao][nz]()&&!!(h._senderConfig[VT]()||xu());h[qu]=ln?new ume(gt,h[ao]):new dme(gt,h[ao]),h._sample=new fme(h[ao][rz](),gt),X(P)||_e(gt,1,100,"Invalid Instrumentation key "+P[GT]),!eg(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[xt]>0&&Re(h[ao][sz](),function(se){o.addHeader(se.header,se.value)});var xo=h[ao],B=null;!xo[Gb]()&&jI()?B=Me:!xo[Gb]()&&Fm()&&(B=de),!B&&GI()&&(B=ie),m=B||de,!xo[zP]()&&mu()&&(B=F),h[Vb]=B||de,!xo[az]()&&GI(!0)?g=Ce:mu()?g=F:!xo[Gb]()&&jI()?g=Me:!xo[Gb]()&&Fm()?g=de:g=m},h.processTelemetry=function(P,Q){Q=h._getTelCtx(Q);var re=Q[vr]();try{if(h[ao][BP]())return;if(!P){_e(re,1,7,"Cannot send empty telemetry");return}if(P.baseData&&!P[VP]){_e(re,1,70,"Cannot send telemetry without baseData and baseType");return}if(P[VP]||(P[VP]="EventData"),!h[Vb]){_e(re,1,28,"Sender was not initialized");return}if(v(P))P[Cb]=h._sample[jb];else{_e(re,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[jb]});return}var he=h[ao][iz]()||void 0,qe=P.iKey||h[ao][GT](),st=t.constructEnvelope(P,qe,re,he);if(!st){_e(re,1,47,"Unable to create an AppInsights envelope");return}var gt=!1;if(P[en]&&P[en][Eb]&&(Re(P[en][Eb],function(B){try{B&&B(st)===!1&&(gt=!0,Ma(re,"Telemetry processor check returns false"))}catch(se){_e(re,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+vt(se),{exception:De(se)},!0)}}),delete P[en][Eb]),gt)return;var lo=l.serialize(st),ln=h[qu],xo=ln.size();xo+lo[xt]>h[ao][HP]()&&(!f||f[zT]())&&h[lg](!0,null,10),ln[sg](lo),zt()}catch(B){_e(re,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+vt(B),{exception:De(B)})}h.processNext(P,Q)},h[Jpe]=function(P,Q,re){P.readyState===4&&T(P.status,Q,P.responseURL,re,bt(P),YP(P)||P.response)},h[lg]=function(P,Q,re){if(P===void 0&&(P=!0),!a)try{var he=h[qu];if(h[ao][BP]())he[Du]();else{if(he[Mu]()>0){var qe=he.getItems();$(re||0,P),Q?Q.call(o,qe,P):h[Vb](qe,P)}s=+new Date}io()}catch(gt){var st=xb();(!st||st>9)&&_e(h[vr](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+vt(gt),{exception:De(gt)})}},h._doTeardown=function(P,Q){h.onunloadFlush(),f.unload(),pe()},h[Oa]=function(P,Q,re){_e(h[vr](),2,26,"Failed to send telemetry.",{message:Q}),h._buffer[ig](P)},h[GP]=function(P,Q){for(var re=[],he=[],qe=Q.errors.reverse(),st=0,gt=qe;st0&&h[jT](P,Q[QT]),re[xt]>0&&h[Oa](re,bt(null,["partial success",Q[QT],"of",Q.itemsReceived].join(" "))),he[xt]>0&&(Vt(he),_e(h[vr](),2,40,"Partial success. Delivered: "+P[xt]+", Failed: "+re[xt]+". Will retry to send "+he[xt]+" our of "+Q[Zpe]+" items"))},h[jT]=function(P,Q){h._buffer[ig](P)},h._xdrOnLoad=function(P,Q){var re=YP(P);if(P&&(re+""=="200"||re===""))n=0,h[jT](Q,0);else{var he=It(re);he&&he.itemsReceived&&he.itemsReceived>he[QT]&&!h[ao][Qb]()?h[GP](Q,he):h[Oa](Q,D(P))}};function v(P){return h._sample.isSampledIn(P)}function T(P,Q,re,he,qe,st){var gt=null;if(h._appId||(gt=It(st),gt&>.appId&&(h._appId=gt.appId)),(P<200||P>=300)&&P!==0){if((P===301||P===307||P===308)&&!I(re)){h[Oa](Q,qe);return}!h[ao][Qb]()&&Mt(P)?(Vt(Q),_e(h[vr](),2,40,". Response code "+P+". Will retry to send "+Q[xt]+" items.")):h[Oa](Q,qe)}else if(f&&!f[zT]()){if(!h[ao][Qb]()){var lo=10;Vt(Q,lo),_e(h[vr](),2,40,". Offline - Response Code: ".concat(P,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(Q.length," items."))}}else I(re),P===206?(gt||(gt=It(st)),gt&&!h[ao][Qb]()?h[GP](Q,gt):h[Oa](Q,qe)):(n=0,h[jT](Q,he))}function I(P){return c>=10?!1:!ce(P)&&P!==""&&P!==h[ao][Fu]()?(h[ao][Fu]=function(){return P},++c,!0):!1}function C(P,Q){g?g(P,!1):F(P,Q)}function z(P){var Q=Ir(),re=h[qu],he=h[ao][Fu](),qe=h._buffer[ag](P),st=new Blob([qe],{type:"text/plain;charset=UTF-8"}),gt=Q.sendBeacon(he,st);return gt&&(re[$u](P),h._onSuccess(P,P[xt])),gt}function F(P,Q){if(wt(P)&&P[xt]>0&&!z(P)){for(var re=[],he=0;he0&&(m&&m(re,!0),_e(h[vr](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function de(P,Q){var re=new XMLHttpRequest,he=h[ao][Fu]();try{re[ki]=!0}catch{}re.open("POST",he,Q),re[jP]("Content-type","applicationhttps://www.microsoft.com/json"),eg(he)&&re[jP](Zt[6],Zt[7]),Re(cs(d),function(st){re[jP](st,d[st])}),re.onreadystatechange=function(){return h._xhrReadyStateChange(re,P,P[xt])},re.onerror=function(st){return h[Oa](P,bt(re),st)};var qe=h._buffer[ag](P);re.send(qe),h._buffer[$u](P)}function Ce(P,Q){if(wt(P)){for(var re=P[xt],he=0;he=Q[QT]&&Q.itemsReceived-Q.itemsAccepted===Q.errors[xt])return Q}}catch(re){_e(h[vr](),1,43,"Cannot parse the response. "+vt(re),{response:P})}return null}function Vt(P,Q){if(Q===void 0&&(Q=1),!(!P||P[xt]===0)){var re=h[qu];re[ig](P),n++;for(var he=0,qe=P;he=200&&+c[Ws]<400,g.responseCode=+c[Ws],g[Uu]={HttpMethod:c[Il]},g),_=f[Uu];if(c[Hu]&&(_[Hu]=!0),c[Zc]&&(f[Kc]=new Date,f[Kc].setTime(c[Zc])),Q1e(c,f),p&&cs(c.requestHeaders)[Ri]>0&&(_[_s]=c[_s]),m){var h=m();if(h){var x=h[kme];if(x&&(f.correlationContext=x),h[Zb]&&cs(h.headerMap)[Ri]>0&&(_.responseHeaders=h[Zb]),c[tS])if(c[Ws]>=400){var v=h.type;(v===""||v==="text")&&(_.responseText=h.responseText?h[Jc]+" - "+h[l]:h[Jc]),v==="json"&&(_.responseText=h.response?h[Jc]+" - "+JSON.stringify(h[XP]):h[Jc])}else c[Ws]===0&&(_.responseText=h[Jc]||"")}}return f},c[nS]=function(){var d,p=null,m=c[tL];if(m&&(m[Kb]||m[Jb])){p={};var g=p[Xn.TraceExt]=(d={},d[Mi]=m[Kb],d.parentID=m[Jb],d);ce(m[bs])||(g[bs]=m[bs])}return p}})}return e.__ieDyn=1,e}();var Pme="ai.ajxmn.",iS="diagLog",Ks="ajaxData",fg="fetch",sS="Failed to monitor XMLHttpRequest",Fme=", monitoring data for this ajax call ",e_=Fme+"may be incorrect.",Lme=Fme+"won't be sent.",Rme="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Mme="Failed to add custom defined request context as configured call back may missing a null check.",Dme="Failed to calculate the duration of the ",$me=0;function W1e(){var e=ka();return!e||ce(e.Request)||ce(e.Request[ko])||ce(e[fg])?null:e[fg]}var oL=null;function K1e(){if(oL==null)try{oL=!!(self&&self instanceof WorkerGlobalScope)}catch{oL=!1}return oL}function J1e(e){var t=!1;if(Fm()){var o=XMLHttpRequest[ko];t=!ce(o)&&!ce(o.open)&&!ce(o.send)&&!ce(o.abort)}var n=xb();if(n&&n<9&&(t=!1),t)try{var r=new XMLHttpRequest;r[Ks]={};var s=XMLHttpRequest[ko].open;XMLHttpRequest[ko].open=s}catch(a){t=!1,lS(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:De(a)})}return t}function rL(e){var t="";try{e&&e[Ks]&&e[Ks][hs]&&(t+="(url: '"+e[Ks][hs]+"')")}catch{}return t}function lS(e,t,o,n,r){_e(e[iS](),1,t,o,n,r)}function t_(e,t,o,n,r){_e(e[iS](),2,t,o,n,r)}function aS(e,t,o){return function(n){lS(e,t,o,{ajaxDiagnosticsMessage:rL(n[Yb]),exception:De(n.err)})}}function o_(e,t){return e&&t?e.indexOf(t):-1}function Nme(e,t,o){var n={id:t,fn:o};return e.push(n),{remove:function(){Re(e,function(r,s){if(r.id===n.id)return e.splice(s,1),-1})}}}function Ome(e,t,o,n){var r=!0;return Re(t,function(s,a){try{s.fn.call(null,o)===!1&&(r=!1)}catch(i){_e(e&&e.logger,1,64,"Dependency "+n+" [#"+a+"] failed: "+vt(i),{exception:De(i)},!0)}}),r}function Z1e(e,t,o,n,r,s){var a=e[Ri];if(a>0){var i={core:t,xhr:n,input:r,init:s,traceId:o[Mi],spanId:o[kl],traceFlags:o[bs],context:o[Wb]||{},aborted:!!o[Hu]};Ome(t,e,i,"listener"),o[Mi]=i[Kb],o[kl]=i[Jb],o[bs]=i[bs],o[Wb]=i[Wb]}}var nL="*.blob.core.",Ume=fb([nL+"windows.net",nL+"chinacloudapi.cn",nL+"cloudapi.de",nL+"usgovcloudapi.net"]),X1e=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function yz(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:Ume,correlationHeaderDomains:void 0,correlationHeaderExcludePatterns:void 0,appId:void 0,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:void 0,addIntEndpoints:!0};return e}function qme(){var e=yz();return Ct(e,function(t){e[t]=void 0}),e}var xz=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var n,r,s,a,i,l,c,d,p,m,g,f,_,h,x,v,T,I,C,z,F,de,Ce;return ct(t,o,function(ie,ht){var It=ht._addHook;Vt(),ie.initialize=function(B,se,me,ye){ie.isInitialized()||(ht.initialize(B,se,me,ye),z=Vs(Kn("ajax"),se&&se.evtNamespace&&se.evtNamespace()),yo(B),Me(),Mt(),zt())},ie._doTeardown=function(){Vt()},ie.trackDependencyData=function(B,se){xo(Ce,ie[Di],null,B,se)},ie[WP]=function(B,se,me,ye){var Ee=ie._currentWindowHost||s;if(Z1e(de,ie[Di],B,ye,se,me),se){if(Bc[fz](a,B[YT](),Ee)){me||(me={});var Ye=new Headers(me[zu]||(se instanceof Request?se[zu]||{}:{}));if(m){var We="|"+B[Mi]+"."+B[kl];Ye.set(Zt[3],We),i&&(B[_s][Zt[3]]=We)}var qt=a[WT]||d&&d[WT]();if(qt&&(Ye.set(Zt[0],Zt[2]+qt),i&&(B[_s][Zt[0]]=Zt[2]+qt)),p){var nt=B[bs];ce(nt)&&(nt=1);var Ht=pT(uT(B[Mi],B[kl],nt));Ye.set(Zt[4],Ht),i&&(B[_s][Zt[4]]=Ht)}me[zu]=Ye}return me}else if(ye){if(Bc[fz](a,B[YT](),Ee)){if(m){var We="|"+B[Mi]+"."+B[kl];ye[KP](Zt[3],We),i&&(B[_s][Zt[3]]=We)}var qt=a[WT]||d&&d[WT]();if(qt&&(ye[KP](Zt[0],Zt[2]+qt),i&&(B[_s][Zt[0]]=Zt[2]+qt)),p){var nt=B[bs];ce(nt)&&(nt=1);var Ht=pT(uT(B[Mi],B[kl],nt));ye[KP](Zt[4],Ht),i&&(B[_s][Zt[4]]=Ht)}}return ye}},ie[hz]=function(B,se,me){if(_===-1||c<_){(a[JP]===2||a[JP]===1)&&typeof B.id=="string"&&B.id[B.id[Ri]-1]!=="."&&(B.id+="."),ce(B[Kc])&&(B[Kc]=new Date);var ye=qa(B,Ys.dataType,Ys.envelopeType,ie[iS](),se,me);ie[Di].track(ye)}else c===_&&lS(ie,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++c},ie.addDependencyListener=function(B){return Nme(de,F++,B)},ie.addDependencyInitializer=function(B){return Nme(Ce,F++,B)};function Vt(){var B=ds();n=!1,r=!1,s=B&&B.host&&B.host[pg](),a=t.getEmptyConfig(),i=!1,l=!1,c=0,d=null,p=!1,m=!1,g=null,f=!1,_=0,h=!1,x={},v=!1,T=!1,I=null,C=null,z=null,F=0,de=[],Ce=[]}function yo(B){var se=Jn(null,B,ie[Di]);a=qme();var me=yz();Ct(me,function(Ye,We){a[Ye]=se.getConfig(t.identifier,Ye,We)});var ye=a[JP];if(i=a[bme],l=a[_me],f=a[vme],_=a[yme],h=a[xme],I=[].concat(a[Tme]||[],a.addIntEndpoints!==!1?X1e:[]),C=a[Sme],m=ye===0||ye===1,p=ye===1||ye===2,f){var Ee=B.instrumentationKey||"unkwn";Ee[Ri]>5?g=Pme+Ee.substring(Ee[Ri]-5)+".":g=Pme+Ee+"."}v=!!a[wme],T=!!a[Cme]}function zt(){var B=ie[Di].getPlugin(wu);B&&(d=B.plugin[Wb])}function io(B){var se=!0;return(B||a.ignoreHeaders)&&Re(a.ignoreHeaders,function(me){if(me[pg]()===B[pg]())return se=!1,-1}),se}function Mt(){var B=W1e();if(B){var se=ka(),me=B.polyfill;!T&&!n?(It(fT(se,fg,{ns:z,req:function(ye,Ee,Ye){var We;if(!T&&n&&!D(null,Ee,Ye)&&!(me&&r)){var qt=ye.ctx();We=st(Ee,Ye);var nt=ie[WP](We,Ee,Ye);nt!==Ye&&ye.set(1,nt),qt.data=We}},rsp:function(ye,Ee){if(!T){var Ye=ye.ctx().data;Ye&&(ye.rslt=ye.rslt.then(function(We){return lo(ye,(We||{})[Ws],Ee,We,Ye,function(){var qt={statusText:(We||{})[Jc],headerMap:null,correlationContext:ln(We)};if(h&&We){var nt={};We.headers.forEach(function(Ht,Tr){io(Tr)&&(nt[Tr]=Ht)}),qt[Zb]=nt}return qt}),We}).catch(function(We){throw lo(ye,0,Ee,null,Ye,null,{error:We.message||De(We)}),We}))}},hkErr:aS(ie,15,"Failed to monitor Window.fetch"+e_)},!0,K1e())),n=!0):me&&It(fT(se,fg,{ns:z,req:function(ye,Ee,Ye){D(null,Ee,Ye)}})),me&&(se[fg].polyfill=me)}}function bt(B,se,me){It(kH(B,se,me))}function Me(){J1e(ie)&&!v&&!r&&(bt(XMLHttpRequest,"open",{ns:z,req:function(B,se,me,ye){if(!v){var Ee=B[Yb],Ye=Ee[Ks];!D(Ee,me)&&j(Ee,!0)&&((!Ye||!Ye.xhrMonitoringState[KT])&&X(Ee,se,me,ye),pe(Ee))}},hkErr:aS(ie,15,sS+".open"+e_)}),bt(XMLHttpRequest,"send",{ns:z,req:function(B,se){if(!v){var me=B[Yb],ye=me[Ks];j(me)&&!ye.xhrMonitoringState[JT]&&(he("xhr",ye),ye[Zc]=Mb(),ie[WP](ye,void 0,void 0,me),ye.xhrMonitoringState[JT]=!0)}},hkErr:aS(ie,17,sS+e_)}),bt(XMLHttpRequest,"abort",{ns:z,req:function(B){if(!v){var se=B[Yb],me=se[Ks];j(se)&&!me.xhrMonitoringState[ZT]&&(me[Hu]=1,me.xhrMonitoringState[ZT]=!0)}},hkErr:aS(ie,13,sS+".abort"+e_)}),bt(XMLHttpRequest,"setRequestHeader",{ns:z,req:function(B,se,me){if(!v&&i){var ye=B[Yb];j(ye)&&io(se)&&(ye[Ks][_s][se]=me)}},hkErr:aS(ie,71,sS+".setRequestHeader"+e_)}),r=!0)}function D(B,se,me){var ye=!1,Ee=((He(se)?se:(se||{}).url||"")||"")[pg]();if(Re(I,function(qt){var nt=qt;He(qt)&&(nt=new RegExp(qt)),ye||(ye=nt.test(Ee))}),ye)return ye;var Ye=o_(Ee,"?"),We=o_(Ee,"#");return(Ye===-1||We!==-1&&We=0;$e--){var H=yp[$e];if(H){if(H.entryType==="resource")H.initiatorType===B&&(o_(H[Bu],nt)!==-1||o_(nt,H[Bu])!==-1)&&(sr=H);else if(H.entryType==="mark"&&H[Bu]===Ee[Bu]){se[rS]=sr;break}if(H[Kc]=We||se.async===!1?(Ee&&Qe(Ye.clearMarks)&&Ye.clearMarks(Ee[Bu]),se.perfAttempts=Ht,me()):setTimeout(Tr,qt)}catch(E){ye(E)}})()}function st(B,se){var me,ye=$(),Ee=ye&&ye[XT]()||us(),Ye=us().substr(0,16),We=new vz(Ee,Ye,ie[iS](),(me=ie.core)===null||me===void 0?void 0:me.getTraceCtx());We[bs]=ye&&ye[eS](),We[Zc]=Mb(),We[tS]=l,B instanceof Request?We[hs]=B?B.url:"":We[hs]=B;var qt="GET";se&&se[Il]?qt=se[Il]:B&&B instanceof Request&&(qt=B[Il]),We[Il]=qt;var nt={};if(i){var Ht=new Headers((se?se[zu]:0)||(B instanceof Request?B[zu]||{}:{}));Ht.forEach(function(Tr,sr){io(sr)&&(nt[sr]=Tr)})}return We[_s]=nt,he(fg,We),We}function gt(B){var se="";try{ce(B)||(typeof B=="string"?se+="(url: '".concat(B,"')"):se+="(url: '".concat(B.url,"')"))}catch(me){lS(ie,15,"Failed to grab failed fetch diagnostics message",{exception:De(me)})}return se}function lo(B,se,me,ye,Ee,Ye,We){if(!Ee)return;function qt(nt,Ht,Tr){var sr=Tr||{};sr.fetchDiagnosticsMessage=gt(me),Ht&&(sr.exception=De(Ht)),t_(ie,nt,Dme+"fetch call"+Lme,sr)}Ee[mg]=Mb(),Ee[Ws]=se,qe(fg,Ee,function(){var nt=Ee[oS]("Fetch",i,Ye),Ht;try{C&&(Ht=C({status:se,request:me,response:ye}))}catch{t_(ie,104,Mme)}if(nt){Ht!==void 0&&(nt[Uu]=Go(Go({},nt.properties),Ht));var Tr=Ee[nS]();xo(Ce,ie[Di],Ee,nt,null,Tr)}else qt(14,null,{requestSentTime:Ee[Zc],responseFinishedTime:Ee[mg]})},function(nt){qt(18,nt,null)})}function ln(B){if(B&&B[zu])try{var se=B[zu].get(Zt[0]);return Bc[_z](se)}catch(me){t_(ie,18,Rme,{fetchDiagnosticsMessage:gt(B),exception:De(me)})}}function xo(B,se,me,ye,Ee,Ye){var We=!0,qt=B[Ri];if(qt>0){var nt={item:ye,properties:Ee,sysProperties:Ye,context:me?me[Wb]:null,aborted:me?!!me[Hu]:!1};We=Ome(se,B,nt,"initializer")}We&&ie[hz](ye,Ee,Ye)}}),o}return t.prototype.processTelemetry=function(o,n){this.processNext(o,n)},t.prototype.addDependencyInitializer=function(o){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=yz,t.getEmptyConfig=qme,t}(Ai);var Hme=function(){function e(){}return e}();var zme=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var n_="sessionManager",hg="update",r_="isUserCookieSet",s_="isNewUser",sL="getTraceCtx",cS="telemetryTrace",aL="applySessionContext",iL="applyApplicationContext",lL="applyDeviceContext",cL="applyOperationContext",dL="applyUserContext",uL="applyOperatingSystemContxt",pL="applyLocationContext",mL="applyInternalContext",$i="accountId",a_="sdkExtension",i_="getSessionId",Pl="namePrefix",l_="sessionCookiePostfix",c_="userCookiePostfix",Gu="idLength",ju="getNewId",bg="length",Qu="automaticSession",Yu="authenticatedId",d_="sessionExpirationMs",dS="sessionRenewalMs",Ni="config",u_="acquisitionDate",uS="renewalDate",pS="cookieDomain",p_="join",m_="cookieSeparator",gL="authUserCookieName";var e$e="2.8.13",Bme=function(){function e(t){this.sdkVersion=(t[a_]&&t[a_]()?t[a_]()+"_":"")+"javascript:"+e$e}return e}();var Vme=function(){function e(){}return e}();var t$e="ai_session",Tz=function(){function e(){}return e}();var Gme=function(){function e(t,o){var n=this,r,s,a=Ei(o),i=Bm(o);ct(e,n,function(l){t||(t={}),Qe(t[d_])||(t[d_]=function(){return e.acquisitionSpan}),Qe(t[dS])||(t[dS]=function(){return e.renewalSpan}),l[Ni]=t;var c=l.config[l_]&&l[Ni][l_]()?l.config[l_]():l.config[Pl]&&l[Ni][Pl]()?l[Ni][Pl]():"";r=function(){return t$e+c},l[Qu]=new Tz,l[hg]=function(){var _=$n(),h=!1,x=l[Qu];x.id||(h=!d(x,_));var v=l.config[d_]();if(!h&&v>0){var T=l.config[dS](),I=_-x[u_],C=_-x[uS];h=I<0||C<0,h=h||I>v,h=h||C>T}h?m(_):(!s||_-s>e.cookieUpdateInterval)&&g(x,_)},l.backup=function(){var _=l[Qu];f(_.id,_[u_],_[uS])};function d(_,h){var x=!1,v=i.get(r());if(v&&Qe(v.split))x=p(_,v);else{var T=qH(a,r());T&&(x=p(_,T))}return x||!!_.id}function p(_,h){var x=!1,v=", session will be reset",T=h.split("|");if(T[bg]>=2)try{var I=+T[1]||0,C=+T[2]||0;isNaN(I)||I<=0?_e(a,2,27,"AI session acquisition date is 0"+v):isNaN(C)||C<=0?_e(a,2,27,"AI session renewal date is 0"+v):T[0]&&(_.id=T[0],_[u_]=I,_[uS]=C,x=!0)}catch(z){_e(a,1,9,"Error parsing ai_session value ["+(h||"")+"]"+v+" - "+vt(z),{exception:De(z)})}return x}function m(_){var h=l[Ni]||{},x=(h[ju]?h[ju]():null)||Fc;l.automaticSession.id=x(h[Gu]?h[Gu]():22),l[Qu][u_]=_,g(l[Qu],_),ST()||_e(a,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(_,h){var x=_[u_];_[uS]=h;var v=l[Ni],T=v[dS](),I=x+v[d_]()-h,C=[_.id,x,h],z=0;I0?z:null,F),s=h}function f(_,h,x){FH(a,r(),[_,h,x][p_]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var jme=function(){function e(t,o,n,r){var s=this;s.traceID=t||us(),s.parentID=o;var a=ds();!n&&a&&a.pathname&&(n=a.pathname),s.name=Gt(r,n)}return e}();function Qme(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var Yme=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n=Ei(o),r=Bm(o),s;ct(e,this,function(a){a[Ni]=t;var i=a.config[c_]&&a[Ni][c_]()?a[Ni][c_]():"";s=function(){return e.userCookieName+i};var l=r.get(s());if(l){a[s_]=!1;var c=l.split(e[m_]);c[bg]>0&&(a.id=c[0],a[r_]=!!a.id)}function d(){var x=t||{},v=(x[ju]?x[ju]():null)||Fc,T=v(x[Gu]?t[Gu]():22);return T}function p(x){var v=Hs(new Date);a.accountAcquisitionDate=v,a[s_]=!0;var T=[x,v];return T}function m(x){var v=31536e3;a[r_]=r.set(s(),x,v)}if(!a.id){a.id=d();var g=p(a.id);m(g[p_](e[m_]));var f=t[Pl]&&t[Pl]()?t[Pl]()+"ai_session":"ai_session";OH(n,f)}a[$i]=t[$i]?t[$i]():void 0;var _=r.get(e[gL]);if(_){_=decodeURI(_);var h=_.split(e[m_]);h[0]&&(a[Yu]=h[0]),h[bg]>1&&h[1]&&(a[$i]=h[1])}a.setAuthenticatedUserContext=function(x,v,T){T===void 0&&(T=!1);var I=!Qme(x)||v&&!Qme(v);if(I){_e(n,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}a[Yu]=x;var C=a[Yu];v&&(a[$i]=v,C=[a[Yu],a.accountId][p_](e[m_])),T&&r.set(e[gL],encodeURI(C))},a.clearAuthenticatedUserContext=function(){a[Yu]=null,a[$i]=null,r.del(e[gL])},a[hg]=function(x){if(a.id!==x||!a[r_]){var v=x||d(),T=p(v);m(T[p_](e[m_]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var fL="ext",hL="tags";function g_(e,t){e&&e[t]&&cs(e[t])[bg]===0&&delete e[t]}var Wme=function(){function e(t,o,n){var r=this,s=t.logger;this.appId=function(){return null},this[i_]=function(){return null},ct(e,this,function(a){if(a.application=new Hme,a.internal=new Bme(o),Nc()){a[n_]=new Gme(o,t),a.device=new zme,a.location=new Vme,a.user=new Yme(o,t);var i=void 0,l=void 0,c;n&&(i=n.getTraceId(),l=n.getSpanId(),c=n.getName()),a[cS]=new jme(i,l,c,s),a.session=new Tz}a[i_]=function(){var d=a.session,p=null;if(d&&He(d.id))p=d.id;else{var m=(a[n_]||{})[Qu];p=m&&He(m.id)?m.id:null}return p},a[aL]=function(d,p){Ft(Fo(d.ext,Xn.AppExt),"sesId",a[i_](),He)},a[uL]=function(d,p){Ft(d.ext,Xn.OSExt,a.os)},a[iL]=function(d,p){var m=a.application;if(m){var g=Fo(d,hL);Ft(g,Xt.applicationVersion,m.ver,He),Ft(g,Xt.applicationBuild,m.build,He)}},a[lL]=function(d,p){var m=a.device;if(m){var g=Fo(Fo(d,fL),Xn.DeviceExt);Ft(g,"localId",m.id,He),Ft(g,"ip",m.ip,He),Ft(g,"model",m.model,He),Ft(g,"deviceClass",m.deviceClass,He)}},a[mL]=function(d,p){var m=a.internal;if(m){var g=Fo(d,hL);Ft(g,Xt.internalAgentVersion,m.agentVersion,He),Ft(g,Xt.internalSdkVersion,m.sdkVersion,He),(d.baseType===qc.dataType||d.baseType===Pr.dataType)&&(Ft(g,Xt.internalSnippet,m.snippetVer,He),Ft(g,Xt.internalSdkSrc,m.sdkSrc,He))}},a[pL]=function(d,p){var m=r.location;m&&Ft(Fo(d,hL,[]),Xt.locationIp,m.ip,He)},a[cL]=function(d,p){var m=a[cS];if(m){var g=Fo(Fo(d,fL),Xn.TraceExt,{traceID:void 0,parentID:void 0});Ft(g,"traceID",m.traceID,He,ce),Ft(g,"name",m.name,He,ce),Ft(g,"parentID",m.parentID,He,ce)}},a.applyWebContext=function(d,p){var m=r.web;m&&Ft(Fo(d,fL),Xn.WebExt,m)},a[dL]=function(d,p){var m=a.user;if(m){var g=Fo(d,hL,[]);Ft(g,Xt.userAccountId,m[$i],He);var f=Fo(Fo(d,fL),Xn.UserExt);Ft(f,"id",m.id,He),Ft(f,"authId",m[Yu],He)}},a.cleanUp=function(d,p){var m=d.ext;m&&(g_(m,Xn.DeviceExt),g_(m,Xn.UserExt),g_(m,Xn.WebExt),g_(m,Xn.OSExt),g_(m,Xn.AppExt),g_(m,Xn.TraceExt))}})}return e.__ieDyn=1,e}();var o$e=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=wu;var n,r,s;return ct(t,o,function(a,i){l(),a.initialize=function(p,m,g,f){i.initialize(p,m,g,f),c(p)},a.processTelemetry=function(p,m){if(!ce(p)){m=a._getTelCtx(m),p.name===Pr.envelopeType&&m.diagLog().resetInternalMessageCount();var g=a.context||{};g.session&&typeof a.context.session.id!="string"&&g[n_]&&g[n_][hg]();var f=g.user;if(f&&!f[r_]&&f[hg](g.user.id),d(p,m),f&&f[s_]){f[s_]=!1;var _=new qc(72,(Ir()||{}).userAgent||"");rH(m.diagLog(),1,_)}a.processNext(p,m)}},a._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[sL]){var f=g[sL](!1);f===r&&g.setTraceCtx(s)}l()};function l(){n=null,r=null,s=null}function c(p){var m=a.identifier,g=a.core,f=Jn(null,p,g),_=t.getDefaultConfig();n=n||{},Ct(_,function(h,x){n[h]=function(){return f.getConfig(m,h,x())}}),s=g[sL](!1),a.context=new Wme(g,n,s),r=tg(a.context[cS],s),g.setTraceCtx(r),a.context.appId=function(){var h=g.getPlugin(kT);return h?h.plugin._appId:null},a._extConfig=n}function d(p,m){Fo(p,"tags",[]),Fo(p,"ext",{});var g=a.context;g[aL](p,m),g[iL](p,m),g[lL](p,m),g[cL](p,m),g[dL](p,m),g[uL](p,m),g.applyWebContext(p,m),g[pL](p,m),g[mL](p,m),g.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,n,r=null,s=(o={instrumentationKey:function(){return n}},o[$i]=function(){return r},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[pS]=function(){return r},o[a_]=function(){return r},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return r},o[i_]=function(){return r},o[Pl]=function(){return n},o[l_]=function(){return n},o[c_]=function(){return n},o[Gu]=function(){return 22},o[ju]=function(){return r},o);return s},t}(Ai),Sz=o$e;var Kme="AuthenticatedUserContext",f_="track";var bL="snippet",Jme="getCookieMgr",Zme="startTrackPage",Xme="stopTrackPage",_L="flush",ege="startTrackEvent",tge="stopTrackEvent",wz="addTelemetryInitializer",_vt=wz+"s",Cz="pollInternalLogs",vL="getPlugin",yL="evtNamespace",oge=f_+"Event",nge=f_+"Trace",rge=f_+"Metric",sge=f_+"PageView",age=f_+"Exception",ige=f_+"DependencyData",lge="set"+Kme,cge="clear"+Kme;var dge="updateSnippetDefinitions",uge="loadAppInsights",Ez="endpointUrl";var mS="diagnosticLogInterval";var pge="disableFlushOnBeforeUnload",mge="disableFlushOnUnload";var Xc="config",Ua="context",gS="push",xL="version",Wu="queue",TL="connectionString",Az="instrumentationKey",fS="appInsights",kz="disableIkeyDeprecationMessage",Iz="getTransmissionControls",h_="onunloadFlush",Pz="addHousekeepingBeforeUnload",hS="indexOf";var Lz,gge=[bL,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var Rz=function(){function e(t){var o=this,n,r,s,a,i,l,c;ct(e,this,function(d){x(),a=""+(t.sv||t[xL]||""),t[Wu]=t[Wu]||[],t[xL]=t[xL]||2;var p=t[Xc]||{};if(p[TL]){var m=VH(p[TL]),g=m.ingestionendpoint;p[Ez]=g?g+Uc:p[Ez],p[Az]=m.instrumentationkey||p[Az]}d[fS]=new OP,r=new Sz,n=new xz,s=new mz,c=new wH,d.core=c;var f=ce(p[kz])?!0:p[kz];!p[TL]&&!f&&_e(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),d[bL]=t,d[Xc]=p,_(),d[_L]=function(v){v===void 0&&(v=!0),gu(c,function(){return"AISKU.flush"},function(){Re(c[Iz](),function(T){Re(T,function(I){I[_L](v)})})},null,v)},d[h_]=function(v){v===void 0&&(v=!0),Re(c[Iz](),function(T){Re(T,function(I){I[h_]?I[h_]():I[_L](v)})})},d[uge]=function(v,T,I){v===void 0&&(v=!1);function C(z){if(z){var F="";ce(a)||(F+=a),v&&(F+=".lg"),d[Ua]&&d[Ua].internal&&(d[Ua].internal.snippetVer=F||"-"),Ct(d,function(de,Ce){He(de)&&!Qe(Ce)&&de&&de[0]!=="_"&&Dn(gge,de)===-1&&(z[de]=Ce)})}}return v&&d[Xc].extensions&&d[Xc].extensions.length>0&&Po("Extensions not allowed in legacy mode"),gu(d.core,function(){return"AISKU.loadAppInsights"},function(){var z=[];z[gS](s),z[gS](r),z[gS](n),z[gS](d[fS]),c.initialize(d[Xc],z,T,I),d[Ua]=r[Ua],Lz&&d[Ua]&&(d[Ua].internal.sdkSrc=Lz),C(d[bL]),d.emptyQueue(),d[Cz](),d[Pz](o)}),d},d[dge]=function(v){HU(v,d,function(T){return T&&Dn(gge,T)===-1})},d.emptyQueue=function(){try{if(wt(d.snippet[Wu])){for(var v=d.snippet[Wu].length,T=0;T0?d[Xc][mS]:1e4}function h(){return n}function x(){i=Kn("AISKU"),l=null,n=null,r=null,s=null,a=null}})}return e.prototype.addDependencyInitializer=function(t){return null},e}();(function(){var e=null,t=!1,o=[":/https://www.microsoft.com/js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var n=(document||{}).currentScript;n&&(e=n.src)}catch{}if(e)try{var r=e.toLowerCase();if(r){for(var s="",a=0;a{},trackException:()=>{},trackTrace:()=>{}};function fge(){if(!w.applicationInsights)return;let e={"docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","docs.azure.cn":"9367385a-f935-4fd9-91da-c734500b5d55","developer.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","ppe.docs.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c","dev.learn.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c"}[J.hostname];if(!e)return;let t=new Rz({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{k.isAuthenticated?t.setAuthenticatedUserContext(k.userId):t.clearAuthenticatedUserContext()};k.subscribe(So,o),o(),t.trackPageView(),ut.subscribe(To,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),Fn=t}function Mz(e,t){return async function(...o){let n=t;for(;;)try{return await e.apply(null,o)}catch(r){if(n<=0)throw r;n--}}}async function hge(){let e={method:"POST"},t=K(q.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await Mz(async()=>{(await M(t)).ok},10)()}A();ze();var n$e=0;function Je(){return`ax-${n$e++}`}function ed(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>{if(e==="-"||e==="4")return e;let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}).join("")}function Oo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var _ge=u`
`;function Dz(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?u` `:u``}function bge(e){return u` `}var r$e="casSignIn",SL=class e{constructor(t,o=!1){this.url=Zr(t),o&&this.url.searchParams.set(r$e,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=L("page_type")==="learn"||L("page_kind")==="learn"?"learn":"docs",L("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let o=t||location.href,n=new e(o),r=Zr(o);return r.searchParams.delete("source"),{redirectUrl:r.href,source:n.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function vge(e,t=!1){let o=null;try{o=new SL(e,t).toString()}catch{o=location.href}return o}var _yt=new URL("./register",gc()).toString(),wL=R.accessLevel==="local"?`https://${location.hostname}/_themes/docs.theme/master/en-us/_themes/global/identity-redirect.html`:`${location.origin}/_themes/docs.theme/master/en-us/_themes/global/identity-redirect.html`,vyt=xge(),yyt=location.origin,s$e=R.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",a$e="https://login.microsoftonline.com",i$e="common",Lr,yge=async()=>{let e={auth:{clientId:s$e,authority:`${a$e}/${i$e}`,redirectUri:wL},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,o,n)=>{if(!n)switch(t){case Dt.Info:R.reviewFeatures&&console.info(o);return;case Dt.Verbose:R.reviewFeatures&&console.debug(o);return;case Dt.Warning:R.reviewFeatures?console.warn(o):Fn.trackTrace({message:o,severityLevel:Dt.Warning,iKey:"learn.msal"});return;case Dt.Error:R.reviewFeatures?console.error(o):Fn.trackTrace({message:o,severityLevel:Dt.Error,iKey:"learn.msal"});return}}}}};Lr=new Bx(e),await Lr.initialize()};function xge(){return R.accessLevel==="local"?`https://${location.hostname}/_themes/docs.theme/master/en-us/_themes/global/identity-profile.html`:`${location.origin}/_themes/docs.theme/master/en-us/_themes/global/identity-profile.html`}function l$e(e,t=null,o=!1){let n=vge(e,o),r=xge(),s=encodeURIComponent(n),a=ed();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:r,nonce:a,redirectUri:wL,state:s}}function Tge(e,t=null,o=!1){return Lr.setActiveAccount(null),Lr.loginRedirect(l$e(e,t,o))}var c$e={scopes:["openid","profile","email"]};function Sge(){try{let e=d$e();return e?Lr.acquireTokenSilent(Object.assign({},c$e,{prompt:"none",account:e})).then(t=>($0(t.idToken),!0)).catch(()=>(N0(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function d$e(e=Od()){if(!e)return null;let o=O0(e).preferred_username;return o?Lr.getAccount({username:o}):null}function Uo(e=location.href,t="select_account",o=!1){Tge(e,t,o)}var u$e=location.origin;async function Js(e=location.href,t=!1,o=!1){if(p$e(),t&&await M(q.auth.signOut),Yde(),In()&&await hge(),F0(),N0(),!o){let n=Zr(e,u$e);location.href=`${n.origin}${n.pathname}${n.search}`}}function p$e(){localStorage.removeItem("gitHubToken")}async function $z(e,t,o,n){return xe({behavior:le.SIGNIN,actionType:we.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:S.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:o,errorMessage:n}})}function wge({sso:e,loginHint:t}={}){return async function(o=()=>!1){if(e)try{$z("started",t),Bt({context:"sso",source:e},"replaceState");let n={scopes:["openid","profile","email"]};t&&(n.loginHint=t);let r=await Lr.ssoSilent(n);if(r)return F0(),$0(r.idToken),$z("completed",t),!0}catch(n){return n instanceof ot&&await $z("error",t,n.errorCode,n.errorMessage),n instanceof Co&&(Js("",!1,!0),Uo(window.location.href,"select_account")),o()}return o()}}function Cge(e=te().sso,t=te().login_hint){return(e||t)&&Bt({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function Ege(e=new URL(window.location.href)){let t=e.searchParams.get("redirectUrl");if(!t)return{};try{let o=new URL(t,"https://fakeurl.com"),n=o.searchParams.get("sso")??void 0,r=o.searchParams.get("login_hint")??void 0;return{sso:n,loginHint:r}}catch{return{}}}var CL=class{},EL=class{constructor(t,o,n=new Be){this.stack=t,this.final=o,this.bus=n}async run(){let t=0,o=!0,n=this.final,r=[],s=this.bus.subscribe(CL,()=>o=!1),a=i=>(this.bus.publish(new CL),n=i||n,!1);try{for(;o&&this.stack[t];){let i=await this.stack[t](a);if(i||r[t]!==!1){r[t]=i,t+=i?-1:1;continue}o=!1}t>=0&&n(),s()}catch(i){throw s(),this.final(),i}}};var Age=q.profile.me,m$e=Cge(),sxt=Ege(),g$e=`${Age}?isCPMCalled=true`,kge=new URL("./register",gc()).toString();async function _g(){let t=location.pathname.split("/").indexOf("edit")!==-1?g$e:Age;try{let n=await fetch(K(t,{credentials:"include"}));if(n.ok&&n.status!==204){let r=await n.json();k.readUserProfile(r)}else k.setAnonymous()}catch{k.setAnonymous()}}async function Ige(e=()=>{k.setAnonymous()}){if(!w.userServices)return k.setAnonymous(),Promise.resolve();await new EL([f$e,h$e,wge(m$e),Sge],e).run()}async function f$e(e=()=>!1){try{let t=In();if(t){let o=Yp(t);return k.readUserFromToken(o),!0}return!1}catch(t){return t instanceof nl?!1:e()}}async function h$e(e=()=>!1){try{let t=Od();if(t){Yp(t);let o=await q2(t);return q0(o),!0}return!1}catch(t){return t instanceof nl?!1:t instanceof Qy?location.pathname.endsWith("/external-sign-in.html")?!1:e(b$e):e()}}function b$e(){if(L("page_kind")!=="register"&&(k.setAnonymous(),!location.href.includes("/answers"))){let o=ne({redirectUrl:location.href});location.href=Zr(`${kge}?${o}`).href;return}let e=Od();if(!e)return;let t=Yp(e);k.mapIdTokenToProfile(t)}function Pge(e=location.href){let t=encodeURIComponent(e);location.href=`/_themes/docs.theme/master/en-us/_themes/global/permissioned-auth.html?changeDirectory=true&redirectUrl=${t}`}var bS=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function AL(e){return e.matches(bS.join(","))}function kL(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let n,r=Array.from(e.querySelectorAll(bS.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&r.reverse();let s=r.length;for(;s--;){let a=r[s],i=getComputedStyle(a);if(!a.hidden&&i.display!=="none"&&i.visibility!=="hidden"&&(a.offsetWidth>0||a.offsetHeight>0)){n=a;break}}n=n||e,n.focus()}}}function Nz(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}A();var IL=[];function vg(e){IL.push(e)}function Ot(e,t,o,n){e.addEventListener(t,o,n);let r=()=>e.removeEventListener(t,o,n);return vg(r),r}function Lge(e=document.documentElement,t=document.documentElement||document.body,o=(document.documentElement||document.body).scrollTop){return t.style.left="0",t.style.right="0",t.style.top=`-${o}px`,t.style.position="fixed",(n=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",n&&(e.scrollTop=o)}}var b_=e=>{let t=e.querySelector("[data-autofocus]");if(t&&AL(t)){t.focus();return}e.focus()},be=class e{constructor(t,o="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let o=t.target,n=o.closest(".modal-pop-content"),r=o.closest(".modal-close");r?(t.preventDefault(),this.hide(r.getAttribute("data-modal-result"))):n&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{if(t.key==="Escape"){if(S.activeElement&&S.activeElement.closest(".popover[open]"))return;t.preventDefault(),this.hide()}};this.setAriaLabelledBy=t=>{let o=t.querySelector("h1")||t.querySelector("h2")||t.querySelector("h3")||t.querySelector("h4")||t.querySelector("p")||t.querySelector("figcaption");o&&(o.id||(o.id="modal-heading"),t.setAttribute("aria-labelledby",o.id))};this.container=S.createElement("div"),this.container.setAttribute("tabindex","-1"),this.container.setAttribute("role","dialog"),this.container.setAttribute("aria-modal","true"),this.container.classList.add("modal","has-default-focus"),o&&this.container.classList.add(o),this.container.setAttribute("data-test-id","modal-container"),y(u` ${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=S.createElement("div"),this.wrapper.setAttribute("data-bi-name","modal"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentStack=[t]}static get openCount(){return window.openModalCount||0}static set openCount(t){window.openModalCount=t}show(){return this.container.classList.contains("is-active")?this.openPromise:(e.openCount++,S.body.insertAdjacentElement("afterbegin",Nz(S)),S.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Lge(S.documentElement,S.scrollingElement||S.documentElement,(S.scrollingElement||S.documentElement||S.body).scrollTop),this.container.classList.add("is-active"),S.body.insertAdjacentElement("afterbegin",Nz(S)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=S.activeElement,this.focusHandler=kL(this.wrapper),Ot(window,"focus",this.focusHandler,!0),b_(this.container),this.openPromise=new Promise(t=>this.resolveOpen=t),this.openPromise)}hide(t=null){this.container.classList.contains("is-active")&&(e.openCount--,this.restoreScrollbar(),this.container.classList.remove("is-active"),this.wrapper.parentElement.removeChild(this.wrapper),Array.from(S.body.querySelectorAll(".modal-tab-sentinel")).forEach(o=>{S.body.removeChild(o)}),window.removeEventListener("focus",this.focusHandler),this.wrapper.removeEventListener("click",this.clickHandler),this.wrapper.removeEventListener("keydown",this.escHandler),this.lastFocus&&this.lastFocus instanceof HTMLElement&&this.lastFocus.focus(),this.lastFocus.closest("details")&&this.lastFocus.closest("details").querySelector("summary").focus(),this.resolveOpen(t),this.resolveOpen=void 0,this.openPromise=void 0)}updateContent(t,o=!0,n=!1){let r=this.container.querySelector(".modal-slide-container"),s=r.querySelector(".modal-slide:first-of-type");if(r===null||s===null)throw new Error(`The ${r===null?"modal-slide-container":"modal-slide"} class is missing!`);r.appendChild(t);let a={forward:it.userDir==="ltr"?"slide-right":"slide-left",backward:it.userDir==="ltr"?"slide-left":"slide-right"},i=n?a.forward:a.backward;o?(setTimeout(()=>{s.classList.add(i),t.classList.add(i)},50),setTimeout(()=>{t.classList.remove(i),l(this)},250)):l(this);function l(c){r.removeChild(s),b_(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),y(u` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),b_(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),y(u` ${this.contentElement} `,this.container),b_(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};A();var PL={setItem(e,t,o){try{let n=o.getTime();if(Date.now()>=n)return;let r={value:t,expiry:n};ae.setItem(e,JSON.stringify(r))}catch{}},getItem(e){try{let t=ae.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(ae.removeItem(e),null):o.value}catch{return null}},removeItem(e){ae.removeItem(e)},clear(){ae.clear()}};A();var LL=location.pathname.split("/").map(e=>e.toLowerCase()),_$e=LL.length>2?LL[2]:"",Ut=_$e==="test";function Rge(){let e=L("original_content_git_url")||L("original_ref_skeleton_git_url")||"",t=e;if(t!==""&&t.substring(0,8)==="https://")try{let o=new URL(e);t=`${o.pathname}${o.search}`}catch{t=t.substring(8)}return t}function RL(){let e=v$e(),t;return Ut?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function v$e(){let e={uid:L("uid")||"",documentId:L("document_id")||"",versionIndependentDocumentId:L("document_version_independent_id")||"",platformId:L("platform_id")||"",contentPath:Rge(),url:location.href,author:L("ms.author")||""},t=Object.keys(e).reduce((o,n)=>{let r=e[n];return r===void 0||r.trim().length===0||o.push(`${n}=${encodeURIComponent(r)}`),o},[]);return t.length===0?"":`?${t.join("&")}`}function ML(e,t=Uo){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var vs={Cancel:{text:Ne,clickHandler:ah,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:CY,clickHandler:()=>{location.href=RL()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:En,clickHandler:ah,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:fse,clickHandler:()=>ML(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function y$e(e){return{accountAlreadyRegistered:{title:ose.replace("{account}",e),description:ise,buttons:[vs.Cancel,vs.SelectAccount]},alreadyHasCertProfileConnected:{title:hse,description:bse,buttons:[vs.ContactCustomerSupport]},alreadyLinked:{title:lse,description:t2,buttons:[vs.Cancel,vs.SelectAccount]},moreThanOneAccountPerTenant:{title:sse,description:`${use} ${t2}.`,buttons:[vs.Ok]},moreThanOneMSAAccount:{title:pse,description:cse.replace("{account}",e),buttons:[vs.Ok]},needAtLeastOneAccountLinked:{title:dse,description:ase,buttons:[vs.Ok]},numberOfAccounts:{title:nse,description:rse,buttons:[vs.Ok]},profileMergeRunning:{title:mse,description:gse,buttons:[vs.Ok]},profileMergeAlreadyComplete:{title:yse,description:xse,buttons:[vs.Ok]},profileMergeRecordNotFound:{title:Tse,description:Sse,buttons:[vs.Ok]},previousMergeAttemptPreventsAction:{title:wse,description:Cse,buttons:[vs.Ok]},unexpectedError:{title:ro,buttons:[vs.Ok]}}}function qz(e,t){let o=y$e(e)[t];return u` ${o.title?u`

${o.title}

`:null} ${o.description?u`

${N(o.description)}

`:null} ${o.buttons?u`
${o.buttons.map(n=>u``)}
`:null} `}var x$e={Complete:{color:"success",icon:"docon-status-success-outline",text:Ese},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Ase},Running:{color:"warning",icon:"docon-status-info-outline",text:Rse},Terminated:{color:"success",icon:"docon-status-success-outline",text:Mse}};function T$e(){return PL.getItem("check-merge-status")!==null}function S$e(){PL.removeItem("check-merge-status")}async function DL(e=!1){if(!(!e&&!T$e()))try{let t=await U2();if(t===null||(Fz(t),t!=="Running"))return;let o=setInterval(async()=>{t=await U2(),t!==null&&(Fz(t),t!=="Running"&&(clearInterval(o),S$e()))},3e4)}catch{}}async function w$e(){try{await Iie()}catch{}}function C$e(e){return u`
`}async function Fz(e){if(e==="Acknowledged")return;if(e==="Locked"){E$e();return}e==="Complete"&&Ls.type==="profile"&&await _g();let t=x$e[e];if(!t)return;let o=Pse,n=Lse;if(e==="Failed"){let l=await kie();if(!l)return;let c=l.sourceUserName,d=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Ge(c)),t.text=t.text.replace("{destinationUser}",Ge(d)),o=o.replace("{terminateMergeText}",n2),n=n.replace("{retryMergeText}",o2)}let r=u`

${kse}


${Ise}

  • ${N(o)}
  • ${N(n)}
`,s=document.querySelector("#add-account");if(!s)return;e==="Running"||e==="Failed"?(s.disabled=!0,s.classList.add("is-disabled")):(s.disabled=!1,s.classList.remove("is-disabled"));let a=document.querySelector(".accounts"),i=a.querySelector(".merging-status");a!==null&&(i===null&&(i=document.createElement("div"),i.classList.add("merging-status"),a.appendChild(i)),y(u`

${t.text}

${e==="Failed"?u`${r} ${C$e(i)}`:""}
${e==="Complete"?u``:null}
`,i))}function E$e(){let e=document.createElement("div"),t=new be(e);y(u` `,e),t.show(),document.querySelector(".modal").addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),Js(location.origin,!0)})}async function A$e(e){Dge(e,"Terminate")}async function k$e(e){Dge(e,"Retry")}async function Mge(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),n=new be(o);$ge(n,t),await n.show(),e.disabled=!1}async function Dge(e,t){let o,n;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),n=q.profile.userCancelMerge):(o=e.querySelector("#retry-failed-merge"),n=q.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let r=await I$e(n);if(r.hasError){let s=r.errors[0]||"unexpectedError";await Mge(o,s)}else t==="Terminate"?Fz("Terminated"):location.reload()}catch{await Mge(o,"unexpectedError")}}async function I$e(e){let o=await M(K(e,{method:"POST"}));if(fe(o),o.ok)return ih(o,!1),{hasError:!1};if(o.status===400){let n=await o.json();if(n.errorCode==="ProfileMergeRunning")return{hasError:!0,message:o.statusText,errors:["profileMergeRunning"]};if(n.errorCode==="ProfileMergeComplete")return{hasError:!0,message:o.statusText,errors:["profileMergeAlreadyComplete"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}else{if(o.status===404)return{hasError:!0,message:o.statusText,errors:["profileMergeRecordNotFound"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}}function $ge(e,t="unexpectedError",o=""){y(u` `,e.contentElement),e.show()}A();var $L,NL;async function Nge(e){Oz(e)&&await P$e()}function Oz(e){let t=L("page_type")==="profile",o=L("page_kind");if(!e.isAuthenticated||t&&o!=="register")return!1;let n=!1;return e.acceptedPrivacyNotice.getTime()&&(n=e.userType==="standard"||new Date(e.acceptedPrivacyNotice)>=$2),!n}async function P$e(){if(!$L){let e=S.createElement("div");e.classList.add("modal-content"),y(u` `,e),$L=new be(e),NL=e.querySelector("#consentModal"),qge()}await Se,$L.show()}function qge(){let e=k.userType==="microsoft"?sZ:IA,t=()=>Aie(),o=u` `;y(o,NL)}function L$e(){let e=u` `;y(e,NL),R$e(NL)}async function R$e(e){let t=e.querySelector("#error-message"),o=e.querySelector("#consent-delete-acct");t.setAttribute("hidden","hidden"),o.onclick=async()=>{o.classList.add("is-loading");try{await Eie()?($L.hide(),await Js(location.origin,!0)):t.removeAttribute("hidden")}catch(n){throw t.removeAttribute("hidden"),new Error(`error: ${n.message}`)}finally{o.classList.remove("is-loading")}}}function M$e(e){return e&&e.length!==0||k.userType==="microsoft"?aZ.replace("{email}",e||k.upn):k.authenticationMode==="AAD"||k.userType==="aad"?tV.replace("{email}",k.upn):NY}async function Fge(e,t,o){let n=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());n(),e.subscribe(So,n),await t,o.setAttribute("data-auth-status-determined","true")}var ke={left:37,up:38,right:39,down:40,home:36,end:35,escape:27,enter:13,space:32,eight:56,numPadAsterisk:106,a:65,b:90};var td="docs-sign-in",Uz="docs-sign-out",Oge="docs-change-directory";function Uge(e){$$e(e),e.addEventListener("click",D$e)}function D$e(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${td}, .${Uz}, .${Oge}`);if(!t)return;let o=t.classList.contains(td);e.preventDefault();let r=t instanceof HTMLAnchorElement&&t.matches('a[href]:not([href="http://approjects.co.za/?big="]):not([href="http://approjects.co.za/?big=#"])')?t.href:location.href;if(t.classList.contains(Oge))Pge(r);else if(o){let s=b.data.isPermissioned;Uo(r,"select_account",s)}else Js(r,!0)}function $$e(e){let t=o=>{if(!(o.target instanceof Element))return;let n=o.target.closest(`.${td}, .${Uz}`);if(!n)return;let r=n.classList.contains(td);o.target.setAttribute("data-m",JSON.stringify({cN:r?td:Uz,bhvr:r?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===ke.enter&&t(o)},!0)}var Hz,ve=new Promise(e=>Hz=e);async function Hge(e){if(!w.userServices){Hz(),Se.then(()=>{let t=S.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await yge(),Lr.handleRedirectPromise(),Fge(k,ve,S.documentElement),Uge(S.documentElement),w.permissionedContent&&Se.then(t=>{S.documentElement.querySelectorAll("[data-permissioned-content]").forEach(o=>o.hidden=!1)}),k.subscribe(So,async()=>{await Promise.all([e.siteHeaderRendered,Se]),N2(S.documentElement,k)}),Ige().then(Hz),ve.then(async()=>{if(k.userType!=="standard"&&Nge(k),!k.isAuthenticated)return;if(!Oz(k)){await Se,DL();return}let t=new URL("./register",gc(b.data.userLocale));if(location.pathname===t.pathname)return;let o=ne({redirectUrl:location.href});location.href=`${t.toString()}?${o}`})}var Ll=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),qL=typeof __karma__<"u";var N$e=1e3*60*5,q$e=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),Bge="rollout-status",_S;async function On(e){_S===void 0&&(_S=zz());let t=await _S;if(t&&"failed"in t&&(_S=zz()),!t||"failed"in t)return zge("feature-rollout-failure",{featureName:e}),!1;let o=t.activeFeatures.find(r=>"name"in r?r.name===e:!1);if(!o)return!1;let n=await F$e(o);return zge("feature-rollout-activated",{featureName:e,isActive:n}),n}async function F$e(e,t=b.data.userLocale,o=q$e,n=b.data.pageTemplate,r=ve.then(()=>k.isAuthenticated)){if(!e.conditions)return!0;let s=e.conditions.find(g=>g.limitTo==="locale");if(!(s?s.locales.includes(t):!0))return!1;let i=e.conditions.find(g=>g.limitTo==="pathname");if(!(i?!!i.startsWith.find(g=>o.startsWith(g)):!0))return!1;let c=e.conditions.find(g=>g.limitTo==="pageTemplate");return(c?!!c.pageTemplates.find(g=>g===n):!0)?e.conditions.find(g=>g.limitTo==="authenticated")?await r:!0:!1}async function Vge(){_S=zz()}async function zz(e=te()["refresh-rollout"]==="true"){let t=O$e(e);if(t)return t;let n=`/en-us/feature-rollout.json${R.reviewFeatures?"?branch=main":""}`;Ll&&(n=`/en-us/test/feature-rollout.json?branch=${pt()}`);try{let r=await M(n,{method:"GET"});if(!r.ok)return{failed:!0};let s=await r.json();return s.expiresAt=new Date(Date.now()+N$e).getTime(),ae.setItem(Bge,JSON.stringify(s)),s}catch{return{failed:!0}}}function O$e(e=!1){if(e)return null;let t=ae.getItem(Bge);if(!t)return null;let o;try{o=JSON.parse(t)}catch{return null}if(!o||"failed"in o||!o.expiresAt)return null;let n=o.expiresAt||0;return Date.now()>=n||!("activeFeatures"in o)||"failed"in o?null:o}function zge(e,t){xe({content:{type:e,content:JSON.stringify(t)}})}async function FL(){if(!(w.collapsibleToc||await On("collapsible-toc")))return;let t=document.getElementById("left-container"),o=document.getElementById("ms--toc-content"),n=document.getElementById("ms--toc-content-collapsible");if(!t||!o||!n)return;o.remove(),n.hidden=!1;let r=n.querySelector("[data-collapsible-toc-toggle]"),s=n.querySelector("nav"),a=document.querySelector(".layout");if(!r||!s)return;let i=!0,l=()=>{let c=i?eE:TE,d=r.querySelector(".docon"),p=document.getElementById("ms--collapsible-toc-moniker-slot");r.setAttribute("aria-expanded",String(i)),r.setAttribute("aria-label",c),r.title=c,t.setAttribute("data-toc-collapsed",String(!i)),r.setAttribute("data-bi-name",i?"toc-collapse":"toc-expand"),a?.classList.toggle("layout-menu-collapsed",!i),d?.classList.toggle("docon-panel-left-contract",i),d?.classList.toggle("docon-panel-left-expand",!i),t.classList.toggle("width-full",i),t.classList.toggle("padding-inline-sm",i),t.classList.toggle("padding-inline-xxs",!i),t.classList.toggle("border-right",!i),p&&(p.hidden=!i);for(let m of s.children)m.id!=="ms--collapsible-toc-header"&&(m.hidden=!i)};r.addEventListener("click",()=>{i=!i,l()}),l()}async function Gge(){await FL();let e=S.getElementById("affixed-left-container"),t=S.getElementById("affixed-right-container");if((w.connectedExperiences||w.rightRailSticky)&&t&&U$e(t),e===null)return;let o=S.getElementById("footer"),n=S.querySelector(".layout-body-header"),r=24,s=1;e.style.top=`${r}px`;function a(){if(e==null||e.hasAttribute("disable-affix"))return;let c=U.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let d=o.getBoundingClientRect().height,p=d===0?0:Math.max(0,c-o.getBoundingClientRect().top),m=n.getBoundingClientRect().height,g=m===0?0:Math.max(0,n.getBoundingClientRect().bottom),f=S.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*r+m+d+s)}px`,e.style.height=`calc(100vh - ${2*r+g+p+s}px)`}}let i=0;function l(){cancelAnimationFrame(i),i=requestAnimationFrame(a)}U.addEventListener("scroll",l,{passive:!0}),U.addEventListener("resize",l,{passive:!0}),U.addEventListener("content-update",l),U.addEventListener("dismiss-content-update",l),a(),U.addEventListener("load",a,!1),U.addEventListener("pageshow",a,!1),U.addEventListener("DOMContentLoaded",a,!1)}function U$e(e){let o=S.getElementById("footer");e.classList.add("position-sticky"),e.style.top="24px";function n(){let a=24,i=e.offsetHeight;if(i>U.innerHeight){let l=i-U.innerHeight;a=-1*(24/2+Math.min(U.scrollY,l))}if(e.style.top=`${a}px`,w.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${a}px`;let l=S.getElementById("side-doc-outline"),c=S.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let d=o.getBoundingClientRect().height,p=S.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=S.body.scrollHeight;e.style.maxHeight=`${f-(2*24+m+d)}px`;let _=d===0?0:Math.max(0,U.innerHeight-o.getBoundingClientRect().top),h=m===0?0:Math.max(0,p.getBoundingClientRect().bottom);if(e.style.height=`calc(100vh - ${2*24+h+_}px)`,l){l.style.overflow="auto",l.style.maxHeight=`calc(100% - ${g}px)`;let x="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",v=w.referenceRightRailH3?`#main h2:not(${x}), #main h3`:`#main h2:not(${x})`,T=Array.from(S.querySelectorAll(v)).filter(I=>!!I.id&&I.offsetParent!==null);pie(T,e)}}}let r=0;function s(){cancelAnimationFrame(r),r=requestAnimationFrame(n)}U.addEventListener("scroll",s,{passive:!0}),U.addEventListener("resize",s,{passive:!0}),U.addEventListener("content-update",s),n(),U.addEventListener("load",n,!1),U.addEventListener("DOMContentLoaded",n,!1)}function jge(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(n=>{n.classList.remove("is-invisible");let r;try{if(r=new Date(n.getAttribute("datetime")),isNaN(r.getTime()))return}catch{return}n.setAttribute("datetime",r.toISOString());let s={year:"numeric",month:"2-digit",day:"2-digit"};n.getAttribute("data-article-date-source")==="ms.date"&&(s.timeZone="UTC");let i=Kr(r,s,t);n.textContent=i})}A();function Qge(){let e=location.pathname.toLowerCase();if(Ut&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ut&&e!==`/${b.data.userLocale}/azure/architecture/icons/`&&e!==`/${b.data.userLocale}/power-platform/guidance/icons`&&e!==`/${b.data.userLocale}/dynamics365/get-started/icons`)return;let t=S.querySelector(".content a.button"),o=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let n=()=>{S.querySelector('.azure-icons-consent input[type="checkbox"]').checked?(t.href=o,t.removeAttribute("disabled")):(t.href="http://approjects.co.za/?big=javascript:void(0)",t.setAttribute("disabled","disabled"))},r=i=>{let l=i.target instanceof HTMLElement&&i.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&n()},s=S.getElementById("consent-checkbox");s.classList.add("margin-block-sm");let a=s.textContent;y(H$e(a),s),n(),U.addEventListener("change",r)}function H$e(e){return u` `}A();function z$e(e,t){let o={};return e.querySelectorAll("li > a").forEach(r=>{if(r.textContent){let s=t?r.textContent="default":r.textContent.trim().slice(1,-1).split("|");if(s.length===2){let a=s[0].trim(),i=s[1].trim(),l=r.href;a&&i&&l&&(o[a]||(o[a]={}),o[a][i]=l)}}}),o}function Yge(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function B$e(e){let t=window.location.href.toLowerCase(),o=Yge(t);for(let n in e)for(let r in e[n]){let s=e[n][r].toLowerCase();if(Yge(s).localeCompare(o,void 0,{sensitivity:"base"})===0)return[n,r]}return null}function V$e(e,t,o){function n(d){return[d,d]}function r(d){window.location.href=d}let s=z$e(e,t),a=B$e(s),i=document.createElement("div");i.classList.add("azureselector"),i.classList.add("display-none-print");let l=e.getAttribute("title1"),c=Wge(i,l);if(Bz(c,s,n,!1,o),a&&(c.value=a[0]),t)c.addEventListener("change",()=>{c.value&&r(s[c.value].default)});else{let d=e.getAttribute("title2"),p=Wge(i,d);c.addEventListener("change",()=>{Bz(p,c.value?s[c.value]:{},n,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&r(s[c.value][p.value])}),Bz(p,c.value?s[c.value]:{},n,!1,o),a&&(p.value=a[1])}e.insertAdjacentElement("afterend",i)}function Kge(){let e=gG,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&G$e(t),o.forEach(n=>{V$e(n,!1,e)})}function G$e(e){let t=e.parentNode,o=e.getAttribute("title1"),n=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),r=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),s=[];r.map(c=>{let d={title:c.textContent,href:c.href};s.push(d)});let a=n[0].firstElementChild.getAttribute("href")?j$e(s):n.shift().textContent,i=document.createElement("nav");i.classList.add("margin-top-xxs","display-none-print"),i.setAttribute("aria-label",o||"Dropdown menu"),t.replaceChild(i,e);let l=Q$e(a,s,o);y(l,i)}function j$e(e){let t=decodeURI(location.pathname).toLowerCase();for(let o of e)if(new URL(o.href,location.href).pathname.toLowerCase()===t)return o.title;return e[0].title}function Q$e(e,t,o){let n=u``,r=[];o&&(n=u`${o}`);let s="padding-xxs";for(let a of t)r.push(u`
  • ${a.title}
  • `);return u` ${n} `}function Wge(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let n=Je(),r=u`
    ${t?u` `:""}
    `;return y(r,o),e.appendChild(o),o.querySelector("select")}function Bz(e,t,o,n,r){let s=[];n||s.push(u``);for(let a in t){let i=o(a,t[a]);i&&i.length===2&&s.push(u``)}y(s,e)}var Ro={value:null};async function Vz(e,t,o){let n={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await Jge(n,o)}async function Jge(e,t){try{return await Lr.acquireTokenSilent(e)}catch(o){if(Fn.trackTrace({message:`Acquire Token Silent Failure - ${k?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),Fn.trackException(o),o instanceof Co&&t.noInteraction===!1)try{return await Lr.acquireTokenPopup(e)}catch(n){return Fn.trackTrace({message:`Acquire Token Popup Failure - ${k?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),Fn.trackException(n),null}return null}}async function Y$e(e){if(!(e.username.includes("@")&&e.username.includes(".")))throw new Error(`Account username is not an email address: ${e.username}`);let t=e.username.split("@"),o=t[1]?t[1].split(".")[0]:"",r=`https://login.windows.net/${`${t[0]}${o}.onmicrosoft.com`}/.well-known/openid-configuration`,a=await(await M(r,{method:"GET"})).json();if("error"in a&&a.error==="invalid_tenant")throw new Error(`${a.error}: ${a.error_description}`);if("issuer"in a)return a.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function W$e(e){return![xie,Tie,yie].includes(e)}var vS={async tryLoadTokens(e={noInteraction:!0}){if(await ve,!k.isAuthenticated)return Fn.trackTrace({message:`Try Load Token User Not Authenticated - ${k?.userName}`}),null;try{let t=Od(),n=O0(t).preferred_username,r=Lr.getAccount({username:n});Lr.setActiveAccount(r);let s=L("interactive")?.toLowerCase(),a=s&&(s==="powershell"||s==="bash"),i=L("rest_product")?.toLowerCase()??"",l=r?.tenantId===H0||r?.homeAccountId.split(".")[1]===H0,c=[],d="",p=null;try{d=l?await Y$e(r):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${d}`,redirectUri:wL},g=await Jge(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",_={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await M(f,_)).json(),!p||!p.value)return c;p.value=p.value.filter(x=>W$e(x.tenantId));for(let x of p.value){if(!x.tenantId)continue;let v={access_token:"",access_token_type:"",expires_at:"",msgraph_access_token:"",msgraph_access_token_type:"",msgraph_expires_at:"",key_vault_access_token:"",key_vault_access_token_type:"",key_vault_expires_at:"",display_name:x.displayName,default_domain:x.defaultDomain,tenant_id:x.tenantId},T={arm:"https://management.core.windows.net/user_impersonation","business-assist-api":"https://business-assist.microsoft.com/.default","dev-center":"https://devcenter.azure.com/.default",learn:"https://learn.microsoft.com/.default",fabric:"https://api.fabric.microsoft.com/.default","partner-center-rest":"https://api.partnercenter.microsoft.com/.default","power bi":"https://analysis.windows.net/powerbi/api/.default","health-dataplane":"https://deid.azure.com/.default"},I=await Vz(T[i]??T.arm,x.tenantId,e);if(v.access_token=I?.accessToken,v.access_token_type=I?.tokenType,v.expires_at=I?.expiresOn?.valueOf().toString()??"",a){let C=await Vz("https://vault.azure.net/user_impersonation",x.tenantId,e);v.key_vault_access_token=C?.accessToken,v.key_vault_access_token_type=C?.tokenType,v.key_vault_expires_at=C?.expiresOn.valueOf().toString();let z=await Vz("https://graph.microsoft.com/.default",x.tenantId,e);v.msgraph_access_token=z?.accessToken,v.msgraph_access_token_type=z?.tokenType,v.msgraph_expires_at=z?.expiresOn.valueOf.toString()}c.push(v)}return c}catch(t){return Fn.trackTrace({message:`Try Load Token Failure - ${k?.userName} - ${t?.message}`}),Fn.trackException(t),null}}};var K$e=5*60*1e3,Zge=0;function efe(){document.addEventListener("visibilitychange",Xge,{passive:!0}),Xge()}function Xge(){document.visibilityState==="visible"?Zge=setInterval(J$e,K$e):clearInterval(Zge)}function J$e(){Ro.value&&vS.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===Ro.value.default_domain);t&&(Ro.value=t)})}function tfe(){return w.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".banner");o&&(o.hidden=X$e(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",Z$e)):void 0}function Z$e(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let o=t.getAttribute("data-banner-dismiss"),n=JSON.parse(ae.getItem("dismissed-banners"));return n?(n.push(o),ae.setItem("dismissed-banners",JSON.stringify(n))):ae.setItem("dismissed-banners",JSON.stringify([o]))}function X$e(e){let t=JSON.parse(ae.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var Gz;function jz(){if(Gz===void 0){let e=L("api")||"/en-us/rest/api/rest-products.json";Gz=M(e,{credentials:"include"}).then(t=>t.json())}return Gz}function ofe(e){return e==="rest"?jz().then(t=>nNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):M(`${q.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>tNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function nfe(e){return M(`${q.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(oNe(e,o),o)):Promise.reject(null)).then(t=>rfe(t)).catch(()=>Qz(e))}function Qz(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function rfe(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:o})=>({displayName:t,packages:o.sort((n,r)=>r.order-n.order).filter(n=>eNe(n)).map(n=>({displayName:n.monikerDisplayName,isDefault:n.isDefault,moniker:n.monikerName,versionDisplayName:n.versionDisplayName,isDeprecated:n.isDeprecated,isPrerelease:n.isPrerelease}))}))}}function eNe(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function tNe(e,t){return{platformId:t,families:e.map(rfe)}}function oNe(e,t){if(!t.products.find(o=>!!o.packages.find(n=>n.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function nNe(e,t){return{platformId:t,families:[{displayName:"",products:[{displayName:"",packages:e.map(o=>({displayName:o.name,moniker:o.scope,versionDisplayName:o.name,isDefault:!1,isDeprecated:!1,isPrerelease:!1}))}]}]}}function on(e,t,o=0,n=[]){for(let r of e){n.length=o;let s=t(r,n);if(!s)return 0;if(s!==2&&(n[o]=r,r.children&&!on(r.children,t,o+1,n)))return 0}return 1}var Rr="moniker-changed",Yz="same-moniker-selected",sfe=()=>{let e=te().view;return e===void 0?"":e.toLowerCase()},yS=sfe();function rt(){return yS}function Ku(e){if(e===yS){U.dispatchEvent(new CustomEvent(Yz,{detail:{moniker:yS}}));return}yS=e,U.dispatchEvent(new CustomEvent(Rr,{detail:{moniker:yS}}))}U.addEventListener("popstate",()=>Ku(sfe()));var Rl={"ar-sa":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","eu-es":"Euskara","bs-latn-ba":"Bosanski","bg-bg":"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438","ca-es":"Catal\xE0","zh-cn":"\u4E2D\u6587 (\u7B80\u4F53)","zh-hk":"\u4E2D\u6587 (\u7E41\u9AD4 \u9999\u6E2F\u7279\u5225\u884C\u653F\u5340)","zh-tw":"\u4E2D\u6587 (\u7E41\u9AD4)","hr-hr":"Hrvatski","cs-cz":"\u010Ce\u0161tina","da-dk":"Dansk","nl-be":"Nederlands (Belgi\xEB)","nl-nl":"Nederlands","en-au":"English (Australia)","en-ca":"English (Canada)","en-in":"English (India)","en-ie":"English (Ireland)","en-my":"English (Malaysia)","en-nz":"English (New Zealand)","en-sg":"English (Singapore)","en-za":"English (South Africa)","en-gb":"English (United Kingdom)","en-us":"English (United States)","et-ee":"Eesti","fil-ph":"Filipino","fi-fi":"Suomi","fr-be":"Fran\xE7ais (Belgique)","fr-ca":"Fran\xE7ais (Canada)","fr-fr":"Fran\xE7ais","fr-ch":"Fran\xE7ais (Suisse)","gl-es":"Galego","ka-ge":"Georgian","de-at":"Deutsch (\xD6sterreich)","de-de":"Deutsch","de-ch":"Deutsch (Schweiz)","el-gr":"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC","he-il":"\u05E2\u05D1\u05E8\u05D9\u05EA\u200F","hi-in":"\u0939\u093F\u0902\u0926\u0940","hu-hu":"Magyar","is-is":"\xCDslenska","id-id":"Bahasa Indonesia","ga-ie":"Irish (Ireland)","it-it":"Italiano","it-ch":"Italiano (Svizzera)","ja-jp":"\u65E5\u672C\u8A9E","kk-kz":"\u049A\u0430\u0437\u0430\u049B","ko-kr":"\uD55C\uAD6D\uC5B4","lv-lv":"Latvie\u0161u","lt-lt":"Lietuvi\u0173","lb-lu":"Luxembourgish (Luxembourg)","ms-my":"Bahasa Malaysia","mt-mt":"Maltese (Malta)","nb-no":"Norsk","pl-pl":"Polski","pt-br":"Portugu\xEAs (Brasil)","pt-pt":"Portugu\xEAs (Portugal)","ro-ro":"Rom\xE2n\u0103","ru-ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","sr-cyrl-rs":"\u0421\u0440\u043F\u0441\u043A\u0438 (\u0421\u0440\u0431\u0438\u0458\u0430 \u0438 \u0426\u0440\u043D\u0430 \u0413\u043E\u0440\u0430)","sr-latn-rs":"Srbija - Srpski","sk-sk":"Sloven\u010Dina","sl-si":"Slovenski","es-mx":"Espa\xF1ol (M\xE9xico)","es-es":"Espa\xF1ol (Espa\xF1a)","sv-se":"Svenska","th-th":"\u0E44\u0E17\u0E22","tr-tr":"T\xFCrk\xE7e","uk-ua":"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430","vi-vn":"Ti\xEA\u0301ng Vi\xEA\u0323t"};var Ju=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,rNe="MarketplaceSelectedLocale",sNe=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function Wz(e){return!!Rl[e]}function xS(e){let t=Ju.exec(e);return t===null?"en-us":t[1].toLowerCase()}function et(e,t,o=!0){return!e||!Wz(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:Ju.test(e)?o?yg(e,t):e:"/"+t+e}function Un(e){return e.replace(Ju,"/")}function yg(e,t){return e.replace(Ju,`/${t}$2`)}async function afe(){let e=b.data.userLocale,t=b.data.contentLocale,o=it.machineTranslated;b.data.userLocaleName=Rl[e],await Se,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!o&&sNe.indexOf(b.data.pageTemplate)!==-1&&Kt(lNe(b.data.pageTemplate,e)),Kz(e)}function ife(e){ss.set(rNe,e,{expires:365*10})}function Kz(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>aNe(t,e))}function aNe(e,t){let o=e.querySelector(".local-selector-link-text"),n=Rl[t];o?o.textContent=n:e.textContent=n,e.addEventListener("mousedown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.addEventListener("keydown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`;let r=EY.replace("{language}",n);e.setAttribute("aria-label",r)}function iNe(e){return xa("localization_scopes").indexOf(e)!==-1}function lNe(e,t){let o=iNe(t),n=Rl[t];return e==="LearningPath"?o?rW.replace("{language}",n):sW.replace("{language}",n):e==="Module"||e==="ModuleUnit"?o?aW.replace("{language}",n):iW.replace("{language}",n):nW}var cNe=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,TS=/(^|\/)index$/i,dNe=R.accessLevel==="local"&&b.environment===void 0,Jz={};function uNe(e,t){let{origin:o,pathname:n}=A2(e),r={"/":`/${t}/`},s=n.split("/"),a="";for(;s.length>2;){s.pop();let i=s.join("/")+"/";r[a]=i,r["./"+a]=i,a+="../"}return{origin:o,relMap:r}}var __=class{constructor(t,o,n,r,s){this.external=t;this.origin=o;this.pathname=n;this.search=r;this.hash=s}get href(){return this.origin+this.pathname+this.search+this.hash}originAndPathnameEquals({origin:t,pathname:o}){return this.pathname.length===o.length&&this.origin.length===this.origin.length&&this.pathname.localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}originAndPathnameStartsWith({origin:t,pathname:o}){return this.pathname.length>=o.length&&(o[o.length-1]==="/"||this.pathname[o.length]===void 0||this.pathname[o.length]==="/")&&this.origin.length===t.length&&this.pathname.substr(0,o.length).localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}};function er(e,t,o=b.data.userLocale,n=J.origin){let[r,s,,,a,i]=e;if(r==="/"&&s==="/"||a===":"||i===":"){let{origin:v,pathname:T,search:I,hash:C}=A2(e);if(v!==n)return new __(!0,v,T,I,C);let z=Ju.exec(T);return(!z||!Wz(z[1]))&&(T="/"+o+T),T=decodeURIComponent(T.replace(TS,"$1")),new __(!1,v,T,I,C)}Jz[t]===void 0&&(Jz[t]=uNe(t,o));let{origin:l,relMap:c}=Jz[t],d=cNe.exec(e),[,p="",m="",g="",f=""]=d,_=c[p];dNe&&(m=m.replace(/\.html$/i,""));let h=m.replace(TS,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let x=_+h;return new __(!1,l,x,g,f)}function Zu({origin:e,pathname:t,search:o,hash:n}=J){return t=Zz(t),t=decodeURIComponent(t).toLowerCase().replace(TS,"$1"),new __(!1,e,t,o,n)}function Zz(e){return e.replace(/\/+/g,"/")}var pNe=Zu(),UL=L("moniker_definition_rel"),OL,Xz=new Map,xg=!!UL&&UL.endsWith(".json");function eB(){if(!UL)return null;let e=er(UL,pNe.href);return dfe(e.href)}async function cfe(e){let t=[],o=rt();for(let n of e)if(n.metadata?.moniker_definition_rel){let r=er(n.metadata.moniker_definition_rel,n.url);t.push(dfe(r.href).then(({monikerSet:s})=>lfe(n.nodes,s)))}else o&&t.push(Promise.resolve(lfe(n.nodes,new Set([o]))));await Promise.all(t)}function lfe(e,t){t?.size&&on(e,(o,n)=>{if(o.monikers===void 0&&n&&n.length){let r=n[n.length-1];r.monikers&&r.monikers.length&&(o.monikers=r.monikers)}if(o.monikers&&o.monikers.length&&o.selectedMoniker===void 0){let r=o.monikers.find(s=>t.has(s));o.selectedMoniker=r===void 0?null:r}return!0})}function dfe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return Xz.has(e)?o=Xz.get(e):(o=M(e,{credentials:"include"}).then(n=>n.json()).then(n=>mNe(n)).catch(()=>t),Xz.set(e,o)),o}function mNe(e){let t=null,o=new Set,n=rt(),r=e.products.reduce((s,a)=>{let i=a.familyName;return s[i]=s[i]||[],s[i].push(a),s},{});return Object.keys(r).forEach(s=>{let a="",i=!1,l=r[s];l.forEach(d=>{d.monikers.forEach(p=>{p.isDefault&&(a=p.monikerName),p.monikerName===n&&(i=!0,t=gNe(s,l))})});let c=i?n:a;c&&o.add(c)}),{family:t,monikerSet:o}}async function ufe(){if(OL===void 0){let e=rt();if(xg){let t=await eB();OL=Promise.resolve(t?.family??Qz(e))}else OL=nfe(e)}return OL}function gNe(e,t){return{displayName:e,products:t.map(o=>({displayName:o.productName,packages:o.monikers.sort((n,r)=>r.order-n.order).map(n=>({moniker:n.monikerName,displayName:n.monikerDisplayName??n.monikerName,versionDisplayName:n.versionDisplayName??n.monikerName,isDefault:n.isDefault??!1,isDeprecated:n.isDeprecated??!1,isPrerelease:n.isPrerelease??!1}))}))}}var tB;function qi(){return tB===void 0&&(tB=ufe()),tB}function v_(e,t){for(let o of e.products)for(let n of o.packages)if(n.moniker===t)return n;return null}var y_=null;async function pfe(e=b.data.pageTemplate){HL();let t=te(),o=t.viewFallbackFrom,n=t.branchFallbackFrom,r=t.branch;if(o&&e!=="NotFound"){fNe(o);return}n&&r&&hNe(n,r)}async function fNe(e){let t=await qi(),o=v_(t,e);o&&(y_=Kt(uZ.replace("{moniker}",Ge(o.displayName))))}function hNe(e,t){y_=Kt(vG.replace("{branchFallbackFrom}",Ge(e)).replace("{branch}",Ge(t)))}function HL(){if(y_){let e=y_.firstElementChild;if(!e)return;y_.removeChild(e),y_=null,Pt()}}function mfe(){R.supportLevel==="production"&&R.reviewFeatures&&Kt(oW)}A();var zL=[];var SS="banner-instructions",wS="banner-instructions-locale",bNe=1e3*60*60;function gfe(e=w.temporaryClientSideEventBanners){if(e){try{nB()}catch{ae.removeItem(SS),ae.removeItem(wS)}oB()}}async function oB(e=M,t=new Date){let o=ffe();if(o&&o.date.getTime()+bNe>Date.now())return;let n=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",r=new URL(`/${b.data.userLocale}/${n}banners/index.json`,location.origin);if(R.reviewFeatures){let i=new URLSearchParams(location.search).get("api-branch")??"main";r.searchParams.set("branch",i)}let s=await e(r.href),{banners:a=[]}=s.ok?await s.json():{};ae.setItem(SS,JSON.stringify({date:t,banners:a})),ae.setItem(wS,b.data.userLocale)}function nB(){let e=ffe();if(!e)return;let t=b.data.userLocale,o=e.banners.filter(n=>n.location==="sectional"&&n.scope.accessLevels.includes("online")&&n.content.text&&(!n.scope.locales||n.scope.locales.includes(t))).map(({uid:n,scope:r,content:s,displayType:a})=>{let[i,l]=s.text.split("|");l||(l=i,i=""),i=i.trim(),l=l.trim();let c=r.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),d="",p="";return s.link&&(d=s.link.title,p=s.link.href.startsWith("/")?`/${t}${Un(s.link.href)}`:s.link.href),{id:n,startTime:r.startDate,endTime:r.endDate,bannerPaths:c,eventTitle:i,eventDescription:l,linkHref:p,linkText:d,imageUrl:s.imageUrl,displayType:a,displayedEventStartDate:r.displayedEventStartDate,displayedEventEndDate:r.displayedEventEndDate}});zL.push(...o)}function ffe(e=b.data.userLocale){let t=ae.getItem(SS),o=ae.getItem(wS);if(o&&o!==e||!t)return ae.removeItem(SS),ae.removeItem(wS),null;try{let r=JSON.parse(t);if(r.date=new Date(r.date),isNaN(r.date.getTime()))return null;for(let s of r.banners){if(s.scope.startDate=new Date(s.scope.startDate),s.scope.endDate=new Date(s.scope.endDate),isNaN(s.scope.startDate.getTime())||isNaN(s.scope.endDate.getTime()))return null;s.scope.displayedEventStartDate&&s.scope.displayedEventEndDate&&(s.scope.displayedEventStartDate=new Date(s.scope.displayedEventStartDate),s.scope.displayedEventEndDate=new Date(s.scope.displayedEventEndDate))}return r}catch{ae.removeItem(SS),ae.removeItem(wS)}return null}A();var Tg=Intl.DateTimeFormat().resolvedOptions().timeZone;function Hn(e){let t=Math.floor(e/60),o=e%60;return t===0?PA.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${hJ}`:_J.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var hfe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),Rwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),Mwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),Dwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),vNe=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),$wt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),Nwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),qwt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),Fwt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),Ha=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),Owt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function bfe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Ml(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function _fe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function vfe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function sB(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function nn(e){return Math.floor(e/1e3)}function yfe(e){return Math.floor(e/1e3/60)}function aB(e){let t=e/1e3,o=Math.floor(t/3600),n=rB(Math.floor(t%3600/60)),r=rB(Math.floor(t%3600%60));return o<1?`${n}:${r}`:`${rB(o)}:${n}:${r}`}function BL(e){let t="",o=0,n="",r=Math.floor(e/168),s=Math.floor(e%168/24),a=e-r*168-s*24;if(r>0&&o++,s>0&&o++,a>0&&o++,o>0&&o--,r>0){let l=r===1?b0:_0;i(),t+=r.toString()+" "+l+n,n=""}if(s>0){let l=s===1?yE:vy;i(),t+=s.toString()+" "+l+n,n=""}if(a>0){let l=a===1?AE:Ed;t+=a.toString()+" "+l}return t;function i(){o>0&&(n=", ",o--)}}function Sg(e){if(!e)return"";let t=e.getMonth()+1,o=e.getDate();return`${e.getFullYear()}-${t>9?t:`0${t}`}-${o>9?o:`0${o}`}`}function rB(e){return e<10?`0${e}`:`${e}`}function xfe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let o=e,n=Math.floor(e/36e5);e=e-n*36e5;let r=Math.floor(e/6e4);e=e-r*6e4;let s=Math.floor(e/1e3);e=e-s*1e3;let a="P";return t>0&&(a+=t.toString()+"D"),o>0&&(a+="T"),n>0&&(a+=n.toString()+"H"),r>0&&(a+=r.toString()+"M"),s>0&&(a+=s.toString()+"S"),a}function x_(e){let t="h",o="m",n="s",r=0,s=e.indexOf(t)!==-1,a=e.indexOf(o)!==-1,i=e.indexOf(n)!==-1;return r+=s?Number(e.substring(0,e.indexOf(t)))*3600:0,r+=a?s?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,r+=i?Number(a?e.substring(e.indexOf(o)+1,e.indexOf(n)):s?e.substring(e.indexOf(t)+1,e.indexOf(n)):e.substring(0,e.indexOf(n))):0,r}function iB(e){let t="",o="",n="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let r=e.split(":");return isNaN(Number(r[0]))||isNaN(Number(r[1]))||isNaN(Number(r[2]))&&r.length===3||r.length>3?"":(Number(r[0])>0&&(n=r.length===2?Number(r[0]).toString()+"m":Number(r[0]).toString()+"h"),Number(r[1])>0&&(o=r.length===2?Number(r[1]).toString()+"s":Number(r[1]).toString()+"m"),Number(r[2])>0&&(t=r.length===2?"":Number(r[2]).toString()+"s"),n+o+t)}A();function T_(e,t,o,n){let r=n?u`${n}`:"",s=w.rightRailSticky?"":u``;return u` ${s}
    ${e}
    ${t}
    ${r}
    `}function S_(e,t){return u`

    ${t}

    `}function w_(e,t,o,n,r,s){let a=n?u`

    ${n}

    `:"",i=o?u`

    ${e}

    `:u`

    ${e}

    `;return u` ${a} ${i} `}function C_(e,t=!0){return u`

    ${e}

    `}function Tfe(e){return u` `}function E_(){if(!w.connectedExperiences)return;let e=document.getElementById("ms--additional-resources-heading");e&&(e.hidden=!1);let t=document.getElementById("ms--additional-resources-mobile-heading"),o=document.querySelector("#ms--additional-resources-mobile > hr");t&&o&&(o.hidden=!1,t.hidden=!1)}function yNe(e){let t=sB().format(e.displayedEventStartDate),o=sB().format(e.displayedEventEndDate),n=S_("docon-special-event",wW),r=e.eventTitle?w_(e.eventTitle,!1,e.linkHref):"",s=e.eventTitle?"margin-top-xs":"",a=u` ${e.displayType==="event-image-card"&&e.imageUrl?Tfe(e.imageUrl):""} ${r}

    ${t} - ${o}

    ${C_(e.eventDescription,!1)} ${e.linkText} `;return T_(n,a,!1)}async function Sfe(){!w.connectedExperiences&&!w.temporaryClientSideEventBanners||(await oB(),nB())}function wfe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));E_();for(let o of t)y(yNe(e[0]),o),o.hidden=!1,Pt()}var xNe=["Ask","ApiBrowserPage","Architecture","AssessmentsBrowse","AssessmentsLanding","AssessmentsHome","AssessmentsSession","CareerPath","Challenge","CollectionsHome","Conceptual","ContentBrowserPage","ContentPage","Course","Directory","FAQ","HowTo","Hub","Landing","LearnHome","LearningPath","Marketing","Module","Moderation","ProductList","Reference","Question","QuestionEdit","QuestionList","Sample","SearchPage","Show","SkillingPlans","Tag","TagList","TopicLanding","Welcome"],TNe=["/aspnet/core/blazor/globalization-localization","/dotnet/framework/ui-automation/accessibility-best-practices","/learn/modules/intro-accessibility-disability/","/learn/modules/write-inclusive-windows-apps/","/learn/paths/accessibility-fundamentals/","/training/modules/intro-accessibility-disability/","/training/modules/write-inclusive-windows-apps/","/training/paths/accessibility-fundamentals/","/microsoft-edge/accessibility/","/microsoft-edge/devtools-guide-chromium/accessibility/reference","/windows/uwp/design/accessibility/basic-accessibility-information","/xamarin/android/app-fundamentals/accessibility","/xamarin/ios/app-fundamentals/accessibility","/xamarin/xamarin-forms/app-fundamentals/accessibility/"];function VL(e=location.pathname,t=Ls.template){return e=Un(e),TNe.includes(e)?!1:xNe.includes(t)||!t&&e.startsWith("/answers/")}function GL(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function Cfe(e,t,o,n){let r=k0(),s=r>t.getTime()&&r<=o.getTime(),a=localStorage.getItem(e)==="hide",i=Un(location.pathname).toLowerCase();i=i.startsWith("/")?i.substring(1):i;let l=n.some(c=>c.fullPathMatch?i===c.path:i.startsWith(c.path));return s&&!a&&l}A();function SNe({uid:e,startDate:t,endDate:o,cssClass:n,title:r,subtitle:s,description:a,cta:i,theme:l,buttonCss:c=""},d=Date.now(),p=location.pathname){if(p=Un(p),!w.marketing||d=o.getTime()||!VL()||ae.getItem(e)==="hide")return!1;let m=GL();if(!m)return!1;m.classList.add(`theme-${l}`);let g=u`

    ${r}

    ${s?u`

    ${s}

    `:""}
    ${i.title}
    `;return y(g,m),!0}function wNe(e=k0()){return SNe({uid:"2026-03--build",title:Jse,description:Xse,subtitle:Zse,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:eae},cssClass:"build-banner",theme:"light",startDate:new Date("2026-03-13T15:00:00.000Z"),endDate:new Date("2026-06-01T00:00:00.000Z")},e)}function Efe(){return wNe()}async function Afe(){if(!VL())return;w.connectedExperiences&&w.temporaryClientSideEventBanners?await Sfe():gfe();let e=zL.filter(o=>{let{id:n,startTime:r,endTime:s,bannerPaths:a}=o;return Cfe(n,r,s,a)}),t=!1;if(!(Efe()&&(t=!0,!w.connectedExperiences))&&!(e.length<1)){if(w.connectedExperiences&&e[0].displayType)wfe(e);else if(!t)for(let o of e){let n=GL();if(!n)return;let{id:r,eventTitle:s,eventDescription:a,linkHref:i,linkText:l}=o,c=CNe(`${r}-banner`,`${r}-event`,s,a,i,l);y(c,n);let d=n.querySelector("[data-dismiss]");d.onclick=()=>ae.setItem(r,"hide")}}}function CNe(e,t,o,n,r,s){let a=r&&s?u` ${s} `:"";return u` `}jp();async function ENe(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function kfe(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");ENe(e,t);let o={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},n=K(`${q.ocvFeedback}`,o),r=await M(n),s;if(r.ok)return s=await r.json(),s;throw new Error(`ocv api responded with ${r.status} ${r.statusText}`)}A();ze();var ANe=[Gse,cX,QW,rJ,sJ];function Ife(e,t,o,n,r,s,a=ANe,i=!1,l="star-rating-control"){let c=document.createElement("fieldset");c.classList.add("star-rating-control"),c.setAttribute("data-bi-name",l);let d=`font-size-${t}`,p=`font-size-${o}`,m=Je(),g=[],f=n==="display-inline-flex"?"":n;for(let T=0;T<5;T++){let I=Je();g.push(u` `)}let _=r?u`
    ${gJ}
    `:"",h=u` ${_}
    ${g}
    `,x=n==="display-inline-flex"?u`
    ${h}
    `:h;y(x,c);let v=c.querySelector(".rating-output");if(e!==0){let T=c.querySelector(`input[value="${e}"]`);T.checked=!0,v.textContent=T.nextElementSibling.textContent}return c.onmouseover=T=>{let I=T.target.closest("label");I&&(v.textContent=I.textContent)},c.onmouseleave=()=>{v.textContent=""},c.onchange=T=>{let I=T.target,C=parseInt(I.value),z=c.querySelectorAll(".star-collection input");for(let F=0;F=F?z[F].classList.add("is-selected"):z[F].classList.remove("is-selected");s(C),I.nextElementSibling&&(v.textContent=I.nextElementSibling.textContent)},c}var kNe=2539,INe=50033,Pfe=R.reviewFeatures?INe:kNe;var Lfe="a6b7c4ac-4c15-426f-b054-42341177dffc";var Rfe=[RZ,LZ,PZ,IZ,kZ];function Mfe(){Kt(GY,{text:zse,clickHandler:DNe},void 0,void 0,"mt-csat-banner")}var jL,lB,CS;function PNe(){return u` `}function LNe(){let e=Ife(0,"m","m","",!1,t=>jL=t,Rfe,!0);return u` `}function RNe(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:jL,verbatim:lB}})}function MNe(e){if(e.preventDefault(),CS){RNe(),kfe({manifestType:"Psat",appId:Pfe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:ed(),survey:{surveyId:Lfe},rating:jL,comment:lB||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),y(PNe(),t),CS.pushContent(t)}}function DNe(){let e=document.createElement("div");y(LNe(),e),CS=null,jL=null,CS=new be(e),CS.show()}var $Ne=it.machineTranslated;function $fe(e){let t=e.toLowerCase(),o=b.data.isEditDisplayable;if(w.translationFeedback){Mfe();return}pn()||t.startsWith("en-")||!$Ne||(o?Kt(WY):Kt(KY))}function Nfe(){let e=Array.from(document.querySelectorAll("[data-read-in-link]"));for(let t of e){let o=t.querySelector("[data-read-in-link-text]");if(cB()){let r=new URL(document.referrer),s=xS(r.pathname),a=OX.replace("{language}",Rl[s]);o.innerText=a,t.title=a,t.hidden=!1}else b.data.userLocale.includes("en-")||(o.innerText=SN,t.title=SN,t.hidden=!1);Dfe(t),window.addEventListener("popstate",()=>Dfe(t))}}function cB(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),n=new URL(t),r=xS(o.pathname),s=xS(n.pathname),a=yg(n.pathname,"en-us");return!(o.origin!==n.origin||o.pathname!==a||r===s)}function Dfe(e){let t=new URL(location.href);if(cB()){let o=new URL(document.referrer),n=xS(o.pathname);t.pathname=yg(t.pathname,n)}else t.pathname=yg(t.pathname,"en-us");e.href=t.href,NNe(e)}function NNe(e,t=cB()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}A();function qNe(e){let t=te().branch||ss.get("CONTENT_BRANCH")||"",o=e.sort().map(n=>``).join("");return`
    `}function dB(){if(!R.reviewFeatures)return;let e=document.getElementById("article-header-page-actions");if(e===null)return;let t=document.querySelector('meta[name="branches"]')?.content.split(",")??[];if(t.length===0)return;let o=document.createElement("div");o.classList.add("control"),o.id="branch-selector-container",o.innerHTML=qNe(t);let n=o.querySelector("select"),r=te().view||"",s=r?`view=${encodeURIComponent(r)}&`:"";n&&(n.onchange=()=>{let i=n.value;ss.set("CONTENT_BRANCH",i),window.location.search=`?${s}branch=${encodeURIComponent(i)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}A();var uB=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",Ut&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...o]}add(...t){t.forEach(o=>this.breadcrumbsList.push(o))}render(){pB(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;y(u` `,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),n=document.querySelectorAll(".has-interactive section.primary-holder"),r=document.getElementById("branch-selector"),s;r&&(s=FNe(n,r)),o&&y(u` ${s} `,o)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let o;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),o=u`${t.title}`):o=u`${t.title}`,u`
  • ${o}
  • `})}};function FNe(e,t){let o;if(e.length&&t){o=document.getElementById("branch-selector-container"),o&&o.classList.add("padding-xxs");let n=document.getElementById("article-header-breadcrumbs-overflow-popover");n&&n.setAttribute("style","display: inline-block !important")}return o}async function Xu(e){if(b.data.context.chromeless)return;await Se;let t=e||document.getElementById("article-header-breadcrumbs");return t?new uB(t):void 0}function pB(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},o=e.filter((n,r)=>n.url||r+1===e.length).map((n,r)=>{let s={name:n.title,position:r+1,"@type":"ListItem"};return n.url&&(s.item=n.url),s});if(t.itemListElement=o,t.itemListElement.length){let n=document.createElement("script");n.setAttribute("type","application/ld+json"),n.textContent=JSON.stringify(t),document.head.appendChild(n)}}function qfe(){let e=Array.from(document.querySelectorAll(".has-interactive section.primary-holder"));if(!e.length)return;let t=e[0],o=document.getElementById("article-header-breadcrumbs-overflow-popover");if(o){let r=document.getElementById("article-header-breadcrumbs-overflow");if(!r)return;o.addEventListener("toggle",()=>{r.getBoundingClientRect().width{s.getBoundingClientRect().width{S.body.removeChild(o)},()=>{S.body.removeChild(o),n=!1}),n}function mB(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(ys(e,t))}var QL=!1;function Ffe(){function e(t){let o=U.getSelection();if(!o)return;let n=o.toString(),r=gie(n);if(ES&&n!==r&&!QL){QL=!0,ys(r,t.target);return}Jt(t.target,{actionType:we.OTHER,behavior:le.COPY,content:{event:"copy",name:wm(t.target),value:n,unprintable:QL}}),QL=!1}S.addEventListener("copy",e,{passive:!0})}Cg();var Fi={any:!1};function ONe(){let e=xa("monikers");Fi.any=e.length>0;for(let t of e)Fi[t]=!0}ONe();function za(e){return e!==""&&Fi[e]!==void 0}A();function Dl(e){e&&e.addEventListener("click",t=>{let o=t.target instanceof HTMLElement&&t.target.closest("button[data-show-more]");if(o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest("button[data-show-more]")),o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest("button[data-show-more]")),!o)return;let n=o.getAttribute("aria-controls"),r=document.getElementById(n);if(r||(r=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${n}']`)),r||(r=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${n}']`)),!r)return;let s=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!s).toString());let a=Array.from(r.querySelectorAll(".expandable")),i=Array.from(document.querySelectorAll(`#${CSS.escape(n)} .expandable .expandable`));a=a.filter(d=>!i.includes(d));for(let d of a)d.classList.toggle("is-expanded");if(o.hasAttribute("data-show-once")){o.remove();let d=r.querySelector("[data-autofocus]");if(d){d.focus();return}let p=r.querySelector(bS.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Ld,hide:o.getAttribute("data-expanded-title")||Gf};if(l.innerText=s?c.show:c.hide,!s){let d=r.querySelector(".is-expanded");if(!d)return;let p=d.querySelector(bS.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():d.focus()}})}function Oi(e,t="show-more-btn",o,n,r,s,a,i,l){let c=o||"button button-primary",d=r||Ld;return u` `}A();var Hfe=6,zfe=4,Bfe=11,Vfe=9,UNe=9,Ufe=!1;function ep(){let e=S.getElementById("center-doc-outline"),t=S.getElementById("side-doc-outline");if(e===null||t===null){e?.remove(),t?.remove();return}let o="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",n=w.referenceRightRailH3?`#main h2:not(${o}), #main h3`:`#main h2:not(${o})`,r=Array.from(S.querySelectorAll(n)),s=[];if(r.forEach(a=>{let i=a.tagName.toLowerCase(),l=a.offsetParent!==null,c=Qp(a).trim();l&&c.length>0&&(a.id||(a.id=c.toLowerCase().replace(/\s+/g,"-")),i==="h2"?s.push({text:c,id:a.id,children:[]}):i==="h3"&&s[s.length-1].children?.push({text:c,id:a.id}))}),s.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,HNe(s,e),zNe(s,t)}function HNe(e,t){let o=b.data.pageTemplate==="Reference",n="content-well-in-this-article-list",r=o?Gfe(e,n,"content-well"):jfe(e,n,"content-well");y(u`

    ${mN}

    ${r} `,t)}function zNe(e,t,o=b.data.pageTemplate){let n=e.length>UNe,r=o==="Reference",s="right-rail-in-this-article-list",a=r?Gfe(e,s,"right-rail"):jfe(e,s,"right-rail");y(u`

    ${mN}

    ${a} `,t),n&&!Ufe&&(Dl(t),Ufe=!0)}function Gfe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"",r=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",s=o==="content-well"?"":"color-text-subtle",a=o==="content-well"?Hfe:Bfe,i=o==="content-well"?zfe:Vfe,l=e.length>=a,c=u`
      ${e.map(({text:p,id:m,children:g},f)=>{let _=g?.length?u`
      1. ${p}
      2. ${g?.map(({text:v,id:T})=>u`
      3. ${v}
      4. `)}
      `:"",x=l&&f>=i?"expandable":"";return _?u`
    1. ${p} ${_}
    2. `:u`
    3. ${p}
    4. `})}
    `;return l?u` ${c} ${Qfe(e,t,i,o)} `:c}function jfe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",r=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",s=o==="content-well"?"":"color-text-subtle",a=o==="content-well"?Hfe:Bfe,i=o==="content-well"?zfe:Vfe,l=e.length>=a,c=u`
      ${e.map(({text:p,id:m},g)=>{let _=l&&g>=i?"expandable":"";return u`
    1. ${p}
    2. `})}
    `;return l?u` ${c} ${Qfe(e,t,i,o)} `:c}function Qfe(e,t,o,n){let r=e.length-o,s=l0.replace("{number}",r.toString());return Oi(t,"show-more-btn",`link-button font-weight-semibold font-size-sm margin-top-xxs ${n==="content-well"?"margin-left-xs":"margin-left-xxs"}`,void 0,s,!0)}var $l,Nl;function bB(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?$l=e:($l=document.createElement("div"),$l.setAttribute("role","alert"),$l.setAttribute("aria-live","assertive"),$l.setAttribute("aria-relevant","additions"),$l.setAttribute("aria-atomic","true"),$l.classList.add("visually-hidden"),$l.setAttribute("id","assertive-live-region"),document.body.appendChild($l)),t?Nl=t:(Nl=document.createElement("div"),Nl.setAttribute("role","status"),Nl.setAttribute("aria-live","polite"),Nl.setAttribute("aria-relevant","additions"),Nl.setAttribute("aria-atomic","true"),Nl.classList.add("visually-hidden"),Nl.setAttribute("id","polite-live-region"),document.body.appendChild(Nl))}function BNe(e){let t=e.querySelector('.contextual-live-region[aria-live="assertive"]'),o=e.querySelector('.contextual-live-region[aria-live="polite"]');return t||(t=document.createElement("div"),t.setAttribute("role","alert"),t.setAttribute("aria-live","assertive"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-atomic","true"),t.classList.add("contextual-live-region","visually-hidden"),e.appendChild(t)),o||(o=document.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","polite"),o.setAttribute("aria-relevant","additions"),o.setAttribute("aria-atomic","true"),o.classList.add("contextual-live-region","visually-hidden"),e.appendChild(o)),{contextualAssertiveRegion:t,contextualPoliteRegion:o}}function VNe(e){bB();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?$l:Nl;let{contextualAssertiveRegion:o,contextualPoliteRegion:n}=BNe(t);return e==="assertive"?o:n}function kt(e,t="polite",o=5e3){let n=VNe(t);n.innerHTML="";let r=document.createElement("div");r.setAttribute("role","none"),r.textContent=e,n.appendChild(r),setTimeout(()=>{r?.remove()},o)}var WL=class{constructor(t){this.expanded=t}},_B={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},vB;function yB(e,t){vB=t;let o=document.documentElement.classList,n=document.querySelector(".action-panel");if(o.contains("ap-layout")||e==="none")return n;let r=document.querySelector("[data-main-column]"),s=Wfe();o.add("ap-layout"),e==="animate"&&o.add("ap-layout-animates"),setTimeout(()=>o.add("ap-layout-in"),20);let a=()=>{n.removeEventListener("transitionend",a),o.remove("ap-layout-animates"),o.add("ap-layout-finished"),GNe(n),Pt(),s(r),n?.setAttribute("aria-expanded","true"),n?.focus(),ut.publish(new WL(!0))};return n.addEventListener("transitionend",a),n}function GNe(e){let t=(()=>{let n=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(n).getPropertyValue("height")})(),o=document.querySelector(".ap-layout-finished [data-main-column]");e.style.top=t,o.style.top=t,o.classList.add("padding-top-none")}function Yfe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=Wfe(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),Pt(),t(document.documentElement),vB&&vB.focus(),o?.setAttribute("aria-expanded","false"),ut.publish(new WL(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function Wfe(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let o=t.length-1;o>=0;o--){let n=t.item(o);if(n.hasAttribute("hidden"))continue;let{top:r}=n.getBoundingClientRect();if(r<=5||o===0){let s=n.clientWidth;return a=>{n.scrollIntoView(!0),a.scrollTop-=r*s/n.clientWidth}}}return()=>{}}function Kfe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${_B.expandButton}, .${_B.collapseButton}`);t&&(t.classList.contains(_B.expandButton)?yB("animate",t):Yfe())}),kde.addListener(Yfe)}function Jfe(){if(window.scrollTo(0,0),!w.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Cg();A();var jNe=0,Xfe="code-try-",QNe=(()=>{let e=location.hash.split(Xfe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),YNe=()=>jNe++,WNe=e=>e===QNe,Zfe=!1;function xB(){Zfe||(Zfe=!0,S.addEventListener("click",e=>{let o=e.target.closest("[data-code-header-copy-button]");o&&(e.preventDefault(),KNe(o))}))}function KNe(e){if(!ES||!e||!o2e(e))return;let t=e.closest("[data-code-block-header]"),o=JNe(t);if(!o)return;let n=o.getAttribute("data-language")||"",r=o.firstElementChild||o;t2e(r,n),e.focus()}function JNe(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function ZNe(e,t){return t==="rtl"?Ge(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function ehe(e,t){xB();let o=S.createElement("div"),n=YNe(),r=`${Xfe}${n}`;o.classList.add("code-block-header","margin-top-sm"),o.setAttribute("data-code-block-header",""),o.setAttribute("id",r),o.setAttribute(Ao.name,"code-header"),e.monikers&&o.setAttribute("data-moniker",e.monikers);let s=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),a=ES?TB():"",i=s&&e.interactiveType?XNe(e.interactiveType):"",l=u` ${N(ZNe(e.displayName,t))}
    ${a} ${i}
    `;y(l,o),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,d=e.scaffoldingType;if(s){let p=o.querySelector("button[data-code-header-action-button]");if(p){let m=c?.activateButtonConfig;for(let f of m?.attributes||[])p.setAttribute(f.name,f.value);let g=(f,_=!1)=>{_!==!0&&history.replaceState(null,"",`#${r}`),p.classList.add("is-loading"),p.disabled=!0;let h=e.element.textContent?.trim()||"",x;if(c){if(b.data.pageTemplate==="ModuleUnit"){let v=S.getElementById("interactive-container");x=hB(c,v)}else{let v=yB("animate",p);x=hB(c,v)}x.setCode(h,d).then(()=>x.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),WNe(n)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}function TB(){return u` `}function XNe(e){let t=e.activateButtonConfig;return u` `}var A_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),e2e={powershell:e=>A_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:A_,azurepowershell:A_,"azurepowershell-interactive":A_,"cloudshell-powershell":A_,ps:A_};function t2e(e,t){let n=(e2e[t]||(r=>r))(e.textContent?.trim()||"");return ys(n,e)}function o2e(e){if(e.getAttribute("debounce")==="true")return!1;let t=e.querySelector("[data-copy-button-success-indicator]");return t?.classList.remove("is-transparent"),e.setAttribute("debounce","true"),kt(hE,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var jt=class extends Error{constructor(t){let{status:o,statusText:n,url:r}=t,s=SB(t.headers);super(`Unexpected response status ${o}: ${n} from "${r}". Headers: ${JSON.stringify(s,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=o,this.statusText=n,this.url=r,this.headers=s}};function SB(e){let t;try{t=Object.fromEntries(e)}catch{t={error:"Unable to serialize headers"}}if("set-cookie"in t){let o=t["set-cookie"];t["set-cookie"]=`[Redacted. Length=${o.length}]`}return t}async function k_(e,t=b.data.userLocale){let o=`${q.taxonomy}?${ne({name:e,locale:t})}`,n=await M(o);if(n.ok)return(await n.json())[e].map(s=>({value:s.slug,displayName:s.styleGuideLabel||s.label,level:s.level?+s.level:s.level,parent:s?.parentSlug}));throw new jt(n)}var wB=class{constructor(){this.cache={}}async get(t){return await this.getInternal(t)}async getFamily(t){return await this.getInternal(t,1)}taxonomyTermsToTaxonomyMap(t,o){return t.reduce((n,r)=>((!o||r.level===o)&&(n[r.value]=r.displayName),n),{})}async getInternal(t,o){let n=[];try{t in this.cache||(this.cache[t]=k_(t)),n=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(n,o)}},AS=new wB;var the="proglang",I_={getDisplayNames:()=>AS.get("devlang"),visibilityMap:{"aspx-csharp":"csharp","aspx-vb":"vb"},syntaxMap:{aspx:"csharp",azdeveloper:"azurecli",azurepowershell:"powershell",cppcx:"cpp",cppwinrt:"cpp",hcl:"json",nodejs:"js",nosql:"sql"},unset:"",default:n2e(),get preferred(){return(ae.getItem(the)||I_.unset).substr(5)},set preferred(e){ae.setItem(the,"lang-"+e)}};function n2e(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var KL,r2e=0,ohe={};function JL(e){KL===void 0&&s2e();let t={id:r2e++,instructions:e};return KL.postMessage(t),new Promise(o=>ohe[t.id]=o)}function s2e(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${a2e.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);KL=new Worker(o),KL.onmessage=n=>{let r=n.data;ohe[r.id](r.results)}}function a2e(e){function t(l,c){let d=[];if(c===null)return d;let p=/\n/g,m=1;for(;p.exec(l);)m++;let g=/(\d+)(?:\s*-\s*(\d+))?/g,f;for(;f=g.exec(c);){let _=+f[1]-1;if(isNaN(_)||_>=m)continue;let h=f[2]===void 0?_:+f[2]-1;isNaN(h)||h<_||(h=Math.min(h,m-1),d.push({start:_,end:h}))}return d}let o=/.*<\/rgn>/gi,n=/RGNPLACEHOLDER/g,r="RGNPLACEHOLDER";function s(l,c){return l.replace(o,d=>(c.push(d),r))}function a(l,c){return l.replace(n,()=>c.shift())}function i(l){let{id:c,instructions:d}=l.data,p=[];for(let{language:g,code:f,highlightLines:_}of d){let h={code:f,html:"",success:!1};try{let x=[],v=s(f,x),T=[],I=t(f,_);if(I.length){let F=v.split(` `),de=0;I.forEach(Ce=>{Ce.start>de&&T.push({highlight:!1,lines:F.slice(de,Ce.start).join(` `)}),T.push({highlight:!0,lines:F.slice(Ce.start,Ce.end+1).join(` `)}),de=Ce.end+1}),de<=F.length&&T.push({highlight:!1,lines:F.slice(de).join(` `)})}else T.push({highlight:!1,lines:v});let C=null,z="";do{let F=T.shift(),{value:de,top:Ce}=hljs.highlight(g,F.lines,!0,C);C=Ce,z+=F.highlight?`${de}`:`${de}`,T.length&&(z+=` `)}while(T.length);h.html=a(z,x),h.success=!0}catch{}p.push(h)}let m={id:c,results:p};self.postMessage(m,void 0)}self.importScripts(e),self.addEventListener("message",l=>{i(l)})}function i2e(e,t){for(let o=0;o code, span[class*="lang-"]'),s=[],a;if(r.length>0){let i=await t.getDisplayNames();for(let l=0;l({language:r.syntaxLanguage,code:r.code,highlightLines:r.highlightLines}));return o.forEach(r=>{ehe(r,t)}),JL(n).then(r=>{for(let s=0;s{n.element.hidden=!r,n.header&&(n.header.hidden=!r)};for(let n of e){let r=!1;for(let s of n.members){let a=s.visibilityLanguage===t||s.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(s,a),r=r||a}r||o(n.default,!0)}Pt()}function c2e(e,t,o=location.search){let n=u2e(e,o),r=t.preferred;return r!==t.unset&&e.indexOf(r)!==-1&&(n.length===0||n.indexOf(r)!==-1)?r:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(n.length===0||n.indexOf(t.default)!==-1)?t.default:n.length!==0?n[0]:e[0]}var d2e=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function ZL(){S.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=rt(),t=S.querySelectorAll(".cdlHolder");za(e)&&t.forEach(function(o){let n=o.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);n.length>0&&n[n.length-1].classList.add("cdlLastVisible")})}async function kS(e){if(d2e.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(S.querySelectorAll(".lang-title")),o=Array.from(S.querySelectorAll(".language-selector button")),n=[];if(o.length>0){let c=await I_.getDisplayNames();o.forEach(d=>{if(b.data.userDir==="rtl"?d.classList.add("justify-content-flex-end"):d.classList.add("justify-content-flex-start"),d.dataset.biName){let p=d.dataset.biName.substr(5);d.textContent=c[p],n.push(p)}})}let r=o!==null&&n.length>0,s=await l2e(e??S.body,I_,n);if(r){let c=c2e(n,I_),d=S.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=d.textContent}),rhe(s,c),ZL(),o.forEach(p=>{p===d&&p.setAttribute("aria-pressed","true"),Ot(p,"click",()=>{if(o.forEach(m=>{m.setAttribute("aria-pressed","false")}),p.setAttribute("aria-pressed","true"),t.forEach(m=>{m.textContent=p.textContent}),p.dataset.biName){let m=p.dataset.biName.substr(5);I_.preferred=m,rhe(s,m)}ZL(),ep(),nhe(s,b.data.contentDir)})})}let a=s.flatMap(c=>c.members),i=0;function l(){cancelAnimationFrame(i),i=requestAnimationFrame(()=>she(a))}return window.addEventListener("resize",l,{passive:!0}),she(a),nhe(s,b.data.contentDir)}function she(e){e.forEach(t=>{let{type:o,element:n}=t;if(o!=="precode")return;n.scrollWidth>n.clientWidth?(n.setAttribute("role","group"),n.setAttribute("aria-label",pJ),n.tabIndex=0):(n.removeAttribute("role"),n.removeAttribute("aria-label"),n.removeAttribute("tabindex"))})}function u2e(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}ze();var IS={401:qp,403:KN,404:qp,422:qp,429:KN,500:qp};async function ahe(e){let t={payload:{platformId:e}};try{let o=await M(K(q.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),n=o.status.toString();if(n in IS)try{return{message:(await o.json())?.message||IS[n],errorCode:n}}catch{return{message:IS[n],errorCode:n}}if(o.ok)try{let r=await o.json();return"errorCode"in r||r?.message?r:{message:ZN,errorCode:"500"}}catch{return{message:ZN,errorCode:"500"}}return{message:JN,errorCode:o.status.toString()}}catch{return{message:JN,errorCode:"500"}}}var Ze=class{},Eg=class{};var ql="ms--ai-summary-body",ihe="ms--ai-summary",od="ms--ai-summary-header",lhe="ms--ai-summary-cta",che="ms--ai-summary-feedback",tp="ai-summary",dhe="ms--ai-summary-feedback-buttons",uhe="ms--ai-summary-feedback-thanks";ze();A();function phe(e){switch(e.state){case"ready":case"loading":return h2e(e);case"loaded":return p2e(e);case"errored":return b2e(e);default:return u``}}function CB(e,t){return u`

    ${t}

    `}function p2e(e){let t=u``;if(e.response){let{message:o}=e.response;o?t=u`${m2e(o)} ${g2e(e)} `:t=u`

    ${p0}

    `}return u`
    ${CB(e,jf)}
    ${t}
    `}function m2e(e){return u`
    ${N(e)}
    `}function g2e(e){return u`
    ${Rd} ${N(lre)} ${f2e(e)}
    `}function f2e(e){return u`
    ${Yf}
    `}function h2e(e){return u`
    ${CB(e,jf)}

    ${u0}

    `}function b2e(e){let{errorCode:t}=e.response,n=IS[t]??qp;return u`
    ${CB(e,jf)}
    ${n}
    `}function mhe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var Fl,PS,LS,P_,L_,R_,M_,D_,$_,XL=class extends Be{constructor(o){super();this.state="ready";eo(this,Fl,null);eo(this,PS);eo(this,LS);eo(this,P_,!1);eo(this,L_,null);eo(this,R_,null);eo(this,M_,!1);eo(this,D_,!0);eo(this,$_,!0);At(this,LS,L("platform_id")??""),At(this,PS,o)}set sessionId(o){At(this,L_,o)}get sessionId(){return Ae(this,L_)}set interactionId(o){At(this,R_,o)}get interactionId(){return Ae(this,R_)}get response(){return Ae(this,Fl)}set response(o){At(this,Fl,o)}get visible(){return Ae(this,P_)}set visible(o){Ae(this,P_)!==o&&(At(this,P_,o),this.notifyStateChanged())}get showFeedbackThanks(){return Ae(this,M_)}set showFeedbackThanks(o){Ae(this,M_)!==o&&(At(this,M_,o),this.notifyStateChanged())}get showHeader(){return Ae(this,D_)}set showHeader(o){Ae(this,D_)!==o&&(At(this,D_,o),this.notifyStateChanged())}get showCta(){return Ae(this,$_)}set showCta(o){Ae(this,$_)!==o&&(At(this,$_,o),this.notifyStateChanged())}async fetch(){try{if(!this.response||mhe(this.response)===!0){this.state="loading",this.notifyStateChanged();let o=new Date().toISOString(),n=await Ae(this,PS).call(this,Ae(this,LS));if(mhe(n)){this.state="errored",At(this,Fl,n),this.notifyStateChanged();return}else{At(this,Fl,n),At(this,L_,n?.sessionId??null),At(this,R_,n?.interactionId??null);let r=new Date().toISOString();this.timeToContentTelemetry(o,r);try{let a=new DOMParser().parseFromString(Ae(this,Fl).message??"","text/html");a.querySelectorAll("[id]").forEach(i=>{i.removeAttribute("id"),i.tagName.match(/^H[1-6]$/)&&i.classList.add("margin-top-xs")}),Ae(this,Fl).message=a.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(o){this.state="errored",At(this,Fl,{message:o.message,errorCode:o.name}),this.notifyStateChanged()}}displayThanksForFeedback(o){this.showFeedbackThanks=!0,xe({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-feedback",aN:tp,timestamp:new Date().toISOString(),sessionId:this.sessionId,interactionId:this.interactionId,feedbackData:{sat:o?1:0}}})}toggleAiSummaryVisibility(){this.visible=!this.visible,this.showHeader=!1,this.showCta=!0,this.visible||(this.showFeedbackThanks=!1),this.state==="errored"&&(this.state="ready")}timeToContentTelemetry(o,n){xe({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:tp,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:o,returnedTimestamp:n}})}notifyStateChanged(){this.publish(new Ze)}};Fl=new WeakMap,PS=new WeakMap,LS=new WeakMap,P_=new WeakMap,L_=new WeakMap,R_=new WeakMap,M_=new WeakMap,D_=new WeakMap,$_=new WeakMap;async function ghe(){let e=w.aiSummary&&await On("ai-summary")||Ve("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),o=document.getElementById(ihe),n=document.getElementById(od),r=document.getElementById(lhe);if(!e||!t||!o||!n||!r)return;t.hidden=!1;let s=new XL(ahe),a=!1;o.addEventListener("click",async()=>{s.showHeader=!0,s.showCta=!1,s.visible=!0;let i=document.getElementById(od);if(!i)return;let l=()=>{n.hidden=!s.showHeader,r.hidden=!s.showCta,y(phe(s),i)};a||(s.subscribe(Ze,l),a=!0),l(),s.state==="ready"&&await s.fetch()})}A();function EB(e){return new Promise((t,o)=>{let n=S.createElement("img");n.classList.add("visually-hidden"),n.setAttribute("aria-hidden","true"),n.src=e,n.onload=()=>{n.remove(),t(null)},n.onerror=()=>{n.remove(),o()},S.body.appendChild(n)})}function RS(e){let t=S.createElement("link");t.rel="preload",t.as="image",t.href=e,S.head.appendChild(t)}function fhe(e,t,o,n=500){let r=0,s=(...a)=>{t(r),r=e.apply(null,[o.bind(null,...a),n])};return s.cancel=()=>t(r),s}var N_={timeout:fhe.bind(null,setTimeout,clearTimeout),animationFrame:fhe.bind(null,U.requestAnimationFrame,U.cancelAnimationFrame)};function hhe(){_2e()}var AB=!1;function kB(e,t,o=()=>{}){window.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest(e)&&o(()=>t.show())})}function IB(e,t=()=>{},o=!1){window.addEventListener("click",n=>{let r=n.target instanceof HTMLElement&&n.target.closest(e);!r||!document.querySelector(".layout-body-flyout")||t(()=>{Ag(r,o)})})}async function bhe(e,t,o,n=()=>{}){window.addEventListener("click",s=>{let a=s.target instanceof HTMLElement&&s.target.closest(e);a&&(s.preventDefault(),n(()=>{kr.matches?o(a,!0):t()}))}),await Se;let r=document.querySelector(e);r&&(r.hidden=!1)}function Ag(e,t=!1){let o=document.querySelector(".layout-body-flyout");if(!o)return;AB=!AB;let n=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add";if(n==="remove"?window.dispatchEvent(new CustomEvent("flyout-hide")):window.dispatchEvent(new CustomEvent("flyout-show")),!t||n==="add"){document.documentElement.classList[n]("layout-flyout-active"),e.classList[n]("is-selected");let r=n==="add"?"true":"false";e.setAttribute("aria-expanded",r),Pt()}if(t||n==="add"){e.dataset.flyoutReturnFocus="true";let r=o.querySelector('button[data-flyout-button="close"]');r&&r.focus()}}function _2e(){window.addEventListener("click",e=>{let t=e.target instanceof HTMLElement&&e.target.closest('[data-flyout-button="close"]');if(!t||t.closest(".modal")||!document.querySelector(".layout-body-flyout"))return;let s=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');s&&(s.focus(),s.removeAttribute("data-flyout-return-focus"),s.hasAttribute("aria-expanded")&&s.setAttribute("aria-expanded","false"),s.classList.remove("is-selected")),AB=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),Pt()})}function _he(e,t){if(localStorage.getItem("playwrightActive"))return;let o=document.querySelector(t);if(!o)return;let n=kr.matches,r=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),s=()=>document.documentElement.classList.contains("layout-flyout-active"),a=()=>{document.documentElement.classList.remove("layout-flyout-active"),o.classList.remove("is-selected")},i=()=>{let l=kr.matches;!n&&l&&r()?(e.hide(),Ag(o,!0)):n&&!l&&s()&&(e.show(),a()),n=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(i)}),i()}var PB="[data-ask-learn-modal-entry]",MS="[data-ask-learn-flyout-entry]",eR="[data-ask-learn-modal-entry-feedback]",tR="[data-ask-learn-flyout-entry-show-only]",vhe="[data-skip-to-ask-learn]",yhe=[PB,MS];function The(){xhe(),ut.subscribe(To,xhe)}async function xhe(){await Se,Array.from(document.querySelectorAll(yhe.join(","))).forEach(o=>o.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(o=>o.hidden=!0)}A();A();function She(e){let{text:t,biName:o,biTn:n,alignment:r,action:s}=e;return u` `}function v2e(e,t){let o=[];for(let r=0;r`)}let n=qre.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return u`

    ${n}

    `}function y2e(e){return u` `}function LB(e,t,o){let n=y2e(e.imageSrc);return u` `}function whe(e,t,o){e0&&Ehe(e-1,t,o)}var x2e='[data-focus-on-button-click="true"]';function Ehe(e,t,o){let n=document.createElement("div"),r=LB(t[e],e,t.length);y(r,n),o.pushContent(n);let s=n.querySelector(x2e);s&&s.focus()}function Ahe(e){e.hide()}function khe(e,t){e.hide(),localStorage.setItem(t,"2")}function Ihe(e,t,o,n,r,s,a,i){return{fetch:e,maxMessages:t,getContextIdType:o,getContextId:n,validate:r,errorMapping:s,starterPrompts:a,suggestionPills:i}}var oR="/en-us/media/ask-learn/meet-ask-learn-base.png",nR="/en-us/media/ask-learn/check-for-accuracy-base.png",rR="ask-learn-history",op="ask-learn-history-last-interaction-time",nd="ask-learn-open-status";function T2e(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function S2e(e){return T2e(e)?"non_unicode_characters":null}var DS={"validation-failure":ZC,"session-not-found":lc,"interaction-not-found":lc,open_ai_content_filter:E$,copilot_content_filter:E$,knowledge_index_no_results:uy,copilot_invalid_urls:uy,open_ai_empty_message:uy,failed_to_parse_open_ai_message:uy,non_unicode_characters:qj,open_ai_too_many_requests:Dj},w2e=[{icon:"text-align-left",header:"Clarify",description:"Tell me more about [concept]",prompt:"Tell me more about: "},{icon:"edit-outline",header:"Define",description:"Tell me the meaning of [term/concept]",prompt:"Tell me the meaning of: "},{icon:"chat-bubbles-question",header:"Guide",description:"Tell me how to [concept]",prompt:"Tell me how to: "}],C2e=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],Lhe={like:{[uj]:"01-ai-positive-accurate-relevant",[pj]:"02-ai-positive-complete-clear",[mj]:"03-ai-positive-fast",[C$]:"00-ai-positive-other"},dislike:{[gj]:"01-ai-negative-inaccurate-irrelevant",[fj]:"02-ai-negative-incomplete-unclear",[bj]:"03-ai-negative-slow",[hj]:"04-ai-negative-offensive-inappropriate",[C$]:"00-ai-negative-other"}},E2e=120*1e3;async function A2e(e){let t={body:JSON.stringify({message:e.message,payload:{message:e.message,pageTemplate:e.pageTemplate,idType:e.idType,id:e.id},...e.sessionId?{sessionId:e.sessionId}:{}}),headers:{Accept:"applicationhttps://www.microsoft.com/json","Content-Type":"applicationhttps://www.microsoft.com/json"},method:"POST"};try{let o=await M(K(q.copilot.chatAssistant,t,!0),{},E2e);if(o.status===401)return fe(o),{message:KC,isError:!0};if(!o.ok)try{let r=await o.json();return{message:r.errorCode&&r.errorCode in DS?DS[r.errorCode]:lc,interactionId:r.additionalData?.interactionId,isError:!0}}catch{return{message:lc,isError:!0}}let n=await o.json();return"errorCode"in n?{message:n.errorCode&&n.errorCode in DS?DS[n.errorCode]:lc,interactionId:n?.additionalData?.interactionId,isError:!0}:{sessionId:n.sessionId,interactionId:n.interactionId,message:n.message,responseCount:n.assistantMessageCount,citations:n.citations}}catch{return{message:lc,isError:!0}}}var k2e=10;function Phe(){if(new URLSearchParams(window.location.search).has("excludeContext"))return{uid:void 0,contextIdType:void 0};if(b.data.pageTemplate==="ModuleUnit"){let n=L("uid");if(n)return{uid:Ut?n.replace("learn-test","learn"):n,contextIdType:"unitUid"}}let o=L("platform_id");return o?{uid:o,contextIdType:"platformId"}:{uid:void 0,contextIdType:void 0}}async function I2e(){return Ihe(A2e,k2e,()=>Phe().contextIdType||"",()=>Phe().uid||"",S2e,DS,w2e,C2e)}var Rhe=I2e();var kg="ask-learn-assistant";function P2e(e,t){let o=[{title:yj,imageSrc:oR,descriptions:[WC],buttonLeft:{text:vj,biName:"01-not-now",biTn:kg,alignment:"left",action:()=>{Ahe(e),t?.()}},buttonRight:{text:va,biName:"01-next",biTn:kg,alignment:"right",action:()=>whe(0,o,e)}},{title:xj,imageSrc:nR,descriptions:[Tj,Sj],buttonLeft:{text:Xi,biName:"02-previous",biTn:kg,alignment:"left",action:()=>Che(1,o,e)},buttonRight:{text:wj,biName:"try-cta",biTn:kg,alignment:"right",action:()=>{khe(e,kg),t?.()}}}];return o}function RB(){let e=localStorage.getItem(kg);return e?Number(e):0}function Ig(e){let t=RB();if(t>=2||document.documentElement.classList.contains("layout-flyout-active")){e?.();return}else t++,localStorage.setItem(kg,t.toString());let o=document.createElement("div");document.body.appendChild(o);let n=new be(o,""),r=P2e(n,e),s=LB(r[0],0,r.length);y(s,o),n.show()}function L2e(e,t,o){return`
    ${e}
    ${e}. ${t}
    `}function Mhe(e){return e?Object.entries(e).map(([t,o])=>{let n=parseInt(t),{title:r,url:s}=o;return L2e(n,r,s)}):[]}function MB(e,t){if(!e||!t.length)return;let o=n=>{if(!n.open)return;let r=n.querySelector(".popover-content"),s=n.querySelector(".tag-summary");if(!r||!s)return;n.classList.add("popover-left"),r.offsetHeight;let a=e.getBoundingClientRect(),i=s.getBoundingClientRect(),l=r.getBoundingClientRect();i.left+i.width/2-l.width/2>=a.left&&(n.classList.remove("popover-left"),r.offsetHeight)};t.forEach(n=>{n.querySelectorAll("details.popover.tag-popover").forEach(s=>{s.addEventListener("toggle",a=>{let i=a.target;i.open&&o(i)})})})}A();A();function rd(){return u`
    ${ij}
    `}A();A();function R2e(e,t,o,n,r,s){let a=`${e}-${t}-msg${r}`,i=`${e}-${t}-msg${r}-choice${s}`;return u` `}function M2e(e,t,o){return Object.entries(Lhe[o]).map(([s,a],i)=>R2e(t,o,s,a,e.index,i))}function D2e(e){return t=>{if(!t)return;let o=t.currentTarget;if(!o)return;let n=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!n).toString());let r=o.getAttribute("aria-controls");if(!r)return;e.previewPayload(t);let s=`${r}-disclaimer`,a=document.getElementById(s);if(!a)return;let i=An(Dhe(!n),u``);y(i,a),o.textContent=n?Pd:Ny}}async function Dhe(e){return await ve,k&&k.authenticationMode==="AAD"?N(e?wE:Ty):N(SE)}function $2e(e,t,o,n,r=Dhe(!1)){let s=Oi(n,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",D2e(e),Pd,!0,!1,`ask-learn-show-more-${e.index}-${o}`),a=`${t}-feedback-payload-${e.index}-${o}`;return u`
    ${An(r,u``)}
    ${N2e(e,a)}
    ${s}
    `}function N2e(e,t){return u` `}function q2e(e,t,o){let n=`${t}-feedback-textarea-${e.index}-${o}`,r=`${t}-see-more-${e.index}-${o}`;return u`
    e.handleSubmit(e,s)}>
    ${Mj}
    ${M2e(e,t,o)}

    ${$2e(e,t,o,r)}

    `}function $he(e,t){let o;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?o=u` ${rd()}
    ${_j}
    `:(e.state==="like"||e.state==="dislike")&&(o=q2e(e,t,e.state)),u`
    ${o}
    `)}var TR={};Do(TR,{default:()=>xR});var zB={};Do(zB,{arrayReplaceAt:()=>HB,assign:()=>F_,escapeHtml:()=>ad,escapeRE:()=>yqe,fromCodePoint:()=>qS,has:()=>cqe,isMdAsciiPunct:()=>Rg,isPunctChar:()=>Lg,isSpace:()=>Rt,isString:()=>gR,isValidEntityCode:()=>fR,isWhiteSpace:()=>Pg,lib:()=>xqe,normalizeReference:()=>Mg,unescapeAll:()=>sd,unescapeMd:()=>gqe});var cR={};Do(cR,{decode:()=>$S,encode:()=>iR,format:()=>q_,parse:()=>NS});var Nhe={};function F2e(e){let t=Nhe[e];if(t)return t;t=Nhe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);t.push(n)}for(let o=0;o=55296&&d<=57343?r+="\uFFFD\uFFFD\uFFFD":r+=String.fromCharCode(d),s+=6;continue}}if((i&248)===240&&s+91114111?r+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,r+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),s+=9;continue}}r+="\uFFFD"}return r})}sR.defaultChars=";/?:@&=+$,#";sR.componentChars="";var $S=sR;var qhe={};function O2e(e){let t=qhe[e];if(t)return t;t=qhe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2))}for(let o=0;o"u"&&(o=!0);let n=O2e(t),r="";for(let s=0,a=e.length;s=55296&&i<=57343){if(i>=55296&&i<=56319&&s+1=56320&&l<=57343){r+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[s])}return r}aR.defaultChars=";/?:@&=+$,-_.!~*'()#";aR.componentChars="-_.!~*'()";var iR=aR;function q_(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function lR(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var U2e=/^([a-z0-9.+-]+:)/i,H2e=/:[0-9]*$/,z2e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,B2e=["<",">",'"',"`"," ","\r",` `," "],V2e=["{","}","|","\\","^","`"].concat(B2e),G2e=["'"].concat(V2e),Fhe=["%","/","?",";","#"].concat(G2e),Ohe=["/","?","#"],j2e=255,Uhe=/^[+a-z0-9A-Z_-]{0,63}$/,Q2e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Hhe={javascript:!0,"javascript:":!0},zhe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Y2e(e,t){if(e&&e instanceof lR)return e;let o=new lR;return o.parse(e,t),o}lR.prototype.parse=function(e,t){let o,n,r,s=e;if(s=s.trim(),!t&&e.split("#").length===1){let c=z2e.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=U2e.exec(s);if(a&&(a=a[0],o=a.toLowerCase(),this.protocol=a,s=s.substr(a.length)),(t||a||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(a&&Hhe[a])&&(s=s.substr(2),this.slashes=!0)),!Hhe[a]&&(r||a&&!zhe[a])){let c=-1;for(let f=0;f127?v+="x":v+=x[T];if(!v.match(Uhe)){let T=f.slice(0,_),I=f.slice(_+1),C=x.match(Q2e);C&&(T.push(C[1]),I.unshift(C[2])),I.length&&(s=I.join(".")+s),this.hostname=T.join(".");break}}}}this.hostname.length>j2e&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let i=s.indexOf("#");i!==-1&&(this.hash=s.substr(i),s=s.slice(0,i));let l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),zhe[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};lR.prototype.parseHost=function(e){let t=H2e.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var NS=Y2e;var DB={};Do(DB,{Any:()=>Bhe,Cc:()=>Vhe,Cf:()=>Ghe,P:()=>dR,S:()=>uR,Z:()=>jhe});var Bhe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var Vhe=/[\0-\x1F\x7F-\x9F]/;var Ghe=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;var dR=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;var uR=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;var jhe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Qhe=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var Yhe=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var $B,W2e=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),NB=($B=String.fromCodePoint)!==null&&$B!==void 0?$B:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function qB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=W2e.get(e))!==null&&t!==void 0?t:e}var Bn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Bn||(Bn={}));var K2e=32,np;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(np||(np={}));function FB(e){return e>=Bn.ZERO&&e<=Bn.NINE}function J2e(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_F||e>=Bn.LOWER_A&&e<=Bn.LOWER_F}function Z2e(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_Z||e>=Bn.LOWER_A&&e<=Bn.LOWER_Z||FB(e)}function X2e(e){return e===Bn.EQUALS||Z2e(e)}var zn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(zn||(zn={}));var Ol;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ol||(Ol={}));var pR=class{constructor(t,o,n){this.decodeTree=t,this.emitCodePoint=o,this.errors=n,this.state=zn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ol.Strict}startEntity(t){this.decodeMode=t,this.state=zn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,o){switch(this.state){case zn.EntityStart:return t.charCodeAt(o)===Bn.NUM?(this.state=zn.NumericStart,this.consumed+=1,this.stateNumericStart(t,o+1)):(this.state=zn.NamedEntity,this.stateNamedEntity(t,o));case zn.NumericStart:return this.stateNumericStart(t,o);case zn.NumericDecimal:return this.stateNumericDecimal(t,o);case zn.NumericHex:return this.stateNumericHex(t,o);case zn.NamedEntity:return this.stateNamedEntity(t,o)}}stateNumericStart(t,o){return o>=t.length?-1:(t.charCodeAt(o)|K2e)===Bn.LOWER_X?(this.state=zn.NumericHex,this.consumed+=1,this.stateNumericHex(t,o+1)):(this.state=zn.NumericDecimal,this.stateNumericDecimal(t,o))}addToNumericResult(t,o,n,r){if(o!==n){let s=n-o;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(o,s),r),this.consumed+=s}}stateNumericHex(t,o){let n=o;for(;o>14;for(;o>14,s!==0){if(a===Bn.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Ol.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:o,decodeTree:n}=this,r=(n[o]&np.VALUE_LENGTH)>>14;return this.emitNamedEntityData(o,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,o,n){let{decodeTree:r}=this;return this.emitCodePoint(o===1?r[t]&~np.VALUE_LENGTH:r[t+1],n),o===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case zn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ol.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case zn.NumericDecimal:return this.emitNumericEntity(0,2);case zn.NumericHex:return this.emitNumericEntity(0,3);case zn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case zn.EntityStart:return 0}}};function Whe(e){let t="",o=new pR(e,n=>t+=NB(n));return function(r,s){let a=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(a,i),o.startEntity(s);let c=o.write(r,i+1);if(c<0){a=i+o.end();break}a=i+c,i=c===0?a+1:a}let l=t+r.slice(a);return t="",l}}function eqe(e,t,o,n){let r=(t&np.BRANCH_LENGTH)>>7,s=t&np.JUMP_TABLE;if(r===0)return s!==0&&n===s?o:-1;if(s){let l=n-s;return l<0||l>=r?-1:e[o+l]-1}let a=o,i=a+r-1;for(;a<=i;){let l=a+i>>>1,c=e[l];if(cn)i=l-1;else return e[l+r]}return-1}var tqe=Whe(Qhe),Nkt=Whe(Yhe);function rp(e,t=Ol.Legacy){return tqe(e,t)}function mR(e){for(let t=1;te.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function OB(e,t){return function(n){let r,s=0,a="";for(;r=e.exec(n);)s!==r.index&&(a+=n.substring(s,r.index)),a+=t.get(r[0].charCodeAt(0)),s=r.index+1;return a+n.substring(s)}}var Khe=OB(/[&<>'"]/g,nqe),Jhe=OB(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Zhe=OB(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Xhe;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Xhe||(Xhe={}));var ebe;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(ebe||(ebe={}));function iqe(e){return Object.prototype.toString.call(e)}function gR(e){return iqe(e)==="[object String]"}var lqe=Object.prototype.hasOwnProperty;function cqe(e,t){return lqe.call(e,t)}function F_(e){return Array.prototype.slice.call(arguments,1).forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(n){e[n]=o[n]})}}),e}function HB(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function fR(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function qS(e){if(e>65535){e-=65536;let t=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(t,o)}return String.fromCharCode(e)}var nbe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,dqe=/&([a-z#][a-z0-9]{1,31});/gi,uqe=new RegExp(nbe.source+"|"+dqe.source,"gi"),pqe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function mqe(e,t){if(t.charCodeAt(0)===35&&pqe.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return fR(n)?qS(n):e}let o=rp(e);return o!==e?o:e}function gqe(e){return e.indexOf("\\")<0?e:e.replace(nbe,"$1")}function sd(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(uqe,function(t,o,n){return o||mqe(t,n)})}var fqe=/[&<>"]/,hqe=/[&<>"]/g,bqe={"&":"&","<":"<",">":">",'"':"""};function _qe(e){return bqe[e]}function ad(e){return fqe.test(e)?e.replace(hqe,_qe):e}var vqe=/[.?*+^$[\]\\(){}|-]/g;function yqe(e){return e.replace(vqe,"\\$&")}function Rt(e){switch(e){case 9:case 32:return!0}return!1}function Pg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Lg(e){return dR.test(e)||uR.test(e)}function Rg(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Mg(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var xqe={mdurl:cR,ucmicro:DB};var jB={};Do(jB,{parseLinkDestination:()=>VB,parseLinkLabel:()=>BB,parseLinkTitle:()=>GB});function BB(e,t,o){let n,r,s,a,i=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return s;if(n===41){if(a===0)break;a--}r++}return t===r||a!==0||(s.str=sd(e.slice(t,r)),s.pos=r,s.ok=!0),s}function GB(e,t,o,n){let r,s=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(s>=o)return a;let i=e.charCodeAt(s);if(i!==34&&i!==39&&i!==40)return a;t++,s++,i===40&&(i=41),a.marker=i}for(;s"+ad(s.content)+""};Ul.code_block=function(e,t,o,n,r){let s=e[t];return""+ad(e[t].content)+` `};Ul.fence=function(e,t,o,n,r){let s=e[t],a=s.info?sd(s.info).trim():"",i="",l="";if(a){let d=a.split(/(\s+)/g);i=d[0],l=d.slice(2).join("")}let c;if(o.highlight?c=o.highlight(s.content,i,l)||ad(s.content):c=ad(s.content),c.indexOf("${c} `}return`
    ${c}
    `};Ul.image=function(e,t,o,n,r){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=r.renderInlineAsText(s.children,o,n),r.renderToken(e,t,o)};Ul.hardbreak=function(e,t,o){return o.xhtmlOut?`
    `:`
    `};Ul.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
    `:`
    `:` `};Ul.text=function(e,t){return ad(e[t].content)};Ul.html_block=function(e,t){return e[t].content};Ul.html_inline=function(e,t){return e[t].content};function O_(){this.rules=F_({},Ul)}O_.prototype.renderAttrs=function(t){let o,n,r;if(!t.attrs)return"";for(r="",o=0,n=t.attrs.length;o `:">",s};O_.prototype.renderInline=function(e,t,o){let n="",r=this.rules;for(let s=0,a=e.length;s=0&&(n=this.attrs[o][1]),n};U_.prototype.attrJoin=function(t,o){let n=this.attrIndex(t);n<0?this.attrPush([t,o]):this.attrs[n][1]=this.attrs[n][1]+" "+o};var id=U_;function sbe(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}sbe.prototype.Token=id;var abe=sbe;var Tqe=/\r\n?|\n/g,Sqe=/\0/g;function QB(e){let t;t=e.src.replace(Tqe,` `),t=t.replace(Sqe,"\uFFFD"),e.src=t}function YB(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function WB(e){let t=e.tokens;for(let o=0,n=t.length;o\s]/i.test(e)}function Cqe(e){return/^<\/a\s*>/i.test(e)}function KB(e){let t=e.tokens;if(e.md.options.linkify)for(let o=0,n=t.length;o=0;a--){let i=r[a];if(i.type==="link_close"){for(a--;r[a].level!==i.level&&r[a].type!=="link_open";)a--;continue}if(i.type==="html_inline"&&(wqe(i.content)&&s>0&&s--,Cqe(i.content)&&s++),!(s>0)&&i.type==="text"&&e.md.linkify.test(i.content)){let l=i.content,c=e.md.linkify.match(l),d=[],p=i.level,m=0;c.length>0&&c[0].index===0&&a>0&&r[a-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let C=new e.Token("text","",0);C.content=l.slice(m,x),C.level=p,d.push(C)}let v=new e.Token("link_open","a",1);v.attrs=[["href",_]],v.level=p++,v.markup="linkify",v.info="auto",d.push(v);let T=new e.Token("text","",0);T.content=h,T.level=p,d.push(T);let I=new e.Token("link_close","a",-1);I.level=--p,I.markup="linkify",I.info="auto",d.push(I),m=c[g].lastIndex}if(m=0;o--){let n=e[o];n.type==="text"&&!t&&(n.content=n.content.replace(Aqe,Iqe)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Lqe(e){let t=0;for(let o=e.length-1;o>=0;o--){let n=e[o];n.type==="text"&&!t&&ibe.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function JB(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Eqe.test(e.tokens[t].content)&&Pqe(e.tokens[t].children),ibe.test(e.tokens[t].content)&&Lqe(e.tokens[t].children))}var Rqe=/['"]/,lbe=/['"]/g,cbe="\u2019";function hR(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function Mqe(e,t){let o,n=[];for(let r=0;r=0&&!(n[o].level<=a);o--);if(n.length=o+1,s.type!=="text")continue;let i=s.content,l=0,c=i.length;e:for(;l=0)f=i.charCodeAt(d.index-1);else for(o=r-1;o>=0&&!(e[o].type==="softbreak"||e[o].type==="hardbreak");o--)if(e[o].content){f=e[o].content.charCodeAt(e[o].content.length-1);break}let _=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=x),!p&&!m){g&&(s.content=hR(s.content,d.index,cbe));continue}if(m)for(o=n.length-1;o>=0;o--){let I=n[o];if(n[o].level=0;t--)e.tokens[t].type!=="inline"||!Rqe.test(e.tokens[t].content)||Mqe(e.tokens[t].children,e)}function XB(e){let t,o,n=e.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};Hl.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Hl.prototype.skipEmptyLines=function(t){for(let o=this.lineMax;to;)if(!Rt(this.src.charCodeAt(--t)))return t+1;return t};Hl.prototype.skipChars=function(t,o){for(let n=this.src.length;tn;)if(o!==this.src.charCodeAt(--t))return t+1;return t};Hl.prototype.getLines=function(t,o,n,r){if(t>=o)return"";let s=new Array(o-t);for(let a=0,i=t;in?s[a]=new Array(l-n+1).join(" ")+this.src.slice(d,p):s[a]=this.src.slice(d,p)}return s.join("")};Hl.prototype.Token=id;var ube=Hl;var Dqe=65536;function o3(e,t){let o=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(o,n)}function pbe(e){let t=[],o=e.length,n=0,r=e.charCodeAt(n),s=!1,a=0,i="";for(;no)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let s=e.bMarks[r]+e.tShift[r];if(s>=e.eMarks[r])return!1;let a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58||s>=e.eMarks[r])return!1;let i=e.src.charCodeAt(s++);if(i!==124&&i!==45&&i!==58&&!Rt(i)||a===45&&Rt(i))return!1;for(;s=4)return!1;c=pbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();let p=c.length;if(p===0||p!==d.length)return!1;if(n)return!0;let m=e.parentType;e.parentType="table";let g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let I=0;I=4||(c=pbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),T+=p-c.length,T>Dqe))break;if(r===t+2){let z=e.push("tbody_open","tbody",1);z.map=v=[t+2,0]}let C=e.push("tr_open","tr",1);C.map=[r,r+1];for(let z=0;z=4){n++,r=n;continue}break}e.line=r;let s=e.push("code_block","code",0);return s.content=e.getLines(t,r,4+e.blkIndent,!1)+` `,s.map=[t,e.line],!0}function s3(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>s)return!1;let a=e.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let i=r;r=e.skipChars(r,a);let l=r-i;if(l<3)return!1;let c=e.src.slice(i,r),d=e.src.slice(r,s);if(a===96&&d.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let p=t,m=!1;for(;p++,!(p>=o||(r=i=e.bMarks[p]+e.tShift[p],s=e.eMarks[p],r=4)&&(r=e.skipChars(r,a),!(r-i=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;let i=[],l=[],c=[],d=[],p=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f=s)break;if(e.src.charCodeAt(r++)===62&&!T){let C=e.sCount[f]+1,z,F;e.src.charCodeAt(r)===32?(r++,C++,F=!1,z=!0):e.src.charCodeAt(r)===9?(z=!0,(e.bsCount[f]+C)%4===3?(r++,C++,F=!1):F=!0):z=!1;let de=C;for(i.push(e.bMarks[f]),e.bMarks[f]=r;r=s,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(z?1:0),c.push(e.sCount[f]),e.sCount[f]=de-C,d.push(e.tShift[f]),e.tShift[f]=r-e.bMarks[f];continue}if(g)break;let I=!1;for(let C=0,z=p.length;C";let x=[t,0];h.map=x,e.md.block.tokenize(e,t,f);let v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=a,e.parentType=m,x[1]=e.line;for(let T=0;T=4)return!1;let s=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(s++);if(a!==42&&a!==45&&a!==95)return!1;let i=1;for(;s=n)return-1;let s=e.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=e.src.charCodeAt(r++),s>=48&&s<=57){if(r-o>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(d=!0);let p,m,g;if((g=gbe(e,l))>=0){if(p=!0,a=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(a,g-1)),d&&m!==1)return!1}else if((g=mbe(e,l))>=0)p=!1;else return!1;if(d&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(n)return!0;let f=e.src.charCodeAt(g-1),_=e.tokens.length;p?(i=e.push("ordered_list_open","ol",1),m!==1&&(i.attrs=[["start",m]])):i=e.push("bullet_list_open","ul",1);let h=[l,0];i.map=h,i.markup=String.fromCharCode(f);let x=!1,v=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";l=r?F=1:F=C-I,F>4&&(F=1);let de=I+F;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(f);let Ce=[l,0];i.map=Ce,p&&(i.info=e.src.slice(a,g-1));let ie=e.tight,ht=e.tShift[l],It=e.sCount[l],Vt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=de,e.tight=!0,e.tShift[l]=z-e.bMarks[l],e.sCount[l]=C,z>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,o):e.md.block.tokenize(e,l,o,!0),(!e.tight||x)&&(c=!1),x=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Vt,e.tShift[l]=ht,e.sCount[l]=It,e.tight=ie,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(f),l=e.line,Ce[1]=l,l>=o||e.sCount[l]=4)break;let yo=!1;for(let zt=0,io=v.length;zt=4||e.src.charCodeAt(r)!==91)return!1;function i(v){let T=e.lineMax;if(v>=T||e.isEmpty(v))return null;let I=!1;if(e.sCount[v]-e.blkIndent>3&&(I=!0),e.sCount[v]<0&&(I=!0),!I){let F=e.md.block.ruler.getRules("reference"),de=e.parentType;e.parentType="reference";let Ce=!1;for(let ie=0,ht=F.length;ie"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:h,href:p}),e.line=a),!0):!1}var fbe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];var Nqe="[a-zA-Z_:][a-zA-Z0-9:._-]*",qqe="[^\"'=<>`\\x00-\\x20]+",Fqe="'[^']*'",Oqe='"[^"]*"',Uqe="(?:"+qqe+"|"+Fqe+"|"+Oqe+")",Hqe="(?:\\s+"+Nqe+"(?:\\s*=\\s*"+Uqe+")?)",hbe="<[A-Za-z][A-Za-z0-9\\-]*"+Hqe+"*\\s*\\/?>",bbe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",zqe="",Bqe="<[?][\\s\\S]*?[?]>",Vqe="]*>",Gqe="",_be=new RegExp("^(?:"+hbe+"|"+bbe+"|"+zqe+"|"+Bqe+"|"+Vqe+"|"+Gqe+")"),vbe=new RegExp("^(?:"+hbe+"|"+bbe+")");var H_=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(vbe.source+"\\s*$"),/^$/,!1]];function d3(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let a=e.src.slice(r,s),i=0;for(;i=4)return!1;let a=e.src.charCodeAt(r);if(a!==35||r>=s)return!1;let i=1;for(a=e.src.charCodeAt(++r);a===35&&r6||rr&&Rt(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;let c=e.push("heading_open","h"+String(i),1);c.markup="########".slice(0,i),c.map=[t,e.line];let d=e.push("inline","",0);d.content=e.src.slice(r,s).trim(),d.map=[t,e.line],d.children=[];let p=e.push("heading_close","h"+String(i),-1);return p.markup="########".slice(0,i),!0}function p3(e,t,o){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let r=e.parentType;e.parentType="paragraph";let s=0,a,i=t+1;for(;i3)continue;if(e.sCount[i]>=e.blkIndent){let g=e.bMarks[i]+e.tShift[i],f=e.eMarks[i];if(g=f))){s=a===61?1:2;break}}if(e.sCount[i]<0)continue;let m=!1;for(let g=0,f=n.length;g3||e.sCount[s]<0)continue;let c=!1;for(let d=0,p=n.length;d=o||e.sCount[a]=s){e.line=o;break}let l=e.line,c=!1;for(let d=0;d=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};FS.prototype.scanDelims=function(e,t){let o=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s0)return!1;let o=e.pos,n=e.posMax;if(o+3>n||e.src.charCodeAt(o)!==58||e.src.charCodeAt(o+1)!==47||e.src.charCodeAt(o+2)!==47)return!1;let r=e.pending.match(Qqe);if(!r)return!1;let s=r[1],a=e.md.linkify.matchAtStart(e.src.slice(o-s.length));if(!a)return!1;let i=a.url;if(i.length<=s.length)return!1;i=i.replace(/\*+$/,"");let l=e.md.normalizeLink(i);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);let c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let d=e.push("text","",0);d.content=e.md.normalizeLinkText(i);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=i.length-s.length,!0}function h3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;let n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){b3[e.charCodeAt(0)]=1});function _3(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==92||(o++,o>=n))return!1;let r=e.src.charCodeAt(o);if(r===10){for(t||e.push("hardbreak","br",0),o++;o=55296&&r<=56319&&o+1=56320&&i<=57343&&(s+=e.src[o+1],o++)}let a="\\"+s;if(!t){let i=e.push("text_special","",0);r<256&&b3[r]!==0?i.content=s:i.content=a,i.markup=a,i.info="escape"}return e.pos=o+1,!0}function v3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==96)return!1;let r=o;o++;let s=e.posMax;for(;o=0;n--){let r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;let s=t[r.end],a=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===s.token+1,i=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?i+i:i,l.content="";let c=e.tokens[s.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?i+i:i,c.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function Jqe(e){let t=e.tokens_meta,o=e.tokens_meta.length;Sbe(e,e.delimiters);for(let n=0;n=p)return!1;if(l=f,r=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?f=r.pos:a="",l=f;f=p||e.src.charCodeAt(f)!==41)&&(c=!0),f++}if(c){if(typeof e.env.references>"u")return!1;if(f=0?n=e.src.slice(l,f++):f=g+1):f=g+1,n||(n=e.src.slice(m,g)),s=e.env.references[Mg(n)],!s)return e.pos=d,!1;a=s.href,i=s.title}if(!t){e.pos=m,e.posMax=g;let _=e.push("link_open","a",1),h=[["href",a]];_.attrs=h,i&&h.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}function S3(e,t){let o,n,r,s,a,i,l,c,d="",p=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(s=f+1,s=m)return!1;for(c=s,i=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),i.ok&&(d=e.md.normalizeLink(i.str),e.md.validateLink(d)?s=i.pos:d=""),c=s;s=m||e.src.charCodeAt(s)!==41)return e.pos=p,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?r=e.src.slice(c,s++):s=f+1):s=f+1,r||(r=e.src.slice(g,f)),a=e.env.references[Mg(r)],!a)return e.pos=p,!1;d=a.href,l=a.title}if(!t){n=e.src.slice(g,f);let _=[];e.md.inline.parse(n,e.md,e.env,_);let h=e.push("image","img",0),x=[["src",d],["alt",""]];h.attrs=x,h.children=_,h.content=n,l&&x.push(["title",l])}return e.pos=s,e.posMax=m,!0}var Zqe=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Xqe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function w3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==60)return!1;let n=e.pos,r=e.posMax;for(;;){if(++o>=r)return!1;let a=e.src.charCodeAt(o);if(a===60)return!1;if(a===62)break}let s=e.src.slice(n+1,o);if(Xqe.test(s)){let a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){let i=e.push("link_open","a",1);i.attrs=[["href",a]],i.markup="autolink",i.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(Zqe.test(s)){let a=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(a))return!1;if(!t){let i=e.push("link_open","a",1);i.attrs=[["href",a]],i.markup="autolink",i.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function eFe(e){return/^\s]/i.test(e)}function tFe(e){return/^<\/a\s*>/i.test(e)}function oFe(e){let t=e|32;return t>=97&&t<=122}function C3(e,t){if(!e.md.options.html)return!1;let o=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=o)return!1;let r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!oFe(r))return!1;let s=e.src.slice(n).match(_be);if(!s)return!1;if(!t){let a=e.push("html_inline","",0);a.content=s[0],eFe(a.content)&&e.linkLevel++,tFe(a.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}var nFe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,rFe=/^&([a-z][a-z0-9]{1,31});/i;function E3(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=n)return!1;if(e.src.charCodeAt(o+1)===35){let s=e.src.slice(o).match(nFe);if(s){if(!t){let a=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),i=e.push("text_special","",0);i.content=fR(a)?qS(a):qS(65533),i.markup=s[0],i.info="entity"}return e.pos+=s[0].length,!0}}else{let s=e.src.slice(o).match(rFe);if(s){let a=rp(s[0]);if(a!==s[0]){if(!t){let i=e.push("text_special","",0);i.content=a,i.markup=s[0],i.info="entity"}return e.pos+=s[0].length,!0}}}return!1}function wbe(e){let t={},o=e.length;if(!o)return;let n=0,r=-2,s=[];for(let a=0;al;c-=s[c]+1){let p=e[c];if(p.marker===i.marker&&p.open&&p.end<0){let m=!1;if((p.close||i.open)&&(p.length+i.length)%3===0&&(p.length%3!==0||i.length%3!==0)&&(m=!0),!m){let g=c>0&&!e[c-1].open?s[c-1]+1:0;s[a]=a-c+g,s[c]=g,i.open=!1,p.end=a,p.close=!1,d=-1,r=-2;break}}}d!==-1&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=d)}}function A3(e){let t=e.tokens_meta,o=e.tokens_meta.length;wbe(e.delimiters);for(let n=0;n0&&n++,r[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,s[t]=e.pos};OS.prototype.tokenize=function(e){let t=this.ruler.getRules(""),o=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};OS.prototype.parse=function(e,t,o,n){let r=new this.State(e,t,o,n);this.tokenize(r);let s=this.ruler2.getRules(""),a=s.length;for(let i=0;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M3=35,zl=Math.floor,D3=String.fromCharCode;function sp(e){throw new RangeError(vFe[e])}function yFe(e,t){let o=[],n=e.length;for(;n--;)o[n]=t(e[n]);return o}function Bbe(e,t){let o=e.split("@"),n="";o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(_Fe,".");let r=e.split("."),s=yFe(r,t).join(".");return n+s}function Vbe(e){let t=[],o=0,n=e.length;for(;o=55296&&r<=56319&&oString.fromCodePoint(...e),TFe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Hbe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Gbe=function(e,t,o){let n=0;for(e=o?zl(e/700):e>>1,e+=zl(e/t);e>M3*26>>1;n+=36)e=zl(e/M3);return zl(n+(M3+1)*e/(e+38))},jbe=function(e){let t=[],o=e.length,n=0,r=128,s=72,a=e.lastIndexOf(zbe);a<0&&(a=0);for(let i=0;i=128&&sp("not-basic"),t.push(e.charCodeAt(i));for(let i=a>0?a+1:0;i=o&&sp("invalid-input");let m=TFe(e.charCodeAt(i++));m>=36&&sp("invalid-input"),m>zl((2147483647-n)/d)&&sp("overflow"),n+=m*d;let g=p<=s?1:p>=s+26?26:p-s;if(mzl(2147483647/f)&&sp("overflow"),d*=f}let c=t.length+1;s=Gbe(n-l,c,l==0),zl(n/c)>2147483647-r&&sp("overflow"),r+=zl(n/c),n%=c,t.splice(n++,0,r)}return String.fromCodePoint(...t)},Qbe=function(e){let t=[];e=Vbe(e);let o=e.length,n=128,r=0,s=72;for(let l of e)l<128&&t.push(D3(l));let a=t.length,i=a;for(a&&t.push(zbe);i=n&&dzl((2147483647-r)/c)&&sp("overflow"),r+=(l-n)*c,n=l;for(let d of e)if(d2147483647&&sp("overflow"),d===n){let p=r;for(let m=36;;m+=36){let g=m<=s?1:m>=s+26?26:m-s;if(p=0))try{t.hostname=$3.toASCII(t.hostname)}catch{}return iR(q_(t))}function LFe(e){let t=NS(e,!0);if(t.hostname&&(!t.protocol||Zbe.indexOf(t.protocol)>=0))try{t.hostname=$3.toUnicode(t.hostname)}catch{}return $S(q_(t),$S.defaultChars+"%")}function Ba(e,t){if(!(this instanceof Ba))return new Ba(e,t);t||gR(e)||(t=e||{},e="default"),this.inline=new Cbe,this.block=new ybe,this.core=new dbe,this.renderer=new rbe,this.linkify=new Jbe.default,this.validateLink=IFe,this.normalizeLink=PFe,this.normalizeLinkText=LFe,this.utils=zB,this.helpers=F_({},jB),this.options={},this.configure(e),t&&this.set(t)}Ba.prototype.set=function(e){return F_(this.options,e),this};Ba.prototype.configure=function(e){let t=this;if(gR(e)){let o=e;if(e=EFe[o],!e)throw new Error('Wrong `markdown-it` preset "'+o+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};Ba.prototype.enable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){o=o.concat(this[r].ruler.enable(e,!0))},this),o=o.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(r){return o.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Ba.prototype.disable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){o=o.concat(this[r].ruler.disable(e,!0))},this),o=o.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(r){return o.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Ba.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ba.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let o=new this.core.State(e,this,t);return this.core.process(o),o.tokens};Ba.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ba.prototype.parseInline=function(e,t){let o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};Ba.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var xR=Ba;var ap=z_();ap.set=()=>{throw new Error("Do not apply any non-default plugins or formatting to the globally available markdown instance. Instead use createMarkdownItInstance to create a new instance.")};function z_(e="default",t){return"default"in TR?xR(e,t):new TR(e,t)}var RFe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(o,n,r,s)=>`${n} aria-label="link, ${r}">${r}${s}`)},Xbe=e=>{let t=z_("default",{html:!0,linkify:!0,typographer:!0}),o=t.render;return t.render=function(n){let r=String(o.call(t,n));if(!e||e.length===0)return RFe(r);let s=r.replace(/

    /g,'

    ').replace(/<\/p>/g,"
    "),a=/]*?>(\^(\d+)\^)<\/a>/g;return s=s.replace(a,(i,l,c)=>{let d=parseInt(String(c));return d>0&&d<=e.length?e[d-1]:i}),s},t.renderer.rules.fence=function(n,r,s,a,i){let l=n[r],c=l.info?l.info.trim().split(/\s+/g)[0]:"",d=c?`class="lang-${c}"`:"",p=t.utils.escapeHtml(l.content||"");return`
    ${p}
    `},t};function e_e(e,t,o){let n="color-success";t&&t>=o?n="color-danger":t&&t>=.5*o&&(n="color-warning");let r=e.skeletonHidden?"is-hidden":"",s=t?"":"is-hidden",a=t?"":"skeleton",i=u``;return u`
    ${t?Oj.replace("{count}",t.toString()).replace("{total}",o.toString()):i}
    `}function MFe(){return u`
    ${rd()}
    ${dj}
    `}function DFe(e){return u`
    ${e}
    `}function o_e(e,t,o){return u`
    ${t?MFe():rd()}
    ${e}
    `}function $Fe(e,t){let o=e.contentIsHTML?"content first-p-top-margin-reset":"";return o_e(t,!0,o)}function NFe(e){let t=u`

    ${Cj}

    `;return o_e(t,!1)}function t_e(e){return u`
    `}function qFe(e){return u`
    `}function FFe(e){return!e.citations||Object.keys(e.citations).length===0?"":u`
    ${HX}
      ${Object.entries(e.citations).map(([t,o])=>u`
    1. ${o.title}
    2. `)}
    `}function OFe(e){return e.loaded?u` ${FFe(e)}
    ${t_e(e)} ${e_e(e,e.responseCount,e.maxMessages)}
    `:e.errored?u`
    ${t_e(e)}
    `:e.cancelled?u`
    ${e_e(e,e.responseCount,e.maxMessages)}
    `:""}function UFe(e,t){if(e.allowLoadingView&&e.loading)return HFe(e,t);let n=Mhe(e.citations),r=Xbe(n),s=e.cancelled?u`${YC} ${e.content}`:e.type==="ai"&&e.contentIsHTML?N(r.render(e.content??"")):e.content,a=e.type==="ai"?OFe(e):"",i=e.cancelled?qFe(e):"",l=e.feedbackViewModel?$he(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?NFe(e):"",d=u`
    ${s} ${a}
    `;return u`
    ${e.type==="user"?DFe(d):$Fe(e,d)}
    ${i} ${l} ${c} `}function HFe(e,t){return u`
    ${rd()}

    ${XC}

    `}function n_e(e,t){return UFe(e,t)}A();A();function zFe(e){return u` `}function r_e(e){return!e.suggestionPills||e.suggestionPills.length===0||!e.canSubmit?"":u` ${e.suggestionPills.filter(t=>!t.clicked).map(t=>zFe(t))} `}function a_e(e,t){return!e.starterPrompts||e.starterPrompts.length===0?"":u`
    ${e.starterPrompts.map(({icon:o,header:n,description:r,prompt:s})=>{let a=n.charAt(0).toLowerCase()+n.slice(1);return u`

    ${r}

    `})}
    `}function s_e(){return b.data.pageTemplate!=="ModuleUnit"}function i_e(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let n=!s_e()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(r=>r.clicked)?P$:"";return u`
    ${s_e()?r_e(e):""}
    ${n}

    ${Ij}

    ${e.starterPrompts.map(({icon:r,header:s,prompt:a})=>{let i=s.toLowerCase();return u` `})}
    `}A();function l_e(e,t){return u` `}function BFe(e){let n=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let r=Math.floor(e.scrollHeight/n);r>6?(r=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=r}function VFe(e,t){return u`
    ${e.starterPrompts?a_e(e,t):""} ${No(e.messages,o=>o.index,o=>n_e(o,t))}
    `}function c_e(){return u` `}function N3(e,t,o=!1){return u`

    ${rd()}

    ${A$}
    ${c_e()}
    ${VFe(e,t)} ${jFe(e,t)}
    `}function GFe(e){return e?u` ${e} `:u``}function jFe(e,t){return u`
    ${e.starterPrompts?i_e(e,t):""}
    ${l_e(e,t)}
    ${GFe(e.currentValidationMessage)}
    `}function d_e(e,t=!1){return u`

    ${rd()}

    ${A$}
    ${c_e()}

    ${WC}

    ${KC}

    `}var B_=class{constructor(t={}){this.detail=t}},Bl=class{constructor(t={}){this.detail=t}},V_=class{constructor(t={}){this.detail=t}},G_=class{constructor(t={}){this.detail=t}},Vl=class{constructor(t={}){this.detail=t}},ld=class{constructor(t={}){this.detail=t}},j_=class{constructor(t={}){this.detail=t}},Q_=class{constructor(t={}){this.detail=t}};var SR=class extends Be{constructor(o){super();this.state="none";this.index=o}getSelectedOption(o){return o?.querySelector('input[type="radio"]:checked')}getVerbatimText(o){return o?.querySelector("textarea")?.value}previewPayload(o,n=!1){if(!o)return;let r=o.target.closest("form"),s=this.getSelectedOption(r),a=this.getVerbatimText(r);s&&(this.userRadioSelection=s.value,this.verbatim=a),this.publish(new ld({refresh:n,msgIndex:this.index}))}handleSubmit(o,n){n.preventDefault();let r=n.target.closest("form"),s=this.getSelectedOption(r),a=this.getVerbatimText(r);s&&(this.userRadioSelection=s.value,this.verbatim=a,this.state="submitted",o.notifyPropertyChanged(),this.publish(new Vl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(n=>{n.querySelectorAll('input[type="radio"]').forEach(s=>{s.checked=!1})})}cancelFeedback(){this.state="cancelled",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}undoFeedback(){this.state="none",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Bl({scroll:!1}))}};var QFe={contentIsHTML:!1,type:"user"},xs,wR=class extends Be{constructor(o,n={},r,s,a,i){super();eo(this,xs,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...QFe,...n};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=r,this.maxMessages=s,this.errorMapping=a||{},this.sessionId=i,o instanceof Promise)this.fetchInternal=o;else{let d=o;this.content=d.content,this.citations=d.citations,this.type=d.type,this.interactionId=d.interactionId,this.rating=d.rating,At(this,xs,d.state||"loaded"),this.responseCount=d.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(kt(XC,"assertive"),this.feedbackViewModel=new SR(r),this.feedbackViewModel.subscribe(Bl,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Vl,d=>this.publish(new Vl(d.detail))),this.feedbackViewModel.subscribe(ld,d=>this.publish(new ld({refresh:d.detail.refresh,msgIndex:d.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&kt(Aj),this.notifyPropertyChanged()})}get loading(){return Ae(this,xs)==="loading"}get cancelled(){return Ae(this,xs)==="cancelled"}get loaded(){return Ae(this,xs)==="loaded"}get errored(){return Ae(this,xs)==="errored"}get allowLoadingView(){return Ae(this,xs)==="loading"&&this.type==="ai"}updateResponseCount(o){this.responseCount=o,this.responseCount>=this.maxMessages&&this.chatSetBusy()}async load(){this.loading&&(await Promise.race([this.loadInternal(),this.awaitCancellation()]),this.publish(new Q_),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(o=>{this.cancel=o}).then(o=>{this.contentIsHTML=!1,At(this,xs,"cancelled"),kt(YC,"assertive"),this.focusElementOnCancel(o)})}focusElementOnCancel(o){let n=o.target instanceof HTMLElement&&o.target.closest("[data-chat-container-name]");if(!n)return;let r=n.dataset.containerName;if(!r)return;let s=document.querySelector(`[data-focus-on-cancel="${r}"]`);s&&s.focus()}async loadInternal(){if(this.loaded||this.errored)return;let o=await this.fetchInternal;if(o.responseCount===0&&(this.skeletonHidden=!0),!this.loading){o.responseCount&&this.updateResponseCount(o.responseCount),this.notifyPropertyChanged();return}o.message&&(this.content=o.message),o.citations&&(this.citations=o.citations),o.sessionId&&(this.sessionId=o.sessionId),o.interactionId&&(this.interactionId=o.interactionId),o.responseCount&&this.updateResponseCount(o.responseCount),o.isError?At(this,xs,"errored"):this.loading&&At(this,xs,"loaded")}resetChat(){this.publish(new G_)}chatSetBusy(){this.publish(new V_)}updateFeedback(o){this.rating===o?(this.rating=void 0,this.feedbackViewModel&&this.feedbackViewModel.undoFeedback()):(this.rating=o,this.feedbackViewModel&&(this.feedbackViewModel.state=o,this.feedbackViewModel.clearRadioSelection())),this.publish(new Vl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(At(this,xs,"loading"),this.contentIsHTML=!0,this.load(),this.notifyPropertyChanged())}notifyPropertyChanged(){let o=this.contentIsHTML&&this.firstRender&&this.loaded&&this.type==="ai";o&&(this.firstRender=!1),this.publish(new Bl({updateCodeBlocks:o,scroll:!1,interactionId:this.interactionId}))}saveMessage(){return{content:this.content,citations:this.citations,type:this.type,interactionId:this.interactionId,responseCount:this.responseCount,state:this.type==="ai"?Ae(this,xs):void 0,rating:this.rating}}};xs=new WeakMap;var CR=class extends Be{constructor(t,o,n){super(),this.name=t,this.description=o,this.prompt=n,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new j_({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var ER={empty:Fj,short:ZC,exceeded:I$},YFe=8*60*60*1e3,US,HS,zS,Hi,BS,VS,AR=class extends Be{constructor(o){super();this.textarea=null;eo(this,US,"");eo(this,HS,"");this.MIN_CHAR_LENGTH=10;this.MAX_CHAR_LENGTH=500;this.errorMapping={};this.starterPrompts=[];this.suggestionPills=[];this.scrollHandle="chat-messages-container";this.indexCount=0;this.canSubmit=!0;this.responseCount=0;this.broadcastChannel=new BroadcastChannel("chat_channel");eo(this,zS);eo(this,Hi,[]);eo(this,BS);eo(this,VS);this.initialized=new Promise(o=>{this.initialize=o});this._busy=!1;At(this,zS,o.fetch),At(this,BS,o.getContextIdType),At(this,VS,o.getContextId),this.maxMessages=o.maxMessages,this.validate=o.validate||(()=>null),this.errorMapping=o.errorMapping||{},this.starterPrompts=o.starterPrompts,this.initSuggestionPills(o),this.setUpTestKeyboardListener(),this.initUserInteractionListener(),this.handleInitialChatHistory(),this.initBroadcastChannel(),this.initialize()}get sessionId(){return Ae(this,US)}set sessionId(o){At(this,US,o||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Ae(this,HS)||""}set currentMessage(o){At(this,HS,o)}get messages(){return Ae(this,Hi)}get busy(){return this._busy}async submit(o){o.preventDefault(),this.validateMinLength(),!(!this.canSubmit||!this.currentMessage)&&(this.resetTextAreaHeight(this.getActiveTextArea(this.getActiveContainerName())),this.userMessage(),await this.fetch(),this.notifyPropertyChanged())}async submitWithPrompt(o){this.currentMessage=o,this.submit(new Event("submit"))}async testPrompt(){this.currentMessage="How do I write a test in C#?",this.userMessage(),await this.fetch(),this.notifyPropertyChanged()}async applyStarterPrompt(o,n){this.currentMessage=o;let r=this.getActiveTextArea(n);this.notifyPropertyChanged(),r&&(r.focus(),r.dispatchEvent(new Event("input")))}initSuggestionPills(o){this.suggestionPills=o.suggestionPills?.map(n=>new CR(n.name,n.description,n.prompt))||[],this.suggestionPills.forEach(n=>{n.subscribe(j_,r=>{r.detail.prompt&&this.submitWithPrompt(r.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(o=>o.resetSuggestionPill())}notifyPropertyChanged(o){this.publish(new B_({...o}))}populateForTest(o){At(this,Hi,o),this.notifyPropertyChanged()}getActiveTextArea(o){if(o){let s=document.querySelector(`[data-chat-textarea-container-name="${o}"]`);if(s)return s}let n=this.getActiveContainer(o);if(!n)return null;let r=n.querySelector("[data-chat-textarea-container-name]");return r||null}getActiveContainer(o){if(o){let s=document.querySelector(`[data-chat-container-name="${o}"]`);if(s)return s}let n=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(n.length===0)return null;let r=n.find(s=>getComputedStyle(s).display!=="none");return r||null}getActiveContainerName(){let o=this.getActiveContainer();return o&&o.getAttribute("data-chat-container-name")||""}validateMinLength(){this.currentMessage.length===0?(this.canSubmit=!1,this.currentValidationMessage=ER.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=ER.exceeded,kt(I$)),this.notifyPropertyChanged()}handleKeyDown(o){o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),this.submit(o),xe({behavior:le.OTHER,actionType:we.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(o=!1){At(this,Hi,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.notifyPropertyChanged(),kt(cj),o||this.broadcastChannel.postMessage({type:"reset"})}scrollToActiveMessage(o,n="smooth"){let r=this.getActiveContainer(o);if(!r)return;let s=`[data-scroll-into-view="${this.scrollHandle}"]`,a=r.querySelector(s);if(!a)throw new Error("No active scroll handle found for chat.");a.scrollIntoView({block:"nearest",inline:"start",behavior:n})}createMessagesHistoryArray(o=!1){let n=[];for(let r=0;r0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Bl({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(V_,()=>this.setBusy()),l.subscribe(G_,()=>{this.reset()}),l.subscribe(Vl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(ld,c=>{c.detail.refresh&&c.detail.likeOrDislike&&c.detail.msgIndex?this.updatePreviewPayload("refresh",c.detail.msgIndex,c.detail.likeOrDislike):c.detail.likeOrDislike&&c.detail.msgIndex&&this.updatePreviewPayload("toggle",c.detail.msgIndex,c.detail.likeOrDislike)}),l.subscribe(Q_,()=>{this.saveChat()}),Ae(this,Hi).push(l)}userMessage(){this.pushMessage(Promise.resolve({message:this.currentMessage}),{},this.createChildVmIndex(),this.maxMessages,{})}systemMessage(o){this.pushMessage(o,{contentIsHTML:!0,type:"ai"},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}errorMessage(o){let n;o in this.errorMapping?n=this.errorMapping[o]:n=lc;let r={content:n,state:"errored",type:"ai"};this.pushMessage(r,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(o){this.notifyPropertyChanged(o)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Ll&&window.addEventListener("keydown",o=>{o.ctrlKey&&o.shiftKey&&o.altKey&&o.key==="T"&&this.testPrompt()})}resetTextAreaHeight(o){o&&(o.rows=1,o.style.overflowY="hidden")}serializeChat(){return JSON.stringify({sessionId:this.sessionId,messages:this.messages.filter((o,n,r)=>{if(!o.loaded)return!1;if(o.type==="user"){let s=r[n+1];if(!s||!s.loaded)return!1}return!0}).map(o=>o.saveMessage())})}saveChat(o=!1){let n=this.serializeChat(),r={type:"history",payload:n,shouldScroll:o};this.broadcastChannel.postMessage(r),ae.setItem(rR,n),ae.setItem(op,Date.now().toString())}deleteChatHistory(){ae.removeItem(rR),ae.removeItem(op)}getChatHistory(){let o=ae.getItem(rR);return o?JSON.parse(o):null}restoreChatHistory(o,n=!1){o&&(this.sessionId=o.sessionId,At(this,Hi,[]),o.messages.forEach(r=>{this.pushMessage(r,{contentIsHTML:!0,type:r.type},this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId),this.responseCount=r.responseCount||0,this.responseCount>=this.maxMessages&&this.setBusy()}),this.notifyPropertyChanged({scroll:n}))}clearChatsUponInactive(){let o=ae.getItem(op);if(!o)return;let n=parseInt(o);Date.now()-n>YFe&&(this.deleteChatHistory(),this.reset(),ae.removeItem(nd))}handleInitialChatHistory(){qL||(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),ae.getItem(nd)==="true"&&this.handleFlyoutOpenStateChange(!0))}initBroadcastChannel(){qL||(this.broadcastChannel.onmessage=o=>{if(o.data)switch(o.data.type){case"history":try{let n=JSON.parse(o.data.payload||"{}");this.restoreChatHistory(n,o.data.shouldScroll)}catch{}break;case"reset":this.reset(!0);break;case"open-state":this.handleFlyoutOpenStateChange(o.data.isOpen);break}})}initUserInteractionListener(){qL||(window.addEventListener("focusin",()=>{ae.setItem(op,Date.now().toString())}),window.addEventListener("flyout-show",()=>{ae.setItem(nd,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{ae.setItem(nd,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(o){let n=document.querySelector("[data-ask-learn-flyout-entry]");if(!n)return;let r=document.documentElement.classList.contains("layout-flyout-active");if(o!==r)if(o)Ag(n);else{let s=document.querySelector('button[data-flyout-button="close"]');s&&s.click()}}initialize(){}};US=new WeakMap,HS=new WeakMap,zS=new WeakMap,Hi=new WeakMap,BS=new WeakMap,VS=new WeakMap;var WFe=(()=>{let e=new URLSearchParams(window.location.search),t=e.has("asklearn");if(t){e.delete("asklearn");let o=e.toString(),n=`${window.location.pathname}${o?"?"+o:""}${window.location.hash}`;window.history.replaceState(window.history.state,window.document.title,n)}return t})();function KFe(e){return e.map(t=>RS(t))}function JFe(e,t,o,n){return!!(e||t||o||n)}async function u_e(){if(!w.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=Ve("chat-tutor",{require:!0}),[t,o,n]=await Promise.all([On("ask-learn"),On("ask-learn-on-articles"),On("ask-learn-on-reference"),ve,Se]);if(!JFe(e,t,o,n))return;k_("devlang");let s=k.isAuthenticated;RB()<2&&KFe([oR,nR]);let{chatContainer:i,chatModal:l}=ZFe();if(!i||!l)return;let c=[],d=document.getElementById("ask-learn-flyout");d&&c.push({element:d,name:"ask-learn-flyout",sticky:!0}),kB(PB,l,Ig),kB(eR,l,Ig),IB(MS,Ig),IB(tR,Ig,!0),bhe(vhe,()=>l.show(),Ag,Ig),_he(l,MS),The();let p=[{element:i,name:"ask-learn-modal"},...c];if(s)XFe(await Rhe,p);else{for(let m of p)y(d_e(m.name,!!m.sticky),m.element);window.addEventListener("flyout-show",()=>{localStorage.setItem(op,Date.now().toString()),localStorage.setItem(nd,"true")}),window.addEventListener("flyout-hide",()=>{localStorage.setItem(op,Date.now().toString()),localStorage.setItem(nd,"false")})}WFe&&localStorage.getItem(nd)!=="true"&&Ig(()=>{if(kr.matches){let g=document.querySelector(MS);g&&Ag(g,!0)}else l.show()})}function ZFe(){let e=document.createElement("div");e.classList.add("modal-content","is-docked-right","background-color-body-medium"),e.style.cssText="--sidebar-modal-width: 500px";let t=new be(e);return{chatContainer:e,chatModal:t}}var tr;async function XFe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");tr=new AR(e),tr.subscribe(B_,async o=>{for(let n of t){y(N3(tr,n.name,!!n.sticky),n.element);let r=Array.from(n.element.querySelectorAll(`[data-interaction-id="${o.detail.interactionId}"]`));if(o.detail.updateCodeBlocks)for(let s of r)kS(s);MB(n.element,r),o.detail.scroll&&tr.scrollToActiveMessage(n.name)}}),await tr.initialized,window.addEventListener("resize",N_.timeout(()=>{for(let o of t){let n=Array.from(o.element.querySelectorAll("[data-interaction-id]"));MB(o.element,n)}},250));for(let o of t)y(N3(tr,o.name,!!o.sticky),o.element);window.addEventListener("modal-show",()=>{tr.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{tr.scrollToActiveMessage("ask-learn-flyout","instant")})}function p_e(){eV(),ut.subscribe(To,Yi),window.addEventListener("content-update",Yi);let e=["[data-dismissable]"];window.addEventListener("click",eOe(e))}function eOe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Yi()}}var f_e="focus-mode",q3,tOe="article-header-page-actions",oOe="article-header-page-actions-overflow",m_e="[data-page-action-item]";function O3(e=Array.from(document.querySelectorAll(m_e))){let t=document.getElementById(tOe);if(!t)return;q3&&q3.disconnect(),g_e(e);let o=new MutationObserver(()=>{g_e(Array.from(t.querySelectorAll(m_e)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),q3=o,t.classList.remove("opacity-none")}function nOe(e){switch(e){case"overflow-all":case"overflow-mobile":return e;default:throw new Error(`Incorrect value added for [data-page-action-item]: ${e}`)}}function g_e(e){let t=document.getElementById(oOe);if(!t)return;let o=t.getAttribute("data-reset-required");if(o)switch(o){case"display-none":t.classList.remove("display-none");case"display-none-tablet":t.classList.remove("display-none-tablet");default:break}let n=!1,r=!1,s=t.querySelector('[data-list-type="plan"]');s&&(s.hidden=!1);for(let a of e)if(a.dataset.pageActionItem){let i=a.dataset.pageActionItem;if(!i)continue;let l=a.dataset?.checkHidden==="true",c=a.hidden,d=nOe(i);if(d==="overflow-all"&&(!l||!c)){n=!0;break}if(d==="overflow-mobile"&&(!l||!c)){r=!0;continue}}t&&(!n&&r&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!n&&!r&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function h_e(){let e=mc.getItem(f_e)==="true",t=document.documentElement.classList.contains("layout-focus-mode");e!==t&&F3(),document.addEventListener("click",o=>{o.target instanceof Element&&o.target.closest("[data-focus-mode]")&&F3()}),window.addEventListener("resize",()=>{window.innerWidth>=1088||!document.documentElement.classList.contains("layout-focus-mode")||F3()},{passive:!0})}function F3(){let e=document.getElementById("ms--focus-mode-button");if(!e)return;document.documentElement.classList.toggle("layout-focus-mode");let t=document.getElementById("affixed-left-container"),o=document.getElementById("affixed-right-container");t&&(t.style.height="0"),o&&(o.style.height="0");let n=document.documentElement.classList.contains("layout-focus-mode"),r=document.querySelector("[data-collapsible-toc-toggle]");if(r){let s=r.getAttribute("aria-expanded")==="true";if(n===s){let a=n?"toc-collapse-focus":"toc-expand-focus";r.setAttribute("data-bi-name",a),r.click()}}e.classList.toggle("is-selected",n),e.setAttribute("aria-pressed",n.toString()),e.setAttribute("data-bi-name",n?"focus-mode-exit":"focus-mode-entry"),document.body.setAttribute("data-bi-name",n?"body-focus-mode":"body"),mc.setItem(f_e,String(n)),kt(n?BK:VK,"assertive"),Pt()}function rOe(){let t={iPhone:"ios",iPad:"ios",iPod:"ios",Macintosh:"macos",MacIntel:"macos",MacPPC:"macos",Mac68K:"macos",Win32:"windows",Win64:"windows",Windows:"windows",WinCE:"windows"}[navigator.platform];return t!==void 0?t:/Android/.test(navigator.userAgent)?"android":/Linux/.test(navigator.platform)?"linux":null}function GS(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var sOe=aOe();function aOe(){let e=!1,t=navigator.userAgent||navigator.vendor,o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;return(o.test(t)||n.test(t.substr(0,4)))&&(e=!0),e}var jS=rOe(),b_e="preferred-platform";function iOe(){let e=ae.getItem(b_e);return e!==null&&GS(e)?e:null}var kR=iOe();function IR(e){ae.setItem(b_e,e)}var U3=["button-primary","is-selected"],v_e=["previous-versions","archive"],lOe=({location:e,allowedPaths:t})=>{let o=Zu(e).pathname.split("/"),n=t.includes(o[2])?4:3;return o.slice(0,n).join("/")},H3=lOe({location:J,allowedPaths:v_e});function z3(){let e=B3();if(!e.length)return Promise.resolve();let t={get(o){return ae.getItem(`zone-pivot${H3}/${o}`)},set(o,n){ae.setItem(`zone-pivot${H3}/${o}`,n)}};return Promise.all([gOe(),Se]).then(([o])=>{let n=document.querySelector("[data-main-column] .top-alert")??document.querySelector("[data-main-column] .page-metadata-container")??document.querySelector("[data-main-column] .page-metadata"),r=document.querySelector('[data-id="ai-summary"]'),s=[n,r].filter(i=>i!==null);if(s.length===0)return;let a=s.reduce((i,l)=>i.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:i);uOe(a,e,o,t)})}function B3(){return(L("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function cOe(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(r=>y_e(r))})}var dOe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(s=>{s.id=s.getAttribute("data-id"),s.removeAttribute("data-id")});let n=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(s=>s.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(s=>{n.includes(s.id)&&y_e(s)})})};function y_e(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function uOe(e,t,o,n){let r=te().pivots,s=r?r.split(",").map(f=>f.trim().toLowerCase()):[],a=mOe(o,t,s,n,kR||jS),i=document.createElement("style");document.head.appendChild(i),__e(i,a);let l=t.map(f=>o.find(_=>_.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=pOe(e,l,a),d=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{__e(i,d.filter(f=>f.input.checked).map(f=>f.input.value)),d.forEach(({input:f,button:_})=>{f.checked?(_.classList.add(...U3),_.querySelector(".icon").classList.remove("is-hidden")):(_.classList.remove(...U3),_.querySelector(".icon").classList.add("is-hidden"))})},m=()=>d.forEach(({input:f,button:_})=>{let h=f.matches(":focus-visible")?"add":"remove";_.classList[h]("is-focused")}),g=f=>{let{name:_,value:h}=f.target;n.set(_,h),GS(h)&&IR(h)};Ot(c,"change",p),Ot(c,"blur",m,!0),Ot(c,"focus",m,!0),Ot(c,"change",g),vg(()=>i.remove())}function __e(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,cOe(t),dOe(t),ep(),Pt(),Bt({pivots:t.join()},"replaceState")}function pOe(e,t,o){let{userDir:n,userLocale:r}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(s=>`
    ${s.prompt}
    ${s.pivots.map(a=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function mOe(e,t,o,n,r){let s=[];for(let a of t){let i=e.find(f=>f.id===a);if(!i)continue;let l=n.get(a),c=i.pivots,d,p,m,g;for(let f of c)g||(g=f.id),!d&&o.indexOf(f.id)!==-1&&(d=f.id),!p&&f.id===l&&(p=f.id),!m&&f.id===r&&(m=f.id);s.push(d||p||m||g)}return s}function gOe(){let e=fOe();return M(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function fOe(){let{branch:e}=te(),t=L("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+ne({branch:e}):"",n=["nb-no"],r=H3,s=r.split("/")[1],a=n.includes(s);a&&(r=r.replace(s,"en-us"));let i=`${r}/${t}${o}`,l=L("zone_pivot_groups_path");l&&(l=Zz(l));let c=l&&l.length>1,d=l&&l.startsWith("/"),p=v_e.filter(f=>J.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${a?"en-us":s}${m??""}${d?"":"/"}${l}`;return c?g:i}function x_e(e,t){let o=Array.from(e.querySelectorAll('iframe[src^="https://learn-video.azurefd.net/"], iframe[src^="https://channel9.msdn.com/"], iframe[src*="/video-embed.html?"], iframe[src*="/video-embed-one-stream.html?"]')),n;try{n=Un(new URL(t.href)?.pathname)}catch{return[]}for(let r of o){let s;try{s=new URL(r.src)}catch{continue}s.searchParams.set("locale",b.data.userLocale),s.searchParams.set("embedUrl",n),r.src=s.toString(),r.title||(r.title=Rf)}return o??[]}function T_e(){if(B3().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),o=[],n=[];t.map(r=>o.includes(r.id)?n.push(r):o.push(r.id)),n.forEach(r=>{r.removeAttribute("id")})}A();var S_e="h1,h2,h3,h4,h5,h6",LR=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...n)=>{o||(o=!0,U.requestAnimationFrame(()=>{e.apply(t,n),o=!1}))}},PR={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function hOe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...PR.definitions);let o=Array.from(e.querySelectorAll("th"));for(let n=0;n{let n;e.parentElement.classList.contains("table-wrapper")?n=e.parentElement.previousElementSibling:n=e.previousElementSibling;let r=0;for(;n&&r<5;){if(n.matches(S_e))return Qp(n).trim();if(n.matches(".heading-wrapper")){let s=n.querySelector(S_e);if(s)return Qp(s).trim()}n=n.previousElementSibling,r++}return Wre.replace("{index}",(t+1).toString())})()}function C_e(e){Array.from(e.querySelectorAll(".content table")).forEach(o=>{let n=Array.from(o.querySelectorAll("thead tr > th")),r=o.querySelector("tbody");if(!r)return;let s=Array.from(r.children);if(_Oe(n,s)){for(let a of s){let l=a.firstElementChild;l.firstElementChild.nodeName==="SPAN"?(l.firstElementChild.textContent=l.firstElementChild.textContent,l.lastElementChild.firstElementChild.textContent=l.lastElementChild.firstElementChild.textContent):l.innerHTML=l.firstElementChild.innerHTML;let c=S.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}n.forEach(a=>{if(a.textContent==="")return;a.setAttribute("scope","col");let i=Array.from(o.querySelectorAll("thead tr > th"));if(!i.length||i[0].innerHTML!=="")return;Array.from(o.querySelectorAll("tbody tr > td:first-child > strong")).forEach(c=>{let d=c.parentElement.parentElement.innerHTML.replace("",'').replace("","");c.parentElement.parentElement.innerHTML=d}),i.forEach(c=>{c.innerHTML!==""&&c.setAttribute("scope","col")})})}})}function _Oe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let n of t){let s=n.firstElementChild,a=s.firstElementChild,i=s.lastElementChild;if(s.nodeName!=="TD"||!a||!(s.querySelector(".sxs-lookup")?vOe(a):a===i&&s.textContent.trim()===a.textContent.trim()&&a.nodeName==="STRONG"))return!1}return!0}function vOe(e){if(e.nodeName==="SPAN"){let t=e.firstElementChild;return e.hasAttribute("data-ttu-id")&&t&&t.nodeName==="STRONG"&&e.textContent.trim()===t.textContent.trim()&&!t.firstElementChild}return!1}function yOe(e){let t=S.createElement("div");if(t.classList.add("buttons","buttons-right","margin-bottom-none","margin-top-sm"),e.previousElementSibling&&e.previousElementSibling.classList.contains("heading-wrapper")){let c=e.previousElementSibling.querySelector("[data-moniker]");if(c){let d=c.getAttribute("data-moniker");d&&t.setAttribute("data-moniker",d)}}let o=u` `,n=u` `,r=c=>u` `,s,a,i;function l(){if(!s||!a){s=S.createElement("div"),i=e.cloneNode(!0);let c=r(i);y(c,s),a=new be(s),i&&Ot(U,"resize",w_e(()=>LR([i])),{passive:!0})}a.show(),LR([i])}return y(o,t),t}function V3(e=!1,t){let o=Array.from((t??S).querySelectorAll(".content table"));if(!o.length)return;let n=o.map((s,a)=>{if(a<50&&!s.matches("[aria-label], [aria-labelledby]")&&!s.querySelector("caption")){let l=bOe(s,a);s.setAttribute("aria-label",l)}s.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&s.classList.add("table-sm","margin-top-none"),s.classList.length!==1&&hOe(s);let i;if(s.classList.contains("nameValue"))return null;if(s.parentElement.classList.contains("table-wrapper"))i=s.parentElement;else if(i=S.createElement("div"),i.classList.add("table-wrapper","inner-focus"),i.tabIndex=0,i.setAttribute("role","group"),i.setAttribute("aria-label",pN),s.parentElement.insertBefore(i,s),i.appendChild(s),!e){let l=yOe(i);i.parentElement&&i.parentElement.insertBefore(l,i)}return i}).filter(s=>s!==null),r=w_e(()=>LR(n));Ot(U,"resize",r,{passive:!0}),Ot(U,"content-update",r,{passive:!0}),LR(n)}function xOe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function TOe(e,t,o){let n=t.split("/").pop(),r=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${n}`);return o&&r.searchParams.set("postJsllMsg","true"),e!=="en-us"&&r.searchParams.set("autoCaptions",e),r.href}function SOe(e,t=window){t.addEventListener("message",o=>{if(o.origin!=="https://www.microsoft.com"||typeof o.data!="string")return;let n;try{n=JSON.parse(o.data)}catch{}!n||typeof n.eventName!="string"||n.eventName.toLowerCase()!=="postjsllmessage"||e(n.data)})}function E_e(){let t=xOe(document.body);for(let o of t){let n=TOe(b.data.userLocale,o.src,!0);o.src!==n&&(o.src=n),o.title=o.title||Rf}t.length&&SOe(xe)}function j3(){wOe(),COe(),EOe(document.body),T_e(),C_e(document.body),E_e(),x_e(document.body,J)}function wOe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:tae},NOTE:{class:"is-info",docon:"status-error-outline",title:wZ},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:vJ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Cae},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:wG}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(o=>{let n=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(o.className)[0];o.className=`alert ${e[n].class}`;let r=o.firstElementChild;!r||!(r instanceof HTMLParagraphElement)||(r.classList.add("alert-title"),r.textContent=e[n].title,r.insertAdjacentHTML("afterbegin",` `))})}function COe(){Array.from(document.querySelectorAll(".content div.button a, .content div.step-by-step a, .content div.nextstepaction a")).forEach(e=>{e.classList.add("button","button-primary","button-filled","has-text-wrap");let t=e.closest("div.button, .step-by-step");t&&(t.className="")})}function EOe(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(o=>{if(o.firstElementChild!==null)return;let r=o.parentElement.classList.contains("dots-only")?2:3,s=kn(o.textContent.replace(//g,">"),r);o.innerHTML=s})}function A_e(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>AOe(e))})}async function AOe(e){if(e.dataset.copyState!=="idle")return;QS(e,"loading");let t=new URL(J.href);t.searchParams.set("accept","text/markdown");try{let o=await fetch(t.toString());if(!o.ok)throw new Error(`Failed to fetch markdown: ${o.status}`);let n=await o.text();await mB(n,e)?(QS(e,"success"),kt(hE,"assertive",1e3),setTimeout(()=>QS(e,"idle"),1e3)):QS(e,"idle")}catch{QS(e,"idle")}}function QS(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(o=>{o.hidden=o.dataset.showWhen!==t})}function k_e(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&(o.classList.contains("notification")||o.classList.contains("banner")||RR(o))},{passive:!0})}async function RR(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),Pt()}function I_e(e){e.addEventListener("click",t=>{if(!(t.target instanceof Element))return;let o=null;if(o=t.target.closest(".dropdown-trigger"),o||(o=t.target.shadowRoot?.activeElement?.closest(".dropdown-trigger")),!o)return;t.preventDefault();let n=o.parentElement,r=o.getAttribute("aria-expanded")!=="true";o.setAttribute("aria-expanded",r.toString());let s;if(r&&n){n.classList.contains("has-centered-menu")||kOe(n);let a=d=>{d.target instanceof Element&&(!n.contains(d.target)||d.type==="click"&&d.target.closest(".dropdown-menu-close"))&&(s(),d.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},i=d=>{if(d instanceof KeyboardEvent&&d.keyCode===ke.escape){d.stopImmediatePropagation();let m=Array.from(S.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{S.activeElement?.nodeName?.toLowerCase()==="iframe"&&s()};s=()=>{e.removeEventListener("focus",a),e.removeEventListener("click",a),e.removeEventListener("touchstart",a),e.removeEventListener("keydown",i),U.removeEventListener("blur",l),o&&o.setAttribute("aria-expanded","false")},e.addEventListener("focus",a,!0),e.addEventListener("click",a),e.addEventListener("touchstart",a),e.addEventListener("keydown",i),e.addEventListener("collapse-dropdown",d=>{d.stopPropagation(),s()}),U.addEventListener("blur",l)}})}function Q3(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function kOe(e){let t=f=>U.getComputedStyle(f).overflowX,o=e.parentElement;for(;o&&o.nodeName!=="BODY"&&t(o)!=="hidden";)o=o.parentElement;if(o===null)return;let n=e.querySelector(".dropdown-trigger"),r=e.querySelector(".dropdown-menu"),s=e.closest(".dropdown-menu")!==null,a=r.classList.contains("is-vertically-scrollable");r.style.left="",r.style.right="",r.style.maxHeight="";let{left:i,right:l}=o.getBoundingClientRect(),{left:c,right:d,top:p,bottom:m}=n.getBoundingClientRect(),g=r.getBoundingClientRect().width;s?(r.style.top="-1px",b.data.userDir==="ltr"?d+g<=l?(r.style.right="0",r.style.transform="translateX(100%)"):(r.style.left="0",r.style.transform="translateX(-100%)"):d-g>=i?(r.style.left="0",r.style.transform="translateX(-100%)"):(r.style.right="0",r.style.transform="translateX(100%)"),a&&(r.style.maxHeight=`${U.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?r.style.left="0":r.style.right="0":d-g>=i?r.style.right="0":r.style.left="0",a&&(r.style.maxHeight=`${U.innerHeight-m-8}px`))}ze();var L_e=yC(K3(),1);var cd=class extends Error{constructor(o,n,r){super(o,{cause:r.cause});Wt(this,"name");Wt(this,"status");Wt(this,"request");Wt(this,"response");this.name="HttpError",this.status=Number.parseInt(n),Number.isNaN(this.status)&&(this.status=0);"response"in r&&(this.response=r.response);let s=Object.assign({},r.request);r.request.headers.authorization&&(s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(o.status)){let r=n.request.retries!=null?n.request.retries:e.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,r,s)}throw o}async function POe(e,t,o,n){let r=new L_e.default;return r.on("failed",function(s,a){let i=~~s.request.request.retries,l=~~s.request.request.retryAfter;if(n.request.retryCount=a.retryCount+1,i>a.retryCount)return l*e.retryAfterBaseValue}),r.schedule(LOe.bind(null,e,t,o),n)}async function LOe(e,t,o,n){let r=await o(o,n);if(r.data&&r.data.errors&&r.data.errors.length>0&&/Something went wrong while executing your query/.test(r.data.errors[0].message)){let s=new cd(r.data.errors[0].message,500,{request:n,response:r});return P_e(e,t,s,n)}return r}function J3(e,t){let o=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return o.enabled&&(e.hook.error("request",P_e.bind(null,o,e)),e.hook.wrap("request",POe.bind(null,o,e))),{retry:{retryRequest:(n,r,s)=>(n.request.request=Object.assign({},n.request.request,{retries:r,retryAfter:s}),n)}}}J3.VERSION=IOe;var M_e=yC(K3(),1),ROe="0.0.0-development",Z3=()=>Promise.resolve();function MOe(e,t,o){return e.retryLimiter.schedule(DOe,e,t,o)}async function DOe(e,t,o){let{pathname:n}=new URL(o.url,"http://github.test"),r=$Oe(o.method,n),s=!r&&o.method!=="GET"&&o.method!=="HEAD",a=o.method==="GET"&&n.startsWith("/search/"),i=n.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(s||i)&&await e.write.key(e.id).schedule(c,Z3),s&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(c,Z3),a&&await e.search.key(e.id).schedule(c,Z3);let d=(r?e.auth:e.global).key(e.id).schedule(c,t,o);if(i){let p=await d;if(p.data.errors!=null&&p.data.errors.some(m=>m.type==="RATE_LIMITED"))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:p,data:p.data})}return d}function $Oe(e,t){return e==="PATCH"&&/^\/applications\/[^/]+\/token\/scoped$/.test(t)||e==="POST"&&(/^\/applications\/[^/]+\/token$/.test(t)||/^\/app\/installations\/[^/]+\/access_tokens$/.test(t)||t==="/login/oauth/access_token")}var NOe=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/issues/{issue_number}/sub_issue","/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function qOe(e){let o=`^(?:${e.map(n=>n.split("/").map(r=>r.startsWith("{")?"(?:.+?)":r).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var R_e=qOe(NOe),D_e=R_e.test.bind(R_e),$g={},FOe=function(e,t){$g.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),$g.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),$g.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),$g.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),$g.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function MR(e,t){let{enabled:o=!0,Bottleneck:n=M_e.default,id:r="no-id",timeout:s=1e3*60*2,connection:a}=t.throttle||{};if(!o)return{};let i={timeout:s};typeof a<"u"&&(i.connection=a),$g.global==null&&FOe(n,i);let l=Object.assign({clustering:a!=null,triggersNotification:D_e,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:r,...$g},t.throttle);if(typeof l.onSecondaryRateLimit!="function"||typeof l.onRateLimit!="function")throw new Error(`octokit/plugin-throttling error: You must pass the onSecondaryRateLimit and onRateLimit error handlers. See https://octokit.github.io/rest.js/#throttling const octokit = new Octokit({ throttle: { onSecondaryRateLimit: (retryAfter, options) => {/* ... */}, onRateLimit: (retryAfter, options) => {/* ... */} } }) `);let c={},d=new n.Events(c);return c.on("secondary-limit",l.onSecondaryRateLimit),c.on("rate-limit",l.onRateLimit),c.on("error",p=>e.log.warn("Error in throttling-plugin limit handler",p)),l.retryLimiter.on("failed",async function(p,m){let[g,f,_]=m.args,{pathname:h}=new URL(_.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let v=~~f.retryCount;f.retryCount=v,_.request.retryCount=v;let{wantRetry:T,retryAfter:I=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let C=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await d.trigger("secondary-limit",C,_,e,v),retryAfter:C}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(C=>C.type==="RATE_LIMITED")){let C=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),z=Math.max(Math.ceil((C-Date.now())/1e3)+1,0);return{wantRetry:await d.trigger("rate-limit",z,_,e,v),retryAfter:z}}return{}}();if(T)return f.retryCount++,I*g.retryAfterBaseValue}),e.hook.wrap("request",MOe.bind(null,l)),{}}MR.VERSION=ROe;MR.triggersNotification=D_e;function ip(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}function DR(e,t,o,n){if(typeof o!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(t)?t.reverse().reduce((r,s)=>DR.bind(null,e,s,r,n),o)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((r,s)=>s.hook.bind(null,r,n),o)():o(n))}function $_e(e,t,o,n){let r=n;e.registry[o]||(e.registry[o]=[]),t==="before"&&(n=(s,a)=>Promise.resolve().then(r.bind(null,a)).then(s.bind(null,a))),t==="after"&&(n=(s,a)=>{let i;return Promise.resolve().then(s.bind(null,a)).then(l=>(i=l,r(i,a))).then(()=>i)}),t==="error"&&(n=(s,a)=>Promise.resolve().then(s.bind(null,a)).catch(i=>r(i,a))),e.registry[o].push({hook:n,orig:r})}function N_e(e,t,o){if(!e.registry[t])return;let n=e.registry[t].map(r=>r.orig).indexOf(o);n!==-1&&e.registry[t].splice(n,1)}var q_e=Function.bind,F_e=q_e.bind(q_e);function O_e(e,t,o){let n=F_e(N_e,null).apply(null,o?[t,o]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(r=>{let s=o?[t,r,o]:[t,r];e[r]=e.api[r]=F_e($_e,null).apply(null,s)})}function OOe(){let e=Symbol("Singular"),t={registry:{}},o=DR.bind(null,t,e);return O_e(o,t,e),o}function UOe(){let e={registry:{}},t=DR.bind(null,e);return O_e(t,e),t}var U_e={Singular:OOe,Collection:UOe};var HOe="0.0.0-development",zOe=`octokit-endpoint.js/${HOe} ${ip()}`,BOe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":zOe},mediaType:{format:""}};function VOe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function GOe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}function B_e(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(n=>{GOe(t[n])?n in e?o[n]=B_e(e[n],t[n]):Object.assign(o,{[n]:t[n]}):Object.assign(o,{[n]:t[n]})}),o}function H_e(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function e4(e,t,o){if(typeof t=="string"){let[r,s]=t.split(" ");o=Object.assign(s?{method:r,url:s}:{url:r},o)}else o=Object.assign({},t);o.headers=VOe(o.headers),H_e(o),H_e(o.headers);let n=B_e(e||{},o);return o.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(n.mediaType.previews=e.mediaType.previews.filter(r=>!n.mediaType.previews.includes(r)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(r=>r.replace(/-preview/,""))),n}function jOe(e,t){let o=/\?/.test(e)?"&":"?",n=Object.keys(t);return n.length===0?e:e+o+n.map(r=>r==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${r}=${encodeURIComponent(t[r])}`).join("&")}var QOe=/\{[^{}}]+\}/g;function YOe(e){return e.replace(/(?:^\W+)|(?:(?o.concat(n),[]):[]}function z_e(e,t){let o={__proto__:null};for(let n of Object.keys(e))t.indexOf(n)===-1&&(o[n]=e[n]);return o}function V_e(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")}function W_(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function YS(e,t,o){return t=e==="+"||e==="#"?V_e(t):W_(t),o?W_(o)+"="+t:t}function Y_(e){return e!=null}function X3(e){return e===";"||e==="&"||e==="?"}function KOe(e,t,o,n){var r=e[o],s=[];if(Y_(r)&&r!=="")if(typeof r=="string"||typeof r=="number"||typeof r=="boolean")r=r.toString(),n&&n!=="*"&&(r=r.substring(0,parseInt(n,10))),s.push(YS(t,r,X3(t)?o:""));else if(n==="*")Array.isArray(r)?r.filter(Y_).forEach(function(a){s.push(YS(t,a,X3(t)?o:""))}):Object.keys(r).forEach(function(a){Y_(r[a])&&s.push(YS(t,r[a],a))});else{let a=[];Array.isArray(r)?r.filter(Y_).forEach(function(i){a.push(YS(t,i))}):Object.keys(r).forEach(function(i){Y_(r[i])&&(a.push(W_(i)),a.push(YS(t,r[i].toString())))}),X3(t)?s.push(W_(o)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else t===";"?Y_(r)&&s.push(W_(o)):r===""&&(t==="&"||t==="?")?s.push(W_(o)+"="):r===""&&s.push("");return s}function JOe(e){return{expand:ZOe.bind(null,e)}}function ZOe(e,t){var o=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,r,s){if(r){let i="",l=[];if(o.indexOf(r.charAt(0))!==-1&&(i=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(c){var d=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(KOe(t,i,d[1],d[2]||d[3]))}),i&&i!=="+"){var a=",";return i==="?"?a="&":i!=="#"&&(a=i),(l.length!==0?i:"")+l.join(a)}else return l.join(",")}else return V_e(s)}),e==="/"?e:e.replace(/\/$/,"")}function G_e(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),r,s=z_e(e,["method","baseUrl","url","headers","request","mediaType"]),a=WOe(o);o=JOe(o).expand(s),/^http/.test(o)||(o=e.baseUrl+o);let i=Object.keys(e).filter(d=>a.includes(d)).concat("baseUrl"),l=z_e(s,i);if(!/application\/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),o.endsWith("/graphql")&&e.mediaType.previews?.length)){let d=n.accept.match(/(?{let m=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${p}-preview${m}`}).join(",")}return["GET","HEAD"].includes(t)?o=jOe(o,l):"data"in l?r=l.data:Object.keys(l).length&&(r=l),!n["content-type"]&&typeof r<"u"&&(n["content-type"]="applicationhttps://www.microsoft.com/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof r>"u"&&(r=""),Object.assign({method:t,url:o,headers:n},typeof r<"u"?{body:r}:null,e.request?{request:e.request}:null)}function XOe(e,t,o){return G_e(e4(e,t,o))}function j_e(e,t){let o=e4(e,t),n=XOe.bind(null,o);return Object.assign(n,{DEFAULTS:o,defaults:j_e.bind(null,o),merge:e4.bind(null,o),parse:G_e})}var Q_e=j_e(null,BOe);var eve=yC(J_e(),1);var eUe="10.0.7",tUe={headers:{"user-agent":`octokit-request.js/${eUe} ${ip()}`}};function oUe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}var Z_e=()=>"";async function X_e(e){let t=e.request?.fetch||globalThis.fetch;if(!t)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let o=e.request?.log||console,n=e.request?.parseSuccessResponseBody!==!1,r=oUe(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body,s=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),a;try{a=await t(e.url,{method:e.method,body:r,redirect:e.request?.redirect,headers:s,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(p){let m="Unknown Error";if(p instanceof Error){if(p.name==="AbortError")throw p.status=500,p;m=p.message,p.name==="TypeError"&&"cause"in p&&(p.cause instanceof Error?m=p.cause.message:typeof p.cause=="string"&&(m=p.cause))}let g=new cd(m,500,{request:e});throw g.cause=p,g}let i=a.status,l=a.url,c={};for(let[p,m]of a.headers)c[p]=m;let d={url:l,status:i,headers:c,data:""};if("deprecation"in c){let p=c.link&&c.link.match(/<([^<>]+)>; rel="deprecation"/),m=p&&p.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${m?`. See ${m}`:""}`)}if(i===204||i===205)return d;if(e.method==="HEAD"){if(i<400)return d;throw new cd(a.statusText,i,{response:d,request:e})}if(i===304)throw d.data=await t4(a),new cd("Not modified",i,{response:d,request:e});if(i>=400)throw d.data=await t4(a),new cd(rUe(d.data),i,{response:d,request:e});return d.data=n?await t4(a):a.body,d}async function t4(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(Z_e);let o=(0,eve.safeParse)(t);if(nUe(o)){let n="";try{return n=await e.text(),JSON.parse(n)}catch{return n}}else return o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(Z_e):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function nUe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function rUe(e){if(typeof e=="string")return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){let t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(o=>JSON.stringify(o)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function o4(e,t){let o=e.defaults(t);return Object.assign(function(r,s){let a=o.merge(r,s);if(!a.request||!a.request.hook)return X_e(o.parse(a));let i=(l,c)=>X_e(o.parse(o.merge(l,c)));return Object.assign(i,{endpoint:o,defaults:o4.bind(null,o)}),a.request.hook(i,a)},{endpoint:o,defaults:o4.bind(null,o)})}var KS=o4(Q_e,tUe);var sUe="0.0.0-development";function aUe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var iUe=class extends Error{constructor(t,o,n){super(aUe(n));Wt(this,"name","GraphqlResponseError");Wt(this,"errors");Wt(this,"data");this.request=t,this.headers=o,this.response=n,this.errors=n.errors,this.data=n.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},lUe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],cUe=["query","method","url"],tve=/\/api\/v3\/?$/;function dUe(e,t,o){if(o){if(typeof t=="string"&&"query"in o)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in o)if(cUe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof t=="string"?Object.assign({query:t},o):t,r=Object.keys(n).reduce((a,i)=>lUe.includes(i)?(a[i]=n[i],a):(a.variables||(a.variables={}),a.variables[i]=n[i],a),{}),s=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return tve.test(s)&&(r.url=s.replace(tve,"/api/graphql")),e(r).then(a=>{if(a.data.errors){let i={};for(let l of Object.keys(a.headers))i[l]=a.headers[l];throw new iUe(r,i,a.data)}return a.data.data})}function n4(e,t){let o=e.defaults(t);return Object.assign((r,s)=>dUe(o,r,s),{defaults:n4.bind(null,o),endpoint:o.endpoint})}var FDt=n4(KS,{headers:{"user-agent":`octokit-graphql.js/${sUe} ${ip()}`},method:"POST",url:"/graphql"});function ove(e){return n4(e,{method:"POST",url:"/graphql"})}var r4="(?:[a-zA-Z0-9_-]+)",nve="\\.",rve=new RegExp(`^${r4}${nve}${r4}${nve}${r4}$`),uUe=rve.test.bind(rve);async function pUe(e){let t=uUe(e),o=e.startsWith("v1.")||e.startsWith("ghs_"),n=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":o?"installation":n?"user-to-server":"oauth"}}function mUe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function gUe(e,t,o,n){let r=t.endpoint.merge(o,n);return r.headers.authorization=mUe(e),t(r)}var sve=function(t){if(!t)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof t!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return t=t.replace(/^(token|bearer) +/i,""),Object.assign(pUe.bind(null,t),{hook:gUe.bind(null,t)})};var s4="7.0.6";var ave=()=>{},fUe=console.warn.bind(console),hUe=console.error.bind(console);function bUe(e={}){return typeof e.debug!="function"&&(e.debug=ave),typeof e.info!="function"&&(e.info=ave),typeof e.warn!="function"&&(e.warn=fUe),typeof e.error!="function"&&(e.error=hUe),e}var ive=`octokit-core.js/${s4} ${ip()}`,K_=class{constructor(t={}){Wt(this,"request");Wt(this,"graphql");Wt(this,"log");Wt(this,"hook");Wt(this,"auth");let o=new U_e.Collection,n={baseUrl:KS.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:o.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=t.userAgent?`${t.userAgent} ${ive}`:ive,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=KS.defaults(n),this.graphql=ove(this.request).defaults(n),this.log=bUe(t.log),this.hook=o,t.authStrategy){let{authStrategy:s,...a}=t,i=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},t.auth));o.wrap("request",i.hook),this.auth=i}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let s=sve(t.auth);o.wrap("request",s.hook),this.auth=s}let r=this.constructor;for(let s=0;s!o.includes(s)))),r}};Wt(K_,"VERSION",s4),Wt(K_,"plugins",[]);var lve="6.0.0";function a4(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let n=Date.now(),r=e.request.endpoint.parse(o),s=r.url.replace(o.baseUrl,"");return t(o).then(a=>{let i=a.headers["x-github-request-id"];return e.log.info(`${r.method} ${s} - ${a.status} with id ${i} in ${Date.now()-n}ms`),a}).catch(a=>{let i=a.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${r.method} ${s} - ${a.status} with id ${i} in ${Date.now()-n}ms`),a})})}a4.VERSION=lve;var _Ue="0.0.0-development";function vUe(e){if(!e.data)return{...e,data:[]};if(!(("total_count"in e.data||"total_commits"in e.data)&&!("url"in e.data)))return e;let o=e.data.incomplete_results,n=e.data.repository_selection,r=e.data.total_count,s=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let a=Object.keys(e.data)[0],i=e.data[a];return e.data=i,typeof o<"u"&&(e.data.incomplete_results=o),typeof n<"u"&&(e.data.repository_selection=n),e.data.total_count=r,e.data.total_commits=s,e}function i4(e,t,o){let n=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),r=typeof t=="function"?t:e.request,s=n.method,a=n.headers,i=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!i)return{done:!0};try{let l=await r({method:s,url:i,headers:a}),c=vUe(l);if(i=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!i&&"total_commits"in c.data){let d=new URL(c.url),p=d.searchParams,m=parseInt(p.get("page")||"1",10),g=parseInt(p.get("per_page")||"250",10);m*g{if(r.done)return t;let s=!1;function a(){s=!0}return t=t.concat(n?n(r.value,a):r.value.data),s?t:dve(e,t,o,n)})}var n1t=Object.assign(cve,{iterator:i4});function l4(e){return{paginate:Object.assign(cve.bind(null,e),{iterator:i4.bind(null,e)})}}l4.VERSION=_Ue;var c4="16.1.1";var yUe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteHostedRunnerForOrg:["DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getHostedRunnerForOrg:["GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],getHostedRunnersGithubOwnedImagesForOrg:["GET /orgs/{org}/actions/hosted-runnershttps://www.microsoft.com/images/github-owned"],getHostedRunnersLimitsForOrg:["GET /orgs/{org}/actions/hosted-runners/limits"],getHostedRunnersMachineSpecsForOrg:["GET /orgs/{org}/actions/hosted-runners/machine-sizes"],getHostedRunnersPartnerImagesForOrg:["GET /orgs/{org}/actions/hosted-runnershttps://www.microsoft.com/images/partner"],getHostedRunnersPlatformsForOrg:["GET /orgs/{org}/actions/hosted-runners/platforms"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listGithubHostedRunnersInGroupForOrg:["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"],listHostedRunnersForOrg:["GET /orgs/{org}/actions/hosted-runners"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateHostedRunnerForOrg:["PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubBillingUsageReportUser:["GET /users/{username}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},campaigns:{createCampaign:["POST /orgs/{org}/campaigns"],deleteCampaign:["DELETE /orgs/{org}/campaigns/{campaign_number}"],getCampaignSummary:["GET /orgs/{org}/campaigns/{campaign_number}"],listOrgCampaigns:["GET /orgs/{org}/campaigns"],updateCampaign:["PATCH /orgs/{org}/campaigns/{campaign_number}"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},credentials:{revoke:["POST /credentials/revoke"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],repositoryAccessForOrg:["GET /organizations/{org}/dependabot/repository-access"],setRepositoryAccessDefaultLevel:["PUT /organizations/{org}/dependabot/repository-access/default-level"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],updateRepositoryAccessForOrg:["PATCH /organizations/{org}/dependabot/repository-access"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},hostedCompute:{createNetworkConfigurationForOrg:["POST /orgs/{org}/settings/network-configurations"],deleteNetworkConfigurationFromOrg:["DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkConfigurationForOrg:["GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkSettingsForOrg:["GET /orgs/{org}/settings/network-settings/{network_settings_id}"],listNetworkConfigurationsForOrg:["GET /orgs/{org}/settings/network-configurations"],updateNetworkConfigurationForOrg:["PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addBlockedByDependency:["POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],getParent:["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listDependenciesBlockedBy:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],listDependenciesBlocking:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeDependencyBlockedBy:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createArtifactStorageRecord:["POST /orgs/{org}/artifacts/metadata/storage-record"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteAttestationsBulk:["POST /orgs/{org}/attestations/delete-request"],deleteAttestationsById:["DELETE /orgs/{org}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /orgs/{org}/attestations/digest/{subject_digest}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getOrgRulesetHistory:["GET /orgs/{org}/rulesets/{ruleset_id}/history"],getOrgRulesetVersion:["GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listArtifactStorageRecords:["GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listAttestationsBulk:["POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listIssueTypes:["GET /orgs/{org}/issue-types"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateIssueType:["PUT /orgs/{org}/issue-types/{issue_type_id}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addItemForOrg:["POST /orgs/{org}/projectsV2/{project_number}/items"],addItemForUser:["POST /users/{user_id}/projectsV2/{project_number}/items"],deleteItemForOrg:["DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],deleteItemForUser:["DELETE /users/{user_id}/projectsV2/{project_number}/items/{item_id}"],getFieldForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"],getFieldForUser:["GET /users/{user_id}/projectsV2/{project_number}/fields/{field_id}"],getForOrg:["GET /orgs/{org}/projectsV2/{project_number}"],getForUser:["GET /users/{user_id}/projectsV2/{project_number}"],getOrgItem:["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],getUserItem:["GET /users/{user_id}/projectsV2/{project_number}/items/{item_id}"],listFieldsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields"],listFieldsForUser:["GET /users/{user_id}/projectsV2/{project_number}/fields"],listForOrg:["GET /orgs/{org}/projectsV2"],listForUser:["GET /users/{username}/projectsV2"],listItemsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/items"],listItemsForUser:["GET /users/{user_id}/projectsV2/{project_number}/items"],updateItemForOrg:["PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],updateItemForUser:["PATCH /users/{user_id}/projectsV2/{project_number}/items/{item_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesetHistory:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"],getRepoRulesetVersion:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues",{},{deprecated:"octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests"}],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],listOrgPatternConfigs:["GET /orgs/{org}/secret-scanning/pattern-configurations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],updateOrgPatternConfigs:["PATCH /orgs/{org}/secret-scanning/pattern-configurations"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteAttestationsBulk:["POST /users/{username}/attestations/delete-request"],deleteAttestationsById:["DELETE /users/{username}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /users/{username}/attestations/digest/{subject_digest}"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listAttestationsBulk:["POST /users/{username}/attestations/bulk-list{?per_page,before,after}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},uve=yUe;var qg=new Map;for(let[e,t]of Object.entries(uve))for(let[o,n]of Object.entries(t)){let[r,s,a]=n,[i,l]=r.split(/ /),c=Object.assign({method:i,url:l},s);qg.has(e)||qg.set(e,new Map),qg.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:a})}var xUe={has({scope:e},t){return qg.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,o){return Object.defineProperty(e.cache,t,o),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...qg.get(e).keys()]},set(e,t,o){return e.cache[t]=o},get({octokit:e,scope:t,cache:o},n){if(o[n])return o[n];let r=qg.get(t).get(n);if(!r)return;let{endpointDefaults:s,decorations:a}=r;return a?o[n]=TUe(e,t,n,s,a):o[n]=e.request.defaults(s),o[n]}};function d4(e){let t={};for(let o of qg.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},xUe);return t}function TUe(e,t,o,n,r){let s=e.request.defaults(n);function a(...i){let l=s.endpoint.merge(...i);if(r.mapToData)return l=Object.assign({},l,{data:l[r.mapToData],[r.mapToData]:void 0}),s(l);if(r.renamed){let[c,d]=r.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${d}()`)}if(r.deprecated&&e.log.warn(r.deprecated),r.renamedParameters){let c=s.endpoint.merge(...i);for(let[d,p]of Object.entries(r.renamedParameters))d in c&&(e.log.warn(`"${d}" parameter is deprecated for "octokit.${t}.${o}()". Use "${p}" instead`),p in c||(c[p]=c[d]),delete c[d]);return s(c)}return s(...i)}return Object.assign(a,s)}function SUe(e){return{rest:d4(e)}}SUe.VERSION=c4;function u4(e){let t=d4(e);return{...t,rest:t}}u4.VERSION=c4;var pve="22.0.0";var mve=K_.plugin(a4,u4,l4).defaults({userAgent:`octokit-rest.js/${pve}`});var dd=function(){if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global;if(typeof self<"u")return self;if(typeof window<"u")return window;try{return new Function("return this")()}catch{return{}}}();dd.trustedTypes===void 0&&(dd.trustedTypes={createPolicy:(e,t)=>t});var gve={configurable:!1,enumerable:!1,writable:!1};dd.FAST===void 0&&Reflect.defineProperty(dd,"FAST",Object.assign({value:Object.create(null)},gve));var Fg=dd.FAST;if(Fg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Fg,"getById",Object.assign({value(t,o){let n=e[t];return n===void 0&&(n=o?e[t]=o():null),n}},gve))}var FR=Object.freeze([]);function OR(){let e=new WeakMap;return function(t){let o=e.get(t);if(o===void 0){let n=Reflect.getPrototypeOf(t);for(;o===void 0&&n!==null;)o=e.get(n),n=Reflect.getPrototypeOf(n);o=o===void 0?[]:o.slice(0),e.set(t,o)}return o}}var p4=dd.FAST.getById(1,()=>{let e=[],t=[];function o(){if(t.length)throw t.shift()}function n(a){try{a.call()}catch(i){t.push(i),setTimeout(o,0)}}function r(){let i=0;for(;i1024){for(let l=0,c=e.length-i;le}),m4=fve,JS=`fast-${Math.random().toString(36).substring(2,8)}`,g4=`${JS}{`,UR=`}${JS}`,Et=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(m4!==fve)throw new Error("The HTML policy can only be set once.");m4=e},createHTML(e){return m4.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(JS)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${JS}:`,""))},createInterpolationPlaceholder(e){return`${g4}${e}${UR}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:p4.enqueue,processUpdates:p4.process,nextUpdate(){return new Promise(p4.enqueue)},setAttribute(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)},removeChildNodes(e){for(let t=e.firstChild;t!==null;t=e.firstChild)e.removeChild(t)},createTemplateWalker(e){return document.createTreeWalker(e,133,null,!1)}});var lp=class{constructor(t,o){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=o}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){let o=this.spillover;if(o===void 0){if(this.has(t))return;if(this.sub1===void 0){this.sub1=t;return}if(this.sub2===void 0){this.sub2=t;return}this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else o.indexOf(t)===-1&&o.push(t)}unsubscribe(t){let o=this.spillover;if(o===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{let n=o.indexOf(t);n!==-1&&o.splice(n,1)}}notify(t){let o=this.spillover,n=this.source;if(o===void 0){let r=this.sub1,s=this.sub2;r!==void 0&&r.handleChange(n,t),s!==void 0&&s.handleChange(n,t)}else for(let r=0,s=o.length;r{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=Et.queueUpdate,n,r=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function s(c){let d=c.$fastController||t.get(c);return d===void 0&&(Array.isArray(c)?d=r(c):t.set(c,d=new J_(c))),d}let a=OR();class i{constructor(d){this.name=d,this.field=`_${d}`,this.callback=`${d}Changed`}getValue(d){return n!==void 0&&n.watch(d,this.name),d[this.field]}setValue(d,p){let m=this.field,g=d[m];if(g!==p){d[m]=p;let f=d[this.callback];typeof f=="function"&&f.call(d,g,p),s(d).notify(this.name)}}}class l extends lp{constructor(d,p,m=!1){super(d,p),this.binding=d,this.isVolatileBinding=m,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(d,p){this.needsRefresh&&this.last!==null&&this.disconnect();let m=n;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g=this.binding(d,p);return n=m,g}disconnect(){if(this.last!==null){let d=this.first;for(;d!==void 0;)d.notifier.unsubscribe(this,d.propertyName),d=d.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(d,p){let m=this.last,g=s(d),f=m===null?this.first:{};if(f.propertySource=d,f.propertyName=p,f.notifier=g,g.subscribe(this,p),m!==null){if(!this.needsRefresh){let _;n=void 0,_=m.propertySource[m.propertyName],n=this,d===_&&(this.needsRefresh=!0)}m.next=f}this.last=f}handleChange(){this.needsQueue&&(this.needsQueue=!1,o(this))}call(){this.last!==null&&(this.needsQueue=!0,this.notify(this))}records(){let d=this.first;return{next:()=>{let p=d;return p===void 0?{value:void 0,done:!0}:(d=d.next,{value:p,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(c){r=c},getNotifier:s,track(c,d){n!==void 0&&n.watch(c,d)},trackVolatile(){n!==void 0&&(n.needsRefresh=!0)},notify(c,d){s(c).notify(d)},defineProperty(c,d){typeof d=="string"&&(d=new i(d)),a(c).push(d),Reflect.defineProperty(c,d.name,{enumerable:!0,get:function(){return d.getValue(this)},set:function(p){d.setValue(this,p)}})},getAccessors:a,binding(c,d,p=this.isVolatileBinding(c)){return new l(c,d,p)},isVolatileBinding(c){return e.test(c.toString())}})});function V(e,t){to.defineProperty(e,t)}var hve=Fg.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),cp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return hve.get()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){hve.set(t)}};to.defineProperty(cp.prototype,"index");to.defineProperty(cp.prototype,"length");var Xs=Object.seal(new cp);var Gl=class{constructor(){this.targetIndex=0}},Z_=class extends Gl{constructor(){super(...arguments),this.createPlaceholder=Et.createInterpolationPlaceholder}},HR=class extends Gl{constructor(t,o,n){super(),this.name=t,this.behavior=o,this.options=n}createPlaceholder(t){return Et.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function wUe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=to.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function CUe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function EUe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function AUe(){this.bindingObserver.disconnect(),this.source=null,this.context=null;let e=this.target.$fastView;e!==void 0&&e.isComposed&&(e.unbind(),e.needsBindOnly=!0)}function kUe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function IUe(e){Et.setAttribute(this.target,this.targetName,e)}function PUe(e){Et.setBooleanAttribute(this.target,this.targetName,e)}function LUe(e){if(e==null&&(e=""),e.create){this.target.textContent="";let t=this.target.$fastView;t===void 0?t=e.create():this.target.$fastTemplate!==e&&(t.isComposed&&(t.remove(),t.unbind()),t=e.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(this.source,this.context)):(t.isComposed=!0,t.bind(this.source,this.context),t.insertBefore(this.target),this.target.$fastView=t,this.target.$fastTemplate=e)}else{let t=this.target.$fastView;t!==void 0&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),this.target.textContent=e}}function RUe(e){this.target[this.targetName]=e}function MUe(e){let t=this.classVersions||Object.create(null),o=this.target,n=this.version||0;if(e!=null&&e.length){let r=e.split(/\s+/);for(let s=0,a=r.length;sEt.createHTML(o(n,r))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=PUe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=CUe,this.unbind=kUe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=MUe);break}}targetAtContent(){this.updateTarget=LUe,this.unbind=AUe}createBehavior(t){return new f4(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},f4=class{constructor(t,o,n,r,s,a,i){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=n,this.bind=r,this.unbind=s,this.updateTarget=a,this.targetName=i}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){cp.setEvent(t);let o=this.binding(this.source,this.context);cp.setEvent(null),o!==!0&&t.preventDefault()}};var h4=null,b4=class e{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){h4=this}static borrow(t){let o=h4||new e;return o.directives=t,o.reset(),h4=null,o}};function DUe(e){if(e.length===1)return e[0];let t,o=e.length,n=e.map(a=>typeof a=="string"?()=>a:(t=a.targetName||t,a.binding)),r=(a,i)=>{let l="";for(let c=0;ci),c.targetName=a.name):c=DUe(l),c!==null&&(t.removeAttributeNode(a),r--,s--,e.addFactory(c))}}function NUe(e,t,o){let n=_ve(e,t.textContent);if(n!==null){let r=t;for(let s=0,a=n.length;s0}let o=this.fragment.cloneNode(!0),n=this.viewBehaviorFactories,r=new Array(this.behaviorCount),s=Et.createTemplateWalker(o),a=0,i=this.targetOffset,l=s.nextNode();for(let c=n.length;a=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function W(e,...t){let o=[],n="";for(let r=0,s=e.length-1;rl}if(typeof i=="function"&&(i=new Og(i)),i instanceof Z_){let l=qUe.exec(a);l!==null&&(i.targetName=l[2])}i instanceof Gl?(n+=i.createPlaceholder(o.length),o.push(i)):n+=i}return n+=e[e.length-1],new zR(n,o)}var Ts=class{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=this.behaviors===null?t:this.behaviors.concat(t),this}};Ts.create=(()=>{if(Et.supportsAdoptedStyleSheets){let e=new Map;return t=>new v4(t,e)}return e=>new y4(e)})();function x4(e){return e.map(t=>t instanceof Ts?x4(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function yve(e){return e.map(t=>t instanceof Ts?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var xve=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Tve=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(Et.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),xve=(e,t)=>{e.adoptedStyleSheets.push(...t)},Tve=(e,t)=>{for(let o of t){let n=e.adoptedStyleSheets.indexOf(o);n!==-1&&e.adoptedStyleSheets.splice(n,1)}}}catch{}var v4=class extends Ts{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=yve(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=x4(t).map(n=>{if(n instanceof CSSStyleSheet)return n;let r=o.get(n);return r===void 0&&(r=new CSSStyleSheet,r.replaceSync(n),o.set(n,r)),r})}return this._styleSheets}addStylesTo(t){xve(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){Tve(t,this.styleSheets),super.removeStylesFrom(t)}},FUe=0;function OUe(){return`fast-style-class-${++FUe}`}var y4=class extends Ts{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=yve(t),this.styleSheets=x4(t),this.styleClass=OUe()}addStylesTo(t){let o=this.styleSheets,n=this.styleClass;t=this.normalizeTarget(t);for(let r=0;r{n.add(t);let r=t[this.fieldName];switch(o){case"reflect":let s=this.converter;Et.setAttribute(t,this.attribute,s!==void 0?s.toView(r):r);break;case"boolean":Et.setBooleanAttribute(t,this.attribute,r);break}n.delete(t)})}static collect(t,...o){let n=[];o.push(Sve.locate(t));for(let r=0,s=o.length;r1&&(o.property=s),Sve.locate(r.constructor).push(o)}if(arguments.length>1){o={},n(e,t);return}return o=e===void 0?{}:e,n}var wve={mode:"open"},Cve={},T4=Fg.getById(4,()=>{let e=new Map;return Object.freeze({register(t){return e.has(t.type)?!1:(e.set(t.type,t),!0)},getByType(t){return e.get(t)}})}),Ug=class{constructor(t,o=t.definition){typeof o=="string"&&(o={name:o}),this.type=t,this.name=o.name,this.template=o.template;let n=BR.collect(t,o.attributes),r=new Array(n.length),s={},a={};for(let i=0,l=n.length;i0){let s=this.boundObservables=Object.create(null);for(let a=0,i=r.length;a0||o>0;){if(t===0){r.push(C4),o--;continue}if(o===0){r.push(E4),t--;continue}let s=e[t-1][o-1],a=e[t-1][o],i=e[t][o-1],l;a=0){e.splice(i,1),i--,a-=l.addedCount-l.removed.length,r.addedCount+=l.addedCount-c;let d=r.removed.length+l.removed.length-c;if(!r.addedCount&&!d)s=!0;else{let p=l.removed;if(r.indexl.index+l.addedCount){let m=r.removed.slice(l.index+l.addedCount-r.index);Ive.apply(p,m)}r.removed=p,l.indexn?o=n-e.addedCount:o<0&&(o=n+e.removed.length+o-e.addedCount),o<0&&(o=0),e.index=o,e}var I4=class extends lp{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,Reflect.defineProperty(t,"$fastController",{value:this,enumerable:!1})}subscribe(t){this.flush(),super.subscribe(t)}addSplice(t){this.splices===void 0?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,Et.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,Et.queueUpdate(this))}flush(){let t=this.splices,o=this.oldCollection;if(t===void 0&&o===void 0)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;let n=o===void 0?Rve(this.source,t):A4(this.source,0,this.source.length,o,0,o.length);this.notify(n)}};function Dve(){if(Mve)return;Mve=!0,to.setArrayObserverFactory(l=>new I4(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,o=e.push,n=e.reverse,r=e.shift,s=e.sort,a=e.splice,i=e.unshift;e.pop=function(){let l=this.length>0,c=t.apply(this,arguments),d=this.$fastController;return d!==void 0&&l&&d.addSplice(Va(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Va(this.length-arguments.length,[],arguments.length),this)),l},e.reverse=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let d=n.apply(this,arguments);return c!==void 0&&c.reset(l),d},e.shift=function(){let l=this.length>0,c=r.apply(this,arguments),d=this.$fastController;return d!==void 0&&l&&d.addSplice(Va(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let d=s.apply(this,arguments);return c!==void 0&&c.reset(l),d},e.splice=function(){let l=a.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Va(+arguments[0],l,arguments.length>2?arguments.length-2:0),this)),l},e.unshift=function(){let l=i.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Va(0,[],arguments.length),this)),l}}var P4=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Hg(e){return new HR("fast-ref",P4,e)}var L4=e=>typeof e=="function";var KUe=()=>null;function $ve(e){return e===void 0?KUe:L4(e)?e:()=>e}function Ie(e,t,o){let n=L4(e)?e:()=>e,r=$ve(t),s=$ve(o);return(a,i)=>n(a,i)?r(a,i):s(a,i)}var Nve=Object.freeze({positioning:!1,recycle:!0});function JUe(e,t,o,n){e.bind(t[o],n)}function ZUe(e,t,o,n){let r=Object.create(n);r.index=o,r.length=t.length,e.bind(t[o],r)}var R4=class{constructor(t,o,n,r,s,a){this.location=t,this.itemsBinding=o,this.templateBinding=r,this.options=a,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=JUe,this.itemsBindingObserver=to.binding(o,this,n),this.templateBindingObserver=to.binding(r,this,s),a.positioning&&(this.bindView=ZUe)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,this.itemsObserver!==null&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,o){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(o)}observeItems(t=!1){if(!this.items){this.items=FR;return}let o=this.itemsObserver,n=this.itemsObserver=to.getNotifier(this.items),r=o!==n;r&&o!==null&&o.unsubscribe(this),(r||t)&&n.subscribe(this)}updateViews(t){let o=this.childContext,n=this.views,r=this.bindView,s=this.items,a=this.template,i=this.options.recycle,l=[],c=0,d=0;for(let p=0,m=t.length;p0?(_<=T&&v.length>0?(z=v[_],_++):(z=l[c],c++),d--):z=a.create(),n.splice(h,0,z),r(z,s,h,o),z.insertBefore(C)}v[_]&&l.push(...v.slice(_))}for(let p=c,m=l.length;pt;return new M4(e,n,Object.assign(Object.assign({},Nve),o))}var XUe=w4` .modal-background { bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 1040; } .modal-background + div:not(.modal-content) { width: auto; height: auto; } .modal-card { top: 30%; max-width: 650px; z-index: 10001; margin: 0 auto; } .buttons-center { justify-content: center; } `;function qve(e,t,o,n){let r=["default-focus","button","font-weight-semibold","modal-close"],s=typeof t=="function"?t(e):t;s.classes&&r.push("button-filled");let a=new Set([...s.classes??[],...r]);if(s.url)return W` ${s.label} `;let i=s.object?`${s.action} - ${s.object}`:`${s.action}`;return W` `}function eHe({message:e,title:t,confirmButton:o,cancelButton:n,align:r}){let s=a=>({action:Ne,label:Ne,...typeof n=="function"?n(a):n});return W` ${Ie(a=>a.visible,W``)} `}var jR=class extends kve{constructor(){super(...arguments);this.visible=!1}connectedCallback(){super.connectedCallback()}confirm(){this.visible=!1,this.$emit("confirm"),this.showVerticalScrollbar()}cancel(){this.visible=!1,this.$emit("cancel"),this.showVerticalScrollbar()}close(){this.visible=!1,this.$emit("close"),this.showVerticalScrollbar()}setFocus(){Et.queueUpdate(()=>{let o=document.getElementsByClassName("default-focus")[0];o&&o.focus();let n=".modal-close, .modal-card .button",r=document.querySelector(".modal-card");if(!r)return;let s=r.querySelectorAll(n),a=s[0],i=s[s.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===a||s.length===1)&&(i.focus(),l.preventDefault()):(document.activeElement===i||s.length===1)&&(a.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};O([V],jR.prototype,"visible",2);var QR=class extends jR{showModal(t,o,n){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=t,this.cancelCallback=o,this.closeCallback=n,this.setFocus()}confirm(){super.confirm(),this.confirmCallback&&this.confirmCallback()}cancel(){super.cancel(),this.cancelCallback&&this.cancelCallback()}close(){super.close(),this.closeCallback&&this.closeCallback()}};function Fve(e,t,o){return QR.define(class extends QR{},{name:e,template:eHe(o),styles:XUe,shadowOptions:null,attributes:t??[]})}var D4=0;function YR(e,t){if(typeof e!="string"){let r=e;e="";for(let s in r)e+=r[s]+"
    "}let o=document.getElementById("error-modal");o&&document.body.removeChild(o),Fve(`error-modal-${D4}`,[],{message:W`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let n=document.createElement(`error-modal-${D4}`);n.id="error-modal",document.body.appendChild(n),n.showModal(),D4++}function WR(...e){let t=i=>[...i].join("/"),o=(i,...l)=>{let c=new URLSearchParams;for(let d of l)i.searchParams.has(d)&&c.set(d,i.searchParams.get(d)??"");return c},n=new URL(location.href),r=o(n,"branch","themebranch","branchFallbackFrom","pr"),s=r.toString()!==""?"?"+r.toString():"",a=`/${b.data.userLocale}/editor/`+t(e)+s;return new URL(a,n)}function Ove(e){e||(e=WR());let t="";return R.supportLevel==="development"&&R.accessLevel==="online"&&location.hostname.startsWith("pr")?t="630f400e5ecc44019564":R.supportLevel==="development"&&R.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${q.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var tHe=mve.plugin(J3,MR),oHe={onRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Rate limit exceeded. Retries failed. Please try again later.")},onAbuseLimit:(e,t)=>{throw new Error(`Abuse detected for request ${t.method} ${t.url}`)},onSecondaryRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Secondary Rate limit exceeded. Retries failed. Please try again later.")}},nHe={doNotRetry:[429,409,404]};function $4(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var rHe=()=>{localStorage.removeItem("gitHubToken"),location.href=Ove()};async function N4(e){let t=new tHe({auth:e,retry:nHe,throttle:oHe});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw YR({message:sV},{label:cV,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",r=>rHe()),sHe({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function Uve(){let e={method:"GET"},t=await M(K(`${q.buildAuthAdmin}/opensource/link/github`,e,!0));return fe(t),t.ok?await t.json():null}var KR=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,q4=`items: nodes { ... on PullRequest { id number title base: baseRef { name prefix repository { name nameWithOwner owner { login } } } changedFiles closed closedAt createdAt files(first: 100) { items: nodes { path } ${KR} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,F4=`rateLimit { cost limit nodeCount remaining resetAt used }`,BNt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${q4} ${KR} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${F4} }`,VNt=`query InReview ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount, ${q4} ${KR} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${F4} }`,GNt=`query Closed ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${q4} ${KR} } ${F4} }`;function sHe(e){xe({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}ze();jp();var aHe=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function Hve(e,t=aHe){let o="",n="",r="",s="";try{let a=t.exec(e);a&&a.length>1&&(o=a[1]??""),a&&a.length>2&&(n=a[2]??""),a&&a.length>3&&(s=a[4]??""),a&&a.length>4&&(r=a[5]??"")}catch(a){YR(rV),xe({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:a}})}return{owner:o,repo:n,path:r,branch:s}}async function O4(e){let t=await M(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let o=await t.text(),r=new DOMParser().parseFromString(o,"text/html");return{url:new URL(t.url||e,location.origin),document:r}}function JR(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let n=(o.name||o?.getAttribute("property"))??"";return t[n]=o.content,t},{})}var U4={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function zve(e){let t="",o="",n="",r="",s="",i=JR(e)?.original_content_git_url??"";({branch:r,path:s,repo:n,owner:o}=Hve(i)),U4={template:"",forkUrl:"",branch:r,path:s,repo:n,owner:o,originalContent:i};let l=e.querySelector("a[data-contenteditbtn]");if(l){let c=l?.getAttribute("data-original_content_git_url_template")??"";if(c){let d=l?.getAttribute("data-pr_repo")??"",p=l?.getAttribute("data-pr_branch")??"";d&&p&&(t=c.replace("{repo}",d).replace("{branch}",p),[o,n]=(l?.getAttribute("data-pr_repo")??"")?.split("github.com/")?.pop()?.split("/")??["",""]);let m=c?.split("{branch}/")?.pop()??"";(l?.getAttribute("data-pr_branch")??"")&&(r=l?.getAttribute("data-pr_branch")??""),U4={template:c,forkUrl:t,branch:r,path:m,repo:n,owner:o,originalContent:i}}}return U4}function Bve(e,t,o,n){return u` `}function Vve(e,t){let o=iV,n=lV,r="",s=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),r=aV;break;case 3:o=o.replace("{name}",kA),n=n.replace("{name}",kA).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),s=iHe().toString();break}return{title:o,description:n,link:s,moreInfo:r}}function iHe(){let e=JR(document),t=e.platform_id||"",o=e.monikers??"",{owner:n,repo:r,branch:s,path:a}=zve(document);return WR(`${n}/${r}/${encodeURIComponent(a)}/${encodeURIComponent(s)}${t?`/${t}/${o??""}`:""}`)}ze();var zg=class e extends Error{constructor(t,o,{errorCode:n,message:r},...s){super(...s),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=o,this.errorCode=n,this.message=r,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function ZS(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return te()["skip-verification"];if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function XS(){let e="live";if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function Gve(){let e="false";if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function jve(){let{accommodationRequested:e}=te();if(w.stayCurrentAllowParam){let t=te()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function Qve(){let e=!1;if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function ea(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var H4=class{constructor(t,o,n){let s=lh(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=s.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=s.isCorrect,this.locale=n,this.questionId=o,this.questionnaireId=s.questionnaireId,this.text=s.text,this.textHtml=s.textHTML}},ew=class{constructor(t,o,n){this.choices=z0(t.map(r=>new H4(r,o,n)))}},z4=class{constructor(t,o){let r=lh(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),s=["createdAtUTC"],a=lh(r.activityLog,s);this.id=r.id,this.createdAtUTC=a.createdAtUTC,this.choices=new ew(r.choices,r.id,o).choices,this.choiceCount=r.choiceCount,this.locale=o,this.questionnaireId=r.questionnaireId,this.text=r.text,this.type=r.type,r.rationale&&(this.rationale=r.rationale),r.rationaleHTML&&(this.rationaleHtml=r.rationaleHTML),r.textHTML&&(this.textHtml=r.textHTML)}};var B4=class{constructor(t,o){let r=lh(t,["correctChoice","question","userChoice"]),s=new z4(r.question,o);this.correctChoice=new ew(r.correctChoice,s.id,o).choices,this.question=s,this.userChoice=new ew(r.userChoice,s.id,o).choices}},ZR=class{constructor(t,o){this.items=z0(t.map(n=>new B4(n,o)))}};var Sqt=pt(),wqt=b.data.userLocale;function Ga(e){return JSON.parse(JSON.stringify(e))}function XR(e){let t=e&&e.skipVerification,o=e&&t?e.accomodationRequested??!1:!1,n=e&&t&&e.showAllQuestions;return{accomodationRequested:o,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1},assessmentId:"1",assessmentType:"Renewal",assessmentVersion:1,branch:"Main",correctPercent:100,docsId:"docs1",endTime:"2022-01-01T00:00:00Z",expirationTime:"2022-01-01T00:00:00Z",id:1765,locale:"en-US",linkedContent:{id:1,assessmentType:"Renewal",activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1"},linkedContentCertificationExpirationDate:"2022-01-01T00:00:00Z",linkedContentCertificationPartOfStayCurrent:!0,linkedContentEligibleForRecertification:!0,linkedContentIconURL:"https://review.learn.microsoft.com/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",linkedContentId:"exam.ai-102",linkedContentName:"Content1",linkedContentSnapshotRetakeEligibleDate:"2022-01-01T00:00:00Z",linkedContentStudyGuide:{type:"studyguide",items:[{listId:"module",id:"learn.host-a-web-application-with-azure-web-apps",type:"module",data:{docId:"null",docVIId:"null",platformId:"null",pageKind:"module",pageType:"learn",eventUid:"null",rawUrl:"null",title:"Host a web application with Azure App Service",uid:"learn.host-a-web-application-with-azure-web-apps",url:"/training/modules/host-a-web-app-with-azure-app-service/",iconUrl:"/training/achievements/host-a-web-app-with-azure-app-service.svg",durationInMinutes:31,moduleCount:0,products:["azure","azure-app-service","azure-portal"],levels:["beginner"],roles:["developer","solution-architect","student"],childUids:["learn.host-a-web-application-with-azure-web-apps.1-introduction","learn.host-a-web-application-with-azure-web-apps.2-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.3-exercise-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.4-exercise-implement-a-web-application","learn.host-a-web-application-with-azure-web-apps.5-deploying-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.6-exercise-deploy-your-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.7-summary","learn.host-a-web-application-with-azure-web-apps.8"],completedChildUids:[],display_products:["Azure","Azure App Service","Azure Portal"],display_levels:["Beginner"],display_roles:["Developer","Solution Architect","Student"],remainingTime:31},lastModified:"0001-01-01T00:00:00+00:00"}],moduleCount:7,completedModuleCount:0,remainingDuration:324,totalDuration:324,totalItems:1},linkedContentTitle:"Content1",linkedContentType:"Exam",linkedContentURL:"http://review.learn.microsoft.com",sequence:1},manualId:"manual1",assessmentName:`${t?"Preview ":""} Session1`,passingPercent:50,questionnaires:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",updatedAtUTC:"2024-02-01T00:00:00Z",publishedVersion:1},assessmentType:"Self",description:"Questionnaire A Description",groupId:"dc2c0287-a37d-49a0-bd42-9283acac7f61",id:91,locale:"en-us",name:"Optional Questionnaire A Name",questionsToPass:2,questionsToTake:4,questions:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,manualId:"manual1",sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"First question rationale",sequence:1,text:"Second question",type:"SingleSelect"},...n?[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,manualId:"manual1",sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"Fourth question rationale",sequence:1,text:"Fourth question",type:"SingleSelect"}]:[]],questionSets:[{activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z"},assessmentType:"Renewal",id:1,questionCount:2,questionnaireId:130,questions:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"First question rationale",sequence:1,text:"Second question",textHTML:"Second question",type:"SingleSelect"}],rationale:"Question Set 1 Rationale",rationaleHTML:"Question Set 1 Rationale HTML",sequence:1,text:"Question Set 1 Text",textHTML:"Question Set 1 Text HTML"}],title:"Questionnaire A",totalQuestionCount:2,totalQuestionSetCount:0}],questionsAnswered:2,questionsAnsweredCorrectly:1,questionsToPass:1,questionsToTake:2,questionTotal:2,result:{sessionId:1765,questionnaireSessions:[{questionnaireId:130,questionnaireVersion:100,responses:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],score:{questionnaireId:130,resultStatus:"Passed",questionsToTake:2,questionsToPass:1,questionsAnsweredCorrectly:1,actionItems:[{iconUrl:"string",description:"string",title:"string",type:"StudyMaterialModule",links:[{existed:"string",choiceOptions:[],scoreOptions:[],title:"string",url:"string",context:"string",priority:1,reportingCategory:"string",reportingSubCategory:"string",id:1234,assessmentType:"Practice"}],id:1234,assessmentType:"Practice"}],title:"string"}}],studyGuide:{type:"studyguide",totalItems:1,items:[{id:"studyguide.id",listId:"list.id",type:"module",data:{docId:"docId-string",docVIId:"docVIId-string",platformId:"platformId-string",pageKind:"module",pageType:"learn",title:"Study Guide Item Title",uid:"learn-test.control-azure-services-with-cli.1-introduction",iconUrl:"/learn/achievements/align-requirements-in-azure.svg",progress:.2,durationInMinutes:60,moduleCount:2,rawUrl:"https://review.learn.microsoft.com/en-us/test/learn/azure/align-requirements-in-azure/",url:"/learn/azure/align-requirements-in-azure/"},lastModified:"2024-01-15T00:00:00Z"}],moduleCount:6,completedModuleCount:4,remainingDuration:35,totalDuration:240},studyGuidesByFailedQuestionnaires:[{questionnaireId:130,questionnaireTitle:"string",studyGuides:[{id:"string",title:"string",durationInMinutes:120}]}]},startTime:"2022-01-01T00:00:00Z",status:"NotStarted",timer:60,userResponseUpdatedAt:"2022-01-01T00:00:00Z",userChoices:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],wasAssessmentVersionUpdated:!1,certificationPartOfStayCurrent:!1,eligibleForRecertification:!1}}function uHe(){return[{question:{id:123456,text:"string",textHTML:"string",rationale:"string",rationaleHTML:"string",type:"SingleSelect",choiceCount:1,choices:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-02T00:00:00Z",updatedBy:"gsettles"},assessmentType:"Practice",questionnaireId:345678,isRequired:!0,sequence:2},userChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],correctChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}]}]}var ud={createSession:async e=>XR(e),getSessionAnswerSummary:async()=>uHe(),getSessionResult:async()=>XR(),getPreviousAttemptsByParentId:async()=>[XR()],getRenewalEligibility:async()=>{},submitSession:async()=>XR()};var nFt=pt(),rFt=b.data.userLocale;var ev={getStatus(e){let t=`${q.achievements}/xp/${e}`;return M(K(t,{mode:"cors"},!0)).then(fe).then(n=>{if(n.ok)return n.json();throw new jt(n)})},getAchievements(e,t){let o={locale:t},n=`${q.achievements}/user/${e}?${ne(o,!1)}`;return M(K(n,{mode:"cors"},!0)).then(fe).then(s=>{if(s.ok)return s.json();throw new jt(s)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${q.achievements}/redeem/${e}`,n={branch:R.supportLevel==="production"?"main":void 0},r=`${o}?${ne(n,!1)}`,s=K(r,t,!0);return fetch(s,t).then(fe).then(a=>a.json())},requestCode(e,t,o){let n={achievementCategory:e,courseId:t,useCount:o};e===6&&w.learningPathIlt&&(n.courseId=void 0,n.learningPathId=t);let s=`${q.achievements}/code`,a={branch:R.supportLevel==="production"?"main":void 0},i=`${s}?${ne(a,!1)}`,l={mode:"cors",body:JSON.stringify(n),method:"put",credentials:"include"};return M(K(i,l,!0)).then(fe).then(c=>c.json())}};ze();function Yve(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:nn(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.freezeTimeAfterReplay??0,r=e.secondsNormalSpeedAfterReplay??0,s=e.secondsDiffSpeedAfterReplay??0,a=e.reStartTime!==void 0?nn(e.eventTime-e.reStartTime)-n-r+s:e.startTime===e.eventTime||e.startTime===void 0?0:nn(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,i=e.videoData.publicVideo.durationInMillisecond,l=nn(i),c=t>0?Math.floor(t/l*100):0,d=Math.floor(o/l*100);xe({behavior:e.behaviorCode,actionType:we.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:d,vidwt:t,viddur:l,vidtimeseconds:a,sessiontimeseconds:o,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function Wve(e,t,o,n,r){return e!==0&&t&&(o+=ee?se?s{n&&setTimeout(()=>{a(`${e} load timeout`)},n);let i=document.createElement("script");i.src=e,r&&i.setAttribute("data-callback","setupEnforcement"),i.async=!0,i.defer=!0,i.onload=s,t&&(i.integrity=t,i.crossOrigin="anonymous"),i.onerror=()=>{a(`Failed to load ${e}`)},(document.body||document.head).appendChild(i)}).then(()=>{if(o!==void 0){if(window[o]===void 0)throw new Error(`${e} loaded successfully but ${o} is undefined.`);return window[o]}})}var Zve="2.3.11.2",EFt=`/static/third-party/azure-media-player/${Zve}/azuremediaplayer.min.js`,AFt=`/static/third-party/azure-media-player/${Zve}/azuremediaplayer.min.css`;var tv,G4;function pHe(){let e=location.href,t="#time=";if(e.includes(t)){let o=e.substring(e.indexOf(t)+t.length);return x_(o)}return x_("0s")}function mHe(){if(!location.hash.startsWith("#time="))return;let e=tv.paused(),t=pHe();t>0&&t{tv!==void 0&&mHe()});function tw(e){let t=new URL(e,location.origin),o=decodeURIComponent(t.pathname).toLowerCase().replace(TS,"$1").replace(Ju,"/"),n=t.searchParams.get("view");if(n&&(t.search="",t.searchParams.set("view",n),o+=t.search),o.indexOf("/learn/challenges")!==-1||o.indexOf("/training/challenges")!==-1){let r=t.searchParams.get("id");r&&(t.search="",t.searchParams.set("id",r),o+=t.search)}return o}function Xve(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=tw(e.data.url))}function yr(e){e.items?.forEach(Xve),e.sections?.forEach(t=>t.items?.forEach(Xve))}var lt={baseUrl:q.lists,async getAllLists(e=!1){let t=K(`${this.baseUrl}${e?`?${ne({ignoreEmptyLists:!0})}`:""}`,{}),o=await M(t);if(fe(o),o.ok){let n=await o.json();return n.forEach(yr),n}throw o.status===401?new Oe(o,"UnauthorizedError"):new Oe(o,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(s=>{t.push(tw(s))});let o=JSON.stringify(t),n=K(`${this.baseUrl}/by-url`,{method:"POST",body:o}),r=await M(n);if(fe(r),r.ok)return{hasError:!1,data:await r.json()};throw new Oe(r,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},o=`${this.baseUrl}/${e}?${ne(t)}`,n=K(o,{},!0),r=await M(n);if(fe(r),r.ok){let s=await r.json();return yr(s),{hasError:!1,data:s}}throw r.status===401?new Oe(r,"UnauthorizedError"):r.status===404?new Oe(r,"NotFoundError"):r.status===403?new Oe(r,"ForbiddenError"):new Oe(r,"UnexpectedError")},async getStudyGuideList(e,t,o=te().apiBranchParam){let n={locale:b.data.userLocale,branch:R.supportLevel==="production"&&R.reviewFeatures?o:null},r={credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":void 0},s=`${this.baseUrl}/studyguide/${e}/${t}?${ne(n)}`,a=K(s,r,!0),i=await M(a);if(fe(i),i.ok){let l=await i.json();return yr(l),l}throw i.status===404?new Oe(i,"NotFoundError"):new Oe(i,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),o=K(this.baseUrl,{method:"POST",body:t},!0),n=await M(o);if(fe(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw n.status===401?new Oe(n,"UnauthorizedError"):new Oe(n,"UnexpectedError")},async deleteList(e){let t=K(this.baseUrl+"/"+e,{method:"DELETE"},!0),o=await M(t);if(fe(o),o.ok)return{hasError:!1,data:void 0};throw new Oe(o,"UnexpectedError")},async copyList(e,t,o){let n=JSON.stringify({name:t,description:o}),r=K(`${this.baseUrl}/copy/${e}`,{method:"POST",body:n},!0),s=await M(r);if(fe(s),s.ok){let a=await s.json();return yr(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async submitForLocalize(e){let o=K(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),n=await M(o);if(fe(n),n.ok){let r=await n.json();return yr(r),{hasError:!1,data:r}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Oe(n,"UnexpectedError")},async convertList(e){let o=K(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),n=await M(o);if(fe(n),n.ok){let r=await n.json();return yr(r),{hasError:!1,data:r}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Oe(n,"UnexpectedError")},async toggleListPrivacy(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:o},!0),r=await M(n);if(fe(r),r.ok){let s=await r.json();return yr(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:o},!0),r=await M(n);if(fe(r),r.ok){let s=await r.json();return yr(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async updateListMetadata(e,t){let o=JSON.stringify({name:t.name,description:t.description}),n={useNewFlow:!0},r=K(`${this.baseUrl}/${e}?${ne(n)}`,{method:"PATCH",body:o},!0),s=await M(r);if(fe(s),s.ok){let a=await s.json();return yr(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async sortList(e,t){let o={locale:b.data.userLocale},n=`${this.baseUrl}/${e}?${ne(o)}`,r=JSON.stringify(t),s=K(n,{method:"PUT",body:r},!0),a=await M(s);if(fe(a),a.ok){let i=await a.json();return yr(i),{hasError:!1,data:i}}if(a.status===400)return{hasError:!0,error:await a.json()};throw new Oe(a,"UnexpectedError")},async addItem(e,t){let o=JSON.stringify(t),n=K(this.baseUrl+"/"+e,{method:"POST",body:o},!0),r=await M(n);if(fe(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400||r.status===403)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async deleteItem(e,t){let o=K(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),n=await M(o);if(fe(n),!(n.ok||n.status===204))throw new Oe(n,"UnexpectedError")},async updateItem(e,t,o){let n=JSON.stringify(o),r=K(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:n},!0),s=await M(r);if(fe(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400||s.status===403)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},o=K(`${this.baseUrl}/items/?${ne(t)}`,{}),n=await M(o);if(fe(n),n.ok)return(await n.json()).items;throw new Oe(n,"UnexpectedError")},async createSection(e,t,o,n){let r=JSON.stringify({name:t,description:o,daysToComplete:n}),s=K(`${this.baseUrl}/${e}/section`,{method:"POST",body:r},!0),a=await M(s);if(fe(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new Oe(a,"UnexpectedError")},async updateSection(e,t,o,n,r){let s=JSON.stringify({name:o,description:n,daysToComplete:r}),a=K(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:s},!0),i=await M(a);if(fe(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400)return{hasError:!0,error:await i.json()};throw new Oe(i,"UnexpectedError")},async deleteSection(e,t){let o=K(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),n=await M(o);if(fe(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw new Oe(n,"UnexpectedError")},async getActiveTakedowns(e){if(e===null)return!1;let t=K(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),o=await M(t);return o.ok?(await o.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=K(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),o=await M(t);return o.ok?await o.json():"Unknown"}};async function ov(e=U.document,t=!1){let o;if(typeof e=="string")if(!t&&new URL(et(e,b.data.userLocale),U.location.origin).href===U.location.href)e=U.document,o=new URL(U.location.href);else{let c=await O4(e);o=c.url,e=c.document}else o=new URL(e.URL);let n=A0(e),r=()=>n.page_type==="show"&&n.type?n.type:n.page_kind||"",s=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),a;o.pathname.match(s)?a="qa":a="docs";let i=o.toString(),l=null;return(o.pathname.indexOf("/learn/challenges")!==-1||o.pathname.indexOf("/training/challenges")!==-1)&&(l=cr().id),{type:a,data:{url:tw(i),rawUrl:i,title:n["og:title"]||e.title,docId:n.document_id||"",docVIId:n.document_version_independent_id||"",platformId:n.platform_id||"",pageType:n.page_type||"",pageKind:r(),uid:n.uid||"",challengeId:l,eventUid:n.eventUid||"",durationInMillisecond:G4||null,showId:n.showId||""}}}function eye(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var or={async getSkillingPlan(e){let t={locale:b.data.userLocale},o=`${q.lists}/skillingPlan/${e}?${ne(t)}`,r=K(o,{method:"GET"}),s=await M(r);if(fe(s),s.ok){let a=await s.json();return await dp(a),a}throw new Error(`${s.status}: ${s.statusText}`)},async completeSkillingPlan(e){let t=`${q.lists}/completeSkillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await M(K(t,n));if(fe(r),r.ok){let s=await r.json();return await dp(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async createSkillingPlan(e){let t=`${q.lists}/skillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await M(K(t,n));if(fe(r),r.ok){let s=await r.json();return await dp(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async updateSkillingPlan(e,t){let o=`${q.lists}/skillingPlan/${e}`,r={method:"PUT",body:JSON.stringify(t)},s=await M(K(o,r));if(fe(s),s.ok){let a=await s.json();return await dp(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async modifySkillingPlan(e,t){let o=`${q.lists}/skillingPlan/${e}`,r={method:"PATCH",body:JSON.stringify(t)},s=await M(K(o,r));if(fe(s),s.ok){let a=await s.json();return await dp(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async modifyPlanList(e,t){let o=`${q.lists}/skillingPlan/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},s=await M(K(o,r));if(fe(s),s.ok){let a=await s.json();return await dp(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async deleteSkillingPlan(e){let t=`${q.lists}/skillingPlan/${e}`,n=await M(K(t,{method:"DELETE"}));if(fe(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,o){let n=`${q.lists}/skillingPlan/joined/${o}?${ne({page:e+1,pageSize:t})}`,r=K(n,{},!0),s=await M(r);if(fe(s),s.ok)return await s.json();throw new Error(`${s.status}:${s.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let o=t===-1?"":"?"+ne({page:e+1,pageSize:t}),n=`${q.lists}/skillingPlan/created${o}`,r=K(n,{},!0),s=await M(r);if(fe(s),s.ok)return await s.json();throw new Error(`${s.status}:${s.statusText}`)},async joinSkillingPlan(e){let o=te(location.search).learnerGroupId,n=`${q.lists}/skillingPlan/${e}/join?${ne({registrationType:1,learnerGroupId:o||""})}`,r=K(n,{method:"POST"},!0,!1),s=await M(r);if(fe(s),s.ok){let a=await s.json();return dp(a),{hasError:!1,data:a}}throw new Error(`${s.status}:${s.statusText}`)},async leaveSkillingPlan(e){let t=`${q.lists}/skillingPlan/${e}/leave`,o=K(t,{method:"POST"},!0,!1),n=await M(o);if(fe(n),n.ok){let r=await n.json();return dp(r),{hasError:!1,data:r}}throw new Error(`${n.status}:${n.statusText}`)},async trackClick(e,t){let o=`${q.lists}/skillingPlan/${e}/trackClick/${t}`,n=K(o,{method:"POST"},!0,!1),r=await M(n);if(fe(r),r.ok)return{};throw new Error(`${r.status}:${r.statusText}`)},async getPlanStatistics(e){let t=`${q.lists}/skillingPlan/${e}/statistics`,o=K(t,{},!0),n=await M(o);if(fe(n),n.ok)return await n.json();throw new Error(`${n.status}:${n.statusText}`)},async createLearnerGroup(e,t,o=""){let n=`${q.lists}/skillingPlan/${e}/learnerGroup`,s={method:"POST",body:JSON.stringify({name:t,description:o})},a=await M(K(n,s));if(fe(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new Error(`${a.status}:${a.statusText}`)},async updateLearnerGroup(e,t,o,n=""){let r=`${q.lists}/skillingPlan/${e}/learnerGroup/${t}`,a={method:"PATCH",body:JSON.stringify({name:o,description:n})},i=await M(K(r,a));return fe(i),i.ok?{hasError:!1,data:await i.json()}:{hasError:!0,error:await i.json()}},async deleteLearnerGroup(e,t){let o=`${q.lists}/skillingPlan/${e}/learnerGroup/${t}`,r=await M(K(o,{method:"DELETE"}));return fe(r),r.ok?{hasError:!1}:{hasError:!0,error:await r.json()}}};async function dp(e){e.lastModified&&(e.publishedOn=e.lastModified),yr(e.contentList)}function gHe(e){return e.type==="bookmarks"&&(e.name=cE),e}var ow=null;async function oye(e=()=>!0,t=!1){if(!ow)try{ow=(await lt.getAllLists(t)).map(gHe)}catch{ow=null}return ow?.filter(e)??null}async function nye(){return k.isAuthenticated===!1?[]:(await or.getCreatedSkillingPlans(0,-1)).skillingPlans}function rye(e){return ow=null,lt.createList(e)}async function eM(){let e=In()||"",t=await Yy(e),o=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(n=>o.includes(n)):!1}function fHe(e,t=!1){switch(e){case"MicrosoftEmployee":return pV;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return mV;case"MicrosoftIntern":return gV;case"RegionalDirector":return fV;case"Mvp":return t?Dse:uV;case"StudentAmbassador":return t?$se:hV;default:return""}}function tM(e){let t=e?e[0]:"";return fHe(t)}function j4(e,t){e=decodeURIComponent(e);let o=ys(e,t.target),n=u``,r=u``;if(o){let s=document.createElement("div");y(r,s),new be(s).show()}}async function sye(e){if(!R.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let o of t){Ve("edit-in-editor",{require:!0})||(o.hidden=!1);let n=o.dataset.original_content_git_url,r=o.dataset.original_content_git_url_template,s=o.dataset.pr_repo,a=o.dataset.pr_branch;r&&r.length&&s&&s.length&&a&&a.length?o.setAttribute("href",r.replace("{repo}",s).replace("{branch}",a)):n&&n.length&&o.setAttribute("href",n)}bHe(t)}async function hHe(e){let t=document.createElement("div");t.classList.add("modal-content");let o=new be(t);return y(e,t),o.show()}async function bHe(e){if(!Ve("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await _He();for(let o of e){let{title:n,description:r,link:s,moreInfo:a}=Vve(t,o);o.addEventListener("click",function(i){i.preventDefault(),hHe(Bve(n,r,s,a))}),o.hidden=!1}}async function _He(){if(!k.isAuthenticated||!await eM())return 0;if(!vHe())return 1;let e=$4();return await yHe(e)?3:2}function vHe(){let e=A0(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function yHe(e){if(!e)return!1;let t=e?await N4(e.access_token):null,o=await Uve();return t&&o&&o.login&&o.login.toLowerCase()===t.toLowerCase()}async function aye(e){let t={method:"POST",body:e,credentials:"same-origin"},o=new Request(q.siteFeedback,t),n=await M(o);if(!n.ok)throw new Error(`Error fetching ${o.url}`);return n}var xHe=["jpeg","jpg","png","gif"],THe=1024*1024*5;function iye(e){let t=[];return Array.from(e).forEach(o=>{(o.type.split("/")[0]!=="image"||xHe.indexOf(o.type.split("/")[1])===-1)&&t.push(Xre.replace("{fileName}",o.name)),o.size>=THe&&t.push(ese.replace("{fileName}",o.name))}),t}A();A();var mo={"functionality-other":cK,"learn-content-other":uK,"feature-request":lK,"category-general":dK,"tutorial-content-quality":rK,"learn-credit-problem":mK,"sandbox-problem":hK,"registration-problem":fK,"problem-with-cloudshell":tK,"problem-with-install":nK,"problem-with-dotnet-editor":oK,"content-mistake":iK,"content-question":pK,"translation-quality":bK,"category-other":gK},SHe=[{icon:"docon-developer-tools",value:"Microsoft Learn/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Microsoft Learn/Customer Feedback/Engineering/Gamification",text:mo["learn-credit-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Interactivity",text:mo["sandbox-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Profile",text:mo["registration-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering",text:mo["category-other"]}],text:mo["functionality-other"]},{icon:"docon-text-document",value:"Microsoft Learn/Customer Feedback/Content",id:"feedback-report-category-content",subCategories:[{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-mistake"]},{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-question"]},{value:"Microsoft Learn/Customer Feedback/Localization/{{REPO-AREA}}",text:mo["translation-quality"]},{value:"Microsoft Learn/Customer Feedback/Content",text:mo["category-other"]}],text:mo["learn-content-other"]},{icon:"docon-web-components",value:"Microsoft Learn/Customer Feedback/Engineering/Experience",text:mo["feature-request"]},{icon:"docon-feedback",value:"Microsoft Learn/Customer Feedback",text:mo["category-general"]}],wHe={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:SHe},CHe=[{icon:"docon-developer-tools",value:"Tutorial Feedback/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-cloudshell"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-install"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-dotnet-editor"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Profile",text:mo["registration-problem"]},{value:"Tutorial Feedback/Customer Feedback/Engineering",text:mo["category-other"]}],text:mo["functionality-other"]},{icon:"docon-text-document",value:"Tutorial Feedback/Customer Feedback/Content",id:"feedback-report-category-content",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-mistake"]},{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-question"]},{value:"Tutorial Feedback/Customer Feedback/Localization/{{REPO-AREA}}",text:mo["translation-quality"]},{value:"Tutorial Feedback/Customer Feedback/Content",text:mo["category-other"]}],text:mo["tutorial-content-quality"]},{icon:"docon-web-components",value:"Tutorial Feedback/Customer Feedback/Engineering/Experience",text:mo["feature-request"]},{icon:"docon-feedback",value:"Tutorial Feedback/Customer Feedback",text:mo["category-general"]}],EHe={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:CHe};function lye(e,t){let o=AHe(t),n=kHe(o);y(n,e)}function AHe(e){return e==="reportIssue"?wHe:EHe}function kHe(e){return u`

    ${JW}

    ${vK}
    ${e.categories.map(t=>u``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>u` `)}
    `}var Q4=!1;ut.subscribe(To,()=>{K4("reportIssue")});var cye=e=>{e.disabled=!1,e.classList.remove("is-loading")},W4=e=>e.querySelector("input:checked"),IHe=(e,t)=>{let o=!1,n=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let r in t){let s=n!==r,a=t[r].closest("div.field");t[r].disabled=s,a.hidden=s;let i=Array.from(a.querySelectorAll(".radio"));s?i.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(o=!0,i.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return o},dye=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),PHe=(e,t,o)=>{IHe(e,t)||dye(o)},LHe=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(o=>{o.querySelector("input").setAttribute("required","")}),dye(e)},RHe=e=>{e.hidden=!1},MHe=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let o=document.querySelector("#attachment-validation"),n=iye(t.files),r=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(n.length){let a=n.map(i=>u`

    ${i}

    `);y(u`${a}`,o),o.hidden=!1,y(u``,r);return}let s=Array.from(t.files).map(a=>a.name).join(", ");y(u`${s}`,r),y(u``,o),o.hidden=!0},DHe=e=>{e.disabled=!0,e.classList.add("is-loading")},Y4=e=>e.hidden=!0,$He=()=>{let e=document.getElementById("feedback-report-category"),t=W4(e),o=t.value,n=t.parentElement.textContent.trim();return{value:o,text:n}},NHe=e=>{let t=document.getElementById("feedback-report-category"),o=W4(t);if(o===null||!o.dataset.subCategory)return{valueSub:null,textSub:null};let r=Array.from(e[o.dataset.subCategory].querySelectorAll(".radio input")).filter(i=>i.checked)[0],s=r.value,a=r.parentElement.textContent.trim();return{valueSub:s,textSub:a}},qHe=e=>new FormData(e),uye=e=>e.hidden=!1,FHe=(e,t,o,n)=>{e.classList.remove("is-hidden"),n.classList.add("is-hidden"),t.classList.add("is-hidden"),o.classList.add("is-hidden")},pye=(e,t)=>{let o=e.querySelector("#feedback-report-attachment-file-name");document.getElementById("feedback-report-category-product").setAttribute("value",""),document.getElementById("feedback-report-category-content").setAttribute("value",""),e.category.value="",e.summary.value="",e.description.value="",e.attachment.value="",e.reset(),Array.from(e.querySelectorAll(".radio")).forEach(r=>{let s=r.querySelector("input");s.setAttribute("required",""),s.checked=!1});for(let r in t){let s=t[r].closest("div.field"),a=e.querySelector("#feedback-form-info");s.hidden=!0,a.hidden=!0}y(u``,o)},OHe=async(e,t,{successMessage:o})=>{let{value:n,text:r}=$He(),{valueSub:s,textSub:a}=NHe(t);e.feedbackCategory&&(e.feedbackCategory.value=r),e.category.value=s||n,e.issueType&&(e.issueType.value=a),R.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),aye(qHe(e)),uye(o),pye(e,t)},UHe=(e,t,o,n,{successMessage:r})=>{e.classList.add("is-hidden"),Y4(r),n.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,o.classList.remove("is-hidden")};async function K4(e,t,o=!1){let n=document.querySelector(".feedback-report");if((!w.feedbackReport||!n)&&!o)return;lye(n,e);let r=document.querySelector("#feedback-report-form");if(r===null||Q4)return;Q4=!0,vg(()=>{Q4=!1});let s=r.querySelector("#feedback-report-error-message"),a=r.querySelector("#feedback-report-category"),i={"feedback-report-category-product":r.querySelector("#feedback-report-category-product"),"feedback-report-category-content":r.querySelector("#feedback-report-category-content")},l=r.querySelector("#feedback-report-attachment"),c=r.querySelector("fieldset:nth-of-type(2)"),d=r.querySelector("button[type=submit]"),p=r.querySelector("#feedback-report-success-message"),m=r.querySelector("#feedback-report-feedbackTitle"),g=r.querySelector("#feedback-report-description"),f=r.querySelector("#submit-another-feedback-button"),_=r.querySelector("#clear-form-button"),h=r.querySelector("#feedback-type-selection");r.contentLocale.value=b.data.contentLocale,r.userLocale.value=b.data.userLocale,r.jsllImpressionGuid.value="";let x=ss.get("ai_session");r.aiSessionId.value=x!==void 0?x.split("|")[0]:"";let{uid:v,documentId:T,versionIndependentDocumentId:I,platformId:C,contentPath:z,url:F,author:de}=te(t);r.uid.value=v,r.documentId.value=T,r.versionIndependentDocumentId.value=I,r.platformId.value=C,r.contentPath.value=z,r.url.value=F,r.author.value=de;let Ce=()=>{if(!r.checkValidity()){d.disabled=!0;return}cye(d)};Ot(a,"change",()=>{let ht=W4(a);ht?ht.dispatchEvent(new CustomEvent("selected")):ht=null}),Ot(m,"input",()=>{Ce()}),Ot(g,"input",()=>{Ce()});let ie=Array.from(a.querySelectorAll("input"));Array.from(ie).forEach(ht=>Ot(ht,"selected",()=>PHe(ht,i,r))),Object.keys(i).forEach(ht=>Ot(i[ht],"change",()=>{LHe(r)})),Ot(r,"opened",()=>RHe(c)),Ot(l,"change",MHe),Ot(r,"submit",async ht=>{if(ht.preventDefault(),!d.disabled){DHe(d),Y4(s),Y4(p);try{await OHe(r,i,{successMessage:p}),FHe(f,d,_,h)}catch{uye(s)}cye(d)}}),Ot(_,"click",()=>{pye(r,i)}),Ot(f,"click",()=>{UHe(f,d,_,h,{successMessage:p})})}A();A();var HHe={"01-yes-content-easy":yK,"02-yes-problem-solved":SK,"03-yes-information-easy":CK,"04-yes-learned-smth-new":wK,...b.data.userLocale!=="en-us"?{"05-yes-localization":nN}:{},"00-yes-other":si},zHe={"01-no-content-hard":xK,"02-no-example-problem":qK,"03-no-discovery-issue":TK,"04-no-outdated-content":EK,...b.data.userLocale!=="en-us"?{"05-no-localization":nN}:{},"00-no-other":si},fye={"ask-the-community":dG,"get-product-support":nJ,"get-help-at-qna":oJ};function hye(){let e=w.usingStandardFeedback||w.openSourceFeedback;return u` `}function mye(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in fye&&b.data.feedbackHelpLinkUrl)}function bye(){return u`

    ${jse}

    ${Gre}

    `}function J4(e,t,o,n,r){return u` `}function gye(e,t){let o=[];for(let n in e)o.push(u` `);return o}function _ye(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(Z4(e.detail.form,e.detail.errors),BHe(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;nv(t)})}function Z4(e,t){let o=e.querySelector(".checkbox-group.required:not([hidden])");if(!o)return;let n=o.querySelectorAll('input[type="checkbox"]');if(!n)return;if(o.querySelectorAll('input[type="checkbox"]:checked').length<1){o.classList.add("errored"),n.forEach(l=>l.closest(".checkbox")?.classList.add("is-invalid"));let s=Sy,a=o.querySelector('input[type="checkbox"]');Ur(a,s),vye(t,a,s);let i=`${un} ${QK}`;kt(i,"assertive")}}function BHe(e,t){let o=e.querySelector(".choice-selection.required");if(!o)return;let n=o.querySelectorAll(".thumb-rating-button");if(!n)return;if(!o.querySelector(".thumb-rating-button.button-selected")){o.classList.add("errored"),n.forEach(i=>{i.classList.add("button-danger"),i.querySelector(".icon")?.classList.add("color-danger")});let s=kf;Ur(n[0],s),vye(t,n[0],s);let a=`${un} ${YK}`;kt(a,"assertive")}}function vye(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function nv(e){let t,o,n=e.closest("form");n&&(e instanceof HTMLInputElement?t=e.closest(".suggestions-list.errored"):e instanceof HTMLButtonElement&&(t=n.querySelector(".suggestions-list.errored"),o=n.querySelector(".choice-selection.errored")),!(!t&&!o)&&(t&&(t.classList.remove("errored"),t.querySelectorAll('input[type="checkbox"]').forEach(i=>i.closest(".checkbox").classList.remove("is-invalid")),n.querySelector("[data-feedback-suggestions] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-suggestions] .field-error")?.remove()),o&&(o.classList.remove("errored"),o.querySelectorAll(".thumb-rating-button").forEach(i=>{i.classList.remove("button-danger"),i.querySelector(".icon")?.classList.remove("color-danger")}),n.querySelector("[data-feedback-rating] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-rating] .field-error")?.remove())))}function VHe(e){return e.querySelector("[data-feedback-suggestions]")}function oM(e){let t=VHe(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var nM=!1;function rM(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function sM(e){let t=document.getElementById("user-feedback"),o=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(nM=!1),!t&&!o)return;if(b.data.isArchived){let r=document.querySelector("[data-hide-on-archived]");r&&(r.hidden=!0);return}jHe(),yye(),GHe(),_ye(),XHe();let n=QHe();KHe(n,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await WHe(n)}function yye(e=localStorage){let t=e.getItem(`binary-rating-${rM()}`);t!=="rating-yes"&&t!=="rating-no"||(nw(t),Bg(t))}function nw(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!nM)for(let o of t){let n=o.dataset.binaryRatingResponse===e;o.classList[n?"add":"remove"]("button-selected"),o.classList.contains("link-button")||o.classList[n?"add":"remove"]("is-selected"),o.setAttribute("aria-pressed",n?"true":"false")}}function GHe(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let n=localStorage.getItem(`binary-rating-${rM()}`);!n||n!=="rating-no"&&n!=="rating-yes"||(nw(n),Bg(n))};window.addEventListener("click",e)}function jHe(){let e=t=>{let o=t.target instanceof HTMLElement&&t.target.closest("[data-binary-rating-response]");if(!o)return;let n=o.dataset.binaryRatingResponse;n!=="rating-no"&&n!=="rating-yes"||(o.classList.contains("button-selected")||nv(o),nw(n),Bg(n),nM||localStorage.setItem(`binary-rating-${rM()}`,n))};window.addEventListener("click",e)}function QHe(){let e=document.createElement("div"),t=hye();return y(t,e),yye(),new be(e)}async function YHe(){let[e,t,o,n]=await Promise.all([On("ask-learn-on-articles"),On("ask-learn-on-reference"),On("ask-learn"),ve.then(()=>k.isAuthenticated)]);return Ve("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:n}:Ve("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:n}:{enabled:e||t||o,userAuthenticated:n}}async function WHe(e){let t=Array.from(document.querySelectorAll("[data-binary-rating-response]")),o=document.getElementById("user-feedback-button");o&&o.addEventListener("click",()=>e.show());let r=Array.from(t.filter(l=>l.dataset.binaryRatingResponse==="rating-yes")).length>0,{enabled:s,userAuthenticated:a}=await YHe(),i=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(s&&a&&i&&r){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let d=localStorage.getItem(`binary-rating-${rM()}`);d&&(nw(d),Bg(d))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;ZHe(c),m==="feedback-suggest"?(e.show(),nw("rating-no"),Bg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&tr&&(await tr.initialized,tr.responseCount&&tr.responseCount>=tr.maxMessages&&tr.reset(),tr.submitWithPrompt("/troubleshoot"),tr.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(eR+","+tR));s&&(eze(),l.forEach(c=>{c.hidden=!1}))}else t.forEach(c=>{c.dataset.binaryRatingResponse==="rating-no"&&c.removeAttribute("hidden")}),Array.from(document.querySelectorAll("#mobile-help-popover,#help-popover")).forEach(c=>c.hidden=!0),t.forEach(c=>c.addEventListener("click",()=>e.show()))}function KHe(e,t="standard-feedback"){window.addEventListener("submit",o=>{let n=o.target instanceof HTMLElement&&o.target.closest("[data-feedback-verbatim-form]");if(!n||(o.preventDefault(),n.querySelector(".errored")))return;JHe(o,n,t),nM=!0;let r=document.createElement("div");r.classList.add("modal-slide"),y(bye(),r),e.updateContent(r,!1,!1)})}function JHe(e,t,o){if(!e)return;let n=oM(t),r=t.querySelector("#user-feedback-textarea"),s=r?r.value:"",a=t.querySelector(".thumb-rating-button.button-selected"),i=a&&a.dataset.binaryRatingResponse==="rating-yes"?1:0,l=n.map(c=>c.value);e.target&&Jt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:o,sat:i,vtbm:s,reasons:l}})}function ZHe(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Jt(t,{actionType:we.CLICKLEFT,behavior:le.VOTE,content:{autoIngest:!0,event:"feedback-thumbs-down-details-clicked",cN:"details-rating-no",type:"popover-interaction"},contentTags:{feedbackType:"negative",feedbackMethod:"details-popover",aN:"feedback-unhelpful-popover"}})}function Bg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let o=document.querySelector("[data-feedback-options-yes]"),n=document.querySelector("[data-feedback-options-no]");!o||!n||(o.hidden=e!=="rating-yes",n.hidden=e!=="rating-no")}function XHe(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function eze(){if(!document.body.classList.contains("layout-flyout-active")){let e=document.querySelector('#help-popover [data-help-option="ask-learn"]');e&&e.classList.contains("is-selected")&&e.classList.remove("is-selected")}}A();var X4="v9",tze=.03,aM=Ve("survey-popover",{require:!0}),oze=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),nze=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),xye=0,Tye=!1;function rze(e=w.surveyPopover,t=b.data.pageTemplate,o=b.data.userLocale){return e&&oze.has(t)&&nze.has(o)}function iM(e,t=0){try{let o=ae.getItem(e);if(o===null)return t;let n=Number(o);return isNaN(n)?t:n}catch{return t}}function sze(e=R.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",J.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let o=iM("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",o.toString());let n=iM("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",n.toString());let r=Sye().slice(0,30);return t.searchParams.set("pageTemplatesVisited",r?r.join(","):""),t.href}function e6(){aze(X4);let e=ae.getItem("hats_survey-interacted");if(e){let d=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){lM(),ae.setItem("hats_survey-version",X4);return}}catch{return}let m=1e3*60*60*24*30*6;if(d-p.getTime()

    ${Vse}

    ${XZ}

    `;return y(t,e),e.addEventListener("click",o=>{o.target instanceof HTMLElement&&o.target.closest("[data-dismiss]")&&ae.setItem("hats_survey-interacted",new Date().toISOString())}),e}function Cye(){let e=document.querySelectorAll(".ccpa-privacy-link");w.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Ss={repo:b.data.feedbackGitHubRepo,documentId:L("document_id")||btoa(location.pathname),versionIndependentDocumentId:L("document_version_independent_id")||btoa(location.pathname),platformId:L("platform_id")||btoa(location.pathname),documentSourceUrl:L("github_feedback_content_git_url")||L("original_content_git_url")||L("original_ref_skeleton_git_url")||"",service:L("ms.service"),subservice:L("ms.subservice"),product:L("ms.prod"),technology:L("ms.technology"),author:L("author"),msAuthor:L("ms.author"),contentTitle:L("og:title")||document.title};function Eye(e){let t=`${e} --- #### ${dW} \u26A0 *${uW}* `,o=location.href,{documentId:n,versionIndependentDocumentId:r,platformId:s,documentSourceUrl:a,contentTitle:i}=Ss,l=a.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");i=i.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${n} * Version Independent ID: ${r} * Platform ID: ${s} * Content: [${i}](${o}) * Content Source: [${l}](${a})`;let{service:c,subservice:d,product:p,technology:m}=Ss;c!==void 0&&(t+=` * Service: **${c.toLowerCase()}**`),d!==void 0&&(t+=` * Sub-service: **${d.toLowerCase()}**`),p!==void 0&&(t+=` * Product: **${p.toLowerCase()}**`),m!==void 0&&(t+=` * Technology: **${m.toLowerCase()}**`);let{author:g,msAuthor:f}=Ss;return g!==void 0&&(/github\.com/.test(a)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function Aye(e,t,o,n,r,s,a,i,l,c,d,p,m,g,f="",_){let h=e.querySelector("[data-github-link]"),x=e.querySelector("[data-open-source-image-light]"),v=e.querySelector("[data-open-source-image-dark]"),T=e.querySelector("[data-open-source-image-container]"),I=e.querySelector("[data-open-source-product-title]"),C=e.querySelector("[data-open-source-product-description]");if(!h||!t||!o||!r||!c||!g)return;let z=d==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",F=dze(n,r,s,a,i,l),de=/github\.com/.test(c)?`@${g}`:g,Ce=new URL(t),ie=new URLSearchParams;ie.set("pageUrl",m.href),ie.set("pageQueryParams",m.search),ie.set("contentSourceUrl",c),ie.set("documentVersionIndependentId",o),ie.set("platformId",r),ie.set("feedback",`${z} ${KW} `),ie.set("author",de),ie.set("metadata",F),f&&ie.set("title",f),_&&ie.set("labels",_),Ce.search+=`&${ie.toString()}`,h.href=Ce.toString(),uze(I,C),x&&v&&T&&pze(x,v,T),e.hidden=!1}function dze(e,t,o,n,r,s){let a=`* ID: ${e} * PlatformId: ${t} ${n!==void 0?` * Service: **${n.toLowerCase()}**`:""}${r!==void 0?` * Sub-service: **${r.toLowerCase()}**`:""}${o!==void 0?` * Product: **${o.toLowerCase()}**`:""}${s!==void 0?` * Technology: **${s.toLowerCase()}**`:""}`;return a=a.replace(//g,">"),a}function uze(e,t){if(!e)return;let o=e.textContent;e.textContent=qZ.replace("{productName}",o),t&&(t.textContent=FZ.replace("{productName}",o))}async function pze(e,t,o){let[n,r]=await Promise.all([EB(e.src).then(()=>!0).catch(()=>!1),EB(t.src).then(()=>!0).catch(()=>!1)]);n&&r&&(o.hidden=!1)}function kye(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){w.moduleUnitFeedbackReport||mze(e);return}if(w.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&Aye(t,b.data.openSourceFeedbackIssueUrl,Ss.versionIndependentDocumentId,Ss.documentId,Ss.platformId,Ss.product,Ss.service,Ss.subservice,Ss.technology,Ss.documentSourceUrl,R.supportLevel,R.reviewFeatures,J,Ss.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:o,ctrlKey:n})=>{t===71&&o&&n&&ys(Eye(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function mze(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}A();var gze=L("uhfHeaderId"),fze=gze,$t=hze({brand:b.data.brand,pathnameSegments:LL,page_kind:L("page_kind"),page_type:L("page_type"),headerId:fze,isAdmin:L("is_admin"),isEditor:L("is_editor")??"false"});function hze(e){let{brand:t,pathnameSegments:o,page_kind:n,page_type:r,headerId:s,isAdmin:a,isEditor:i}=e;if(a==="true")return"Admin";if(i==="true")return"Editor";if(s==="MSDocsHeader-Archive")return"Archive";if(n==="docs"&&r==="home"||r==="welcome")return"Docs_Home";if(r==="profile")return"Profile";if(r==="locale")return"Locale";if(r==="search")return"Search";if(n==="assessments")return"Assessments";switch(o[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return w.previewCredentialsL1?"Credentials":"Certifications";case"credentials":return"Credentials";case"answers":return"Q&A";case"samples":return"Code Samples";case"assessments":return"Assessments";case"shows":return"Shows";case"events":return"Events";case"legal":return"Legal"}if(o[2]==="training"&&R.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!s&&R.siteName==="learn")return"Learn";switch(s){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return w.previewCredentialsL1?"Credentials":"Certifications";case"MSDocsHeader-Events":return"Events";case"MSDocsHeader-Learn":return"Learn";case"MSDocsHeader-RegionalDirectors":return"Regional Directors";case"MSDocsHeader-Shows":return"Shows";case"DEV_Homeheader":case"MSDocsHeader-Advocates":case"devcenter-store-header":case"mixed-reality-header":case"win-dev-center-header":case"win-hardware-header":case"win-iot-devcenter-header":case"reactor":return"Developer";case"MSDocsHeader-DocsL1":return"Documentation";case"MSDocsHeader-Assessments":return"Assessments";default:return"Third-Party"}}var{userLocale:Ho}=b.data,Iye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Ho}/`,biName:"learn"},navLinks:[{title:ni,href:`/${Ho}/docs/`,biName:"documentation"},{title:Qr,href:`/${Ho}/training/`,biName:"training"},{title:w.previewCredentialsL1?dn:Ki,href:w.previewCredentialsL1?`/${Ho}/credentials/`:`/${Ho}/certifications/`,biName:w.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Ho}/answers/`,biName:"qna"},{title:L$,href:`/${Ho}/samples/browse/`,biName:"code-samples"},{title:DC,href:`/${Ho}/assessments/`,biName:"assessments"},{title:Sr,href:`/${Ho}/shows/`,biName:"shows"}]},Pye={type:"static-header",brandLink:{displayName:"Developer",href:`/${Ho}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Ho}/`,biName:"learn"},{title:ni,href:`https://learn.microsoft.com/${Ho}/docs/`,biName:"documentation"},{title:Qr,href:`https://learn.microsoft.com/${Ho}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Ho}/answers/`,biName:"qna"},{title:L$,href:`https://learn.microsoft.com/${Ho}/samples/browse/`,biName:"code-samples"},{title:Sr,href:`https://learn.microsoft.com/${Ho}/shows/`,biName:"shows"}]},Lye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Ho}/`,biName:"learn"},navLinks:[{title:Qr,href:`https://learn.microsoft.com/${Ho}/training/`,biName:"training"},{title:w.previewCredentialsL1?dn:Ki,href:w.previewCredentialsL1?`https://learn.microsoft.com/${Ho}/credentials/`:`https://learn.microsoft.com/${Ho}/certifications/`,biName:w.previewCredentialsL1?"credentials":"certifications"},{title:Yre,href:`https://support.azure.cn/${Ho}/support/contact/`,biName:"support"},{title:Sr,href:`https://learn.microsoft.com/${Ho}/shows/`,biName:"shows"}]};async function Mye(e=b.data.userLocale){let t=_ze();if(t==="developer-header"||t==="mooncake-header")return Rye(t);let o=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",n={branch:pt(["contentnav-branch"],"main")},r=new URL(`/${e}/${o}content-nav/site-header/${t}.json?${ne(n)}`,location.origin);try{let s=await M(r.href,{credentials:"include"});if(!s?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await s.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),Rye(t)}}function _ze(){return R.siteName==="mooncake"?"mooncake-header":$t==="Developer"?"developer-header":"site-header"}function Rye(e){switch(e){case"mooncake-header":return Lye;case"developer-header":return Pye;default:return Iye}}var rv,Dye,sv=new Promise(e=>Dye=e);async function $ye(){rv=await Mye(),Dye()}function Nye(){let e=document.getElementById("ms--search-expander-wrapper");if(!e||!e.classList.contains("overflow-x-hidden"))return;let t=e.querySelector("overflow-menu"),o=e.querySelector("search-expander");if(!t||!o)return;let n=o.querySelector("button[data-search-expander-trigger-open]"),r=o.querySelector("button[data-search-expander-trigger-close]");!n||!r||(n.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),r.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("keydown",s=>{s.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",s=>{s.target instanceof Element&&s.type==="click"&&!o.contains(s.target)&&!e.classList.contains("overflow-x-hidden")&&(s.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var cM=class{constructor(){this._contentStack=[];this._titleStack=[]}get stackLength(){return this._contentStack?this._contentStack.length:void 0}get bodyTemplate(){return this.stackLength?this._contentStack[this._contentStack.length-1]:null}push(t){if(!t)throw new Error("Cannot push empty content");this._contentStack.push(t)}pop(){!this._contentStack||this.stackLength<=1||(this._contentStack.pop(),this._titleStack&&this._titleStack?.length>0&&this._titleStack.pop())}pushTitle(t){t&&this._titleStack.push(t)}getTitle(){return!this._titleStack||this._titleStack?.length===0?null:this._titleStack[this._titleStack.length-1]}dispose(){this._contentStack=null}};A();ze();var av=class{constructor(t){this.container=document.createElement("div"),this.container.setAttribute("role","alert"),this.container.setAttribute("aria-live","assertive"),this.container.setAttribute("data-dismissable","disappearing"),this.container.classList.add("toast"),this.container.appendChild(t),this.wrapper=document.createElement("div"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentElement=t}show(){let t=document.querySelector(".toast");t&&RR(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{Pt()},10),setTimeout(()=>{RR(this.container)},3500)}};ze();A();function dM(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?rX:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}A();async function rn(e,t=!1,o){let n=S.createElement("form");if(n.action="javascript:",e instanceof tl){if(y(e,n),t){let c=n.querySelectorAll("input.loc-checkbox"),d=0,p=n.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?d++:d--,d===2?p.disabled=!1:p.disabled=!0}))}}else n.appendChild(e);vze(n);let r=S.createElement("div");r.classList.add("modal-content"),r.appendChild(n);let s=new be(r),a=!1,i={hasError:!1,data:null};return n.addEventListener("submit",async c=>{c.preventDefault(),i=o?await o(n):{hasError:!1,data:null},i.hasError===!1&&(a=!0,s.hide())}),dM(n),await s.show(),{submitted:a,form:n,data:i.hasError?null:i.data}}function vze(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function up(e,t,o=En,n=!1,r=jQ,s,a){return u` `}A();ze();ze();ze();A();A();var nr={0:"Spam",1:"OffTopicIrrelevantPosts",2:"SensitiveInformation",3:"ChildEndangermentExploitation",4:"Terrorism",5:"HateSpeech",6:"CoordinationOfHarm",7:"NonConsensualAdultImages",8:"GraphicViolenceHumanGore",9:"AdultNudity",10:"SuicideSelfHarm",11:"ThreatsCyberbullyingHarassment",12:"Defamation",13:"ProfanityVulgarity",14:"Other",15:"SexualSolicitation",16:"Trafficking",17:"ThreatsOrPraiseOfViolence"};var qye=[{reason:JX,value:nr[13]},{reason:VX,value:nr[3]},{reason:eee,value:nr[4]},{reason:YX,value:nr[4]},{reason:GX,value:nr[6]},{reason:WX,value:nr[7]},{reason:QX,value:nr[8]},{reason:BX,value:nr[9]},{reason:XX,value:nr[10]},{reason:jX,value:nr[11]},{reason:ZX,value:nr[15]},{reason:tee,value:nr[16]},{reason:oee,value:nr[17]},{reason:KX,value:nr[14]}];function Fye(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let o=t.getAttribute("data-tag-id"),n=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${o}&styleGuideLabel=${n}`)}function Oye(e){if(!e||$t!=="Q&A")return;let t=b.data.userLocale;e&&e.primary.href.includes("/ask/")&&!e.primary.href.includes(t)&&(e.primary.href=`/${t}${e.primary.href}`),e&&e.secondary?.href.includes("/moderation/")&&!e.secondary?.href.includes(t)&&(e.secondary.href=`/${t}${e.secondary.href}`)}var uM=w.userServices&&R.siteName!=="mooncake"&&$t!=="Developer"&&$t!=="Regional Directors",iv=$t==="Third-Party"||$t==="Admin"||$t==="Developer"||$t==="Assessments"||$t==="Certifications"||$t==="Credentials"||$t==="Learn"||$t==="Shows"||$t==="Mooncake"||$t==="Q&A"||$t==="Training"||$t==="Legal";function Uye(e){let t=Aze();if(!(!t||t==="exclude"))for(let o of e){let n=o?.id===t;if(n){o.current=n;break}}}var wze={id:"exclude",pattern:`/${b.data.userLocale}/answers/`,exact:!0,next:{id:"questions",pattern:"/answers/questions",exclude:"/ask/",next:{id:"tags",pattern:"/answers/tags",next:{id:"faq-help",pattern:"/answers/support"}}}},Cze={id:"exclude",pattern:`/${b.data.userLocale}/training/`,exact:!0,next:{id:"career-paths",pattern:"/training/career-paths",next:{id:"browse-training",pattern:"/training/browse",next:{id:"educator-center",pattern:"/training/educator-center",next:{id:"student-hub",pattern:"/training/student-hub",next:{id:"faq-help",pattern:"/training/support",next:{id:"products",pattern:"/training"}}}}}}},Eze={id:"exclude",pattern:`/${b.data.userLocale}/credentials/`,exact:!0,next:{id:"browse",pattern:"/credentials/browse",next:{id:"cert-renewals",pattern:"/credentials/certifications/renew-your-microsoft-certification",next:{id:"faq-help",pattern:"/credentials/support/help"}}}};function Aze(e=L,t=$t){let o;switch(t){case"Learn":case"Training":o=Cze;break;case"Q&A":o=wze;break;case"Certifications":case"Credentials":o=Eze;break;default:return e("activeMenuId")}return kze(o)}function kze(e,t=J.pathname){if(!e)return;let o,n=e;do{let r=!0;n.exclude&&t.includes(n.exclude)&&(r=!1),(n.exact&&t!==n.pattern||t.indexOf(n.pattern)===-1)&&(r=!1),r&&(o=n.id),n=n.next}while(n&&!o);return o}var Ize="DEV_Homeheader";function Hye(){let e=L("uhfHeaderId"),t=e&&e!==Ize?e:"";return(R.reviewFeatures?te()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function zye(e,t=b.data.userLocale){let o={branch:pt(["contentnav-branch"],"main")},r=`${q.contentNav}/${t}/content-nav/${e}.json?${ne(o)}`,s;try{s=await M(r,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!s.ok){let i=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return i.headerId=e,console.error(i),null}let a=await s.json();return a.items.push({kind:"menu",title:ky,biName:"more",items:[]}),a}var ta,pM,lv=new Promise(e=>pM=e);async function Bye(){if(!iv){ta=null,pM();return}let e=Hye();if(!e){ta=null,pM();return}ta=await zye(e),ta&&(Oye(ta.callToAction),Fye(ta.callToAction),Uye(ta.items)),pM()}A();A();function Pze(e,t,o,n){let r;return o&&(r=[],r.push("font-weight-semibold","font-size-md")),e.kind==="link"?mM(e,`secondary-nav-link-${n+1}`,!1,r,o):Lze(e,t,r,n)}function mM({href:e,title:t,biName:o},n,r=!1,s=[],a=!1,i=!1){let l=r?"has-text-primary":"",c=a?"":"has-external-link-indicator",d;i?d=o?`secondary-nav-link-category-${o}-mobile`:"secondary-nav-link-category-mobile":d=o?`secondary-nav-link-${o}-mobile`:"secondary-nav-link-mobile",r&&(d=o?`${n}-${o}-mobile`:`${n}-mobile`);let p=et(e,b.data.userLocale);return u`
  • ${t}
  • `}function Lze(e,t,o=[],n){let r=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",s=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${n+1}`,a=e.biName?`secondary-nav-btn-${e.biName}-mobile`:"secondary-nav-btn-mobile",i=e.biName?`secondary-nav-menu-${e.biName}-mobile`:"secondary-nav-menu-mobile";return u`
  • `}function Vye(e,t){return u` `}function Gye(e,t,o,n,r,s,a,i,l,c,d){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=o?"secondary-nav":"primary-nav";return u` ${Nze(a,o)&&n>=2&&d?u`
    `:null} ${a?u`
    `:null} `}function jye(e,t){if(!e)throw new Error("Site header data is unavailable.");return Rze(e,t)}function Rze(e,t){if(e.type==="static-header")return Mze(e);if(!t)throw new Error("Menu handler is not available");return Dze(e,t)}function Mze(e){let t=e.navLinks.map(o=>{let n=et(o.href,b.data.userLocale);return u`
  • ${o.title}
  • `});return u` `}function Dze(e,t){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",n=e.navCategories.map(r=>{let s=`site-header-btn-${r.biName}-mobile`,a=`ms--${s}`;return u`
  • `});return u` `}function Qye(e,t,o,n,r,s){let a=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",i=b.data.userLocale,l=u`
    `,c=u`
    `,d="";if(e.panelLink){let g=e.panelLink,f=et(g.href,i);d=u` ${g.title} `}let p="";if(s){let g=s.map(f=>{let _=et(f.href,i);return u` `});p=u`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=et(g.href,i),_=u`
  • `;m.push(_)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=et(g.href,i),_=u`
  • ${g.title}
  • `;m.push(_)}),u` ${l}
    ${c} ${d}
    ${p}
    `}function Yye(){let e="#",t=k.isAuthenticated?"button-clear inner-focus":"auth-status-determined not-authenticated button-filled button-primary";t=`docs-sign-${k.isAuthenticated?"out":"in"} `+t;let o=u`

    ${N(Iae)}

    `,n=u` ${k.isAuthenticated?$ze():o}
    ${k.isAuthenticated?u` ${qy} `:""} ${k.isAuthenticated?Np:jr}
    `;return u`
    ${uM?n:o}
    `}function $ze(){return u` `}function Nze(e,t){return t||$t!=="Docs_Home"&&e}async function Kye(e,t){if(await sv,!t)throw new Error("Site header data is unavailable.");let o=S.createElement("div");o.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),o.setAttribute("data-test-id","global-navigation-mobile");let n=new cM;o.paint=()=>{y(u` ${Vye(e,t.brandLink.displayName)} ${Yye()} `,o)};function r(de){o.paint();let Ce=o.querySelector("#modal-body");if(de){let ie=Ce.querySelector(`#${de}`);if(ie){ie.focus();return}}qze(Ce)}function s(de){let Ce=de.target instanceof HTMLElement&&de.target.closest("button");if(!Ce||!Ce.classList.contains("pop-content"))return;let ie=Ce.getAttribute("data-back-id");n.pop(),r(ie)}let a=e.subscribe(Ze,o.paint);o.dispose=()=>{n.dispose(),a(),o.removeEventListener("click",s)};let i=Wye(e.items),l,c,d,p,m,g,f,_,h,x,v;function T(de,Ce,ie){i=de.items,l=de.title,g=Ce,f=ie,c=null,d=null,p=null,m=n.getTitle(),C(!0),r()}function I(de,Ce,ie,ht,It,Vt){h=de,x=Ce,v=Vt,g=ie,f=ht,_=It,C(!1,!0),r()}function C(de=!1,Ce=!1){let ie;!de&&!Ce&&t?ie=jye(t,I):Ce?ie=Qye(h,x,g,_,kp,v):ie=Gye(i,T,de,n.stackLength,g,f,l,c,d,p,m),n.push(ie),n.pushTitle(l)}function z(){C(),o.paint()}function F(){if(!(n.stackLength<=1)){for(;n.stackLength>1;)n.stackLength===2&&(e.secondaryNav=!1),n.pop();r()}}if(z(),o.addEventListener("click",s),iv){await lv;let de=ta;de&&(c=de.category,d=de.callToAction,p=de.preview,l=de.category?de.category.title:null,i=Wye(de.items),C(!0),r(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=F)}return o}function qze(e){let t=e.querySelector("[data-autofocus]");if(t&&AL(t)){t.focus();return}e.focus()}function Wye(e){return e.slice(0,e.length-1)}var cv=class extends Be{constructor(){super();this._items=[{title:ky,kind:"menu",items:[],biName:"more"}];this._mobile=!1;this._desktop=!1;this._mobileNavExpanded=!1;this._secondaryNav=!1}get items(){return this._items}set items(o){this._items=o&&o.length?o:[{title:ky,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Ga(this._items.slice(0,this._items.length-1)),this.resetItemVisibility(),this.notifyPropertyChanged()}get mobile(){return this._mobile}set mobile(o){this._mobile=o,this._mobileNavExpanded=!1,this.notifyPropertyChanged()}get desktop(){return this._desktop}set desktop(o){this._desktop=o,this.notifyPropertyChanged()}get mobileNavExpanded(){return this._mobileNavExpanded}set mobileNavExpanded(o){this._mobileNavExpanded=o,this.notifyPropertyChanged()}get secondaryNav(){return this._secondaryNav}set secondaryNav(o){this._secondaryNav=o,this.notifyPropertyChanged()}get more(){let o=this._items.length;return o?this._items[o-1]:null}resetItemVisibility(){this.items.length!==0&&(this.items.forEach(o=>o.hidden=!1),this.more.hidden=!0,this.more.items.forEach(o=>o.hidden=!0))}notifyPropertyChanged(){this.publish(new Ze)}};function Jye(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new cv;e.addEventListener("click",()=>Fze(t))}async function Fze(e){await sv;let t=await Kye(e,rv),o=new be(t),n=window.outerWidth;function r(){t.dispose(),window.removeEventListener("resize",s),e.mobileNavExpanded=!1}function s(){o.hide(),r()}window.addEventListener("resize",()=>{window.outerWidth!==n&&s()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}A();var t6;function Zye(){return t6===void 0&&(t6=(async()=>Ve("user-analytics",{require:!0})?!0:On("user-analytics-dashboard"))()),t6}A();var zi="autocomplete-change-event",rw="autocomplete-displayed-event";function ws(e){e.input.placeholder=e.input.placeholder||"",e.input.type=e.input.type||"text",e.input.required=e.input.required||!1,e.input.disabled=e.input.disabled||!1;let{getSuggestions:t,getTitle:o=Me=>typeof Me?.toString=="function"?Me.toString():Me,itemTemplate:n=o,noResultsTemplate:r=null,initialValue:s=null,input:{biName:a},exclude:i=Me=>!1,showLoader:l=!0}=e,c=document.createElement("div");c.classList.add("autocomplete"),e.input.isFullWidth&&c.classList.add("display-block"),c.setAttribute("data-bi-name","autocomplete");let d=Je(),p=`${d}-listbox`,m=Me=>Me===-1?"":`${d}-option-${Me}`,g=[],f=-1,_=s?o(s):"",h="",x=s,v=0,T=!1,I=!1,C="";e.input.size&&(C=e.input.size==="small"?"input-sm":"input-lg");let z=()=>{let Me=c.querySelector(`#${p}`),D=Me.children.item(f===-1?0:f);D?D.offsetTop+D.offsetHeight>Me.offsetHeight?Me.scrollTop=D.offsetTop-Me.offsetHeight+D.offsetHeight+4:D.offsetTop{y(bt(),c);let Me=c.querySelector("input");Me&&(Me.value=_||h),z()},de=()=>{g=[],f=-1,F()},Ce=(Me,D)=>{let j=h;if(x=Me,_=Me?o(Me):"",h=_,de(),D&&Me){let $=new CustomEvent(zi,{detail:{suggestion:Me,term:j},bubbles:!0});c.dispatchEvent($)}};Object.defineProperty(c,"value",{get(){return x},set(Me){Ce(Me,!1)}});let ie=async()=>{if(h===""){T=!1,x=null,de();return}g=await t(h),g=g.filter(D=>!i(D));let Me=new CustomEvent(rw,{detail:g,bubbles:!0});c.dispatchEvent(Me),g.length||kt(xZ,"assertive",2e3),f=-1,T=!1,F()},ht=Me=>{let j=Me?.url;j&&j.href&&window.open(j.href,"_blank")},It=Me=>{let D=Me.target instanceof Element&&Me.target.closest('[role="option"]');if(!D)return;Me.preventDefault();let j=D.parentElement,$=0;for(;${clearTimeout(v),v=setTimeout(ie,250);let D=Me.target;h=D.value,_="",!T&&D.value!==""&&!I&&(T=!0,F())},yo=()=>{I=!0},zt=()=>{I=!1},io=()=>de(),Mt=Me=>{let{keyCode:D,shiftKey:j,altKey:$,ctrlKey:X}=Me;if(!(j||$||X)){if(D===ke.down){Me.preventDefault(),f0?(f--,_=o(g[f])):(f=-1,_=h),F();return}if(D===ke.escape){Me.preventDefault(),Ce(x,!1);return}if(D===ke.enter){if(f>=0){let pe=g[f];Ce(pe,!0)}return}}};function bt(){let Me=e.input.docon?u` `:"";return u`
    ${Me} ${l?u` `:""}
      D.preventDefault()} @click=${It} @keyup=${D=>(D.key==="Enter"||D.key==="Spacebar")&&It} ?hidden=${!h.length||T||!r&&!g.length||_===h} > ${g.map((D,j)=>u`
    • ${n(D)}
    • `)} ${!g.length&&r?u`
    • ${r}
    • `:""}
    `}return F(),c.addEventListener("compositionstart",yo),c.addEventListener("compositionend",zt),c}var gM=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function Xye(e,t=b.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let n=`${q.siteSearch}/autocomplete?${ne({locale:t,query:e})}`,r={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},s=await M(n,r);if(s.ok)return s.json();if(s.status===403)return{query:e,suggestions:[]};throw new jt(s)}function sw(e){let t=new URLSearchParams(e),o=t.get("category")||"All",n=gM.find(r=>r.localeCompare(o,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:n,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}A();function exe(){let e=b.data.context.searchScope||L("scope");if(b.data.pageTemplate==="SearchPage"&&(e=sw(location.search).scope),L("hideScope")==="true"||!e)return"";let n=e.split(",").map(r=>r.trim()).filter(r=>r.length);return n.length?n[n.length-1]:""}function o6(e=J.pathname,t={}){let o=decodeURI(Un(e)).toLowerCase().split("/").slice(1),[n="",r=""]=o;return{parts:o,firstPart:n,secondPart:r,pageKind:Ls.kind,pageType:Ls.type,msTopic:L("ms.topic"),...t}}function fM(e,t=o6()){if(e==="site"){if(t.firstPart==="docs")return"Documentation";if(t.firstPart==="training"||t.pageKind==="learn")return"Training";if(t.firstPart==="answers")return"QnA";if(t.firstPart==="credentials")return"Credential";if(t.firstPart==="shows")return"Show"}return e==="toc"&&t.pageType==="conceptual"?"Documentation":t.firstPart==="powershell"&&t.secondPart==="module"||t.parts.includes("api")||t.msTopic==="generated-reference"?"Reference":"All"}async function txe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${q.siteSearch}/user?${ne({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,n={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},r=await M(o,n);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new jt(r)}var dv=typeof Blob=="function"&&typeof PerformanceObserver=="function"&&typeof Intl=="object"&&typeof MutationObserver=="function"&&typeof URLSearchParams=="function"&&typeof WebSocket=="function"&&typeof IntersectionObserver=="function"&&typeof queueMicrotask=="function"&&typeof TextEncoder=="function"&&typeof TextDecoder=="function"&&typeof customElements=="object"&&typeof HTMLDetailsElement=="function"&&typeof AbortController=="function"&&typeof AbortSignal=="function"&&"entries"in FormData.prototype&&"toggleAttribute"in Element.prototype&&"replaceChildren"in Element.prototype&&"fromEntries"in Object&&"flatMap"in Array.prototype&&"trimEnd"in String.prototype&&"allSettled"in Promise&&"matchAll"in String.prototype&&"replaceAll"in String.prototype&&!0;var Oze=1e4,Uze=4e3,oxe=Symbol("scenario timeout"),xr=class{constructor(t,o=32e3,n=window.fetch){this.scenario=t;this.timeLimitMs=o;this.fetch=n;this._timeoutHandle=0;this._pingTimeoutHandle=0;this._start=0}succeed(){this.complete(!0,void 0)}updateProgress(t){this._start!==0&&(this._diagnostics.scenarioProgress={progress:t,duration:performance.now()-this._start})}fail(t){this.complete(!1,t)}cancel(){this.unsubscribe(),this._start=0,this._diagnostics=null}start(){this.cancel(),this._diagnostics={type:"scenario-health",version:"1",scenario:this.scenario,durationInMilliseconds:0,succeeded:!0,reason:void 0,startConnection:Zf.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:S.visibilityState==="hidden",wentOffline:!Zf.onLine,supportedBrowser:dv,resources:[],pings:{},startDateTime:new Date().toISOString(),pingStartDateTime:null,endDateTime:null,scenarioProgress:null},this._start=performance.now(),addEventListener("visibilitychange",this),addEventListener("offline",this),this._timeoutHandle=setTimeout(()=>this.complete(!1,oxe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),Oze)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=S.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!Zf.onLine)}complete(t,o){this.unsubscribe();let n=this._start;if(n===0)return;this._start=0;let r=this._diagnostics;r.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-n}:r.scenarioProgress,r.endDateTime=new Date().toISOString(),r.succeeded=t,r.durationInMilliseconds=performance.now()-n,r.reason=t?void 0:Hze(o),r.endConnection=Zf.connection?.effectiveType??"unknown",r.resources=Array.from(performance.getEntriesByType("resource")).filter(s=>s.startTime>=n).map(s=>s.toJSON()).filter(s=>s.initiatorType==="fetch"&&s.name.startsWith(location.origin)).map(s=>(s.connectEnd=Math.floor(s.connectEnd),s.connectStart=Math.floor(s.connectStart),s.domainLookupEnd=Math.floor(s.domainLookupEnd),s.domainLookupStart=Math.floor(s.domainLookupStart),s.duration=Math.floor(s.duration),s.fetchStart=Math.floor(s.fetchStart),s.redirectEnd=Math.floor(s.redirectEnd),s.redirectStart=Math.floor(s.redirectStart),s.requestStart=Math.floor(s.requestStart),s.responseEnd=Math.floor(s.responseEnd),s.responseStart=Math.floor(s.responseStart),s.secureConnectionStart=Math.floor(s.secureConnectionStart),s.startTime=Math.floor(s.startTime),s.workerStart=Math.floor(s.workerStart),s)),xe({actionType:we.OTHER,behavior:le.OTHER,content:r})}unsubscribe(){removeEventListener("visibilitychange",this),removeEventListener("offline",this),clearTimeout(this._timeoutHandle),clearTimeout(this._pingTimeoutHandle)}collectPingDiagnostics(){this._diagnostics.pingStartDateTime=new Date().toISOString();let t=new AbortController,o=t.signal;setTimeout(()=>t.abort(),Uze);let n=async(r,s)=>{let a=performance.now();try{await this.fetch.call(window,s,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[r]={response:!0,duration:Math.floor(performance.now()-a)}}catch{this._diagnostics.pings[r]={response:!1,duration:Math.floor(performance.now()-a)}}};return Promise.all([n("docs",`${location.origin}/robots.txt`)])}};function Hze(e){return e===oxe?{type:"scenario-timeout"}:e instanceof Response||e instanceof jt?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?SB(e.headers):e.headers}:e instanceof Error?{type:"exception",name:e.name,message:e.message,stack:e.stack}:{type:"unknown",value:String(e)}}async function pv(e){if(w.disableSiteSearchSuggestions)return[];let t=new xr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let o=await Xye(e,b.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function nxe(e){let t=new xr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let o=await txe(e);t.succeed();let n=[],r=[];for(let s of o.suggestions)s.displayName.toLowerCase().startsWith(e)?n.push(s):r.push(s);return n.sort((s,a)=>s.displayName.localeCompare(a.displayName)),r.sort((s,a)=>s.displayName.localeCompare(a.displayName)),o.suggestions=n.concat(r),o.suggestions}catch(o){return t.fail(o),[]}}function sxe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};n6(t)}function hM(e){let t=e.detail.map(o=>({title:o}));r6(t)}function n6({suggestion:e,term:t}){xe({behavior:le.SEARCHAUTOCOMPLETE,actionType:we.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function r6(e){let t=[{srchtype:"auto suggest"}];e.forEach((o,n)=>{t.push({cN:o.title,sN:n,type:o.type||"",url:o.url||""})}),xe({content:t})}var rxe=!1;function axe(e,t,o,n,r,s,a,i){rxe?fI():rxe=!0,xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"uhf-search-results",category:n,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||i||"",scoringProfileName:e.scoringProfile||"",experimentId:L("experiment_id"),hideCompleted:e.hideCompleted||"",count:o,scopeRemoved:r,spellingCorrection:s,semanticCaptions:a}})}function ixe(e,t,o,n,r){let s=n===!0?1:0;xe({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:s,searchTerm:e,question:t,answer:o,authType:r.toString()}})}function bM(e,t,o,n,r,s,a,i){!t||!o||(xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:o,authType:n.toString()}}),i&&xe({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:r,returnedTimestamp:s,answerType:a}}))}function lxe(e,t,o,n,r){xe({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:n??"",verbatim:r??"",isEmptyResponse:0,authType:o.toString()}})}var zze="https://www.azure.cn/searchresults/";function s6(){let e;return b.data.brand==="mooncake"?e=zze:!R.systemContent&&R.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${Ut?"test/docs/search/search":"search/"}`,e}function a6(){let e=exe(),t=Bze(),o=Vze();return{scope:e,category:t,dataSource:pn()?"previousVersions":"",preview:o}}function Bze(){let e=sw(J.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=fM("site",o6());return t&&t!=="All"?t:""}function Vze(){return sw(J.search).preview||""}function i6(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};n6(t)}function l6(e){let t=e.detail.map(o=>({title:o}));r6(t)}function _M(e,t,o,n){if(!e)return;let r=S.getElementById(o),s=r.placeholder,a=r.value,i=e.parentElement;if(!i)return;let l=n?`${n}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:s,size:"large",label:no,isFullWidth:!0,name:"terms",biName:l},initialValue:a,getSuggestions:pv,itemTemplate:x=>u` ${x} `,showLoader:!w.disableSiteSearchSuggestions},d=ws(c),{scope:p,category:m,dataSource:g,preview:f}=a6(),_=n?`${n}-search-form`:void 0,h=n?`${n}-search-submit`:void 0;y(u` `,i)}A();var pp="display-block font-size-sm padding-inline-xxs",vM;function yM(e,t){if(vM===void 0){let c=(L("scope")||"").split(",").map(d=>d.trim()).filter(d=>d.length);vM=c.length?c[c.length-1]:""}let o="";vM&&t&&(o=vM);let n=pn()?"previousVersions":"",r=Ut?"/test/docs/search/search":"/search/",s=fM("toc"),a=`${r}?${ne({search:e,scope:o,dataSource:n,category:s==="All"?void 0:s})}`;return{title:o?vZ.replace("{term}",e).replace("{searchScope}",o):yZ.replace("{term}",e),url:a}}function aw(e){return e.indexOf("/search/?search")!==-1||Ut&&e.indexOf("/search/search?search")!==-1}async function xM(e,t,o){Jt(e,{behavior:le.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function cxe(e=!1){let{category:t,dataSource:o,preview:n}=a6(),r=$t==="Search"?"":t,s=s6(),a=b.data.brand==="mooncake"?"q":"terms",i={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:pn()?$y:no,label:no,isFullWidth:!0,name:a,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:pv,itemTemplate:p=>u` ${p} `,showLoader:!w.disableSiteSearchSuggestions};e||(i.input.size="small");let l=ws(i),c=e?"ms--site-header-search-form-mobile":"ms--site-header-search-form",d=e?"site-header-search-form-mobile":"site-header-search-form";return u` `}function dxe(e){return e?u` ${pxe()}
    ${mxe(e.brandLink)}
    ${Yze(e)} ${gxe()}
    ${fxe()} `:""}function uxe(e){return e?u`
    ${mxe(e.brandLink,!0)} ${pxe(!0)} ${gxe(!0)} ${fxe(!0)} `:""}function pxe(e=!1){let t="site-header-microsoft-logo",o="site-header-microsoft-logo",n="";e&&(t="site-header-microsoft-logo-mobile",o="site-header-microsoft-logo-mobile",n="site-header-logo-centered");let r=u` `;return u` `}function mxe(e,t=!1){if(!e)return"";let o=et(e.href,b.data.userLocale),n=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return u` `}function gxe(e=!1){let t=cxe(e),o="flex-grow-1 margin-left-xxs";e&&(o="display-flex flex-grow-1 justify-content-flex-end");let n=e?"site-header-search-open-mobile":"site-header-search-open",r=e?"site-header-search-close-mobile":"site-header-search-close",s=e?"site-header-search-mobile":"site-header-search",a=e?"ms--site-header-search-mobile":"ms--site-header-search";return u` `}function fxe(e=!1){if(!uM)return"";let n=u` `,r=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-user-mobile":"site-header-user",a=e?"site-header-sign-out-mobile":"site-header-sign-out",i=e?"site-header-user-sign-out-mobile":"site-header-user-sign-out",l=e?"ms--user-display-name-mobile":"ms--user-display-name",d=u`

    `;return u`${n} ${d}`}function Gze(e,t){if(!e)return"";let o="";if(t){let r=t.map(s=>{let a=et(s.href,b.data.userLocale);return u` `});o=u` `}let n=e.map((r,s)=>{let a=`ms--panel-${s+1}`;return u`
  • `});return u`
      ${n}
    `}function jze(e,t){if(!e)return"";let o=b.data.userLocale,n="";if(e.panelLink){let a=e.panelLink,i=et(a.href,o);n=u` ${a.title} `}let r=[],s="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(a=>{s="site-header-panel-cards";let i=et(a.href,o),l=u`
  • `;r.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(a=>{let i=et(a.href,o),l=u`
  • ${a.title}
  • `;r.push(l)}),u`
      ${r}
    ${n}
    ${t} `}function Qze(e){if(!e)return"";let t=e.map((o,n)=>{let r=et(o.href,b.data.userLocale);return u`
  • ${o.title}
  • `});return u`
      ${t}
    `}function Yze(e){let t=e.type==="static-header"?Qze(e.navLinks):Gze(e.navCategories,e.featuredContent),o=b.data.userDir==="ltr"?"left":"right",n=b.data.userDir==="ltr"?"right":"left";return u` `}ze();sh();A();A();function c6(e,t){let{leftTemplate:o,rightTemplate:n}=e;return u` ${o()} ${n(t)} `}function _xe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new cv;return t.paint=()=>yxe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:n=>o.items=n}),o.desktop=kr.matches,o.mobile=!Rc.matches,kr.addListener(()=>{o.desktop=kr.matches}),Rc.addListener(()=>{o.mobile=!Rc.matches}),window.addEventListener("resize",()=>{Rc.matches&&Wze(t,o,e)},{passive:!0}),t.paint(),Se.then(()=>{let n=new MutationObserver(r=>{for(let s of r)for(let a=0;at.paint()),window.addEventListener("content-update",()=>t.paint()),t}var vxe=0;function yxe(e,t,o){if(vxe=Date.now(),t.resetItemVisibility(),y(c6(o,t),e),t.mobile)return;let n=e.querySelector(".nav-bar-spacer"),{more:r,items:s}=t,a=s.length-1;for(;a>0&&n.getBoundingClientRect().width===0;)a--,r.hidden=!1,s[a].hidden=!0,r.items[a].hidden=!1,y(c6(o,t),e)}var hxe=0,bxe=50;function Wze(e,t,o){clearTimeout(hxe),Date.now()-vxe>bxe?e.paint():hxe=setTimeout(yxe,bxe,e,t,o)}async function Txe(){if(await lv,!ta)return null;let e=_xe(Kze(ta));return e.items=ta.items,e}function Kze(e){let{category:t,callToAction:o,preview:n}=e,r="";return o&&(r=Jze(o)),{leftTemplate:()=>Zze(t,n),rightTemplate:i=>u` ${eBe(i,Qne)} ${r} ${Xze()} `}}function Jze(e){if(!e)return"";let{primary:t,secondary:o}=e,n="";return o&&(n=xxe(o,!0)),u`
    ${n} ${xxe(t)}
    `}function xxe(e,t=!1){if(!e)return"";let{href:o,title:n}=e,r;return e.biName?r=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:r=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",u` ${n} `}function Zze(e,t){let{href:o,title:n,biName:r}=e,s=et(o,b.data.userLocale),a=wxe(s),i=r?`secondary-nav-link-category-${r}`:"secondary-nav-link-category";return u` `}function Xze(){return $t!=="Learn"&&$t!=="Training"?"":u` `}function eBe(e,t){let{items:o}=e;return u` `}function Sxe(e,t){return e.kind==="link"?tBe(e,t):oBe(e,t)}function tBe(e,t){let o=e.current?"is-active":"",n=et(e.href,b.data.userLocale),r=wxe(n,!!o),s=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?u`
  • ${e.title}
  • `:u`
  • ${e.title}
  • `}function oBe(e,t){let o=Tp(),n=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",r=t?"":"expanded-indicator",s=e.current?"is-active":"",a=e.current?"true":void 0,i=e.biName?`secondary-nav-btn-${e.biName}`:"secondary-nav-btn",l=e.biName?`secondary-nav-menu-${e.biName}`:"secondary-nav-menu";return u` `}function nBe(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function wxe(e,t){let o=new URL(e,window.location.origin);if(nBe(o)&&t)return"page";if(t)return"true"}var mv,TM=new Promise(e=>mv=e);async function Cxe(){$ye(),Bye(),rBe()}async function rBe(){await sv;let e=dxe(rv),t=uxe(rv);await Se;let o=S.querySelector("#ms--site-header");if(!o){mv();return}let n=o.querySelector("#ms--primary-nav");if(!n){mv();return}let r=o.querySelector("#ms--mobile-nav");if(!r){mv();return}y(e,n),y(t,r),Nye(),Jye();let s=o.querySelector("#ms--secondary-nav");if(!s){mv();return}if(iv){await lv;let a=await Txe();s.classList.contains("site-header")&&a?(s.classList.remove("site-header"),y(a,s)):s.remove()}else s.remove();mv()}var sBe=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function gv(e){if(!e||!sBe.includes(b.data.pageTemplate))return;let t=[".content",".content section",".content [data-moniker]",".content [data-pivot]",".anchor-headings"],o=["h2","h3","h4","h5","h6"];Array.from(e.querySelectorAll(`${o.join(",")}`)).forEach(r=>{if(r.parentElement&&r.parentElement.matches(`${t.join(",")}`)){let s=r.tagName.toLowerCase(),a=document.createElement("div");a.classList.add("heading-wrapper"),a.setAttribute("data-heading-level",s);let i=Qp(r).trim(),l=r.id||Oo(i);r.id||(r.id=l),r.classList.add("heading-anchor");let c=document.createElement("a");c.classList.add("anchor-link","docon","docon-link"),c.href="http://approjects.co.za/?big=#"+l,c.setAttribute("aria-label",One.replace("{title}",i)),a.appendChild(c),r.insertAdjacentElement("beforebegin",a),a.insertAdjacentElement("beforeend",r)}})}A();var aBe=["Conceptual","Episode","Module","Reference"],Exe={Conceptual:{"ai-generated":kY,"ai-assisted":AY,"human-only":IY},Episode:{"ai-generated":PY,"ai-assisted":LY},Module:{"ai-generated":RY,"ai-assisted":MY},Reference:{"ai-generated":DY,"ai-assisted":$Y}};function Axe(){let e=xa("ai-usage"),t=b.data.pageTemplate;!aBe.includes(t)||e.length===0||iBe(t,e)}function iBe(e,t){let o=document.getElementById("ms--inline-notifications"),n=lBe(e,t);if(!o||!n)return;let r=dBe(n);y(r,o)}function lBe(e,t){let o=new Set(t),n=[];for(let r of o)if(Exe[e].hasOwnProperty(r)){let s=Exe[e][r];s&&n.push(s)}return n}function cBe(e){return u`
    ${N(e)}
    `}function dBe(e){return u` ${No(e,t=>cBe(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function Ixe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function Pxe(){window.addEventListener("unhandledrejection",e=>{let t=kxe(e.type,Ixe(),e.lineno,e.colno,{name:e?.type,message:e?.reason?.message||"Error message unavailable for unhandle rejection in promise",stack:e?.reason?.stack||"No stack available for unhandled rejection in promise",...e?.reason?.message?{}:{troubleshooting:JSON.stringify(e)}});xe({behavior:le.OTHER,content:t})}),window.onerror=(e,t,o,n,r)=>{let s=kxe(e,t,o,n,r);xe({behavior:le.OTHER,content:s})}}function kxe(e,t,o,n,r){let a=new Date().toString();return{type:"learn-client-error",event:e,source:t||Ixe(),lineno:o||0,colno:n||0,message:r?.message||"Error message unavailable",stack:r?.stack||"Stack trace unavailable",name:r?.name||"Error name unavailable",timestamp:a,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:dv,pageTemplate:b.data.pageTemplate}}var mp,lw,zxe,wM,m6,hv=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},cw=function(e){if(document.readyState==="loading")return"loading";var t=hv();if(t){if(e(t||100)-1)return o||r;if(o=o?r+">"+o:r,n.id)break;e=n.parentNode}}catch{}return o},Bxe=-1,Vxe=function(){return Bxe},Vg=function(e){addEventListener("pageshow",function(t){t.persisted&&(Bxe=t.timeStamp,e(t))},!0)},AM=function(){var e=hv();return e&&e.activationStart||0},Qa=function(e,t){var o=hv(),n="navigate";return Vxe()>=0?n="back-forward-cache":o&&(n=document.prerendering||AM()>0?"prerender":document.wasDiscarded?"restore":o.type.replace(/_/g,"-")),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},bv=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(r){Promise.resolve().then(function(){t(r.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},Ya=function(e,t,o,n){var r,s;return function(a){t.value>=0&&(a||n)&&((s=t.value-(r||0))||r===void 0)&&(r=t.value,t.delta=s,t.rating=function(i,l){return i>l[1]?"poor":i>l[0]?"needs-improvement":"good"}(t.value,o),e(t))}},g6=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},kM=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},f6=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},fv=-1,Lxe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},CM=function(e){document.visibilityState==="hidden"&&fv>-1&&(fv=e.type==="visibilitychange"?e.timeStamp:0,pBe())},Rxe=function(){addEventListener("visibilitychange",CM,!0),addEventListener("prerenderingchange",CM,!0)},pBe=function(){removeEventListener("visibilitychange",CM,!0),removeEventListener("prerenderingchange",CM,!0)},h6=function(){return fv<0&&(fv=Lxe(),Rxe(),Vg(function(){setTimeout(function(){fv=Lxe(),Rxe()},0)})),{get firstHiddenTime(){return fv}}},dw=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Mxe=[1800,3e3],Gxe=function(e,t){t=t||{},dw(function(){var o,n=h6(),r=Qa("FCP"),s=bv("paint",function(a){a.forEach(function(i){i.name==="first-contentful-paint"&&(s.disconnect(),i.startTimes.value&&(s.value=a,s.entries=i,r())},c=bv("layout-shift",l);c&&(r=Ya(o,s,Dxe,n.reportAllChanges),kM(function(){l(c.takeRecords()),r(!0)}),Vg(function(){a=0,s=Qa("CLS",0),r=Ya(o,s,Dxe,n.reportAllChanges),g6(function(){return r()})}),setTimeout(r,0))}))})(function(o){(function(n){if(n.entries.length){var r=n.entries.reduce(function(i,l){return i&&i.value>l.value?i:l});if(r&&r.sources&&r.sources.length){var s=(a=r.sources).find(function(i){return i.node&&i.node.nodeType===1})||a[0];if(s)return void(n.attribution={largestShiftTarget:EM(s.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:s,largestShiftEntry:r,loadState:cw(r.startTime)})}}var a;n.attribution={}})(o),e(o)},t)},Qxe=function(e,t){Gxe(function(o){(function(n){if(n.entries.length){var r=hv(),s=n.entries[n.entries.length-1];if(r){var a=r.activationStart||0,i=Math.max(0,r.responseStart-a);return void(n.attribution={timeToFirstByte:i,firstByteToFCP:n.value-i,loadState:cw(n.entries[0].startTime),navigationEntry:r,fcpEntry:s})}}n.attribution={timeToFirstByte:0,firstByteToFCP:n.value,loadState:cw(Vxe())}})(o),e(o)},t)},iw={passive:!0,capture:!0},mBe=new Date,$xe=function(e,t){mp||(mp=t,lw=e,zxe=new Date,Wxe(removeEventListener),Yxe())},Yxe=function(){if(lw>=0&&lw1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(o,n){var r=function(){$xe(o,n),a()},s=function(){a()},a=function(){removeEventListener("pointerup",r,iw),removeEventListener("pointercancel",s,iw)};addEventListener("pointerup",r,iw),addEventListener("pointercancel",s,iw)}(t,e):$xe(t,e)}},Wxe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,gBe,iw)})},Nxe=[100,300],fBe=function(e,t){t=t||{},dw(function(){var o,n=h6(),r=Qa("FID"),s=function(l){l.startTimet.latency){if(o)o.entries.push(e),o.latency=Math.max(o.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};u6[n.id]=n,jl.push(n)}jl.sort(function(r,s){return s.latency-r.latency}),jl.splice(10).forEach(function(r){delete u6[r.id]})}},_Be=function(e,t){t=t||{},dw(function(){bBe();var o,n=Qa("INP"),r=function(a){a.forEach(function(c){c.interactionId&&Oxe(c),c.entryType==="first-input"&&!jl.some(function(d){return d.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&Oxe(c)});var i,l=(i=Math.min(jl.length-1,Math.floor(Fxe()/50)),jl[i]);l&&l.latency!==n.value&&(n.value=l.latency,n.entries=l.entries,o())},s=bv("event",r,{durationThreshold:t.durationThreshold||40});o=Ya(e,n,qxe,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),kM(function(){r(s.takeRecords()),n.value<0&&Fxe()>0&&(n.value=0,n.entries=[]),o(!0)}),Vg(function(){jl=[],Xxe=Zxe(),n=Qa("INP"),o=Ya(e,n,qxe,t.reportAllChanges)}))})},eTe=function(e,t){_Be(function(o){(function(n){if(n.entries.length){var r=n.entries.sort(function(s,a){return a.duration-s.duration||a.processingEnd-a.processingStart-(s.processingEnd-s.processingStart)})[0];n.attribution={eventTarget:EM(r.target),eventType:r.name,eventTime:r.startTime,eventEntry:r,loadState:cw(r.startTime)}}else n.attribution={}})(o),e(o)},t)},Uxe=[2500,4e3],p6={},tTe=function(e,t){(function(o,n){n=n||{},dw(function(){var r,s=h6(),a=Qa("LCP"),i=function(d){var p=d[d.length-1];p&&p.startTimeperformance.now())return;o.value=Math.max(s-AM(),0),o.entries=[r],n(!0),Vg(function(){o=Qa("TTFB",0),(n=Ya(e,o,Hxe,t.reportAllChanges))(!0)})}})},oTe=function(e,t){yBe(function(o){(function(n){if(n.entries.length){var r=n.entries[0],s=r.activationStart||0,a=Math.max(r.domainLookupStart-s,0),i=Math.max(r.connectStart-s,0),l=Math.max(r.requestStart-s,0);n.attribution={waitingTime:a,dnsTime:i-a,connectionTime:l-i,requestTime:n.value-l,navigationEntry:r}}else n.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(o),e(o)},t)};var uw=L("learn-experiments")==="true"&&R.siteName!=="developer"&&R.siteName!=="mooncake",_6=uw?5*1e3:0,xBe="assignmentserviceapi.wus2.dogfood.portalrp.azure-test.net",TBe="assignmentserviceapi.production.portalrp.azure.com",SBe=R.supportLevel==="development"?`https://${xBe}/api/mslearn/variants?api-version=1.0`:`https://${TBe}/api/mslearn/variants?api-version=1.0`;function wBe(){return SBe}var CBe=Ede("MC1",_6),nTe={},IM,b6,rTe=lTe(),sTe=cTe(),aTe,v6=new Promise(e=>{aTe=e});async function PM(e){return!uw||!await Sm?!1:(await v6,e in nTe)}async function iTe(){if(!uw||!await Sm)return;let t=await CBe,o=t?EBe(t):null;if(!o){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await ve;let n={mc1:o,audience:{environment:"prod",isAuthenticated:!1,locale:k.locale,referer:document.referrer}};k.isAuthenticated&&(n.userId=k.userId,n.audience.isAuthenticated=!0);let r=JSON.stringify(n),s=K(wBe(),{method:"POST",body:r},!1,!0),a=await M(s,{},_6);if(!a.ok)throw xe({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:r,error:`Experiment API failed with status ${a.status}`}}}),new Error(`Experiment API failed: ${a.status}`);let i=await a.json(),l=Object.keys(i.variants);return xe({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:r,data:i,dataVersion:i.dataVersion}}}),{assignments:l,rawResponse:i}}function lTe(){return iTe().then(e=>(IM!==void 0&&(clearTimeout(IM),IM=void 0),e!==void 0&&(U.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function cTe(){return new Promise(e=>{IM=setTimeout(()=>{e(void 0)},_6)})}async function LM(){dTe();let e=Sm;if(uw){if(!await e){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}U.learnExperiments={...U.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([rTe,sTe]);t===void 0&&xe({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&(nTe=t.assignments.reduce((o,n)=>(o[n]=!0,o),{}),b6=t.rawResponse),aTe?.(),b6&&pTe("client-side",b6.assignmentContext)}catch(t){xe({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}function dTe(){let e=document.getElementById("learn-experiments-context");if(!e||e.tagName!=="SCRIPT")return;let t=e.textContent?.trim();if(!t)return;let o;try{o=JSON.parse(t)}catch(n){xe({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${n.message}`}}});return}pTe("server-side",o.assignmentContext)}ut.subscribe(To,async()=>await uTe());ut.subscribe(So,async()=>await uTe());async function uTe(){!uw||!await Sm||(rTe=lTe(),sTe=cTe(),LM())}function pTe(e,t){if(!t)return;let o={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments"}};Jde(o),xe({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:o}})}Ll&&(U.__learnExperimentsTestHooks={emitServerExperimentContext:dTe,loadExperimentAssignments:iTe,instrumentExperiments:LM});function EBe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}var ABe=w.reportWebVitalsAlways?1:.1,RM=new Set;function Gg(e){RM.add(e)}function mTe(){if(RM.size>0){let e=Array.from(RM);IBe(e),RM.clear()}}function kBe(e){let t={};for(let o of e){let{name:n,value:r}=o;t[n]=r}return t}function IBe(e){let t=kBe(e);xe({content:{type:"web-vitals",version:"1",metrics:t}})}function gTe(){let e=w.reportWebVitalsAlways||Math.random()<=ABe;!dv||!e||(jxe(Gg),Qxe(Gg),eTe(Gg),tTe(Gg),oTe(Gg),Kxe(Gg),PBe(Gg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&mTe()}),document.addEventListener("pagehide",mTe))}async function PBe(e){if(window.learnExperiments===void 0||(await v6,window.learnExperiments.loadTime===void 0))return;let t=window.learnExperiments.loadTime,o=t<2500?"good":t>4e3?"bad":"needs-improvement";e({value:t,id:crypto.randomUUID(),name:"learnExperimentsLoaded",rating:o,delta:0,entries:[],navigationType:"navigate"})}function fTe(){LBe(),RBe(),MBe(),DBe(),$Be(),NBe(),qBe(),FBe(),UBe(),HBe(),gTe()}async function LBe(){let e=()=>Wde(k.authenticationMode,k.isAuthenticated);k.subscribe(So,e),e(),await k.whenAuthenticated(),xe({content:{event:"user-is-signed-in"}})}function RBe(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(Ao.name)||Jt(t.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:wm(t.target),value:t.target.value}})}S.addEventListener("change",e,{passive:!0})}function MBe(){let e="";function t(r){!r.isTrusted||e===r.type||(e=r.type,xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"page-focus-changed",value:r.type}}))}let o=0;function n(r){clearTimeout(o),o=setTimeout(()=>t(r),50)}U.addEventListener("focus",n,{passive:!0}),U.addEventListener("blur",n,{passive:!0})}function DBe(){function e(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"page-visibility-changed",value:S.hidden?"hidden":"visible"}})}function t(){S.addEventListener("visibilitychange",e,{passive:!0})}S.readyState==="interactive"||S.readyState==="complete"?t():S.addEventListener("DOMContentLoaded",t)}function $Be(){Ade&&Ide.addListener(e=>{e.matches&&xe({actionType:we.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function NBe(){function e(o){if(!o.isTrusted||!(o.target instanceof HTMLElement))return;let{width:n,height:r}=o.target.getBoundingClientRect(),{scrollLeft:s,scrollTop:a,scrollWidth:i,scrollHeight:l}=o.target;Jt(o.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:wm(o.target),viewPortWidth:Math.floor(n),viewPortHeight:Math.floor(r),contentWidth:Math.floor(i),contentHeight:Math.floor(l),horizontalOffset:Math.floor(s),verticalOffset:Math.floor(a)}})}function t(o){if(o.target===S)return;let n=o.target;clearTimeout(n.reportScrollTimeout),n.reportScrollTimeout=setTimeout(()=>e(o),100)}U.addEventListener("scroll",t,{passive:!0,capture:!0})}function qBe(){let e=!1;function t(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"unload",anchor:e}})}function o(r){r.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function n(r){r.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}U.addEventListener("keydown",n,{capture:!0,passive:!0}),U.addEventListener("click",o,{capture:!0,passive:!0}),U.addEventListener("beforeunload",t,{passive:!0})}function FBe(){function e(t){let o=t.target;if(o.id!=="ms--site-header-search-form"&&o.id!=="ms--site-header-search-form-mobile"&&o.id!=="welcome-page-search-form"&&o.id!=="directory-page-search-form"&&o.id!=="facet-search-form")return;OBe(o.id);let r=Array.from(o.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,s=S.activeElement&&S.activeElement instanceof HTMLButtonElement&&S.activeElement.type==="submit"&&!!o.querySelector(`#${S.activeElement.id}`);Jt(o,{actionType:we.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:r,submitButton:s}})}U.addEventListener("submit",e,{passive:!0,capture:!0})}function OBe(e){let o={"ms--site-header-search-form":"nav-search-enter","ms--site-header-search-form-mobile":"nav-search-enter","welcome-page-search-form":"hero-search-enter"}[e];o&&xe({behavior:le.SEARCH,actionType:we.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:o}})}function UBe(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}U.addEventListener("keydown",e,{passive:!0})}function HBe(){function e(t){let o={referrerUri:t.referrerUrl.href,requestUri:t.url.href,title:t.title,pageName:L("document_id")||"missing document_id",pageType:L("page_type"),pageTags:{}};mI(o.pageTags),Kde(o),fI()}ut.subscribe(To,e)}A();var hTe="azure-auth-complete";function zBe(){let e=te(location.search);return e[hTe]==="true"?(e[hTe]=null,Bt(e,"replaceState"),!0):!1}zBe()&&vS.tryLoadTokens().then(e=>{e&&YBe()});var BBe=u`

    ${Ge(Gne)}

    ${_ge}`;async function MM(e){let t=u`
    ${BBe}
    `;y(t,e);let o=e.firstElementChild.firstElementChild,n=s=>new Promise(a=>{let i=l=>{e.innerHTML="",Ro.value=l,a(l)};s===null?(Ro.value=null,DM(o)):s.length===0?GBe(o):VBe(o,i,s)});Fn.trackEvent({name:"oauth-login-try-load-tokens"});let r=await vS.tryLoadTokens({noInteraction:!1});return n(r)}var y6={light:"light",dark:"dark","high-contrast":"high-contrast"};function bTe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${y6[e]}.svg?branch=live`);let o=document.getElementById("log-in-media");o&&(o.src=`/en-us/media/illustrations/lock-and-key-${y6[e]}.svg?branch=live`);let n=document.getElementById("profile-icon"),r=k.authenticationMode==="AAD"?"org":"personal";n&&(n.src=`/en-us/media/profile/${r}-account${y6[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function DM(e){QBe(),ut.subscribe(gl,a=>bTe(a.currentTheme));let o=`/en-us/media/illustrations/lock-and-key-${ru()}.svg?branch=live`,r=u` `;y(r,e);let s=document.getElementById("try-it-sign-in");s&&s.addEventListener("click",()=>{let a=te();a.tryIt="true",Bt(a,"replaceState"),Js(null,!1,!0)})}function VBe(e,t,o){ut.subscribe(gl,c=>bTe(c.currentTheme));let n=ru(),r=`/en-us/media/illustrations/multiple-accounts-${n}.svg?branch=live`,a=`/en-us/media/profile/${k.authenticationMode==="AAD"?"org":"personal"}-account${n==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=u`
    ${rae}

    ${nae}


    ${k.upn}

    ${c0}


    `;y(l,e)}function GBe(e){let o=u`
    ${lae}

    ${cae.replace("{email}",k.upn)}

    `;y(o,e)}function jBe(e,t,o){if(o.length===1)t(o[0]);else{let n=()=>{},s=u`
    ${aae}

    ${oae.replace("{email}",k.upn)}

      `;y(s,e);let a=e.firstElementChild.firstElementChild.querySelector("#token-list-container").querySelector("ul.azure-auth-tokens");for(let l of o){let c=`
      `;a.insertAdjacentHTML("beforeend",`
    • ${c}
    • `)}a.lastElementChild.querySelector("hr").hidden=!0;let i=a.querySelectorAll('input[name="tenant-name"]');i[0].checked=!0,n=()=>{e.firstElementChild.firstElementChild.querySelector(".buttons").firstElementChild.querySelector("button#continue-with-tenant").classList.add("is-loading");for(let c=0;c{!this.consoleFrame||!this.consoleFrame.contentWindow||r!==$M||t!=="portalConsole"||o!=="getToken"||(this.messageReceived||(Fn.trackEvent({name:"cloud-shell-message-received"}),this.messageReceived=!0),clearTimeout(this.messageHandlerTimeout),this.replyToken(n))};this.instrumentMessageHandler=()=>{!this.consoleFrame||!this.consoleFrame.contentWindow||(Fn.trackEvent({name:"cloud-shell-not-responsive"}),this.showTroubleshootingMessage())};this.showTroubleshootingMessage=()=>{this.element.innerHTML=`

      ${Yj}

      `};U.addEventListener("message",this.messageHandler),this.element=S.createElement("div"),this.element.classList.add("cloud-shell"),this.element.setAttribute(Ao.name,"azure-cli"),this.messageHandlerTimeout=0,this.interactiveType=t?"powershell":"bash",MM(this.element).then(()=>(this.element.classList.add(`has-text-${this.interactiveType}-invert`,`has-background-${this.interactiveType}`),Promise.resolve())).then(()=>this.whenPageVisible()).then(()=>{let o=KBe(b.data.userLocale);this.element.innerHTML=`

      Azure Cloud Shell

      `;let n=this.element.querySelector('button[data-bi-name="restart"]');n.onclick=()=>this.restart(),this.consoleFrame=this.element.querySelector("iframe"),this.messageHandlerTimeout=setTimeout(this.instrumentMessageHandler,WBe)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},$M)}dispose(){U.removeEventListener("message",this.messageHandler)}replyToken(t){let o;switch(t){case"":o=Ro.value.access_token;break;case"microsoft.graph":o=Ro.value.msgraph_access_token,xe({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":o=Ro.value.key_vault_access_token,xe({content:{event:"cloud-shell-audience",value:"keyvault"}});break;default:throw new Error(`Unsupported token audience: "${t}".`)}this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"postToken",audience:t,message:`Bearer ${o}`},$M)}whenPageVisible(){return S.visibilityState==="visible"?Promise.resolve():new Promise(t=>S.addEventListener("visibilitychange",()=>{S.visibilityState==="visible"&&t()}))}},_Te={name:OZ,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};wg({name:"bash",activateButtonConfig:_Te,create:()=>new NM(!1)});wg({name:"powershell",activateButtonConfig:_Te,create:()=>new NM(!0)});function KBe(e){switch(e){case"zh-cn":return"zh-hans";case"zh-hk":return"zh-hans";case"zh-tw":return"zh-hant"}return["en","cs","de","es","fr","hu","it","ja","ko","nl","pl","pt-br","pt-pt","ru","sv","tr","zh-hans","zh-hant"].find(n=>e.indexOf(n)===0)||"en"}var pw=class{constructor(t,o,n=window){this.targetOrigin=o;this.subscriptions=[];this.messageHandler=({data:t,origin:o})=>{if(o!==this.targetOrigin)return;let n=this.subscriptions.filter(r=>r.predicate(t));for(let r of n)r.callback(t)};if(t)t instanceof HTMLIFrameElement?t.contentWindow?this.targetWindowLoaded=Promise.resolve({value:t.contentWindow}):this.targetWindowLoaded=new Promise(r=>{t.onload=()=>r({value:t.contentWindow})}):this.targetWindowLoaded=Promise.resolve({value:t});else throw new Error("target is required");n.addEventListener("message",this.messageHandler)}async publish(t){(await this.targetWindowLoaded).value.postMessage(t,this.targetOrigin)}subscribe(t,o=()=>!0){let n={predicate:o,callback:t};return this.subscriptions.push(n),()=>this.unsubscribe(n)}subscribeOnce(t=()=>!0,o){return new Promise((n,r)=>{let s={},a=o===void 0?0:setTimeout(l,o,s),i=this.subscribe(l,t);function l(c){clearTimeout(a),i(),c===s?r("timeout"):n(c)}})}unsubscribe(t){let o=this.subscriptions.indexOf(t);o!==-1&&this.subscriptions.splice(o,1)}};Cg();var qM=R.supportLevel==="production"&&R.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function JBe(e){let t=ZBe(e);if(!t)return[];let o=XBe(t);return e3e(o)}function ZBe(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function XBe(e){let t=e.cloneNode(!0),o=Array.from(t.childNodes);return Array.from(o[0].parentNode.querySelectorAll("[data-ttu-id]")).map(n=>{n.remove()}),t}function e3e(e){return Array.from(e.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th,td")).map(n=>n.textContent.trim()))}var t3e={name:Wf,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};wg({name:"msgraph",activateButtonConfig:t3e,create:()=>{let e=new URL(qM),t=location.origin,o=document.getElementById("main"),n=JBe(o),r={type:"init",locale:b.data.userLocale,theme:nu,code:"",permissions:n};e.searchParams.set("locale",r.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",r.theme);let s=document.createElement("iframe");s.classList.add("msgraph","is-full-height"),s.title=iZ,s.src=e.toString();let a=new pw(s,qM),i,l=c=>{c.origin!==qM&&c.data.type!=="ready"||(s.contentWindow.postMessage(r,qM),i||(i=ut.subscribe(gl,d=>{a.publish({type:"theme-changed",theme:d.currentTheme})})),window.removeEventListener("message",l))};return{element:s,setCode:c=>(r.code=c,r.theme=nu,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{i()}}}});ze();async function vTe(e,t,o){Jt(e,{behavior:le.STARTPROCESS,contentTags:{scn:"Rest Try It",scnstp:"Request",scnnxtstp:"Response",isSuccess:!0},content:{event:"rest-tryit-run",authenticationMethod:t,fields:o}})}async function yTe(e,t){xe({behavior:le.COMPLETEPROCESS,actionType:we.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function FM(e,t,o){o=o||{},o.mode="cors",o.cache="reload",o.method=e.httpVerb,e.body&&(o.body=e.body);let n=e.url,r=t.transform(new Request(n,o),e);return e.headers!==null&&e.headers.forEach(s=>{s.value!==""&&r.headers.set(s.name,s.value)}),r}function xTe(e){return fetch(e).then(t=>(yTe(e,t),t))}function TTe(e){let t={};t.statusCode=e.status.toString();let o=e.headers;return t.header="",o.forEach((n,r)=>{t.header+=`${r}: ${n} `}),/application\https://www.microsoft.com/json/i.test(e.headers.get("Content-Type")||"")&&t.statusCode!=="204"&&t.statusCode!=="404"?e.json().then(n=>(t.body=JSON.stringify(n,null,2),t)):e.text().then(n=>(t.body=n,t))}function STe(e,t,o=window){let n=o instanceof Window?window.pageYOffset:o.scrollTop,r=e-n,s;function a(i){s||(s=i);let l=i-s,c=Math.min(l/t,1);o instanceof Window?o.scrollTo(0,n+r*c):o.scrollTop=n+r*c,l
      ${o}
      ${i}
      ${n}
      `}function yv(e,t){let o=e.querySelector(t);if(o&&xB(),o?.textContent){let n=o.getAttribute("data-language")||"";JL([{code:o.textContent,language:n,highlightLines:""}]).then(r=>{r[0]&&(o.innerHTML=r[0].html)})}}A();function CTe(e,t,o,n){let r=wTe(o,n),s=u`

      ${nee}

      ${OM({language:"http",code:r,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,a=document.createElement("div");y(s,a),e.appendChild(a),yv(a,'pre[name="http-request"]');let i=a.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new oa(c));let d=wTe(c,n);i.textContent=d,yv(a,'pre[name="http-request"]')};t.subscribe(Cs,l)}function wTe(e,t){let o=FM(e,t),n=`${o.method} ${o.url} `;return o.headers.forEach((r,s)=>{n+=`${s[0].toUpperCase()}${s.substring(1)}: ${r} `}),n}var o3e="https://management.azure.com/subscriptions?api-version=2016-06-01",n3e=e=>{e.publish(new gw);let t=new Request(o3e,{mode:"cors"});if(Ro.value===null)throw e.publish(new Qg([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Ro.value.access_token}`),fetch(t).then(o=>o.ok?o.json().then(({value:n})=>(e.publish(new Qg(n)),!0)):(o.text().then(n=>{throw new Error(`error fetching subscriptions: ${n}`)}),e.publish(new Qg([])),!1),()=>!1)};function x6(e,t,o,n=!0,r={}){let s=document.createElement("div");s.classList.add("columns","field");let a=document.createElement("div");a.classList.add("column","is-5","param-name","field-label","margin-bottom-none","align-self-center");let i=document.createElement("div");i.classList.add("font-family-monospace","margin-right-none","font-size-xs");let l=document.createElement("label");l.classList.add("font-size-xs"),l.setAttribute("aria-label","parameter name "+o.name),l.textContent=o.name,i.appendChild(l),a.appendChild(i),s.appendChild(a);let c=document.createElement("div");c.classList.add("column","is-5","param-value","field-body","margin-top-none","align-self-center");let d=document.createElement("div"),p=document.createElement("p");p.classList.add("margin-block-none");let m=document.createElement("input");m.classList.add("input");let g=[],f=document.createElement("div");f.classList.add("select");let _=document.createElement("select");o.type==="boolean"&&(g.push("True"),g.push("False"));let h=document.createElement("div");h.classList.add("subscription-id"),h.textContent="";let x=I=>{let C=I.restTryItRequest,z=o.type==="boolean"||o.type==="azure-subscriptions"||o.type==="enum"?_.value:m.value;n?C.headers.push({name:o.name,value:z,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1}):C.params.push({name:o.name,value:z,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})};switch(o.type){case"boolean":case"azure-subscriptions":case"enum":if(g.length>=1){let I=document.createElement("option");I.value="",I.selected=!0,I.disabled=!0,I.hidden=!0,I.text="Select",_.appendChild(I)}g.forEach(I=>{let C=document.createElement("option");C.value=I,C.text=I,_.appendChild(C)}),o.isRequired&&_.setAttribute("required","true"),_.setAttribute("aria-label","select parameter value option for "+o.name),_.onchange=()=>{t.publish(new Cs),_.textContent!==_.value&&(h.textContent=_.value)},o.name==="subscriptionId"&&(_.disabled=!0,_.innerHTML=''),f.appendChild(_),c.appendChild(f);break;case"array":break;case"object":break;default:m.setAttribute("value",o.value),o.isRequired&&m.setAttribute("required","true"),m.setAttribute("aria-label","enter parameter value for "+o.name),m.onblur=()=>{t.publish(new Cs)},p.appendChild(m),d.appendChild(p),c.appendChild(d);break}o.isRequired&&l.insertAdjacentHTML("beforeend",''),s.appendChild(c);let v=document.createElement("div");v.classList.add("column"),v.classList.add("is-2"),v.classList.add("delete-button");let T=document.createElement("button");return T.classList.add("button"),T.classList.add("docon"),T.classList.add("docon-navigate-close"),o.isRequired&&(T.style.visibility="hidden"),T.setAttribute("aria-label",BY),T.setAttribute("type","button"),v.appendChild(T),s.appendChild(v),T.onclick=I=>{s.parentElement.removeChild(s),t.unsubscribe(oa,x),t.publish(new Cs),I.preventDefault()},e.appendChild(s),t.subscribe(oa,x),n||o.name==="subscriptionId"&&(t.subscribe(gw,()=>{_.innerHTML='',_.disabled=!1}),t.subscribe(Qg,I=>{let C=I.subscriptions;C.length===0?(_.innerHTML='',_.value=null):(_.innerHTML=C.map(({displayName:z,subscriptionId:F})=>``).join(` `),_.value=C[0].subscriptionId,_.hidden=!1,_.disabled=!1),h.textContent=C[0].subscriptionId,t.publish(new Cs)})),o.type==="string"&&o.in==="query"&&r[o.name]!==void 0&&r[o.name].indexOf(o.name)===-1&&(m.value=r[o.name],t.publish(new Cs)),o.name==="subscriptionId"&&n3e(t),{nameInput:l,valueInput:m,delButton:T,columnContainer:s}}function T6(e,t,o=!0){let n=document.createElement("div");n.classList.add("columns");let r=document.createElement("div");r.classList.add("column","is-5","param-name");let s=document.createElement("div");s.classList.add("field-body");let a=document.createElement("p");a.classList.add("control");let i=document.createElement("input");i.classList.add("input"),i.setAttribute("placeholder","name"),i.setAttribute("aria-label","add new parameter name"),a.appendChild(i),s.appendChild(a),r.appendChild(s);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),r.appendChild(l),n.appendChild(r),i.onblur=()=>{i.value!==""&&l.textContent!==""&&r.removeChild(l)};let c=document.createElement("div");c.classList.add("column","is-5","param-value");let d=document.createElement("div");d.classList.add("field-body");let p=document.createElement("p");p.classList.add("control");let m=document.createElement("input");m.classList.add("input"),m.setAttribute("type","text"),m.setAttribute("placeholder","value"),m.setAttribute("aria-label","add new parameter value"),p.appendChild(m),d.appendChild(p),c.appendChild(d),n.appendChild(c);let g=document.createElement("div");g.classList.add("column","is-2","add-button");let f=document.createElement("button");f.classList.add("button","button-clear","button-success","docon","docon-math-plus"),f.setAttribute("type","button"),f.setAttribute("aria-label",vV),g.appendChild(f),n.appendChild(g),e.appendChild(n);let _=h=>{let x=i.value,v=m.value;if(x===""){l.textContent=hW,r.appendChild(l),h.preventDefault();return}let T;o?T="header":document.querySelector(".url-input").value.indexOf("{"+x+"}")!==-1?T="path":T="query",n.parentElement.removeChild(n),t.publish(new _v({name:x,value:v,type:"string",in:T,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{_(h)},{nameInput:i,valueInput:m,addButton:f,columnContainer:n}}function S6(e,t,o,n=!0,r={}){let s=document.createElement("div"),a=document.createElement("div");a.classList.add("columns");let i=document.createElement("div");i.classList.add("column","is-5","param-heading");let l=document.createElement("h3");n?l.textContent=EE:l.textContent=tX,i.appendChild(l),a.appendChild(i),s.appendChild(a);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of o)x6(c,t,p,n,r);T6(c,t,n),s.appendChild(c),e.appendChild(s);let d=p=>{(p.param.in==="header"&&n||p.param.in!=="header"&&!n)&&(x6(c,t,p.param,n),T6(c,t,n),t.publish(new Cs))};return t.subscribe(_v,d),c}var w6="";function ATe(e,t,o,n){let{url:r,urlParams:s}=r3e(o.url);w6=r;let a=document.createElement("div");a.classList.add("request-section"),s3e(a,t,r,o.httpVerb),S6(a,t,o.params,!1,s),S6(a,t,o.headers,!0),o.body!==null&&i3e(a,t,o.body),CTe(a,t,o,n);let i=document.createElement("div");i.classList.add("request-section"),a.appendChild(i);let l=l3e(i,t);return e.appendChild(a),l}function r3e(e){let t=e,o={},n=e.indexOf("?");if(n!==-1){let r=e.substr(n);t=e.substr(0,n),o=te(r)}return{url:t,urlParams:o}}function s3e(e,t,o,n){let r=document.createElement("div");r.classList.add("field");let s=document.createElement("h3");s.classList.add("field-label","margin-bottom-none"),s.textContent=EN,r.appendChild(s);let a=document.createElement("div");a.classList.add("field-body","url-group","margin-top-none");let i=document.createElement("div");i.classList.add("http-verb");let l=document.createElement("span");l.textContent=n,i.appendChild(l);let c=document.createElement("input");c.setAttribute("name","url"),c.readOnly=!0,c.classList.add("url-input","input"),c.setAttribute("aria-label",EN),c.setAttribute("value",o),a.appendChild(i),a.appendChild(c),r.appendChild(a),e.appendChild(r),t.subscribe(oa,p=>{let m=p.restTryItRequest;m.url=o,m.httpVerb=l.textContent});let d=()=>{let p={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new oa(p)),o=w6;let m=w6;p.params.forEach(g=>{o=ETe(o,g),m=ETe(m,g)}),c.value=m};return t.subscribe(Cs,d),{inputUrl:c}}function ETe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",a3e(t)):t.in==="query"&&t.value!==""&&(e.indexOf("?")===-1?e=e+"?"+encodeURIComponent(t.name)+"="+encodeURIComponent(t.value):e=e+"&"+encodeURIComponent(t.name)+"="+encodeURIComponent(t.value)),e}function a3e(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function i3e(e,t,o){let n=document.createElement("div"),r=document.createElement("h3");r.textContent=Sf,n.appendChild(r);let s=document.createElement("textarea");return s.setAttribute("name",Sf),s.textContent=o,s.classList.add("textarea","request-body","tall","small"),s.setAttribute("aria-label",Sf),n.appendChild(s),e.appendChild(n),t.subscribe(oa,a=>{let i=a.restTryItRequest;i.body=s.value}),{bodyText:s}}function l3e(e,t){let o=u` `;y(o,e);let n=e.querySelector('button[type="submit"]');return t.subscribe(jg,()=>{n.classList.remove("is-loading")}),n}A();var kTe;function PTe(e,t){kTe=e,t.subscribe(vv,o=>{c3e(kTe,o.response)})}function c3e(e,t){let o=e.querySelector(".response-section");o&&o.remove();let n=u` ${d3e(t.statusCode)} ${ITe(EE,t.header,"http","response-header")} ${t.body!==null?ITe(Sf,t.body,"json","response-body"):""} `,r=document.createElement("div");r.classList.add("response-section"),y(n,r),e.appendChild(r),yv(r,".response-header"),t.body!==null&&yv(r,".response-body")}function d3e(e){return u`

      ${see}: ${e}

      `}function ITe(e,t,o,n){return u`

      ${e}

      ${OM({language:o,code:t,cssClasses:n})}
      `}var LTe={prompt:jr,type:"oauth2",login:async e=>{await MM(e)},transform:e=>(Ro.value!==null&&e.headers.set("Authorization",`Bearer ${Ro.value.access_token}`),e)},u3e={prompt:kV,type:"APIKey",login:async()=>{},transform:e=>e};function RTe(e){return{oauth2:LTe,apiKey:u3e}[e]||LTe}var DTe=null,UM,gp;function $Te(){return gp=S.createElement("div"),gp.style.height="100%",gp.setAttribute("aria-live","polite"),gp.setAttribute("aria-atomic","true"),gp.tabIndex=-1,DTe=g3e(b.data.restAPIData),UM=RTe("oauth2"),p3e(gp),gp}async function p3e(e){e.contains(S.activeElement)&&e.focus(),await UM.login(e),m3e(e)}function m3e(e){let t=S.createElement("form");t.classList.add("rest-tryit-form");let o=S.createElement("div");o.classList.add("signin-section"),h3e(o),t.appendChild(o),e.insertAdjacentElement("afterbegin",t);let n=new Be;b3e(t,n,DTe),PTe(t,n),setTimeout(()=>{gp.setAttribute("aria-live","off")},0)}function g3e(e){let t={url:e.path,httpVerb:e.httpVerb,headers:[],params:[],body:e.requestBody};return(e.httpVerb==="PUT"||e.httpVerb==="POST"||e.httpVerb==="PATCH")&&t.headers.push({name:"Content-Type",value:"applicationhttps://www.microsoft.com/json",type:"string",in:"header",isRequired:!0,skipUrlEncoding:!1}),e.requestHeader.forEach(o=>{o.in==="header"&&t.headers.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1})}),e.uriParameters.forEach(o=>{(o.in==="path"||o.in==="query"||o.in==="formData")&&t.params.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})}),t}var MTe={light:"light",dark:"dark","high-contrast":"high-contrast"};function f3e(e){let t=k.authenticationMode==="AAD"?"org":"personal",o=S.getElementById("profile-icon");o&&(o.src=`/en-us/media/profile/${t}-account${MTe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let n=S.getElementById("exit-icon");n&&(n.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${MTe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function h3e(e){ut.subscribe(gl,a=>f3e(a.currentTheme));let t=ru(),n=`/en-us/media/profile/${k.authenticationMode==="AAD"?"org":"personal"}-account${t==="light"?"":"-dark-highcontrast"}.svg?branch=live`,r=`/en-us/media/profile/fluent-arrow-exit-20-regular${t==="light"?"":"-dark-hc"}.svg?branch=live`,s=u`

      REST API ${Wf}

      ${pae}


      ${k.upn}

      ${c0}

      ${Ro.value.display_name}

      `;y(s,e)}function b3e(e,t,o){let n=ATe(e,t,o,UM);dM(e),e.onsubmit=s=>{_3e(n,t,UM),s.preventDefault()};let r=s=>{let a=s.restTryItRequest,i=s.security,l=FM(a,i);xTe(l).then(c=>{TTe(c).then(d=>{t.publish(new vv(d)),t.publish(new jg)}).then(()=>{let d=S.querySelector(".rest-tryit-form"),{scrollTop:p}=d,{height:m}=S.querySelector(".request-section").getBoundingClientRect();p>=m||STe(m,500,d)})}).catch(c=>{let d=e.querySelector('.request-section button[type="submit"]'),p=S.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=mae,d&&d.parentElement.append(p),t.publish(new jg),c})};t.subscribe(mw,r)}function _3e(e,t,o){e.classList.add("is-loading");let n={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new oa(n)),vTe(e,o.type,v3e(n)),t.publish(new mw(n,o))}function v3e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Cg();wg({name:"http",activateButtonConfig:{name:Wf,iconClass:"docon docon-play",attributes:[]},create:()=>({element:$Te(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function y3e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),U.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function x3e(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return S.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),ja(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function C6(){(L("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&Se.then(y3e).then(x3e)}function NTe(){let e=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}NTe();A();var HGt=new Be,qTe,FTe=!1,OTe,UTe,HTe,zM=0,HM=0,fw=0,E6=.125,A6=!1,T3e=u` 1% `;async function zTe(){if(!w.gamification||w.chromeless)return;await TM;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(y(T3e,t),Se.then(()=>{k.whenAuthenticated().then(()=>{let o;b.data.pageTemplate==="Module"?o=new xr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?o=new xr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(o=new xr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),o?.start(),OTe=document.querySelector("#level-status-text"),UTe=document.querySelector("#level-status-progress"),HTe=document.querySelector("#level-status-points");let n=t.querySelector("a");n!==null&&n.setAttribute("href",co(k.userName)),o?.updateProgress("Fetching game status"),ev.getStatus(k.userId).then(r=>{o?.updateProgress("Fetched game status"),VTe(r),FTe=!0,e.classList.remove("is-hidden"),o?.succeed()}).catch(r=>{o?.fail(r)})})}))}function S3e(e,t,o,n){e.currentLevel>qTe&&(A6=!0),qTe=e.currentLevel,w3e(t,e.currentLevel),C3e(o,e,FTe),A3e(n,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function w3e(e,t){e&&(e.textContent=`${NJ.replace("{number}",t.toString())}`)}function C3e(e,t,o){if(e){if(HM=k3e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${HM}%`,!o){U.cancelAnimationFrame(zM),e.value=fw=HM;return}E3e(e)}}function E3e(e){zM||(zM=BTe(e))}function BTe(e){return A6||e.value=100&&(A6=!1),fw=fw+E6,e.value=Math.floor(fw+E6)%100,U.requestAnimationFrame(()=>{zM=BTe(e)})):0}function A3e(e,t,o){if(!e)return;let n=u` ${o} /${i2.replace("{totalXP}",t.toString())}`;y(n,e)}function k3e(e,t,o){let n=e-t,r=o/n;return Math.floor(r*100)}function VTe(e){w.chromeless||S3e(e,OTe,UTe,HTe)}ze();async function GTe(){if(!b.data.isPermissioned)return;let e=I3e();e&&Kt(e)}function I3e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?JY:null}function P3e(e,t){return u` `}async function Yg(e,t){let o=document.createElement("div");o.classList.add("modal-content");let n=new be(o);return y(P3e(e,t),o),n.show()}function jTe(e,t,o){b.data.isPermissioned&&e.addEventListener("click",function(n){n.preventDefault(),Yg(t,o)})}function QTe(){let e=document.querySelector("[unauthorized-private-section]");e&&(e.hidden=!1,e.parentElement?.removeChild(e),Array.from(document.querySelectorAll("h1")).pop()?.insertAdjacentElement("afterend",e))}var Ql,k6={},I6={},P6={},L6={},R6={},_w={};async function L3e(){let e=R.supportLevel==="production"&&!Ut?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await M(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function bw(e,t,o){let n={};return e.forEach(r=>{let s=r[t],a=r[o];n[s]=a}),n}function R3e(e){let t={};return e.forEach(o=>{if(o.statesOrProvinces?.length>0){let n={};o.statesOrProvinces.forEach(r=>{n[r.code]=r.displayName}),t[o.ISOAlpha3Code]=n}}),t}async function YTe(){if(!(Ql&&Ql.length>0)&&(Ql=await L3e(),!!Ql))return k6=bw(Ql,"ISOAlpha2Code","displayName"),I6=bw(Ql,"ISOAlpha2Code","phoneCountryCode"),P6=bw(Ql,"ISOAlpha3Code","displayName"),L6=bw(Ql,"ISOAlpha3Code","ISOAlpha2Code"),R6=bw(Ql,"ISOAlpha2Code","ISOAlpha3Code"),_w=R3e(Ql),Promise.resolve()}A();var M6,WTe=()=>(M6===void 0&&(M6=_g()),M6);A();function D6(e){return e.slice(-2).toUpperCase()}function D3e(e,t){let o=D6(e);return t.length===2?o===t:t.length===3?o===L6[t]:!1}function xv(e,t,o){let n=[],r=b.data.userLocale;for(let s in e){let a=D3e(r,s),i=s,l=e[s];t==="phone"&&o&&(i=e[s],l=`${o[s]} (+${e[s]})`),n.push(u``)}return n.length===0&&n.push(u``),n}A();function KTe(){window.addEventListener("form-validating",e=>{let t=vw(e.detail.form),o=VM(t);e.detail.errors?.length>=0&&(q6(e.detail.form,e.detail.errors),$3e(e.detail.form,e.detail.errors),N3e(e.detail.form,e.detail.errors),V3e(e.detail.form,e.detail.errors),B3e(e.detail.form,e.detail.errors),j3e(e.detail.form,e.detail.errors),Q3e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&BM(t),o&&$6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yw(t)}),window.addEventListener("submission-error",e=>{let t=vw(e.detail.form);U3e(e.detail.request,e.detail.response,e.detail.form),H3e(e.detail.request,e.detail.response,e.detail.form),BM(t),G3e(e.detail.request,e.detail.response,e.detail.form)})}function $3e(e,t){let o=e.querySelector("[data-tag-input]");if(o&&t.filter(n=>n.input===o).length===0){let n=q3e(o),r=ir(o).querySelector("[data-tag-input-holder]");n&&(pd(e,t,o,n,r),Ur(r,n));let s=F3e(o);s&&s.length>0&&s.forEach(a=>{pd(e,t,o,a,r),Ur(r,a)})}}function N3e(e,t){let o=e.querySelector("#attachment-count");if(o&&t.filter(n=>n.input===o).length===0){let n=O3e(o),r=ir(o);if(n){let s=r.querySelector('[data-id="docs-markdown-editor"]'),a=r.querySelector("#markdown-editor");pd(e,t,o,n,s??void 0,a?.id??void 0),ZTe(o,n)}}}function BM(e){if(!e.querySelector(".docon-status-warning-outline-rounded")){let o=document.createElement("span");o.classList.add("docon","docon-status-warning-outline-rounded","margin-right-xxs"),o.ariaHidden="true",o.setAttribute("data-warning-icon-container",""),e.prepend(o)}}function $6(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function q3e(e){let t=e.getAttribute("minTags"),o=e.getAttribute("maxTags"),n=e.value===""?0:e.value.split(",").length;if(!t||!o)return null;if(!n||nNumber(o)){let r=a$(e);return`${$ae.replace("{min}",t).replace("{max}",o).replace("{tagLabel}",r.toLocaleLowerCase())}`}return null}function F3e(e){let t=e.value.split(","),o=[];for(let n of t){let r=document.getElementById(n);if(!r)continue;let s=r.innerText;r.getAttribute("active")!=="false"||o.push(`${Nae.replace("{tagLabel}",s)}`)}return o.length>0?o:null}function O3e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),o=Number(e.value);if(t&&o&&o>Number(t))return xX.replace("{maximumCount}",t)}return null}async function U3e(e,t,o){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){N6(o);let n=[],r=o.querySelector("#attachment-count"),s=o.querySelector('textarea[name="body"]');Ur(s,sN),pd(o,n,r,sN,ir(r).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function H3e(e,t,o){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){N6(o);let n=[],r=o.querySelector('textarea[name="body"]'),s=TX.replace("{maximumCount}","10");Ur(r,s),pd(o,n,r,s,o.querySelector("#markdown-editor")??void 0)}}catch{}}function vw(e){return e.querySelector("[data-form-error-alert]")??null}function VM(e){return e.querySelector("ul")??null}function N6(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function pd(e,t,o,n,r,s,a){if(t.find(m=>m.message===n))return;let i=JTe(e),c=o.hasAttribute("data-tag-input")?o.parentElement?.querySelector("input.autocomplete-input")?.id:o.id;ir(o).classList.add("errored");let p=document.createElement("a");p.href=`${a?"":"#"}${s||c}`,p.textContent=n,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),i.append(p),r?.classList.add("border","border-color-danger"),t.push({input:o,message:n})}function JTe(e){let t=vw(e),o=VM(t),n=document.createElement("li");return n.classList.add("margin-bottom-xs"),t&&o&&(o.appendChild(n),t.hidden=!1,t.focus(),t.scrollIntoView()),n}function ZTe(e,t){let n=ir(e).querySelector("[data-field-error-custom]")||z3e(e);n.textContent=t}function z3e(e){let t=document.createElement("p");return t.id=Je(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("help","help-danger"),t.setAttribute("data-field-error-custom",""),hf(e).after(t),t}function yw(e){if(e instanceof HTMLInputElement){let t=ir(e),o=e.hasAttribute("data-tag-input"),n=t.querySelector("docs-markdown-editor"),r=e.getAttribute("type")==="email";if(o){let s=t.querySelector("[data-tag-input-holder]");s&&s.classList.remove("border","border-color-danger")}if(n){let s=t.querySelector('[data-id="docs-markdown-editor"]');s&&s.classList.remove("border","border-color-danger")}r&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),ZTe(n??e,""),t.classList.remove("errored")}}function B3e(e,t){let o=e.querySelector("#question-body"),n=document.querySelector("docs-markdown-editor")?.parentElement,r=t.filter(s=>s.input===o);if(r&&r.length>0&&n){let s=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(s){s.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",n.focus()},0)});let a=e.querySelector('[data-id="docs-markdown-editor"]');a&&a.classList.add("border","border-color-danger")}}}function V3e(e,t){let o=e.querySelector('textarea[name="body"]');if(!o)return;let n=o.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!n)return;let r=!1,s=[],a=[".microsoft.com/",".githubusercontent.com/",".github.com/","azure.net/",".azureedge.net/",".windows.net/",".office.net/",".visualstudio.com/",".linkedin.com/",".imgur.com/",".giphy.com/"],i=new RegExp("https?://.*.(?:png|jpg|jpeg|gif|svg|webp)","gi");if(n.forEach(l=>{let c=l.match(i);c&&!a.some(d=>c[0].includes(d))&&(r=!0,s.push(c[0]))}),r){let l=ir(o);pd(e,t,o,Zre.replace("{urls}",s.join(", ")),l.querySelector('[data-id="docs-markdown-editor"]')??void 0,"https://learn.microsoft.com/en-us/answers/support/attachments#inserting-images-from-the-web",!0)}}async function G3e(e,t,o){if(o&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){N6(o);let n=e.url.includes("/suspend")?SX:wX,r=JTe(o);r.innerText=n}}catch{}}async function j3e(e,t){if(!e?.getAttribute("data-suspended"))return;let n=e.querySelector('textarea[name="body"]');pd(e,t,n,CX,void 0,"https://aka.ms/msftqacodeconduct",!0)}function q6(e,t){let o=e.querySelector("input[type=email]");o&&o.validity.typeMismatch&&(Ur(o,aN),pd(e,t,o,aN,o))}function Q3e(e,t){let o=e.querySelector('input[data-lang*="en-"]'),n=b.data.userLocale||"en-us";if(!o||!n.startsWith("en-"))return;/[^\p{M}|\p{N}|\p{S}|\p{P}|\p{Z}|\p{C}|\p{Script=Latin}|\p{Emoji_Presentation}]/gu.test(o.value)&&(Ur(o,iN),pd(e,t,o,iN,o))}A();function Y3e(e){let t=e.metadata.map(o=>u``);return u`${t}`}function XTe(e){let t=u`
      ${Y3e(e)}
      `,o=document.createElement("div");y(t,o),document.body.appendChild(o),document.getElementById("pearson-vue-hidden-redirect-form").submit()}A();function Bi(e){return document.getElementById(e).value}function Tv(e,t,o,n,r="text",s=50,a=0){return u`
      `}function F6(e,t,o){return u`
      `}function O6(e){return u`
      ${e}
      `}var W3e=()=>{let o=new URL(window.location.href).searchParams.get("examUrl")||"";o?location.href=Zr(o).toString():window.history.back()};function eSe(){let e=D6(b.data.userLocale),t=R6[e],o=_w[t];return u`

      ${CG}

      ${EG}

      ${ai}

      ${Tv("address1",RG,_$,!0,"text",40)}
      ${Tv("address2",MG,_$,!1,"text",40)}
      ${Tv("city",DG,FG,!0,"text",32)}
      ${F6("state",$G,xv(o,"country"))}
      ${F6("countryRegion",hy,xv(P6,"country"))}
      ${Tv("postalCode",NG,OG,!0,"text")}

      ${N(AG)}

      ${F6("phoneCountryCode",qG,xv(I6,"phone",k6))}
      ${Tv("phoneNumber",nX,UG,!0,"tel")}
      ${Tv("contactEmail",H$,HG,!0,"email",255,6)}

      ${kG}

      ${IG}

      ${PG}


      ${N(LG)}

      `}function K3e(e){return u`
      ${e}
      `}function U6(e,t){t&&y(K3e(e),t)}var tSe=!0;function oSe(e){window.addEventListener("form-validating",n=>{i4e(n.detail.errors),tSe=n.detail.errors.length===0}),e.addEventListener("beforesubmit",async n=>{if(!tSe){n.preventDefault();return}let r=n.detail.form.querySelector("#schedule-pearson-submit");n.detail&&(n.preventDefault(),n.detail.callback=async()=>{r?.classList.add("is-loading");try{await Z3e(n)}catch{let a=n.detail.form.querySelector("#ms--error-container");U6(Vr,a)}finally{r?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",n=>{let r=n.detail.target;yw(r)});let t=document.getElementById("countryRegion"),o=document.getElementById("state");t.addEventListener("change",()=>{let n=Bi("countryRegion"),r=_w[n];y(xv(r,"country"),o)})}function J3e(e){let t=/^exam\.(.+)$|^(.+)$/,o=e.match(t);return o?o[1]||o[2]:""}async function Z3e(e){let o=new URL(window.location.href).searchParams,n=o.get("examUrl")||"",r=o.get("examUid")||"",s=o.get("locale")||L("locale")||"en-us",a=o.get("action")||"",i={address1:Bi("address1"),address2:Bi("address2"),city:Bi("city"),state:Bi("state"),countryRegion:Bi("countryRegion"),postalCode:Bi("postalCode"),phoneCountryCode:Bi("phoneCountryCode"),phoneNumber:Bi("phoneNumber"),contactEmail:Bi("contactEmail")},l=a?{addressInfo:i,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:i,returnUrl:n,locale:s,examUid:J3e(r)},c=In(),d=q.certification.pvuetransfer,p={...e.detail.init,body:JSON.stringify(l),headers:{Authorization:`Bearer ${c}`,"Content-Type":"applicationhttps://www.microsoft.com/json"}},m=e.detail.form.querySelector("#ms--error-container"),g=Vr;try{let f=await fetch(d,p);if(!f.ok)f.status===400&&(g=JK),U6(g,m);else{let _=await f.json();XTe(_)}}catch{U6(g,m)}}var X3e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),e4e=new RegExp("^[0-9]{5}([0-9]{4})?$"),t4e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),o4e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),n4e=new RegExp("^(?!0*$)[0-9]*$"),r4e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),s4e=new RegExp("^[^.].*[^.]$|^$");function a4e(e,t){return e?t.test(e):!0}function xw(e,t,o,n,r){if(!a4e(e,o)){let a=`${n.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Ur(t,a),l4e(r,t,a)}let s=`${un} ${n}`;kt(s,"assertive")}function i4e(e){let t=document.getElementById("address1"),o=document.getElementById("address2"),n=document.getElementById("city"),r=document.getElementById("postalCode"),s=document.getElementById("phoneNumber"),a=document.getElementById("contactEmail"),i=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,o,n].forEach(p=>xw(p.value,p,X3e,KK,e)),xw(s.value,s,i.value==="1"?r4e:n4e,eJ,e),xw(r.value,r,l.value==="USA"?e4e:l.value==="CAN"?t4e:/.*/,l.value==="USA"?ZK:l.value==="CAN"?XK:"",e),xw(a.value,a,o4e,jK,e),[t,o,n,r,s,a].forEach(p=>xw(p.value,p,s4e,CE,e))}function l4e(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function c4e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function d4e(e,t){let o=t.get("examUid"),n=t.get("examUrl");return!!(o&&n&&c4e(e))}function u4e(e,t){return!!t.get("action")}function nSe(e=new URL(location.href)){let t=new URLSearchParams(e.search);return d4e(e,t)||u4e(e,t)}function rSe(e,t){let o=new URL(co("me","settings")),n=L("locale")||"en-us",r=te(o.search),s=new URLSearchParams({examUrl:e,examUid:t,locale:n,context:"exam",...r});return o.search=s.toString(),o.toString()}async function p4e(){if(await WTe(),!k.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",o=e.get("examUrl")||"";return location.href=rSe(o,t),!0}return!1}async function m4e(){return ve.then(async()=>k.isAuthenticated?await p4e()?Promise.reject():O6(eSe()):(Uo(location.href),Promise.reject()))}async function sSe(){if(!L("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await YTe();let o=window.location.origin;if(!nSe()){location.href=`${o}/credentials`;return}let n=An(await m4e(),O6(u`${Qt}`));y(n,t);let r=document.getElementById("pearson-vue-registration");r&&oSe(r)}var GM="image-browser-close-event";function aSe(e,t){let n={horizontal:0,vertical:0};t.addEventListener("keypress",r=>{r.which===ke.enter&&(r.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",r=>{let s=r.which||r.keyCode;switch(s){case ke.left:r.preventDefault(),n.horizontal=1;break;case ke.right:r.preventDefault(),n.horizontal=-1;break;case ke.up:r.preventDefault(),n.vertical=1;break;case ke.down:r.preventDefault(),n.vertical=-1;break}[ke.left,ke.right,ke.up,ke.down].indexOf(s)>-1&&e.panViewport(5*n.horizontal,5*n.vertical)}),t.addEventListener("keyup",r=>{switch(r.which||r.keyCode){case ke.left:r.preventDefault(),n.horizontal=0;break;case ke.right:r.preventDefault(),n.horizontal=0;break;case ke.up:r.preventDefault(),n.vertical=0;break;case ke.down:r.preventDefault(),n.vertical=0;break}})}var Vi={dragging:!1,prevX:0,prevY:0},jM=null;function iSe(e,t){jM=jM||(o=>{if(e.state.expanded)if(o.buttons%2){o.preventDefault(),Vi.dragging=!0;let n=o.movementX||!isNaN(Vi.prevX)?o.screenX-Vi.prevX:0,r=o.movementY||!isNaN(Vi.prevY)?o.screenY-Vi.prevY:0;e.panViewport(n,r)}else Vi.dragging&&setTimeout(()=>{Vi.dragging=!1},0);else Vi.dragging=!1;Vi.prevX=o.screenX,Vi.prevY=o.screenY}),S.removeEventListener("mousemove",jM),S.addEventListener("mousemove",jM),t.addEventListener("dragstart",o=>{o.preventDefault()}),t.addEventListener("click",o=>{Vi.dragging||(o.preventDefault(),e.toggleExpand(o.offsetX,o.offsetY))})}var lSe=`
      `;function cSe(e,t){let o={touches:[]};t.addEventListener("touchstart",n=>{e.state.expanded&&(n.preventDefault(),Array.from(n.changedTouches).forEach(({identifier:r,screenX:s,screenY:a})=>{o.touches.push(Object.assign({},{identifier:r,screenX:s,screenY:a}))}))}),t.addEventListener("touchmove",n=>{if(e.state.expanded){n.preventDefault();let r=o.touches.map(l=>l.identifier),s=Array.from(n.changedTouches).filter(l=>l.identifier===o.touches[0].identifier);if(!s[0])return;let a=s[0].screenX-o.touches[0].screenX,i=s[0].screenY-o.touches[0].screenY;Array.from(n.changedTouches).forEach(l=>{let c=r.indexOf(l.identifier);c>=0&&(o.touches[c]=Object.assign({},{identifier:l.identifier,screenX:l.screenX,screenY:l.screenY}))}),e.panViewport(a,i)}}),t.addEventListener("touchend",n=>{let r=o.touches.map(s=>s.identifier);Array.from(n.changedTouches).forEach(({identifier:s})=>{o.touches.splice(r.indexOf(s),1)})})}function dSe(e,t,o){let n=Math.max(e,t);return Math.min(o,n)}var QM=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:o,alt:n}){return new Promise(s=>{t.innerHTML=lSe,this.imageContainer=t.querySelector("div"),this.imageElement=t.querySelector("#image-browser-image"),!(!this.imageContainer||!this.imageElement)&&(this.imageContainer.dir="ltr",this.imageElement.style.opacity="0",this.imageElement.style.transformOrigin="0 0",this.imageElement.addEventListener("error",()=>{}),this.imageElement.addEventListener("load",()=>{!this.imageContainer||!this.imageElement||(this.imageElement.classList.add("image-browser-expandable"),this.imageElement.style.width="",this.imageElement.style.height="",this.imageContainer.classList.add("image-browser-transition"),this.imageContainer.addEventListener("transitionend",()=>{this.imageContainer?.classList.remove("image-browser-transition")}),this.imageElement.style.opacity="1",this.imageElement.parentElement&&(aSe(this,this.imageElement.parentElement),iSe(this,this.imageElement.parentElement),cSe(this,this.imageElement.parentElement)),U.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),s(null))}),this.imageElement.src=o,this.imageElement.alt=n)})}close(){U.dispatchEvent(new CustomEvent(GM,{detail:{image:this.imageElement?.src}}))}toggleExpand(t=0,o=0){if(!(!this.imageContainer||!this.imageElement))if(this.state.expanded)this.imageElement.style.transform="",this.imageElement.classList.remove("image-browser-pannable"),this.imageElement.classList.add("image-browser-expandable"),this.imageContainer.style.width="",this.imageContainer.style.height="",this.state.expanded=!1;else{this.imageContainer.style.width=`${this.imageElement.clientWidth}px`,this.imageContainer.style.height=`${this.imageElement.clientHeight}px`;let n=t/this.imageElement.clientWidth,r=o/this.imageElement.clientHeight,{naturalWidth:s,naturalHeight:a}=this.imageElement,i=Math.round(n*s),l=Math.round(r*a);this.state.expanded=!0,this.imageElement.classList.add("image-browser-pannable"),this.imageElement.classList.remove("image-browser-expandable");let c=i-this.imageContainer.clientWidth/2,d=l-this.imageContainer.clientHeight/2,p=dSe(0,c,s-this.imageContainer.clientWidth),m=dSe(0,d,a-this.imageContainer.clientHeight);this.state.translationX=-1*p,this.state.translationY=-1*m,this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}panViewport(t,o){if(!(!this.imageContainer||!this.imageElement)&&this.state.expanded){let n=this.state.translationX??0,r=this.state.translationY??0;this.state.translationX=Math.min(0,Math.max(this.imageElement.naturalWidth*-1+this.imageContainer.clientWidth,n+t)),this.state.translationY=Math.min(0,Math.max(this.imageElement.naturalHeight*-1+this.imageContainer.clientHeight,r+o)),this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}};function uSe(){U.addEventListener(GM,e=>{let t=e.detail;xe({behavior:le.REDUCE,actionType:we.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function H6(e){uSe();let t="lightbox-enabled",o=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),n=new QM;o.forEach(r=>{r.classList.add(t),r.setAttribute("data-bi-name","lightbox"),r.setAttribute("aria-haspopup","dialog"),Ot(r,"click",s=>{s.preventDefault();let a=document.createElement("div");a.classList.add("modal-content"),n.open(a,{url:r.href,alt:r.querySelector("img")?.alt??""}),new be(a).show().then(()=>n.close()),a.insertAdjacentHTML("afterend",``)})})}A();var f4e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/challenges":"/challenges"}`;function sn(e,t,o,n){let r=new URL(location.href),s=new URLSearchParams(r.search),a=r;if(a.pathname=`${f4e()}/${e}${t?`/${t}`:""}`,o){let i=new URLSearchParams(o);for(let[l,c]of i)a.searchParams.set(l,c)}return n&&(a.hash=n),s.has("preview")&&a.searchParams.set("preview",s.get("preview")??""),a.href}function pSe(){let e=document.getElementById("challenge-end-date"),t=document.getElementById("challenge-start-date"),o=document.getElementById("challenge-end-time"),n=document.getElementById("challenge-start-time"),r=document.getElementById("copy-challenge-form");return r&&(e=r.querySelector("#challenge-end-date"),t=r.querySelector("#challenge-start-date"),o=r.querySelector("#challenge-end-time"),n=r.querySelector("#challenge-start-time")),t&&e&&n&&o?{startDate:t,startTime:n,endDate:e,endTime:o}:null}function z6(e=!0){let{startDate:t,endDate:o}=pSe()||{};if(!(t&&o))return;let n=new Date(t.value);o.min=n.toISOString().split("T")[0],t.value&&o.value&&o.valueu` `)}var mSe=b.data.userLocale,b4e=pt(),Wg={async getChallenges(e,t,o=0,n=6){let r=`${q.lists}/challenge/${e}/${t}?${ne({page:o+1,pageSize:n,locale:mSe})}`,a=K(r,{method:"GET"}),i=await M(a);return fe(i),i.ok?await i.json():null},async getChallenge(e){let t=`${q.lists}/challenge/${e}`,n=K(t,{method:"GET"}),r=await M(n);return fe(r),r.ok?await r.json():null},async getChallengeStatistics(e){let t=`${q.lists}/challenge/${e}/statistics`,n=K(t,{method:"GET"}),r=await M(n);return fe(r),r.ok?await r.json():null},async getChallengeLeaderboard(e,t=0,o=5){let n=`${q.lists}/challenge/${e}/leaderboard?${ne({page:t+1,pageSize:o})}`,s=K(n,{method:"GET"}),a=await M(s);return fe(a),a.ok?await a.json():null},getChallengeCsv(e){return`${q.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${q.lists}/challenge`,n={method:"POST",body:JSON.stringify(e)},r=await M(K(t,n));if(fe(r),r.ok){let s=await r.json();return yr(s.contentList),{hasError:!1,data:s}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallenge(e,t){let o=`${q.lists}/challenge/${e}`,r={method:"PATCH",body:JSON.stringify(t)},s=await M(K(o,r));if(fe(s),s.ok){let a=await s.json();return yr(a.contentList),{hasError:!1,data:a}}return s.status===400?{hasError:!0,error:await s.json()}:null},async updateChallengeList(e,t){let o=`${q.lists}/challenge/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},s=await M(K(o,r));if(fe(s),s.ok){let a=await s.json();return yr(a.contentList),{hasError:!1,data:a}}return s.status===400?{hasError:!0,error:await s.json()}:null},async deleteChallenge(e){let t=`${q.lists}/challenge/${e}`,o=await M(K(t,{method:"DELETE"}));if(fe(o),!o.ok)throw new Error(`${o.status}: ${o.statusText}`)},async joinOrLeaveChallenge(e,t){let o=`${q.lists}/challenge/${e}/${t}`,n=K(o,{method:"POST"},!0,!1),r=await M(n);return fe(r),r.ok?{}:null},async getFacetProducts(){let e={branch:b4e,locale:mSe,facet:"products"},t=`${q.browse.learn}?${ne(e,!0)}`,n=await M(K(t,{method:"GET"}));if(n.ok){let r=await n.json();return!r||!r.facets||!r.facets.products?[]:r.facets.products}if(n.status===400){let r=await n.json();throw new Error(`${r.errorCode}: ${r.message}`)}return null}};A();A();A();A();var rr=lr(e=>t=>{t.setValue(e)});function V6({origin:e,protocol:t,hostname:o,port:n}){return e||(t&&o?`${t}//${o}${n&&n!=="443"&&n!=="80"?":"+n:""}`:location.origin)}A();var jJt=6*60*60*1e3,v4e,QJt=new Promise(e=>v4e=e);function gSe(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),n=!!o&&V6(o)===J.origin;return!o||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||o.target&&o.target!==window.name&&o.target!=="_self"||o.href.lastIndexOf("javascript:")===0||o.hasAttribute("download")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:t&&!n||n&&o.classList.contains(td)||n&&/^#lightbox/.test(o.hash)||n&&o.closest("#docs-admin-editor .ProseMirror")||o.classList.contains("following-user-profile")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:{anchor:o,shouldHandle:!0,differentOrigin:!n}}function fSe(){let e=document.createElement("progress");return e.classList.add("position-fixed","top-0","left-0","right-0","margin-bottom-none","progress-bar"),e.setAttribute("max","100"),e.style.zIndex="10",document.body.insertAdjacentElement("afterbegin",e),e}var j6=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:o,anchor:n}=gSe(t);if(!o||!n.href)return;let r=new URL(n.href);this.delegate.canHandle(r)&&(t.preventDefault(),this.preserveBranch(this.currentUrl,r),this.navigateInternal(r,!0))};this.handlePopstate=()=>{let t=new URL(J.href);this.routeChanged(t,this.currentUrl)?(this.referrerStack.pop(),this.navigateInternal(t,!1)):this.currentUrl=t};this.routeChanged=(t,o)=>{let n=t.pathname===o.pathname;for(let r of this.delegate.params)n=n&&t.searchParams.get(r)===o.searchParams.get(r);return!n}}enable(t,o=new URL(J.href)){this.delegate=t,this.currentUrl=o,U.addEventListener("click",this.handleClick,!0),U.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,U.removeEventListener("click",this.handleClick,!0),U.removeEventListener("popstate",this.handlePopstate)}get enabled(){return!!this.delegate}async finishNavigating(){await this.finished}goto(t,o){if(!this.delegate)throw new Error("Router is not enabled.");if(t.origin!==J.origin)throw new Error("Cross-origin navigation is not permitted");if(!this.delegate.canHandle(t))throw new Error(`Router delegate cannot handle "${t.href}".`);return this.preserveBranch(this.currentUrl,t),this.navigateInternal(t,o==="pushState")}preserveBranch(t,o){(R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online")&&G6(["branch","themebranch","api-branch"],t,o),G6(["preview"],t,o),G6(["variant"],t,o)}navigateInternal(t,o){let n=async()=>{IL.splice(0,IL.length).forEach(i=>i()),ut.publish(new E0(t));let s=fSe(),a=await this.delegate.handle(t);S.title=a.title,o?(Yn.pushState(void 0,a.title,a.url.href),this.referrerStack.push(a.url)):Yn.replaceState(void 0,a.title,a.url.href),U.scrollTo(0,0),Tw(t.hash),ut.publish(new To(a.title,a.url,this.currentUrl)),s.remove(),this.currentUrl=t},r=this.finished.then(n);return this.finished=r.catch(()=>{}),r}},Es=new j6;function G6(e,t,o){for(let n of e){let r=t.searchParams.get(n);r&&o.searchParams.set(n,r)}}function Tw(e){if(e.length<2)return;let t=S.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Wa(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Mo(e,t){let o=e.querySelector(`[data-label="${t}"]`);o!==null&&(o.hidden=!1)}function zo(e,t,o,n=U.location,r=b.data.userLocale,s){if(e=e.toLowerCase(),o&&!(t==="collections"||t==="training"||t==="achievements"||t==="transcript"||t==="certifications"||t==="credentials"||t==="challenges"||t==="settings"&&o==="interests"))throw new Error(`Detail url component is not supported in ${t} section.`);let a=new URL(n.origin+n.pathname+n.search).searchParams;a.delete("id");let i=a.toString();i=i.length?"?"+i:"";let l;return t&&t!=="activity"?l=new URL(`/${r}/users/${e}/${t}${o?`/${o}`:""}${s?`/${s}`:""}${i}`,n.origin):l=new URL(`/${r}/users/${e}/${i}`,n.origin),l}function md(e){if(!e)throw new Error("The Collection ID does not exist and no linking URL will be created.");let t=new URL(J.origin+J.pathname+J.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}collections/${e}`;return new URL(o+"?"+t.toString(),J.origin)}function Q6(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(J.origin+J.pathname+J.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}plans/${e}`;return new URL(o+"?"+t.toString(),J.origin)}function Y6(){return u`

      ${$d}

      `}function mt(e){return e==null||e instanceof Array&&e.length===0||e===""||typeof e=="number"&&isNaN(e)}function WM(e,t){return u`

      ${t?.htmlMessage?N(e.replace(t.htmlMessage.replaceTarget,t.htmlMessage.replaceWith)):e}

      `}function _Se(e){return WM(e?S$:bZ,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ll?"/test":""}/training/browse/`}})}A();async function KM(e,t){let o=e.elements.namedItem("collection-title").value,n=e.elements.namedItem("collection-description").value,r=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),Wa(e);try{let s=await rye({type:"collection",name:o,description:n,items:t,isPrivate:r});return vSe(s,e)}catch(s){let a=s;return vSe({hasError:!0,error:{errorCode:await Wp(a)||"UnexpectedError",message:a.message||""}},e)}}function vSe(e,t){if(e.hasError===!0){let o=t.querySelector("button[type=submit]");o&&o.classList.remove("is-loading");let{errorCode:n}=e.error;return n==="UnexpectedError"?Mo(t,"somethingWentWrong"):x4e(n,t),{hasError:!0}}return{hasError:!1,data:e.data}}function x4e(e,t){let o=t.elements.namedItem("collection-title"),n=t.elements.namedItem("collection-description");switch(e){case"InvalidBody":case"MissingType":return;case"InvalidTitle":o.setCustomValidity(Sd),o.reportValidity();return;case"InvalidDescription":n.setCustomValidity(py),n.reportValidity();return;case"DuplicateTitle":let r=sE.replace("{title}",o.value);o.setCustomValidity(r),o.reportValidity();return;default:return}}function Sw(e,t,o,n,r,s=pc,a=!0,i=!1,l="",c=""){return u`

      ${e}

      ${_Y}

      ${Gr}
      `}var JM=[],Kg={};function ySe(e,t,o,n="collection",r=()=>{}){return Kg={},u` `}async function T4e(e,t,o){let n=document.createElement("div");n.classList.add("modal-content");let r=PQ.replace("{userDisplayName}",k.displayName).replace("{index}",(o+1).toString()),a=u` `;return y(a,n),n.querySelector("button[type=submit]").onclick=async()=>{await S4e(e,t)},n}async function W6(e,t,o){let n=[],r="",s=[];if(o==="plan"){try{s=await nye()}catch{s=[]}n=s?.map(m=>m.contentList)??[],r=Rne}else if(o==="challenge")n=(await Wg.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],r=R7;else{let m=await oye(g=>g.type==="collection"||g.type==="bookmarks");m===null?r=$d:(n=m??[],r=Dae)}let a=n.length===0,i=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),a){let m=u`

      ${r}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(o==="plan"||o==="challenge")&&l.setAttribute("disabled","disabled")),y(m,i),[]}let c;try{let m=await lt.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let d=c&&c.length>0?c[0]?.lists.filter(m=>o==="plan"?!mt(m.skillingPlanId)&&n.find(g=>g.skillingPlanId===m.skillingPlanId):o==="challenge"?!mt(m.learnChallengeId)&&n.find(g=>g.learnChallengeId===m.learnChallengeId):mt(m.skillingPlanId)&&mt(m.learnChallengeId)):[];JM=d;let p=u` ${n.map(m=>{let g=m.skillingPlanId??"";return u`
      `})}`;if(y(p,i),n.length===1&&n[0].id==="bookmarks"&&JM.length===0){let m=await ov(t);await lt.addItem("bookmarks",m)}return JM}async function S4e(e,t,o="collection"){event.preventDefault();let n=event.target;n.classList.add("is-loading");let r=ov(t),s=document.getElementById("save-to-collection");await KM(s).then(async a=>{a.hasError?n.classList.remove("is-loading"):(a=a,Kg[a.data.id]=r,xSe(e),JM=await W6(document.querySelector(".modal-card"),t,o))})}async function w4e(e,t,o){let n=event.target;if(n.checked){let r=ov(e);o[n.id]=r}else{let r=t.find(s=>s.listId===n.id);r?o[n.id]=r.id:o[n.id]&&delete o[n.id]}}function C4e(e){let t=Object.keys(e);return Promise.all(t.map(async o=>typeof e[o]!="string"?lt.addItem(o,await e[o]):lt.deleteItem(o,e[o])))}async function E4e(e,t,o){e.pushContent(await T4e(e,t,o))}function xSe(e){e.popContent()}A();A();var A4e=new Intl.NumberFormat(b.data.userLocale);function Dr(e){return A4e.format(e)}var ww=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),Cw=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),k4e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var Jg="Applied Skills";function Wo(e){return e.replace("{AppliedSkills}",Jg)}var TSe={module:wr,"learning path":fN,certification:ic,examination:VW},ZM={"applied skills":Jg,certification:ic,examination:Br,course:Rp};var K6=!1,SSe={bookmarks:{pressed:"single-bookmark-solid",unpressed:"single-bookmark"},collection:{pressed:"circle-addition-solid",unpressed:"circle-addition"},challenge:{pressed:"circle-addition-solid",unpressed:"circle-addition"},plan:{pressed:"circle-addition-solid",unpressed:"circle-addition"},studyguide:{pressed:"book-open",unpressed:"book-solid"}},I4e={bookmarks:{pressed:bG,unpressed:_G},collection:{pressed:hY,unpressed:bY},challenge:{pressed:N7,unpressed:q7},plan:{pressed:mee,unpressed:gee},studyguide:{pressed:Fre,unpressed:Ore}};function XM(e,t){return`docon-${t?SSe[e].pressed:SSe[e].unpressed}`}function P4e(e,t,o){return I4e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,o)}function L4e(e,t,o){let n=e?.querySelector("summary"),r=n?.querySelector(".add-to-collection-status");n?.querySelector(".docon")?.classList.remove(XM(o,!t)),n?.querySelector(".docon")?.classList.add(XM(o,t)),r&&(r.textContent=t?wC:sc)}function R4e(e,t,o,n){e.setAttribute("data-pressed",n.toString()),e.setAttribute("title",P4e(t,n,o));let r=e.querySelector(".docon");if(!r)throw new Error("Expected list button to contain a docon");if(r.classList.remove(XM(t,!n)),r.classList.add(XM(t,n)),e.closest(".popover")!==null){if(t==="collection"){let s=e.querySelector(".popover .collection-status");s&&(s.textContent=n?$$:N$)}else if(t==="plan"){let s=e.querySelector(".plan-status");s&&(s.textContent=n?PN:IN)}else if(t==="challenge"){let s=e.querySelector(".challenge-status");s&&(s.textContent=n?BC:T$)}}else{let s=e.querySelector(".collection-status:not(.popover *)");if(s){s.textContent=n?wC:sc;return}let a=e.querySelector(".popover .add-to-collection-status");a&&(a.textContent=n?wC:sc)}}async function $r(e){if(!e)return;if(!w.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(s=>s.hidden=!0);return}let o=Un(J.pathname).indexOf("/training")!==-1||J.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(r=>{M4e(r,o)}),Aw(e),e.querySelectorAll("button[data-list-type]").forEach(r=>{r.addEventListener("click",N4e)})}function M4e(e,t){let o=Z6(e);if(o===null)return;let n=e.closest("#article-header"),r=t&&(o.resourceType==="learning path"||o.resourceType==="module"),s=S.createElement("details");s.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&s.classList.remove("popover-right");let a=r?u` `:"",i=u`
      ${a}
      `;y(i,s),e.replaceWith(s)}var fp=[];async function Aw(e,t=k.isAuthenticated){let o=Array.from(e.querySelectorAll("button[data-list-type]")).map(i=>Z6(i)).filter(i=>i!==null);if(o.length===0)return;let n=o.map(i=>i.url).filter((i,l,c)=>i&&c.indexOf(i)===l);if(t&&!fp?.length)try{let i=await lt.getAllListsByUrl(n);i.hasError===!1&&(fp=i.data)}catch{fp=void 0}let r=D4e(fp),s=i=>{i==="collection"?fp=Array.from(r.collectionAssociations):i==="plan"?fp=Array.from(r.planAssociations):i==="challenge"&&(fp=Array.from(r.challengeAssociations))};for(let{button:i,type:l,url:c,title:d}of o){s(l);let p=$4e(c,fp);R4e(i,l,d,p)}Array.from(e.querySelectorAll(".add-item-popover")).forEach(i=>{let l=i.querySelector(".popover-content .collection-status"),c=i.querySelector(".popover-content .plan-status"),d=i.querySelector(".popover-content .challenge-status"),p=l?.textContent===$$||c?.textContent===PN||d?.textContent===BC;L4e(i,p,"collection")})}function D4e(e){return(e??[]).reduce((t,o)=>(o.lists.forEach(n=>{!mt(n.skillingPlanId)&&mt(n.learnChallengeId)?t.planAssociations.add(o):!mt(n.learnChallengeId)&&mt(n.skillingPlanId)?t.challengeAssociations.add(o):mt(n.skillingPlanId)&&mt(n.learnChallengeId)&&t.collectionAssociations.add(o)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function $4e(e,t){return t.findIndex(o=>o.url===e&&o.lists.length>0)!==-1}async function N4e(e,t=k.isAuthenticated){let o=Z6(e.target);if(o!==null){if(e.preventDefault(),b.data.isPermissioned){Yg(tE,iY);return}if(!t){let n=o.type==="plan"?Lne:o.type==="challenge"?ej:U$;q4e(n);return}F4e(o)}}function Z6(e){let t=e instanceof Element&&e.closest("button");if(!t)return null;let o=t.getAttribute("data-list-type");if(o!=="collection"&&o!=="challenge"&&o!=="plan")return null;let n=t.getAttribute("data-list-item-url")||J.href,r=t.getAttribute("data-list-item-title")||S.title,s=tw(n),a=t.getAttribute("data-pressed")==="true",i=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:o,url:s,title:r,pressed:a,source:i,resourceType:l}}async function q4e(e=U$){let o=up(e,null,jr);(await rn(o)).submitted&&Uo()}async function F4e({button:e,url:t,title:o,type:n}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),O4e(t,o,n).catch().finally(()=>{e.classList.remove("is-loading")}))}function Ew(e="added",t=[],o="collection"){let n=S.querySelectorAll("#collections input:checked"),r=f=>e==="removed"&&t.length===1?t[0]:Ge(n.item(0).getAttribute(f)),s;o==="plan"?n.length===1&&e==="added"?s=Q6(r("data-plan-id")).href:e==="removed"&&t.length!==0?s=Q6(t[0]).href:s=zo(k.userName,"plans").href:o==="challenge"?n.length===1?s=sn(r("data-challenge-id"),"details"):e==="removed"&&t.length!==0?s=sn(t[0],"details"):s=sn("home"):n.length===1?s=md(r("id")).href:s=zo(k.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":n.length===1?Ge(n.item(0).getAttribute("id")??""):"").href;let a=lY,i=cY,l=sY,c=aY;o==="plan"?(a=vee,i=yee,l=Tee,c=See):o==="challenge"&&(a=Z7,i=X7,l=tj,c=oj);let d={"is-hidden":!1},p;if(e==="added")p=(n.length!==1?i:a.replace("{collectionName}",Ge(n.item(0).getAttribute("name")))).replace("{url}",s);else if(e==="removed"){let f=(S?.querySelector(`#collections input[${o==="plan"?"data-plan-":o==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",Ge(f))).replace("{url}",s)}else p=o==="plan"?roe.replace("{url}",s):o==="challenge"?BC.replace("{url}",s):EQ.replace("{url}",s);let m=u`
      ${N(p)}
      `,g=S.createElement("div");y(m,g),new av(g).show(),Aw(S.body)}async function O4e(e,t,o){let n=S.querySelector(".modal");if(K6||n&&!n.querySelector(".page-actions-menu"))return!1;K6=!0;let r=S.createElement("div");r.classList.add("modal-content");let s=new be(r),a=[];return y(ySe(s,t,e,o,()=>{U4e(a.map(i=>o==="plan"?i.skillingPlanId:o==="challenge"?i.learnChallengeId:i.listId),o)}),r),a=await W6(r,e,o),K6=!1,s.show()}function U4e(e,t){Aw(S.body);let o=Array.from(S.querySelectorAll("#collections input:checked")).map(s=>t==="plan"?s.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?s.attributes.getNamedItem("data-challenge-id")?.value:s.id),n=o.filter(s=>!e.includes(s)),r=e.filter(s=>!o.includes(s));n.length>0&&r.length===0?Ew("added",void 0,t):n.length===0&&r.length>0?Ew("removed",r,t):n.length>0&&r.length>0&&Ew("updated",void 0,t),$r(S.body)}A();function CSe(e){qi().then(t=>{let o=[],n=0;for(let s of t.products){let a=[];for(let{moniker:l,versionDisplayName:c}of s.packages)za(l)&&Fi[l]&&a.push(`${kn(Ge(c))}`);if(a.length===0)continue;let i=n===0?"propertyInfoTitle":"propertyInfoTitle stack";o.push(u`

      ${Ge(s.displayName)}

      ${N(a.join(" "))}
      `),n++}let r=document.createElement("div");y(o,r),e.insertAdjacentElement("afterend",r)})}function ESe(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||qi().then(o=>{if(e){let n=e.parentElement?.parentElement?.getAttribute("data-moniker");(!n||n.trim()==="")&&(n=xa("monikers").join(" "));let r="",s=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");s&&s.length>0&&s.forEach(a=>{let i=a.getAttribute("data-moniker");i!==null&&i!==""&&(r+=i)}),wSe(e,o,n,r)}if(t.length!==0)for(let n of t){let r=n.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),s=n.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),a="";s.forEach(i=>{let l=i.getAttribute("data-moniker");l!==null&&l!==""&&(a+=l)}),wSe(n,o,r,a)}})}function wSe(e,t,o,n){if(!e)return;let r=e.parentElement.querySelector("summary"),s=e.querySelector("thead"),a=[],i="",l="",c=0,d=!1;for(let f of t.products){let _=[],h=[],x="";for(let{moniker:v,versionDisplayName:T}of f.packages){let I=kn(Ge(T));n&&n.split(" ").indexOf(v)>0&&(h.push(I),d=!0),o&&o.split(" ").indexOf(v)>=0&&(c++,c===1?i=Ge(f.displayName)+" "+I:c===2&&(l=Ge(f.displayName)+" "+I),h.includes(I)||_.push(I))}_.length===0&&h.length===0||(_.length>0&&(_.reverse(),x=_.join(", ")+" "),h.length>0&&(h.reverse(),x=x+"("+h.join(", ")+")"),a.push(u` ${Ge(f.displayName)} ${N(x)} `))}if(a.length===0)return;r&&(c===1?r.textContent=i:c===2?r.textContent=rG.replace("{version1}",i).replace("{version2}",l):c>=3&&(r.textContent=nG.replace("{version}",i)));let p=xae;d&&(p=p+" "+oG+"");let m=u` ${qf} ${N(p)} `;y(m,s);let g=document.createElement("tbody");y(a,g),s.insertAdjacentElement("afterend",g)}function ASe(){let e=rt();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&qi().then(o=>{for(let n of o.products)for(let{moniker:r,isPrerelease:s}of n.packages)if(e===r&&za(r)&&Fi[r]&&s){t.classList.remove("is-hidden");return}})}function eD(){let e=rt();if(!za(e))return!1;H4e(e);let t=z4e(S.body);return B4e(t,e),ep(),Pt(),!0}var kSe=S.createElement("style");S.head.appendChild(kSe);function H4e(e){kSe.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=S.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let n=0;nG4e(e)),U.addEventListener(Yz,j4e)}var Nr={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:s0},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:s0},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:MA,allApisLabel:AC,resultsHeadingTemplate:_N,selectLabel:r0},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:MA,allApisLabel:AC,resultsHeadingTemplate:dZ,selectLabel:r0},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:MA,allApisLabel:AC,resultsHeadingTemplate:_N,selectLabel:r0},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:s0}};var Nt=L("platform")||L("apiPlatform")||null,X6;function Yl(){return X6===void 0&&(X6=ofe(Nt).then(Q4e)),X6}function Q4e(e){let{platformId:t,families:o}=e,n=[],r={},s=[];for(let a of o)for(let i of a.products){s.push(i);for(let l of i.packages){let{moniker:c,displayName:d,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,_={platform:e,family:a,product:i,moniker:c,displayName:d,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};n.push(_),r[_.moniker]=_}}return{platformId:t,families:o,products:s,packages:n,packagesByMoniker:r}}var kw=Nr[Nt],Iw=!1;function DSe(e){let{element:t,button:o,buttonDisplayedValue:n,productList:r}=Y4e();function s(c){c.target instanceof Element&&!t.contains(c.target)&&a()}function a(){S.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),o.setAttribute("aria-expanded","false"),U.removeEventListener("focus",s,{capture:!0}),U.removeEventListener("click",s),Xh.removeListener(a)}function i(){a(),o.focus()}function l(){S.body.removeAttribute("style"),S.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),o.setAttribute("aria-expanded","true"),U.addEventListener("focus",s,{capture:!0}),U.addEventListener("click",s),Xh.addListener(a)}return W4e(e,o,n,r),Z4e(o,r,l,i),X4e(r,i),e6e(r,i),t}function Y4e(){let e=S.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(Ao.name,"moniker-picker"),e.setAttribute("role","application ");let t=Je(),o=Je();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function W4e(e,t,o,n){return Nt==="rest"&&(Iw=!0),e?Yl().then(r=>{r.packagesByMoniker[rt()]===void 0&&Ku("");let s=()=>{let a=rt();a===""?o.textContent=kw.allApisLabel:o.innerHTML=kn(Ge(r.packagesByMoniker[a].displayName))};U.addEventListener(Rr,s),s(),K4e(n);for(let a of r.families)LSe(a.products,n)}):qi().then(r=>{Iw=r.products.length===1,Iw&&r.products[0].packages.length===1&&(t.disabled=!0);let s=()=>{let a=rt();o.innerHTML=kn(Ge(v_(r,a).displayName))};U.addEventListener(Rr,s),s(),LSe(r.products,n)})}function K4e(e){let t=kw.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function LSe(e,t){if(Iw){RSe(e[0].packages,t);return}for(let{displayName:o,packages:n}of e){let r=Je(),s=Je();t.insertAdjacentHTML("beforeend",`
    • `);let a=t.lastElementChild.lastElementChild,i=a.lastElementChild;RSe(n,i),a.insertAdjacentHTML("beforeend",'');let l=a.lastElementChild;n.find(d=>/^azurermps/.test(d.moniker))&&l.insertAdjacentHTML("beforeend",`${Ge(aJ)}`);let c=L("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Ge(Tf)}`)}}function RSe(e,t){for(let{moniker:o,isDefault:n,versionDisplayName:r}of e)t.insertAdjacentHTML("beforeend",`
    • ${Ge(r)}
    • `)}function J4e(e){Array.from(e.querySelectorAll("button.versions")).forEach(o=>{o.setAttribute("aria-expanded","false")})}function oD(e,t,o){let n=e.querySelector('button[aria-expanded="true"]');n!==t&&(n!==null&&n.setAttribute("aria-expanded","false"),t!==null&&setTimeout(function(){t.setAttribute("aria-expanded","true"),o&&setTimeout(function(){let r=S.getElementById(t.getAttribute("aria-controls"));if(!r)return;let s=r.querySelector('a[role="menuitem"]');s!==null&&s.focus()},300)},100))}function $Se(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function MSe(e){let t=e.nextElementSibling,o=$Se(t,rt()),n=t.querySelector('a[href^="?view="][data-default="true"]'),r=t.querySelector('a[href^="?view="]');return o||n||r}function NSe(e){return e.search==="?view="||Iw?null:e.parentElement.parentElement.parentElement.previousElementSibling}function Z4e(e,t,o,n){let r=()=>{o();let s=rt(),a=$Se(t,s),i=NSe(a);oD(t,i,!1),setTimeout(()=>{i!==null&&i.scrollIntoView(!1),a.scrollIntoView(!1),setTimeout(()=>{a.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?r():n()}),e.addEventListener("keydown",s=>{let a=e.getAttribute("aria-expanded")==="true";a&&s.keyCode===ke.up?(s.preventDefault(),n()):!a&&s.keyCode===ke.down&&(s.preventDefault(),r())})}function X4e(e,t){e.addEventListener("keydown",o=>{let n=o.target;if(n.getAttribute("role")!=="menuitem")return;let r=o.keyCode,s;switch(r){case ke.left:n instanceof HTMLAnchorElement&&n.search!=="?view="&&(o.preventDefault(),NSe(n).focus(),J4e(e));break;case ke.right:n instanceof HTMLButtonElement&&n.hasAttribute("aria-controls")&&(o.preventDefault(),MSe(n).focus(),Xh.matches||oD(e,n instanceof HTMLButtonElement?n:null,!0));break;case ke.up:case ke.down:o.preventDefault();let a=r===ke.up?"previousElementSibling":"nextElementSibling",i=r===ke.up?"lastElementChild":"firstElementChild";n.parentElement[a]===null?s=n.parentElement.parentElement[i].firstElementChild:s=n.parentElement[a].firstElementChild,s.focus(),!Xh.matches&&n instanceof HTMLButtonElement&&n.getAttribute("aria-expanded")==="true"&&(o.preventDefault(),MSe(n).focus());break;case ke.home:case ke.end:o.preventDefault();let l=r===ke.home?"firstElementChild":"lastElementChild";s=n.parentElement.parentElement[l].firstElementChild,s.focus(),s.parentElement.parentElement===e&&oD(e,s instanceof HTMLButtonElement?s:null,!0);break;case ke.escape:o.preventDefault(),t();break}})}function e6e(e,t){e.addEventListener("click",o=>{let n=o.target;if(n.getAttribute("role")==="menuitem"){if(n instanceof HTMLAnchorElement){o.preventDefault();let r=te(n.search).view;Ku(r),t();return}n instanceof HTMLButtonElement&&(!Xh.matches&&n.getAttribute("aria-expanded")==="true"?n.setAttribute("aria-expanded","false"):oD(e,n,!0),n.focus())}})}A();A();var na=b.data.pageTemplate,gd=L("page_type"),t6e=L("page_kind"),e5=L("pagetype"),o6e=L("interactive_type"),Zg=Fi.any||na==="Conceptual"&&e5==="Reference"&&Nt!==null||na==="Conceptual"&&gd==="powershell"&&Nt!==null||na==="Conceptual"&&e5==="Conceptual"&&Nt==="powershell"||na==="Conceptual"&&gd==="conceptual"&&Nt==="powershell"||(na==="Conceptual"&&gd==="conceptual"||na==="Reference"&&gd==="python")&&Nt==="python"||(na==="Conceptual"&&gd==="conceptual"||na==="Reference"&&gd==="cli")&&o6e==="azurecli"||na==="Reference"&&gd==="powershell"&&Nt!==null||na==="Reference"&&gd==="azure-cli"&&t6e==="group",qSe=na==="Reference"&&Nt!==null||na==="Conceptual"&&e5==="Reference"&&Nt!==null||na==="Conceptual"&&gd==="powershell"&&Nt!==null;function FSe(){Zg&&tD(!0)}function n6e(e){let t=document.createElement("div");return t.setAttribute("data-bi-name","left toc"),t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(u`

      ${e||Pf}

      `,t),t}var Wl;function t5(e,t){if(t){let o=Array.from(document.getElementsByClassName("contents-expand-title"));for(let n of o)n.innerText=t}window.addEventListener("click",o=>{if(!(o.target instanceof Element&&o.target.closest("[data-contents-button]")))return;o.preventDefault();let r=n6e(t),s=["margin-xs"];Zg&&rt()&&(s=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(r,s,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new be(r);Wl=c,c.show().then(()=>{Wl=void 0,window.removeEventListener("resize",p)});let d=window.innerWidth;function p(){window.innerWidth!==d&&(window.removeEventListener("resize",p),c.hide())}window.addEventListener("resize",p,{passive:!0})})}function USe(){let e=R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online"||R.accessLevel==="local",t=new URLSearchParams(location.search).get("experimental_moniker_picker")==="true",o=L("experimental_moniker_picker")==="true";return e&&(o||t)}function nD(e){let t=document.createElement("div");return t.classList.add("moniker-picker2"),t.setAttribute("data-bi-name","moniker-picker"),y(Pw(e),t),e?Yl().then(o=>{y(Pw(e,null,o),t),addEventListener(Rr,()=>y(Pw(e,null,o),t))}):qi().then(o=>{y(Pw(e,o),t),addEventListener(Rr,()=>y(Pw(e,o),t))}),t}function Pw(e,t,o){let n=Je(),r=`${n}-picker-label`,s=L("archive_url"),a=t&&t.products.length===1,i=c=>{if(Wl){c.preventDefault(),c.stopPropagation();let d=document.createElement("div");d.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(r6e(t),d),Wl.pushContent(d)}},l=c=>{let d,p=rt();return c&&p===""?d=Nr[Nt].allApisLabel:c?d=o.packagesByMoniker[p].displayName:d=t?v_(t,p).displayName:"",d};return u` ${Kf} `}function OSe(e){let t=Je(),o=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",n=b.data.userDir==="ltr"?"text-align-left":"is-text-right",r=L("archive_url");return u` ${e.packages.length!==1?u``:u`
    • ${e.packages[0].displayName}
    • `} `}function HSe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return u`
    • ${e.versionDisplayName}
    • `}function r6e(e){let t=e&&e.products.length===1;return u` ${t?u`${zSe(e.products[0])}`:u` ${BSe(Ff)} ${VSe(Pf)}
        ${e&&e.products?e.products.map(o=>s6e(o)):""}
      `} `}function s6e(e){let t=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light";return u`
    • ${e.packages.length!==1?u` `:u` ${e.packages[0].displayName} `}
    • `}function zSe(e){let t=Je(),o=L("archive_url");return u` ${BSe(e.displayName)} ${VSe(Ff)}
      `}function BSe(e){return u`

      ${e}

      `}function VSe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return u`
      `}function a6e(e){if(Wl){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(zSe(e),t),Wl.pushContent(t)}}function rD(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let o=te(t.search).view;Ku(o),Wl?Wl.hide():(Q3(t),Q3(t));return}}function sD(e){let t=rt();return e===t?"true":void 0}var GSe="api-search-quick-filter";function jSe(){return Yl().then(e=>{let t=e.packagesByMoniker,o=!1,n=s=>(L(s)||"").split(",").map(l=>l.trim()).filter(l=>t[l]===void 0?(console.warn(`Quick Filter: no package with moniker "${l}" was found.`),!1):(o=!0,!0)).map(l=>({moniker:l,displayName:t[l].displayName})),r=[n("quickFilterColumn1"),n("quickFilterColumn2"),n("quickFilterColumn3")];return{any:o,columns:r}})}function QSe(e){let t=S.createElement("div");t.classList.add(GSe),t.setAttribute(Ao.name,GSe);let o=S.createElement("h2");o.textContent=FX,o.classList.add("api-search-heading","font-size-h3"),t.appendChild(o);for(let n of e.columns){let r=S.createElement("div");t.appendChild(r);for(let{moniker:s,displayName:a}of n){let i=S.createElement("button");i.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),i.innerHTML=kn(a),i.addEventListener("click",()=>{Jt(i,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:s,platform:Nt}}),Ku(s)}),r.appendChild(i)}}return t}function YSe(e,t,o="en-us"){if(e==="rest")return i6e(t);let n=Nr[e].namespacesPath;return M(`${q.apiBrowser}/${encodeURIComponent(e)}/${n}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${o}`).then(r=>r.json())}function i6e(e){return jz().then(t=>l6e(t,e))}function l6e(e,t){return{apiItems:(e.filter(n=>(n.scope||"").toLowerCase()===(t||"").toLowerCase())[0].services||[]).map(n=>({displayName:n.name,url:n.url,description:n.description,itemKind:Une}))}}function aD(e,t,o,n="en-us"){if(e==="rest")return c6e(n,"",t,o+"*",0,25);let r=`${q.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(o)}&locale=${n}`;return t!==""&&(r+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),M(r).then(s=>s.json())}function c6e(e,t,o,n,r,s){let a=`${q.siteSearch}?locale=${e}&search=${n}&$skip=${r}&$top=${s}`,l=(o!==""?["REST"].concat([o]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return a+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(a+=`&dataSource=${encodeURIComponent(t)}`),M(a).then(c=>c.json()).then(o5)}function o5(e){return{count:e.count,"@nextLink":e["@nextLink"],results:e.results.map(t=>({displayName:t.title,url:t.url,description:t.description,itemType:null,itemKind:null}))}}A();var iD=Nr[Nt],Lw=[];function KSe(e,t){Lw.push({container:e,renderHeading:t})}function lD(e,t,o){S.documentElement.classList.add("api-search-has-results");for(let{container:n,renderHeading:r}of Lw){if(n.innerHTML="",t.length===0){let d=Nt==="rest"?_Z:go;n.insertAdjacentHTML("afterbegin",`
      ${d}
      `);return}r&&d6e(n,e);let s=S.createElement("table");s.classList.add("table","api-search-results"),s.setAttribute(Ao.name,"api-search-results");let a=S.createElement("thead");s.appendChild(a);let i=S.createElement("tr");a.appendChild(i);let l=S.createElement("th");l.textContent=mZ,i.appendChild(l),l=S.createElement("th"),l.textContent=Ef,i.appendChild(l);let c=S.createElement("tbody");if(s.appendChild(c),WSe(c,t),n.appendChild(s),o&&r){let d=S.createElement("button");d.classList.add("more-button","button"),d.textContent=HJ,d.setAttribute(Ao.name,"api-browser-load-more-results"),d.addEventListener("click",()=>{M(o).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=o5(p)),o=p["@nextLink"],o===void 0&&n.removeChild(d),WSe(c,p.results)})}),n.appendChild(d)}}}function WSe(e,t){let o=S.createElement("div"),n=s=>(y(u`${s}`,o),o.textContent!=="null"?o.textContent:""),r=rt();for(let s of t){let a=s.itemKind||s.itemType||iD.namespaceItemType,i=S.createElement("tr");e.appendChild(i);let l=S.createElement("td"),c=S.createElement("a");c.href=r5(s.url,r);let d=u`${N(kn(s.displayName.replace(//g,">")))}`;y(d,c);let p=S.createElement("span");p.textContent=" "+a,l.appendChild(c),l.appendChild(p),i.appendChild(l),l=S.createElement("td"),l.textContent=n(s.description),i.appendChild(l),i.appendChild(l)}}function n5(){S.documentElement.classList.add("api-search-has-results");for(let{container:e}of Lw){let t=u`
      `;y(t,e)}}function cD(e){S.documentElement.classList.add("api-search-has-results");for(let{container:t}of Lw)t.textContent=e}function JSe(){S.documentElement.classList.remove("api-search-has-results");for(let{container:e}of Lw)e.innerHTML=""}function d6e(e,t){let o=rt(),n,r;if(o==="")n=Nr[Nt].displayName,r=null;else{let i=t.packagesByMoniker[o];n=i.product.displayName,r=i.versionDisplayName}let s=S.createElement("h2");s.classList.add("api-search-results-heading","font-size-h3");let a=u`${iD.resultsHeadingTemplate.replace("{platformName}",n)}`;if(y(a,s),r!==null&&Nt==="rest"){let i=u`${N(`${Ge(o)} REST ${iD.resultsHeadingTemplate.replace("{platformName}",n)}`)}`;y(i,s)}else if(r!==null){let i=u`${N(`${iD.resultsHeadingTemplate.replace("{platformName}",n)} version ${Ge(r)}`)}`;y(i,s)}e.appendChild(s)}function r5(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[n,r]=e.split("#");r=r===void 0?"":"#"+r,e=Nt==="rest"?`${n}${r}`:`${n}?view=${encodeURIComponent(t)}${r}`}let o=new URL(e,location.origin);return e=`${o.pathname}${o.search}${o.hash}`,Nt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var Xg="api-search-term-changed",wv="";function ef(){return wv}function s5(e){e=e.trim(),e!==wv&&(wv=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Bt({term:wv},"pushState"),window.dispatchEvent(new CustomEvent(Xg,{detail:{term:wv}})))}function ZSe(){let e=te().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(wv=ZSe(),window.addEventListener("popstate",()=>s5(ZSe())));function XSe(){U.addEventListener(Xg,a5),U.addEventListener(Rr,a5),b.data.pageTemplate==="ApiBrowserPage"&&a5()}var dD="";function a5(){let e=ef(),t=rt(),o=`${e}/${t}`;return o===dD?Promise.resolve():(dD=o,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(n5(),Promise.all([YSe(Nt,t,b.data.userLocale),Yl()]).then(([n,r])=>{if(o===dD){if(n.apiItems.length===0){cD(go);return}lD(r,n.apiItems,null)}},()=>{cD(f$)})):e.length<3?(JSe(),Promise.resolve()):Nr[Nt].validSearchTerm.test(e)?(n5(),Promise.all([aD(Nt,t,e,b.data.userLocale),Yl()]).then(([n,r])=>{o===dD&&(i5(t,e,n.results.length),lD(r,n.results,n["@nextLink"]))},()=>{cD(f$)})):Yl().then(n=>lD(n,[],null)))}function i5(e,t,o){xe({actionType:we.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:Nt,moniker:e,term:t,results:o}})}var ewe="api-search-field";function twe(){let e=S.createElement("form");e.classList.add(ewe,"margin-top-xxs"),e.setAttribute(Ao.name,ewe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=S.createElement("label"),o=S.createElement("span");o.classList.add("visually-hidden"),o.textContent=no,t.appendChild(o),e.appendChild(t);let n=S.createElement("input");n.type="search",n.classList.add("input","input-lg","padding-right-sm"),n.value=ef(),n.placeholder=no,t.appendChild(n);let r=S.createElement("a");r.href="http://approjects.co.za/?big=#",r.title=Gj,r.classList.add("clear"),r.addEventListener("click",l=>{l.preventDefault(),n.value="",n.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(r);let s=()=>{n.value===""?n.classList.add("empty"):n.classList.remove("empty")};s();let a=0,i=()=>{s(),clearTimeout(a),a=setTimeout(()=>s5(n.value),500)};return n.addEventListener("change",i),n.addEventListener("input",i),U.addEventListener(Xg,()=>{let l=ef();n.value.trim()!==l&&(n.value=l,s())}),e}function owe(){if(!w.apiBrowser)return;tD(),XSe();let e=S.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;USe()?e.appendChild(nD(t)):e.appendChild(DSe(t)),e.appendChild(twe()),jSe().then(s=>{if(!s.any)return;let a=QSe(s);e.appendChild(a)});let o=S.querySelector("#api-browser-results-container");if(!o)return;KSe(o,!0);let r=()=>{let s=rt()===""&&ef()===""?"remove":"add";S.documentElement.classList[s]("has-moniker-or-term")};r(),window.addEventListener(Rr,r),window.addEventListener(Xg,r)}var nwe="renewalassessment-session-disclaimer",rwe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var u6e=q.assessments,Koo=`${u6e}/sessions`;A();function uD(e,t=If,o=Op,n=Kse){return up(xd,e?t.replace("{itemTitle}",e):n,o)}function pD(e=$o,t){return up(WQ,"",e,!0,t)}function mD(e=ZQ){return u` `}function iwe(e=rE,t=Lp){return up(kQ,e,t)}function lwe(e=dE,t=lE){return up(Zj,e,t)}var hD=(s=>(s.facebook="facebook",s.twitter="twitter",s.linkedin="linkedin",s.email="email",s.weibo="weibo",s))(hD||{}),v6e={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?original_referer={url}&tw_p=tweetbutton&url={url}",linkedin:"https://www.linkedin.com/feed/?shareActive=true&text={body}",email:"mailto:?subject={subject}&body={body}",weibo:"http://service.weibo.com/share/share.php?title={title}&url={url}"};function Mw(e,t,o){let n=encodeURIComponent(t),r=new URL(e);r.hostname="learn.microsoft.com";let s=r.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",a=k.sharingId?`&sharingId=${k.sharingId}`:"",i=!!o?.achievementCopyTitle?.overrideTitle;return Object.values(hD).reduce((c,d)=>{if(b.data.isPermissioned)return c[d]="#",c;let p=encodeURIComponent(s+d+a),m=o?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(Hne.replace("{achievementTitle}",o?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:n,body:i?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(i0).replace(encodeURIComponent("{articleTitle}"),n)},_=Object.entries(f).reduce((h,[x,v])=>h.replace(new RegExp(`{${x}}`,"g"),v),v6e[d]);return c[d]=_,c},{})}function bD(e,t,o){Object.values(hD).forEach(n=>{let r=Mw(t,o);e.querySelectorAll(`.share-${n}`).forEach(s=>{r[n]==="#"&&jTe(s,Bne,Vne),s.href=r[n]})})}function uwe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}A();function tf(e,t="is-centered margin-top-sm margin-bottom-xs"){if(!e.pageCount)return null;let o=Array.from({length:e.pageCount},(m,g)=>g),n=e.pageIndex,r=!1,s=1,a={first:0,last:o.length-1};o.length>=7&&(r=!0,n<3?(s=3,a.first=0,a.last=3):n>o.length-4?(s=3,a.first=o.length-4,a.last=a.first+s):(s=1,a={first:Math.max(e.pageIndex-s,0),last:Math.min(e.pageIndex+s,o.length-2)}));let i=u` `,l=u` `,c=u` `,d=u` `,p=[];for(let m=a.first;m<=a.last;m++)p.push(u`
    • `);return u` `}A();A();function vD(e,t=fwe,o=T6e){if(!e)return;let n=S6e(e),r=t();n.length||(n=Array.from(document.querySelectorAll("body"))),n.forEach(s=>{let a=w6e(s),i=C6e(s),l=a.map(c=>c.id);a.forEach(c=>{typeof r=="string"?l.indexOf(r)!==-1&&_D(r,c,i):l.indexOf(r[s.id])!==-1?_D(r[s.id],c,i):l.indexOf(r.tab)!==-1?_D(r.tab,c,i):_D(a[0].id,c,i),c.onclick=()=>{x6e(c.id,s),o(c.id,s.id||"tab")},c.onkeydown=d=>{let p=d.which;if(!d.altKey&&(p===ke.left||p===ke.right||p===ke.home||p===ke.end)){d.preventDefault();let m=p===ke.left||p===ke.home,g;if(d.ctrlKey||p===ke.home||p===ke.end){let f=m?1:-1;for(g=m?0:a.length-1;a[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=a.findIndex(_=>_.id===c.id);do g+=f,g===-1?g=a.length-1:g===a.length&&(g=0);while(a[g].parentElement.getAttribute("hidden"))}a[g].focus();return}}})})}function x6e(e,t){let o=t.querySelector(`#${e}`);if(o===null)return;let n=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),r=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));n.forEach(s=>{s!==o&&(s.parentElement.classList.remove("is-active"),s.setAttribute("aria-selected","false"),s.setAttribute("tabindex","-1"))}),o.parentElement.classList.add("is-active"),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),hwe(o.getAttribute("aria-controls"),r)}function T6e(e,t){t||(t="tab");let o=`{"${t}": "${e}"}`;Bt(JSON.parse(o),"replaceState")}function fwe(){let e=te();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function _D(e,t,o){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),hwe(t.getAttribute("aria-controls"),o)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function hwe(e,t){t.forEach(o=>{o.dataset.tabContent===e?(o.hidden=!1,o.setAttribute("aria-hidden","false")):(o.hidden=!0,o.setAttribute("aria-hidden","true"))})}function S6e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function w6e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function C6e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}A();var Jl=class Jl{static async render(t,o){return await Jl.ensureFrappeChartsIsLoaded(),Jl.frappeLibrary?new Jl.frappeLibrary.Chart(t,o):null}static async ensureFrappeChartsIsLoaded(){let t=`${Jl.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return Jl.frappeLibrary||(Jl.frappeLibrary=await ja(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),Jl.frappeLibrary}};Jl.thirdPartyUrl="/static/third-party";var yD=Jl;A();ze();A();ze();A();var $6e=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",N6e=e=>e.isAnswered?$X:e.isRequired?NX:qX,q6e=(e,t)=>u` ${N6e(e)} ${N(t.render(e.title||e.id))}`,xD=class{constructor(){this.md=ap}hasChildren(t){return!!t.children}children(t){return t.children}htmlTitle(t,o=this.md){if(t.isCategory)return t.title;let n=document.createElement("span");return y(q6e(t,o),n),n.innerHTML}textTitle(t){return t.title||t.id}href(t){return t.href.toString()}isNewSection(t){return!1}isExpanded(t){return!!t.children}isSelected(t){return t.isSelected}setHtmlAttributes(t,o){}};ze();function ywe(e,t,o){return F6e(e,t,o,!0)}function d5(e){let t=e.querySelector(".tree-item.is-selected");t||(t=Av(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.is-leaf")),t&&Ev(t)}function xwe(e,t){e.addEventListener("focus",U6e,!0),e.addEventListener("click",o=>H6e(o,t),!0),e.addEventListener("keydown",o=>z6e(o,t),!0)}function F6e(e,t,o,n){let r=document.createElement("ul");return r.classList.add("tree"),r.setAttribute("role","tree"),r.setAttribute("aria-label",o),r.setAttribute("data-bi-name","tree"),r.setAttribute("data-is-collapsible",n?"true":"false"),Twe(r,e,t),d5(r),xwe(r,t),r}function Twe(e,t,o,n=1,r){let s=Av(e),a=1;for(let i of t){if(o.isHidden&&o.isHidden(i))continue;let l=document.createElement("li"),c=document.createElement("a");e.appendChild(l),o.isNewSection(i)&&l.classList.add("border-top"),o.setHtmlAttributes(i,(m,g)=>l.setAttribute(m,g));let d=o.htmlTitle(i);if(o.hasChildren(i)){let m=(r?`${r}_`:"title-")+`${a}-${n}`;_we(l,i),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",n.toString()),l.setAttribute("aria-posinset",a.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),s&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");if(l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),s){g.className="tree-expander";let f=document.createElement("span");g.appendChild(f),f.className="tree-expander-indicator docon docon-chevron-right-light",f.setAttribute("aria-hidden","true")}g.insertAdjacentHTML("beforeend",d),(!s||o.isExpanded(i))&&Cv(l,!0,o),a++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",n.toString()),c.setAttribute("aria-posinset",a.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!s&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),_we(c,i),l.appendChild(c),c.classList.add("tree-item","is-leaf","has-external-link-indicator"),c.setAttribute("data-bi-name","tree-leaf"),c.href=o.href(i),c.innerHTML=d,o.isSelected(i)&&(c.classList.add("is-selected"),c.setAttribute("aria-current","page")),c.querySelector(".icon")!=null&&c.classList.add("has-icon"),o.icon&&o.icon(i)&&O6e(c,o.icon(i)),a++}}function _we(e,t){e.node=t}function Swe(e){return e.node}function O6e(e,t){if(!t||!t.screenReaderText||!t.classNames)return;let o=document.createElement("span");o.textContent=t.screenReaderText,o.classList.add("visually-hidden"),e.classList.add(...t.classNames),e.append(o)}function Av(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function wwe(e){return e?.getAttribute("aria-expanded")==="true"||!Av(e)}function Cv(e,t,o){let n=e.getAttribute("aria-level"),s=(n?parseInt(n,10):1)+1,a=Av(e);if(!a&&!t||(a&&e.setAttribute("aria-expanded",t.toString()),e.classList[t?"add":"remove"]("is-expanded"),!t||e.lastElementChild instanceof HTMLUListElement))return;let i=Swe(e),l=document.createElement("ul");l.classList.add("tree-group"),l.setAttribute("role","group"),e.appendChild(l);let c=e.getAttribute("id"),d=o.children(i);Twe(l,d,o,s,c)}function Ev(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(o=>o.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function vwe(e,t){let o=e.closest(".tree"),r=Av(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .is-leaf',s=Array.from(o.querySelectorAll(r));t==="preceding"&&s.reverse();let a=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return s.find(i=>e.compareDocumentPosition(i)&a&&i.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==i&&Cwe(i.closest("li")))}function Cwe(e){return window.getComputedStyle(e).display!=="none"}function U6e({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&Ev(t)}function H6e({target:e},t){let{REDUCE:o,EXPAND:n}=le,{CLICKLEFT:r}=we,s=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!s)return;let a;if(s instanceof HTMLAnchorElement)a=s;else{a=s.parentElement;let c=wwe(a);Cv(a,!c,t),Jt(e,{behavior:c?o:n,actionType:r})}let i=Swe(a),l=new CustomEvent("tree-item-clicked",{detail:i,bubbles:!0});s.closest(".tree").dispatchEvent(l)}function z6e(e,t){let{target:o,keyCode:n,shiftKey:r,altKey:s,ctrlKey:a}=e,{REDUCE:i,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:d,OTHER:p}=we;if(s||a||r&&n!==ke.eight&&!(n>=ke.a&&n<=ke.b))return;let m=o instanceof HTMLElement&&o.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&wwe(m),_=Av(m);if(n===ke.enter||n===ke.space){if(g||!_)return;Cv(m,!f,t),Jt(e.target,{behavior:f?i:l,actionType:n===ke.enter?c:d}),e.preventDefault();return}if(n===ke.right){if(g||!_)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),Ev(h)}else Cv(m,!0,t),Jt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(n===ke.left){if(!_)return;if(f)Cv(m,!1,t),Jt(e.target,{behavior:i,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),Ev(h),e.preventDefault())}return}if(n===ke.down||n===ke.up){let h=n===ke.down?"following":"preceding",x=vwe(m,h);x&&(x.focus(),Ev(x),e.preventDefault());return}if(n===ke.home||n===ke.end){let h=n===ke.home,x=m.closest(".tree"),v;if(_)v=x[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),Cwe(v)||(v=vwe(v,h?"following":"preceding"));else{let T=x.querySelectorAll(".tree-item.is-leaf"),I=h?0:T.length-1;v=T[I]}v.focus(),Ev(v),e.preventDefault();return}if(n===ke.numPadAsterisk||n===ke.eight&&r){if(!_)return;let h=m.closest("ul");for(let x=0;x
      ${Uj}
      `;A();ze();sh();ze();A();A();A();sh();A();function u5({changeHandler:e,expandedRows:t,id:o,maxCharacterCount:n,name:r,placeholder:s,readonly:a=!1,rows:i=1,value:l="",allowDoubleLength:c=!1}){return u`
      `}function Ewe(e){let t=e.target,o=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let n=t.parentElement.querySelector("span"),r=o-t.value.length;n.textContent=`${r}`,r<=1?n.setAttribute("aria-live","assertive"):n.setAttribute("aria-live","polite")}function p5(e){let t=e.target,o=Number(t.getAttribute("data-expanded-rows")),n=Number(t.getAttribute("data-max-character-count"));if(t.rows=o,t.style.height="auto",!t.parentElement)return;let r=t.parentElement.querySelector("span"),s=n-t.value.length;r.textContent=`${s}`,t.removeEventListener("focus",p5),t.addEventListener("blur",Awe),t.addEventListener("input",Ewe)}function Awe(e){let t=e.target,o=Number(t.getAttribute("data-collapsed-rows"));if(t.rows=o,t.style.height="inherit",!t.parentElement)return;let n=t.parentElement.querySelector("span");n.textContent="",t.removeEventListener("blur",Awe),t.removeEventListener("input",Ewe),t.addEventListener("focus",p5)}A();A();A();function o5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(o=>{let n=o.src.split("/"),r=n[n.length-2],s=`${s2}: ${r}`;o.title=o.title||s})}function n5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(o=>{let n=o.src.split("/").pop(),r=`${s2}: ${n}`;o.title=o.title||r})}function r5e(e){let t=[],o=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(r=>{if(r.offsetParent!==null){let s=r.src,a=document.createElement("a");a.href=s,a.target="_blank",a.text=s,r.parentElement&&(r.parentElement.appendChild(a),r.hidden=!0,t.push(r),o.push(a))}})}),window.addEventListener("afterprint",()=>{t.forEach(n=>n.hidden=!1),o.forEach(n=>n.remove()),t=[],o=[]})}function m5(e){n5e(e),o5e(e),r5e(e)}A();A();async function g5(e,t,o){let n=await Xu(t);if(!(!n||!e)){switch(e){case"details":case"leaderboard":n.add({title:wf,url:`/${n.basePath}/challenges`});break;case"content":o&&n.add({title:wf,url:`/${n.basePath}/challenges`},{title:dy,url:`/${n.basePath}/challenges/${o}/leaderboard`});break;default:throw new Error("Unsupported page.")}n.render()}}ze();sh();var f5="5d6ea118-ff48-4612-a205-7c65e11e49ca",of="379d1859-15d0-4803-81ed-eb51a2e4945d";var Vn=class{constructor({errorCode:t}){this.errorCode=t}};A();ze();y2();function h5(e){let o=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return o?parseInt(o[1],10):null}var hp=class extends Be{constructor(o=null,n=null,r=!0,s=!1,a="Unknown"){super();this.id=o;this.collectionOwner=n;this.isPublicView=r;this.hasActiveTakedowns=s;this.reportStatus=a;this.isUserAuthenticated=k.isAuthenticated;this.isUserChallengeAdmin=k.isChallengeAdmin;this.responseErrorCode=0;this._busy=!1;this._editingId=null;this._editingSectionId=null;this._isEditingSummaryTitle=!1;this._isEditingSummaryDescription=!1;this._isOfficialOrOverride=!1;this._showUserDisplayName=!1}get breadcrumbTitle(){return this.collection?this.collection.name:""}get editingId(){return this._editingId}set editingId(o){this._editingId=o,this.notifyPropertyChanged()}get editingSectionId(){return this._editingSectionId}set editingSectionId(o){let n=this._editingSectionId;this._editingSectionId=o,this.notifyPropertyChanged(),o?document.getElementById("add-edit-section-form")?.focus():document.getElementById(n===of?"section":`edit-section-${n}`)?.focus()}get isEditingSummaryTitle(){return this._isEditingSummaryTitle}set isEditingSummaryTitle(o){this._isEditingSummaryTitle=o,this.notifyPropertyChanged()}get isEditingSummaryDescription(){return this._isEditingSummaryDescription}set isEditingSummaryDescription(o){this._isEditingSummaryDescription=o,this.notifyPropertyChanged()}get isEditing(){return this.editingId!==null||this.editingSectionId!==null||this.isEditingSummaryTitle||this.isEditingSummaryDescription}get isOfficialOrOverride(){return this._isOfficialOrOverride}set isOfficialOrOverride(o){this._isOfficialOrOverride=o,this.notifyPropertyChanged()}get isChallengeCollection(){return!mt(this.collection?.challengeId)||!mt(this.collection?.learnChallengeId)}get busy(){return this._busy}get showUserDisplayName(){return this._showUserDisplayName}async beforeActivate(o=null){try{if(!this.id)this.collection=o;else{let s=await lt.getList(this.id);s.hasError===!1&&(this.collection=s.data)}let n=new URLSearchParams(location.search),r=n.has("force-official-collection")?n.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||r,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await fc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let s=await fc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(s)}k.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await lt.getActiveTakedowns(this.id))):this.setReportStatus(await lt.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(n){if(n instanceof Error){let r=h5(n.message);r&&(this.responseErrorCode=r)}}}async updateCollection(o,n,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await lt.updateListMetadata(r??this.id,{name:o,description:n});if(s.hasError===!1){let{data:a}=s;this.collection=a}else throw new Vn({errorCode:s.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async setPublicCollectionOwner(o){this.collectionOwner=o}async setIsPublicView(o){this.isPublicView=o}async setHasActiveTakedowns(o){this.hasActiveTakedowns=o}async setReportStatus(o){this.reportStatus=o}async deleteCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(uD(this.collection.name,If,Op));if(o){let n=await lt.deleteList(this.id);if(n.hasError===!1)location.href=`${co(k.userName,"collections")}`;else throw new Vn({errorCode:n.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(pD(),!0);if(o){let n=rn(mD());await lt.submitForLocalize(this.id),await n;let r=document.getElementById("submit-loc"),s=document.createElement("p");s.classList.add("margin-top-sm"),s.setAttribute("id","loc-submitted-text");let a=u`${pE}`;y(a,s),document.getElementById("icon-list").parentElement.appendChild(s),r.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.copyList(this.collection.id,this.collection.name,this.collection.description);if(o.hasError===!1){let{data:n}=o,{submitted:r}=await rn(lwe(dE,lE));r&&(location.href=md(n.id).toString())}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(iwe(rE,Lp));o&&(await lt.convertList(this.collection.id),location.reload())}finally{this.setReady()}}async updatePrivacy(){if(this.busy)throw new Error("Busy");if(!this.collection||!this.collection.id)throw new Error("Invalid Collection");this.setBusy();try{let o=await lt.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async commitUrlItem(o,n,r=-1,s){if(this.busy)throw new Error("Busy");this.setBusy();try{let a=eye(n,o),i=await(s?lt.updateItem(this.id,s,a):lt.addItem(this.id,a));if(i.hasError===!1){let{data:l}=i;if(this.collection.sectionCount){let c=r!==-1?r:this.collection.sectionCount-1;if(s){let d=this.collection.sections[c].items.findIndex(p=>p.id===s);this.collection.sections[c].items[d]=l}else this.collection.sections[c].items.push(l),this.collection.sections[c].itemCount=this.collection.sections[c].items.length;return}if(s){let c=this.collection.items.findIndex(d=>d.id===s);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Vn({errorCode:i.error.errorCode})}finally{this.setReady()}}async moveItem(o,n,r=-1,s){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;let a=r!==-1?{sectionId:this.collection.sections[r].id,items:this.collection.sections[r].items.map(d=>d.id)}:{sectionId:null,items:this.collection.items.map(d=>d.id)},i=r!==-1&&this.collection.sections[r+n]?{sectionId:this.collection.sections[r+n].id,items:this.collection.sections[r+n].items.map(d=>d.id)}:null,l=u5e(o,n,a,i),c=await lt.sortList(s??this.id,l);if(c.hasError===!1)this.syncProgress(c.data,this.collection),this.collection=c.data;else throw new Error(c.error.message)}finally{this.setReady()}}async moveSection(o,n,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;if(n===-1){if(o===0)return;let i=this.collection.sections[o],l=this.collection.sections[o-1];this.collection.sections[o]=l,this.collection.sections[o-1]=i}if(n===1&&this.collection.sections!==void 0){if(o===this.collection.sections.length-1)return;let i=this.collection.sections[o],l=this.collection.sections[o+1];this.collection.sections[o]=l,this.collection.sections[o+1]=i}let s=this.collection.sections.map(i=>({sectionId:i.id,items:i.items.map(l=>l.id)})),a=await lt.sortList(r??this.id,s);if(a.hasError===!1)this.syncProgress(a.data,this.collection),this.collection=a.data;else throw new Error(a.error.message)}finally{this.setReady()}}async moveItemToSection(o,n,r,s){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===r)return;let a=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(d=>d.id)]})),[i]=a[n].items.splice(o,1);a[r].items.unshift(i);let l=await lt.sortList(s??this.id,a);if(l.hasError===!1)this.syncProgress(l.data,this.collection),this.collection=l.data;else throw new Error(l.error.message)}finally{this.setReady()}}async deleteItem(o,n=-1,r){if(!this.busy){this.setBusy();try{let{submitted:s}=await rn(uD(o.data.title,If,Op));if(s){if(await lt.deleteItem(r??this.id,o.id),this.collection.sectionCount&&Array.isArray(this.collection.sections)&&n!==-1){let l=this.collection.sections[n];l.items=(l.items??[]).filter(c=>c.id!==o.id),l.itemCount=l.items.length;return}this.collection.itemCount&&Array.isArray(this.collection.items)&&(this.collection.items=this.collection.items.filter(l=>l.id!==o.id),this.collection.itemCount=this.collection.items.length)}}finally{this.setReady()}}}async commitSection(o,n,r,s){if(this.busy)throw new Error("Busy");this.setBusy();try{let a=await(this.editingSectionId===of?lt.createSection(s??this.id,[...o?.trim()].length!==0?o:this.getDefaultSectionName(),n,r):lt.updateSection(s??this.id,this.editingSectionId,o,n,r));if(a.hasError===!1){let{data:i}=a;this.syncProgress(i,this.collection),this.collection=i}else throw new Vn({errorCode:a.error.errorCode})}finally{this.editingSectionId!==of&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(o,n){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await lt.deleteSection(n??this.id,o);if(r.hasError===!1){this.syncProgress(r.data,this.collection);let{data:s}=r;this.collection=s}}finally{this.setReady()}}getAmountStrings(){let o="",n="";if(this.collection.totalItems===0)return{pathCountFormat:o,moduleCountFormat:n};let{path:r,module:s}=this.getCollectionItemsAmount();return r!==0&&(o=(r===1?GQ:VQ).replace("{numberOf}",r.toString())),s!==0&&(n=(s===1?gE:mE).replace("{numberOf}",s.toString())),{pathCountFormat:o,moduleCountFormat:n}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(n=>n.items??[]):[]).reduce((n,r)=>((r.data.pageKind==="path"||r.data.pageKind==="module")&&n[r.data.pageKind]++,n),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||k.tenantId===Jr)&&(Object.values(this.getCollectionItemsAmount()).some(o=>o>0)||Object.values(this.getCollectionSectionItemsAmount()).some(o=>o>0))}setBusy(){this._busy=!0,this.notifyPropertyChanged()}setReady(){this._busy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}getDefaultSectionName(o=D$){let[n,r]=[this.collection.sectionCount,this.collection.sections];if(!n||!Array.isArray(r))return o.replace("{number}",Dr(1));let s=n+1;for(;r.some(a=>a.name===o.replace("{number}",Dr(s)));)s++;return o.replace("{number}",Dr(s))}syncProgress(o,n){let r=Object.fromEntries([...n?.items??[],...(n?.sections??[]).flatMap(s=>s.items??[])].filter(s=>s?.id).map(s=>[s.id,s]));for(let s of[...o?.items??[],...(o?.sections??[]).flatMap(a=>a.items??[])])s?.id&&s.data&&r[s.id]?.data&&(s.data.progress=r[s.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((o,n)=>{let r=(n.items??[]).reduce((s,a)=>((a.data.pageKind==="path"||a.data.pageKind==="module")&&s[a.data.pageKind]++,s),{path:0,module:0});return o.path+=r.path,o.module+=r.module,o},{path:0,module:0})}};function u5e(e,t,o,n){if(!o)throw new Error("Initial section is undefined.");let r={sectionId:o.sectionId,items:Ga(o.items)},s=e+t;if(s>=0&&s
      `}function Pwe(){let e=document.createElement("div"),t=p5e();return y(t,e),new be(e)}function p5e(){return u` `}function b5(e){let t=document.createElement("div");y(e,t),kv=new be(t)}function Dw(e,t,o="",n=En,r=Ne,s=!1,a=!1,i=""){return u` `}var qr=class extends hp{constructor(o){super();this.id=o;this.returnedForbidden=!1;this._planBusy=!1;this._skillingPlan=null;this._nextPlanItem=null;this._isNextPlanItemHighlighted=!1;this._isEditingSummaryLearningOutcomes=!1;this._stats=null;this._csv=null;this._editResultCode=-1;this._id=o}get busy(){return this._planBusy}get planId(){return this._id}set planId(o){this._id=o}get plan(){return this._skillingPlan}set plan(o){this._skillingPlan=o,o&&(this.collection=o.contentList,this.isOfficialOrOverride=this.collection?.isOfficial??!1),this.notifyPropertyChanged()}get nextPlanItem(){return this._nextPlanItem}set nextPlanItem(o){this._nextPlanItem=o}get isNextPlanItemHighlighted(){return this._isNextPlanItemHighlighted}set isNextPlanItemHighlighted(o){this._isNextPlanItemHighlighted=o}get isEditing(){return super.isEditing||this.isEditingSummaryLearningOutcomes}get editResultCode(){return this._editResultCode}set editResultCode(o){this._editResultCode=o}get isEditingSummaryLearningOutcomes(){return this._isEditingSummaryLearningOutcomes}set isEditingSummaryLearningOutcomes(o){this._isEditingSummaryLearningOutcomes=o,this.notifyPropertyChanged()}async setIsPublicView(o){this.isPublicView=o}get stats(){return this._stats}set stats(o){this._stats=o}get csv(){return this._csv}set csv(o){this._csv=o}hasStarted(){return!mt(this.plan?.startedOn)}isCompleted(){return!mt(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(o,n,r){await super.moveItem(o,n,r,this.collection.id)}async moveItemToSection(o,n,r){await super.moveItemToSection(o,n,r,this.collection.id)}async deleteItem(o,n=-1){await super.deleteItem(o,n,this.collection.id)}async updateCollection(o,n){await super.updateCollection(o,n,this.collection.id)}async localizePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(pD(void 0,une),!0);if(o){let n=rn(mD(pne));await lt.submitForLocalize(this.collection?.id),await n;let r=document.getElementById("submit-loc"),s=document.createElement("p");s.classList.add("margin-top-sm"),s.setAttribute("id","loc-submitted-text");let a=u`${t0}`;y(a,s),document.getElementById("icon-list")?.parentElement?.appendChild(s),r&&(r.hidden=!0)}}finally{this.setReady()}}resumePlan(){let{item:o,elementToHighlight:n}=this.getFirstIncompleteItem(this.collection.sections??[]);location.hash=n,this.nextPlanItem=o,this.isNextPlanItemHighlighted=!0,setTimeout(()=>Tw(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}async beforeActivate(){try{if(location.hash="",this.plan=await or.getSkillingPlan(this.planId),this.collectionOwner===null){let n=await fc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(n)}k.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await lt.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${q.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await lt.getReportStatus(this.collection?.id)),te(location.search).ref==="profile"&&this.hasStarted()?this.resumePlan():this.nextPlanItem=this.getFirstIncompleteItem(this.collection.sections??[]).item,this.notifyPropertyChanged()}catch{}}async joinPlan(o){if(this.busy)throw new Error("Busy");try{await rn(Iwe(),!1,async n=>{let r=n.querySelector("#save-plan-btn");r?.classList.add("is-loading"),this.setBusy();try{let s=await or.joinSkillingPlan(this.planId);return s.hasError===!1&&(this.plan=s.data),o?.onSuccess?.(),{hasError:!1,data:null}}catch{return Mo(n,"somethingWentWrong"),{hasError:!0}}finally{r?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(o,n){await super.moveSection(o,n,this.collection.id)}async commitSection(o,n,r){await super.commitSection(o,n,r,this.collection.id)}async deleteSection(o,n){await super.deleteSection(o,n??this.collection.id)}async updatePlan(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=null;try{n=await or.updateSkillingPlan(this.planId,o),n.hasError===!1&&(this.syncProgress(n.data.contentList,this.plan.contentList),this.plan=n.data,this.hasActiveTakedowns=!1,this.editResultCode=200)}catch{this.editResultCode=500}finally{this.setReady()}return n}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await or.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await or.leaveSkillingPlan(this.planId);o.hasError===!1&&(this.plan=o.data)}finally{this.setReady()}}async trackClick(o,n){if(this.busy)throw new Error("Busy");if(n&&window.open(n,"_blank"),!!(!["module","path"].includes(o.data.pageKind)&&o.data.progress!==1&&this.hasStarted())){this.setBusy();try{await or.trackClick(this.planId,o.id),this.updateTrackedItemProgress(this.collection,o,this.plan)}finally{this.setReady()}}}async getPlanStatistics(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await or.getPlanStatistics(this.planId);o!==null&&(this.stats=o)}finally{this.setReady()}}async addToLearnersGroups(o,n){if(this.busy)throw new Error("Busy");this.setBusy(),this.plan!==null&&(this.plan?.learnerGroups===void 0||this.plan?.learnerGroups===null)&&(this.plan.learnerGroups=[]),this.plan?.learnerGroups?.push(o),this.setReady(),n(this)}async updateLearnerGroup(o){let{id:n,name:r}=o;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let s=await or.updateLearnerGroup(this.plan?.id,n,r);if(s.hasError===!1&&this.plan?.learnerGroups){let a=this.plan.learnerGroups.findIndex(l=>l.id===n),{data:i}=s;a!==-1&&(this.plan.learnerGroups[a]=i)}return this.setReady(),s}async deleteLearnerGroup(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=await or.deleteLearnerGroup(this.plan?.id,o);return n.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(r=>r.id!==o)),this.setReady(),n}getDefaultSectionName(){return super.getDefaultSectionName(_ee)}updateTrackedItemProgress(o,n,r){let s=[...o.items??[],...(o.sections??[]).flatMap(a=>a.items??[])].find(a=>a?.id===n.id&&a.data);s&&(s.data.progress=1,r.itemsCompleted=(r.itemsCompleted??0)+1)}getFirstIncompleteItem(o){o=o.filter(i=>i.items?.length);let n=o[0],r=o[0]?.items?.[0]??null,s=0,a=0;for(let i of o){let l=i.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&i.items?.[l]){n=i,r=i.items[l],a=l,s=o.indexOf(i);break}}return{section:n,item:r,elementToHighlight:Oo(r?.data.uid??"")||`${r?.type+"-"||""}item-${s}${a}`}}};var Lwe={architecture:MC,conceptual:lG,tutorial:gae,certification:ic,appliedSkills:Jg,challenge:ti,sample:Wj,course:Rp,examination:Br,faq:jW,path:Lf,knownissue:kE,lifecycle:FJ,module:wr,apiconnector:Qn,"azure-cli":Qn,cli:Qn,dotnet:Qn,java:Qn,javascript:Qn,odata:Qn,powerconnector:Qn,powershell:Qn,python:Qn,rest:Qn,typescript:Qn,show:hN,series:PE,episode:Cy};function Iv(e,t,o){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?Lwe[e]:t==="architecture"||t==="conceptual"||t==="tutorial"||t==="sample"||t==="faq"||t==="azure-cli"||t==="cli"||t==="dotnet"||t==="java"||t==="javascript"||t==="odata"||t==="powerconnector"||t==="python"||t==="rest"||t==="typescript"||t==="episode"||t==="show"?Lwe[t]:o&&o.startsWith("/answers/questions")?DX:""}A();var m5e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/plans":"/plans"}`;function Pv(e,t,o){let n=new URL(location.href),r=new URLSearchParams(n.search),s=n;if(s.pathname=`${m5e()}/${e}`,t){let a=new URLSearchParams(t);for(let[i,l]of a)s.searchParams.set(i,l)}return o&&(s.hash=o),r.has("preview")&&s.searchParams.set("preview",r.get("preview")??""),s.href}function Rwe(e){let t=e.items;if(!t)return 0;let o=t?.filter(r=>(r?.data.progress??0)===1);return o?.length?o.length/t?.length:0}function _5(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function Mwe(e,t){let o="primary";return e.data.progress===1?o="accent":t&&(o="info"),`${o} border-radius`}function SD(e,t){let o={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(o.completionStatusTag=t==="milestone"?yne:zr,o.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):o.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",o}function Dwe(e){let t=new URL(e).hostname;switch(t=t.replace("www.","").toLocaleLowerCase(),t){case"github.com":return"Github";case"support.microsoft.com":return"Microsoft Support";case"techcommunity.microsoft.com":return"Microsoft Tech Community";case"youtube.com":return"YouTube";default:return Aae}}function $we(e){return k.tenantId===Jr&&e!=="bookmarks"}function v5(e,t=""){let{id:o,contentList:{name:n},learningOutcomes:r}=e,s=n??"",a=Pv(o,t?`learnerGroupId=${t}`:""),i=encodeURIComponent(Ooe).replace(encodeURIComponent("{planTitle}"),s),l=[Uoe,String(Hoe).replace("{planTitle}",s),zoe];return r.length!==0&&l.push(String(Boe)+` `+r.map(c=>`- ${c}`).join(` `)),l.push(String(Voe)+` `+a),{emailSubject:i,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(a)}}function Nwe(e,t){return t.some(o=>o.name.toLowerCase()===e.toLowerCase())}function $w(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function y5(e,t,o=!1){return`

      ${e}

      ${o?``:""}
      `}function x5(e,t){let o=decodeURIComponent(e);if(ys(o,t.target)){let r=document.querySelector("#notification-wrapper"),s=y5(Loe,"success",!0);r.innerHTML=s}}A();var T5={email:/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/i,phone:/\b(?:(?:\+?1|\b001)[\s.-]?)?(?:\(?[0-9]{3}\)?[\s.-]?)?(?:\(?[0-9]{3}\)?[\s.-]?)?[0-9]{4}\b/i,externalLink:/((http|ftp|https):\/\/)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/i};function wD(e){return T5.email.test(e)}function CD(e){return T5.phone.test(e)}function ED(e){return T5.externalLink.test(e)}function Nw(e,t,o,n){switch(e){case"InvalidTitle":t.setCustomValidity(dQ),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(cQ),t.reportValidity();break;case"UrlFormatIncorrect":o.setCustomValidity(mQ),o.reportValidity();break;case"Malformed":o.setCustomValidity(gQ),o.reportValidity();break;case"Unofficial":if(n)n.textContent=pQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(n)n.textContent=uQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function g5e(e,t){let r=[...e.value.trim()].length;return r===0?(Nw("TitleMissing",e,t),!1):r<2||r>100?(Nw("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(Nw("UrlFormatIncorrect",e,t),!1)}function ID(e,t=-1,o){let n=async a=>{a.preventDefault();let i=a.target,l=i.elements.namedItem("add-edit-url-title"),c=i.elements.namedItem("add-edit-url");if(g5e(l,c))try{let d=l.value.trim(),p=c.value.trim();await e.commitUrlItem(d,p,t,o?.id),e.editingId=null}catch(d){let p=i.querySelector("#generic-error-container");d instanceof Vn?Nw(d.errorCode,l,c,p):Nw("UnexpectedError",l,c,p)}},r=()=>{e.editingId=null},s=a=>{a.key==="Escape"&&r(),a.target instanceof HTMLInputElement&&Fw(a)};return u`
      a.target.setCustomValidity("")} />
      a.target.setCustomValidity("")} />
      `}function qw(e,t,o,n,r){switch(e){case"InvalidTitle":t.setCustomValidity(rQ),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(oQ),t.reportValidity();break;case"InvalidDescription":o.setCustomValidity(tQ),o.reportValidity();break;case"InvalidDaysToComplete":n?.setCustomValidity(Xj),n?.reportValidity();break;case"Invalid":if(r)r.textContent=sQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(r)r.textContent=aQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function f5e(e,t,o){let s=[...e.value.trim()].length,a=[...t.value.trim()].length;if(s>100)return qw("InvalidTitle",e,t,o),!1;if(a>550)return qw("InvalidDescription",e,t,o),!1;if(o){let i=o.value.trim();if(i!==""){let l=Number(i);if(isNaN(l)||!Number.isInteger(l)||l<1)return qw("InvalidDaysToComplete",e,t,o),!1}}return!0}function S5(e,t){let o=async a=>{a.preventDefault();let i=a.target,l=i.elements.namedItem("add-edit-section-title"),c=i.elements.namedItem("add-edit-section-description"),d=i.elements.namedItem("add-edit-section-days-to-complete");if(f5e(l,c,d))try{let p=l.value.trim(),m=c.value.trim(),g=(()=>{let f=d?.value.trim();if(f)return parseInt(f)})();await e.commitSection(p,m,g),e.editingSectionId=null}catch(p){let m=i.querySelector("#generic-error-container");p instanceof Vn?qw(p.errorCode,l,c,d,m):qw("UnexpectedError",l,c,d,m)}},n=()=>{e.editingSectionId=null},r=a=>{a.key==="Escape"&&n()},s=a=>{Fw(a),a.target.setCustomValidity("")};return u`
      ${(()=>{let a=e instanceof qr?"plan":"collection",i=t?"editSection":"newSection";return{collection:{newSection:M$,editSection:eQ},plan:{newSection:hne,editSection:fne}}[a][i]})()}
      ${e instanceof qr?u`
      `:""}
      `}function Fw(e){let o=e.target.closest("form").querySelector("#generic-error-container");o.hidden||(o.textContent="",o.hidden=!0)}function AD(e,t,o){switch(e){case"InvalidTitle":t.setCustomValidity(Sd),t.reportValidity();break;case"DuplicateTitle":let n=sE.replace("{title}",t.value.trim());t.setCustomValidity(n),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(aE),t.reportValidity();break;default:if(o)o.textContent=FQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function h5e(e){if(wD(e.value)||ED(e.value)||CD(e.value))return AD("InvalidContent",e),!1;let n=[...e.value.trim()].length;return n<1||n>100?(AD("InvalidTitle",e),!1):!0}function w5(e,t="",o=""){if(!e)return u``;let n=async a=>{a.preventDefault();let i=a.target,l=i.elements.namedItem("edit-summary-title");if(h5e(l))try{let c=l.value.trim(),d=e.collection.description?.trim()||"";await e.updateCollection(c,d),e.isEditingSummaryTitle=!1}catch(c){let d=i.querySelector("#generic-error-container");c instanceof Vn?AD(c.errorCode,l,d):AD("UnexpectedError",l,d)}},r=()=>{e.isEditingSummaryTitle=!1},s=a=>{a.key==="Escape"&&r(),a.target instanceof HTMLInputElement&&(Fw(a),a.target.setCustomValidity(""),a.target.reportValidity())};return u`
      `}function kD(e,t,o){switch(e){case"InvalidContent":t.setCustomValidity(aE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(py),t.reportValidity();break;default:if(o)o.textContent=OQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function b5e(e){return wD(e.value)||ED(e.value)||CD(e.value)?(kD("InvalidContent",e),!1):[...e.value.trim()].length>550?(kD("InvalidDescription",e),!1):!0}function C5(e,t="",o=""){if(!e)return u``;let n=async a=>{a.preventDefault();let i=a.target,l=i.elements.namedItem("edit-summary-description");if(b5e(l))try{let c=e.collection.name?.trim()||"",d=l.value.trim()||"";await e.updateCollection(c,d),e.isEditingSummaryDescription=!1}catch(c){let d=i.querySelector("#generic-error-container");c instanceof Vn?kD(c.errorCode,l,d):kD("UnexpectedError",l,d)}},r=()=>{e.isEditingSummaryDescription=!1},s=a=>{a.key==="Escape"&&r(),a.target instanceof HTMLTextAreaElement&&(Fw(a),a.target.setCustomValidity(""),a.target.reportValidity())};return u`
      `}function qwe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(aE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(py),t.reportValidity();break;case"Invalid":t.setCustomValidity(NQ),t.reportValidity();break;default:break}}function _5e(e){e&&(e.textContent=UQ,e.hidden=!1)}function v5e(e,t){let o=!1,n=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(r=>{r.setCustomValidity("");let s=r.value.trim();s.length>0&&(o=!0,(wD(s)||ED(s)||CD(s))&&(qwe("InvalidContent",r),n=!1))}),!o&&e.length>0&&(qwe("Invalid",e[0]),n=!1),n}function E5(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let o=()=>{e.isEditingSummaryLearningOutcomes=!1},n=async i=>{i.preventDefault();let l=i.target,c=Array.from(l.querySelectorAll('textarea[id^="edit-summary-learning-outcomes"]')),d=l.querySelector("#generic-error-container");if(v5e(c,d))try{let p=e.collection.name?.trim()||"",m=e.collection.description?.trim()||"",g=c.map(_=>_.value.trim()).filter(_=>_.length>0),f={metadata:{name:p,description:m,learningOutcomes:g,listId:e.collection.id??"",isOfficial:e.collection.isOfficial??!1}};await e.updatePlan(f),o()}catch{_5e(d)}},r=i=>{i.key==="Escape"&&o(),i.target instanceof HTMLTextAreaElement&&(Fw(i),i.target.setCustomValidity(""),i.target.reportValidity())},s=e.plan.learningOutcomes,a=[...s,"","",""].slice(0,Math.max(3,s.length));return u`
      ${Xoe}
      ${a.map((i,l)=>u`
      `)}
      `}A();var Fwe=pt(),Owe=b.data.contentLocale||b.data.userLocale;async function nf(e,t){let o=k2(e),n=[],r={method:"GET"},s=o.map(async a=>{let i={branch:Fwe,uids:a.join(";"),locale:Owe},l=`${q.learn.progress.user}?${ne(i)}`,c=K(l,r),d=await M(c);if(d.ok&&d.status!==204){let p=await d.json();n.push(...p)}if(!d.ok)throw new jt(d)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(s),t?.updateProgress("Got user progress by uids")}catch(a){t?.fail(a)}return n}function Uwe(e,t){let o={branch:Fwe,locale:Owe},n=`${q.learn.progress.batchUnit}?${ne(o)}`,s={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),M(K(n,s)).then(a=>fe(a)).then(a=>{if(a.ok)return t?.updateProgress("Completed putting batch progress"),a.json();throw new jt(a)}).catch(a=>(t?.fail(a),Promise.reject()))}A();var rf={all:ei,ai:"AI search",documentation:ni,training:Qr,credential:dn,qna:Iy,reference:Qn,show:Sr};var Hwe={...ZM};var ra={all:ei,last24hours:hae,last7days:fae,last30days:bae,last365days:_ae,custom:UY};var PD={advanced:yV,beginner:hG,intermediate:yJ};function A5(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var k5={ar:RE,"ar-sa":zJ,bg:ME,"bg-bg":BJ,"bs-cyrl":VJ,"bs-latn":DE,ca:$E,cs:NE,da:qE,de:FE,el:OE,"el-gr":GJ,en:UE,"en-my":jJ,es:HE,"es-mx":QJ,et:zE,eu:BE,fi:VE,fil:GE,fr:jE,ga:QE,gl:YE,he:WE,hi:KE,hr:JE,hu:ZE,"hu-hu":YJ,id:XE,"id-id":WJ,is:eA,it:tA,ja:oA,kk:nA,ko:rA,lb:sA,lt:aA,lv:iA,ms:lA,mt:cA,nb:dA,nl:uA,pl:pA,pt:mA,"pt-br":JJ,"pt-pt":ZJ,ro:gA,ru:fA,sk:hA,sl:bA,"sr-cyrl":_A,"sr-latn":vA,sv:yA,th:xA,tr:TA,uk:SA,"uk-ua":XJ,ur:eZ,vi:wA,"vi-vn":tZ,"zh-cn":CA,"zh-hk":EA,"zh-tw":AA};var zwe={event:LJ,series:PE,show:Sr};var Fr={category:rf,credential_types:Hwe,date:ra,levels:PD,locales:k5,resource_type:{...TSe,...ZM},show_type:zwe,years:l2,author:$p,tags:e2},Lv={azure_categories:SG,category:z$,credential_types:FY,event_groups:SW,languages:mX,date:_y,levels:qJ,locales:AJ,products:Ff,roles:cee,resource_type:ree,subjects:Hre,type:k7,show_type:IJ,years:l2,author:$p,tags:e2},Bwe={azure_categories:TG,category:z$,credential_types:qY,event_groups:TW,languages:pX,date:_y,levels:$J,locales:gN,products:qf,roles:iee,resource_type:vae,subjects:Ure,type:A7,show_type:kJ,years:Mae,author:$p,tags:Kre};function _o(e){switch(e){case"locales":return 0;case"products":return 1;case"languages":return 2;case"roles":return 3;case"levels":return 4;case"subjects":return 5;case"type":return 6;case"resource_type":return 7;case"event_groups":return 8;case"years":return 9;case"azure_categories":return 10;default:return 11}}A();A();A();var S5e=parseInt(L("hoursToComplete"),10),Rho=BL(S5e).toLocaleLowerCase();A();A();var Pe={ar:RE,bg:ME,"bs-latn":DE,ca:$E,cs:NE,da:qE,de:FE,el:OE,en:UE,es:HE,et:zE,eu:BE,fi:VE,fil:GE,fr:jE,ga:QE,gl:YE,he:WE,hi:KE,hr:JE,hu:ZE,id:XE,is:eA,it:tA,ja:oA,ka:KJ,kk:nA,ko:rA,lb:sA,lt:aA,lv:iA,ms:lA,mt:cA,nb:dA,nl:uA,pl:pA,pt:mA,ro:gA,ru:fA,sk:hA,sl:bA,"sr-cyrl":_A,"sr-latn":vA,sv:yA,th:xA,tr:TA,uk:SA,vi:wA,"zh-cn":CA,"zh-hk":EA,"zh-tw":AA},LD=new Map([["ar-sa",Pe.ar],["bg-bg",Pe.bg],["bs-latn-ba",Pe["bs-latn"]],["ca-es",Pe.ca],["cs-cz",Pe.cs],["da-dk",Pe.da],["de-at",`${Pe.de} (${V$})`],["de-ch",`${Pe.de} (${fy})`],["de-de",Pe.de],["el-gr",Pe.el],["en-au",`${Pe.en} (${B$})`],["en-ca",`${Pe.en} (${_E})`],["en-gb",`${Pe.en} (${X$})`],["en-ie",`${Pe.en} (${Q$})`],["en-in",`${Pe.en} (${j$})`],["en-my",`${Pe.en} (${vE})`],["en-nz",`${Pe.en} (${W$})`],["en-sg",`${Pe.en} (${J$})`],["en-us",`${Pe.en} (${eN})`],["en-za",`${Pe.en} (${Z$})`],["es-es",`${Pe.es}`],["es-mx",`${Pe.es} (${Y$})`],["et-ee",Pe.et],["eu-es",Pe.eu],["fi-fi",Pe.fi],["fil-ph",Pe.fil],["fr-be",`${Pe.fr} (${bE})`],["fr-ca",`${Pe.fr} (${_E})`],["fr-ch",`${Pe.fr} (${fy})`],["fr-fr",`${Pe.fr}`],["ga-ie",Pe.ga],["gl-es",Pe.gl],["he-il",Pe.he],["hi-in",Pe.hi],["hr-hr",Pe.hr],["hu-hu",Pe.hu],["id-id",Pe.id],["is-is",Pe.is],["it-ch",`${Pe.it} (${fy})`],["it-it",`${Pe.it}`],["ja-jp",Pe.ja],["ka-ge",Pe.ka],["kk-kz",Pe.kk],["ko-kr",Pe.ko],["lb-lu",Pe.lb],["lt-lt",Pe.lt],["lv-lv",Pe.lv],["ms-my",`${Pe.ms} (${vE})`],["mt-mt",Pe.mt],["nb-no",Pe.nb],["nl-be",`${Pe.nl} (${bE})`],["nl-nl",`${Pe.nl}`],["pl-pl",Pe.pl],["pt-br",`${Pe.pt} (${G$})`],["pt-pt",`${Pe.pt} (${K$})`],["ro-ro",Pe.ro],["ru-ru",Pe.ru],["sk-sk",Pe.sk],["sl-si",Pe.sl],["sr-cyrl-rs",Pe["sr-cyrl"]],["sr-latn-rs",Pe["sr-latn"]],["sv-se",Pe.sv],["th-th",Pe.th],["tr-tr",Pe.tr],["uk-ua",Pe.uk],["vi-vn",Pe.vi],["zh-cn",Pe["zh-cn"]],["zh-tw",Pe["zh-tw"]],["zh-hk",Pe["zh-hk"]]]),w5e=e=>LD.get(e);w5e.keys=()=>LD.keys();var C5e=(()=>{let e=["de","en","es","fr","it"],t=o=>`${o} (${ei})`;return new Map([...LD,...Object.entries(Pe).filter(([o])=>e.includes(o)).map(([o,n])=>[o,t(n)])])})();A();function E5e(){return Ls.template==="Course"?L("uid")??"":L("iltSchedulingId")??""}var RD=E5e();A();A();A();A();ze();ze();A();function ND(e,t="learningpath"){let o=te();return o["ns-enrollment-type"]||(o["ns-enrollment-type"]=t),o["ns-enrollment-id"]||(o["ns-enrollment-id"]=e),o}var jwe="ModuleProgress",Qwe="ModuleAssessmentProgress";async function Rv(e){if(!w.gamification)return;await ve;let t=JSON.parse(ae.getItem(jwe));if(L("page_type")!=="learn"||!k.isAuthenticated||!t||!t.progress)return;let o=t.progress.reduce((n,r)=>(n[r.unitUid]=r.detail||{},n),{});await Uwe(o,e),ae.removeItem(jwe)}async function Ow(){await ve;let e=mc.getItem(Qwe);L("page_type")!=="learn"||!k.isAuthenticated||!e||mc.removeItem(Qwe)}A();ze();A();jp();A();var Kwe=u`

      ${dX.replace("{productName}","Microsoft Educator Center")}

      ${nZ}

      ${N(rZ)}

      `;A();A();function nCe(e,t){return t=t??40,e.length<=t?e:`${e.slice(0,t)}...`}function rCe(e){let o=nCe(e.text,34);return u`
      ${e.iconClasses?u``:""} ${o}
      ${e.popoverTemplate}
      `}A();var j5e="skill";function FD(e){let t={classes:["badge-clear","badge-sm","background-color-secondary-light","font-weight-normal"],iconClasses:["docon","docon-ribbon2","gradient-text-vivid"],popoverTemplate:u`

      ${pee}

      ${e}

      `,text:e,type:j5e};return rCe(t)}var an=e=>{let{title:t,url:o,titleId:n,resourceType:r,label:s=fQ,labelClass:a="is-visually-hidden",buttonExtraClasses:i="button-primary"}=e;return u` `};A();ze();function R5(e,t=!1){let{pageKind:o,moduleCount:n,durationInMinutes:r}=e;if(o!=="module"&&o!=="path")return"";let s=n?u`
    • ${n} ${n===1?wr.toLowerCase():Ay.toLowerCase()}
    • `:"",a=r?t?u`
    • ${Hn(r)}
    • `:u`
    • ${Hn(r)}
    • `:"";return u` ${s} ${a} `}function M5(e){let{pageKind:t,start:o,end:n,moduleCount:r}=e;if(t!=="challenge"||(!o||!n)&&r===void 0)return"";let s=o&&n?u`
    • ${I7.replace("{start}",Ha.format(new Date(o))).replace("{end}",Ha.format(new Date(n)))}
    • `:"",a=r?u`
    • ${r} ${r===1?wr.toLowerCase():Ay.toLowerCase()}
    • `:"";return u`${s}${a}`}function D5(e){let{url:t,submitterUsername:o,answerCount:n,commentCount:r,votes:s}=e;if(!t||!t.startsWith("/answers/questions")||!o&&n===void 0&&r===void 0&&s===void 0)return"";let a=o?u`
    • ${o} ${fX}
    • `:"",i=s!==void 0?u`
    • ${s} ${_X}
    • `:"",l=n!==void 0?u`
    • ${n} ${hX}
    • `:"",c=r!==void 0?u`
    • ${r} ${bX}
    • `:"";return u`${a}${i}${l}${c}`}function $5(e){let{pageKind:t,hoursToComplete:o}=e;return t!=="course"?"":o?u`
    • ${Q5e(o)}
    • `:""}function N5(e){let{pageKind:t,start:o,end:n}=e;if(t!=="lifecycle"||!o&&!n)return"";let r=o?u`
    • ${Mre.replace("{startDate}",new Date(o).toLocaleDateString())}
    • `:"",s=n?u`
    • ${vW.replace("{endDate}",new Date(n).toLocaleDateString())}
    • `:"";return u`${r}${s}`}function q5(e){let{pageKind:t,lastEpisode:o,episodeCount:n,pageType:r}=e;if(r!=="show"&&t!=="series"||!o&&!n)return"";let s=o?u`
    • ${MJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",a=n?u`
    • ${PJ.replace("{count}",n.toString())}
    • `:"";return u`${s}${a}`}function F5(e){let{showName:t,uploadDate:o,pageType:n,durationInMillisecond:r}=e;if(n!=="episode"||!t&&!o&&!r)return"";let s=r?yfe(r):null,a=t?u`
    • ${t}
    • `:"",i=o?u`
    • ${DJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",l=s?u`
    • ${Hn(s)}
    • `:"";return u`${a}${i}${l}`}function Q5e(e){let t=Math.floor(e/168),o=Math.floor(e%168/24),n=e-t*168-o*24,r=t>0?`${t.toString()} ${t===1?b0:_0}`:null,s=o>0?`${o.toString()} ${o===1?yE:vy}`:null,a=n>0?`${n.toString()} ${n===1?AE:Ed}`:null;return[r,s,a].filter(i=>i!==null).join(", ")}ze();function O5(){let e=Sg(new Date(Date.now()));return u`

      ${ai}

      `}A();A();var Y5e=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",sCe=(e,t,o)=>encodeURIComponent((o?o+` `+e.toString():e.href)+Y5e(t,e.href));function aCe(e,t,o,n=!0,r=!1){let s=sCe(t,o);return u` `}function Uw(e,t,o,n,r,s){return u`
      ${e?u``:u`
      ${aCe(o||"",t,n)}
      `}
      `}function U5(e,t=!0,o=!1){let{displayName:n,userName:r,avatarUrl:s,avatarThumbnailUrl:a,userId:i}=e,l=zo(r,"activity"),c=o?u` ${N(Lae)} `:"";return t?u`
      ${tN} ${n} ${c}
      `:u`${LQ}`}function iCe(e,t,o){let n=e??t??o;if(!n)return u``;let r=((e??t)?.collectionOwner??o?.challengeCreator).displayName;return u`
      ${lCe(r,n.collection.showUserDisplayName)}
      `}function lCe(e,t){return t?u` ${String(F$).replace("{name}",e)} `:u` ${nY} ${Dz(!1)} `}function cCe(e,t,o){let n=e??t??o;return n?!(e??t)?.isPublicView&&!e?.isChallengeCollection?u`
      await n.toggleShowUserDisplayName()} .checked=${n.collection.showUserDisplayName} />
      `:u``:u``}function Hw(e,t="",o=""){return u` ${`${Dr(Math.floor(e*100))}%`} ${zr} `}function dCe(e,t){let{challengeId:o,learnChallengeId:n,name:r,isPrivate:s}=t.collection;return u` ${t?.isChallengeCollection?u` ${$7} `:""} ${Uw(s,e,r,k.sharingId)}`}function uCe(e){return!e||!e?.collection?u``:u`
      e.updatePrivacy()} />
      ${IQ}
      `}function pCe(e,t,o,n){if(!t&&!o&&!n)return u``;let r=mt(o)?mt(n)?u``:u` `:u` `,s=u`

      ${mt(o)?dY:Pne}

      `;return mt(t)?r:s}function W5e(){return u``}function H5(e){return e.sectionsCount&&e.sectionsCount>1?u`
      e.isBusy?t.preventDefault():void 0} @keydown=${t=>e.isBusy&&(t.key==="Enter"||t.key===" ")?t.preventDefault():void 0} >

      ${xne}

      `:u``}function mCe(e,t,o,n=0,r=-1,s="h3",a=!1){let{userLocale:i}=b.data,{pageKind:l,pageType:c,rating:d,title:p,url:m,uid:g}=t.data;m=m,p=p;let f=e instanceof qr,_=f?Mwe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=d?u``:"",x=w.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?u`
      ${FD(t.data.display_skills[0])}
      `:"",v=It=>{let Vt=ND(It.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Vt.id=t.data.challengeId),`${ne(Vt)}`},T=Iv(l,c,m),I=t.type==="url"?`${Dwe(m)}`:T,C=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,z=t.data.url&&t.data.url.includes("/answers/"),F=t.type==="url"?m:`/${z?t.data.rawUrl.split("/")[3]:i}${C}?${v(e.collection)}`,de=async()=>{e.editingId=t.id},Ce=a?u` ${p} `:u` ${o8e(s,p)} `;f&&(Ce=e.hasStarted()?u` ${p}`:u` `);let ie=t.type==="url"?u`
      ${Ce}
      `:u` ${Ce} `,ht=It=>K5e(e,o,t,r,It);return e.editingId===t.id?ID(e,r,t):a?u`
    • ${I}

      ${ie} ${t.data.iconUrl?u``:""}
      ${h} ${x}
      ${ht(!0)}
    • `:u`
    • ${I}

      ${ie}
      ${h} ${x}
      ${ht(!1)}
    • `}function K5e(e,t,o,n=-1,r=!1){let{challengeId:s,userId:a}=e.collection;return u`${e.isPublicView||e.isOfficialOrOverride&&a!==k.userId||s?Z5e(e.isUserAuthenticated,o,r,e):J5e(e,t,o,n,r)}`}function J5e(e,t,o,n=-1,r=!1){o.data.uid=o.data.uid;let s=n>=0?!(n===0&&t===0):t!==0,a=n>-1?!(n>=e.collection.sections?.length-1&&t>=e.collection.sections[n]?.items.length-1):t ${l} `:u``}function Z5e(e,t,o=!1,n){let r=o?u``:void 0,s=gCe(n,t,e);return r||s?u` `:""}function X5e(e,t){if(!e||!t)return u``;let o=t.data.progress??0,n=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:r,completionStatusTagStyle:s}=SD(o,"item");if(o===0){if(n){let a=e8e(e,t);return u` `}return u``}return o===1?u` ${r} `:o>0&&o<1?u` ${wy} `:u``}function gCe(e,t,o){if(!o)return u``;let n=(()=>{let r=t.data.progress,s=e instanceof qr,a=s&&e?.hasStarted?.(),i=!s&&typeof r=="number";if(a)return X5e(e,t);if(i)return Hw(r)})();return n?u` `:""}function e8e(e,t){let o=document.createElement("div"),n=t8e(e,t);return y(n,o),new be(o)}function t8e(e,t){return u` `}function o8e(e="h3",t){let o={h3:u`

      ${t}

      `,h4:u`

      ${t}

      `,h6:u`
      ${t}
      `};return o[e]||o.h3}function B5(e,t="collection"){let o=(t==="plan"?hoe:mY).replace("{url}",e),n=AQ,r=pY,s=HQ;return t==="plan"&&(n=boe,r=_oe,s=voe),u`

      ${n}

      ${r} ${s}

      ${N(o)}
      `}function fCe(){return u`

      ${oE}

      ${bQ}


      1. ${_Q}
      2. ${vQ}
      3. ${N(yQ)}

      ${xQ}

      `}function zw(e,t,o,n,r=!0){return u`

      ${t}

      ${o}


      ${n}
      `}function V5(e,t){let o=(()=>{let r=e.collection.sections;if(Array.isArray(r)&&r.length>0)return u`
      ${r.map((a,i,l)=>u`
      ${n8e(e,a,i,l,t)} ${z5(e,a.items,void 0,i)}
      `)}
      `;let s=e.collection.items;return Array.isArray(s)&&s.length>0?z5(e,s,void 0,-1):WM(BQ,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ll?"/test":""}/training/browse/`}})})(),n=u`${i8e(e)} ${a8e(e)} ${l8e(e)}`;return u`${o}${n}`}function n8e(e,t,o,n,r){return u`

      ${r} ${o+1}

      ${e.isPublicView?"":u` `}
      ${e.isPublicView?"":u`
      ${o>0?u` `:""} ${n.length>1&&o `:""} ${!(e instanceof qr)||n.length>1?u` `:""}
      `}
      ${e instanceof qr?u`Progress:${s8e(t)}`:""}
      ${(()=>{let s=e.editingSectionId===t.id,a=!mt(t.name),i=!mt(t.description),l=!mt(t.daysToComplete),c=a||i||l;return u`
      ${s?S5(e,t):c?u` ${a?u`

      ${t.name}

      `:""} ${i?u`

      ${t.description}

      `:""} ${l?r8e(t.daysToComplete):""} `:""}
      `})()}
      `}function z5(e,t,o=0,n=-1,r="h4",s=!1){return!t||t.length===0?_Se(e.isPublicView):u`
        ${t.map((a,i)=>mCe(e,a,i,o,n,r,s))}
      `}function r8e(e){return mt(e)?"":u`

      ${bne} ${e}

      `}function s8e(e){let t=Rwe(e),{completionStatusTag:o,completionStatusTagStyle:n,progressBarLabelStyle:r,progressBarStyle:s}=SD(t,"milestone");return t===1?u` ${o} `:u`
      ${Dr(Math.floor(t*100))}%
      `}function a8e(e){return e.editingSectionId===of?S5(e):""}function i8e(e){return u`${e.editingId===f5?u`
      ${ID(e)}
      `:""}`}function l8e(e,t="margin-top-xl"){if(e.isPublicView)return"";let o={handleEvent(r){r.preventDefault(),e.editingId=f5}},n={handleEvent(r){r.preventDefault(),e.editingSectionId=of}};return u` ${u`
      ${e.isOfficialOrOverride&&!(e instanceof qr)?u``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?u``:""}
      `} `}A();function OD(...e){let[t,o,n=!0]=e,r=u` ${N(rj)}
      • ${N(t)}
      • ${N(o)}
      `;return zw("ms--challenges-violation-banner",nj,r,aj,n)}A();var DAo=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));A();var G5={"ar-sa":!0,"he-il":!0};var Qko=Ml();A();A();A();ze();A();A();var bCe=e=>[{id:"plan-title",name:"plan-title",title:pc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:uoe,required:!0},{id:"plan-description",name:"plan-description",title:R$,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:Id,subtitle:ene,tip:tne,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:one,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:nne,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:rne,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:ane,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:cne,value:e.isOfficial,isDirty:!1}];function _Ce(e){let t=e.elements.namedItem("plan-title"),o=t.value;if(!o)return t.setCustomValidity(Sd),t.reportValidity(),Mo(e,"planNewTitle"),null;let n=e.elements.namedItem("plan-description").value,r=[e.elements.namedItem("plan-learning-outcome-1").value,e.elements.namedItem("plan-learning-outcome-2").value,e.elements.namedItem("plan-learning-outcome-3").value].map(a=>a.trim()).filter(a=>a.length>0),s=e.elements.namedItem("official-plan")?.checked??!1;return{title:o,description:n,learningOutcomes:r,isOfficial:s}}var vCe;async function yCe(e,t){e.preventDefault();let o=document.getElementById("ms--create-plan"),n=e.target;Wa(o);let r=_Ce(o);if(r===null)return;let{title:s,description:a,learningOutcomes:i,isOfficial:l}=r,d=o.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:o.dataset.listId??"",name:s,description:a,learningOutcomes:i??[],isOfficial:l};n.disabled=!0,n.classList.add("is-loading");try{let m=await or.createSkillingPlan(p);if(m.hasError===!0)Mo(o,"somethingWentWrong");else{let g,f=Pv(m?.data?.id);if(l&&d&&(g=Pwe()),g){t.hide(),g?.show();let _=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),_].forEach(x=>{if(!x)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");x.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw Mo(o,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}async function xCe(e,t){if(!t)return;let o=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!o)throw new Error("Primary button not found");o.onclick=async()=>{o.disabled=!0,o.classList.add("is-loading"),Wa(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=zo("me","plans").toString()}catch(n){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${n.message}`)}finally{o.disabled=!1,o.classList.remove("is-loading")}}}async function TCe(e,t,o){let n=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!n)throw new Error("Primary button not found");n.onclick=async r=>{r.preventDefault(),n.disabled=!0,n.classList.add("is-loading"),Wa(e.contentElement);try{await t.dropPlan(),e.hide(),o()}catch(s){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${s.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function SCe(e){let t=e.elements.namedItem("plan-learner-group-name"),o=t.value,n=t.dataset.planId;t.classList.remove("input-danger"),e.querySelector("button[type=submit]")?.classList.add("is-loading");try{let r=await or.createLearnerGroup(n,o);return h8e(r,e)}catch(r){throw new Error(`error: ${r.message}`)}}function h8e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Mo(t,"learnerGroupAlreadyExists"):Mo(t,"somethingWentWrong");let o=t.elements.namedItem("plan-learner-group-name");o.focus(),o.classList.add("input-danger");let n=t.querySelector("button[type=submit]");return n&&n.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function wCe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let o=t.nextElementSibling,n=o.querySelector(".cancel"),r=o?.querySelector("input");$w(t,o),o.focus(),n&&(n.onclick=s=>{s.preventDefault(),$w(t,o),r&&(r.value=r?.dataset.originalName)})}async function CCe(e,t){let o=t.parentElement?.previousElementSibling,n=t.parentElement,r=n?.querySelector("input"),s=r?.dataset.groupId,a=n.querySelector("#learner-group-submit");if(a?.classList.add("is-loading"),r?.value===r?.dataset.originalName){a?.classList.remove("is-loading"),$w(o,n),r.value=r?.dataset.originalName;return}if(Nwe(r?.value,e.plan?.learnerGroups??[])){Mo(t,"learnerGroupAlreadyExists"),r?.focus(),r?.classList.add("input-danger"),a?.classList.remove("is-loading");return}Wa(t);let i=await e.updateLearnerGroup({id:s,name:r?.value});if(i.hasError===!1){let{data:l}=i,c=o.querySelector(".group-name");c&&(c.textContent=l.name,r.dataset.originalName=l.name),$w(o,n),r.classList.remove("input-danger"),a?.classList.remove("is-loading")}else Mo(t,"somethingWentWrong"),r.focus(),r.classList.add("input-danger"),a?.classList.remove("is-loading")}async function ECe(e,t,o,n){vCe=e.contentElement.querySelector("#notification-wrapper");let r=Dw(Roe,u`${N(Moe.replace("{learningGroupName}",t.plan?.learnerGroups?.find(a=>a.id===o)?.name||Dy))}`,void 0,ua,Ne,!0);if(e.hide(),(await rn(r,!1,a=>b8e(a,t,o,n))).submitted){e.show();let a=y5(Doe,"success",!0);vCe.innerHTML=a}}async function b8e(e,t,o,n){let r=e.querySelector("button[type=submit]");r?.classList.add("is-loading");let s={hasError:!1,data:null};try{await t.deleteLearnerGroup(o),s={hasError:!1,data:null}}catch{Mo(e,"somethingWentWrong"),s={hasError:!0}}finally{n.closest(".card")?.remove(),r?.classList.remove("is-loading")}return s}A();var ACe;async function ICe(e,t=null,o=q.profile.reportConcern,n,r,s="description",a){let i=document.createElement("div");ACe=new be(i);let l=u``;if(ACe.show(),e.isAuthenticated&&t===null){let d=u``;y(u` `,i);let p=In()??"";t=await Yy(p)}l=u` ${T8e(_8e,a,yN,r,void 0,s)} ${S8e(t)}

      ${N(MX)}

      ${n||""} `,y(u` `,i);let c=i.querySelector("#report-content-form");x8e(),I8e(c),t!==null&&k8e(c,t)}function _8e(e,t,o="abuseCategory",n=!1){let r=t||qye;return u`
      `}function kCe(e){return u` `}function v8e(e,t,o,n,r){return u` `}function y8e(e,t){return u`
      `}function x8e(){window.addEventListener("form-validating",e=>{let t=vw(e.detail.form),o=VM(t);e.detail.errors?.length>=0&&q6(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&BM(t),o&&$6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yw(t)})}function T8e(e,t,o=yN,n,r,s,a,i=!1){return u`
      ${e(r,t,n,i)}
      `}function S8e(e){if(e===null)return u`

      ${N(kX)}

      `;let[t,o]=PCe(e);return u`
      `}function w8e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function C8e(e){let t=e.authenticationModes.find(o=>o.type==="MSA");return t?t.upn:null}function E8e(e){let t=e.authenticationModes.find(o=>o.type==="AAD");return t?t.upn:null}function A8e(e,t,o){return t??(mt(e.email)?o:e.email)??""}function PCe(e){let t=w8e(e),o=t?C8e(e):null,n=t?null:E8e(e),r=A8e(e,o,n);return[t,r]}function k8e(e,t){let[o,n]=PCe(t);if(o){let a=e.querySelector("#report-msa-email-account");a.innerText=n}let r=e.querySelector("#opt-into-email-checkbox"),s=e.querySelector("#submitter-info");r.addEventListener("change",()=>{r.checked?s.hidden=!1:s.hidden=!0})}function I8e(e){if(!e)return;let t=e.querySelector("#select-reason"),o=e.querySelector("#other-reason-textarea-container"),n=o.querySelector("textarea");if(!t||!o||!n)return;let r=t.value===nr[14]||t.value===14 .toString();r&&(o.hidden=!1,n.required=!0),t.addEventListener("change",()=>{r=t.value===nr[14]||t.value===14 .toString(),r?(o.hidden=!1,n.required=!0,n.disabled=!1):(o.hidden=!0,n.required=!1,n.disabled=!0)})}A();ze();A();var UD;function LCe(e){UD=e}function RCe(e,t){let o=e.isOfficial?ya:ks,n=s=>{let a=s.target;o=a.checked?ya:ks;let i=document.querySelector("#toggle-text-plan-official");y(o,i),a.getAttribute("data-changed")==="false"&&a.setAttribute("data-changed","true")},r=bCe(e).map(s=>{let{id:a,name:i,title:l,subtitle:c,tip:d,inputType:p,dataBiName:m,cssClasses:g,required:f}=s;if(a==="plan-official"&&!t)return u``;let _=a==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?u``:p==="checkbox"?u`
      ${o}
      `:u`{let v=x.target;a==="plan-title"&&(L8e(v,Sd),v.classList.remove("input-danger"))}} /> ${_?u`

      ${soe}

      `:""} ${a==="plan-title"?u` `:""}`:"";return u`
      ${a==="plan-official"?P8e():""}
      ${c?u`

      ${c}

      `:""}
      ${h}
      ${d?u`

      ${d}

      `:""}
      `});return u`

      ${xoe}

      ${r}
      `}function P8e(){return u`
      ${N(lne)}
      `}function L8e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function MCe(e){return e?u`
      • ${e.stats?.participantsStarted}

        ${Toe}

      • ${e.stats?.participantsJoined}

        ${wy}

      • ${e.stats?.participantsCompleted}

        ${yoe}

      ${Goe}

      ${joe}

      • ${Qoe}
      • ${Yoe}
      • ${Woe}
      • ${Koe}
      • ${Joe}
      • ${Zoe}
      `:u``}function DCe(e,t){if(!t?.plan)return u``;let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=v5(t.plan);async function s(){UD.hide();let a=M8e(FN,Foe,t?.plan.id,by,!0),i=await rn(a,!1,SCe);return t&&i.submitted?t.addToLearnersGroups(i.data,l=>e(l)):UD.show(),u``}return u`
      ${Noe}
      ${$oe}
      ${N(qoe)}
      ${t.plan?.learnerGroups?.map(a=>R8e(t,a))}
      `}function R8e(e,t){let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=v5(e.plan,t.id);return u`
      ${Dy}: ${t.name}
      `}function M8e(e,t,o,n=En,r=!1){return o?u` `:u``}A();function Bw(e,t){return u` `}function j5(e,t,o){return u`
      ${t}
      `}function Q5(e,t,o){return u` `}var sf;function Vw(e,t,o){if(!t&&!o?.plan)return;let n=u``,r=document.createElement("div");sf=new be(r),LCe(sf);let s={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},a,i;switch(e){case"new":let l=t?.id;o?.plan&&(s.title=o?.plan?.contentList.name??"",s.description=o?.plan?.contentList.description??"",s.isOfficial=o?.plan?.contentList.isOfficial??!1,s.learningOutcomes=o?.plan?.learningOutcomes??[],l=o?.plan?.listId,s.isNew=!0),n=Bw("plan",{title:Eoe,body:j5("create-plan",RCe(s,$we(o?.collection?.id)),l),footer:Q5("plan",sf)}),y(n,r),a=r.querySelector("button[type=submit]"),a&&(a.innerText=by,a.setAttribute("aria-label",by),a.setAttribute("data-bi-name","create-plan-btn"),a.onclick=async c=>{await yCe(c,sf)}),i=r.querySelector("button#cancel-plan-btn"),i&&i.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":n=Bw("plan",{title:Bf,body:DCe(c=>Vw("invite",void 0,c),o),footer:u``}),y(n,r);break;case"progress":n=Bw("plan",{title:Vf,body:MCe(o),footer:u``}),y(n,r);break;default:break}if(n)sf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function Y5(e,t,o){if(!e&&!t&&!o)return u``;ty(S.body);let n=!mt(t),r=!mt(o),s={vm:e,vmPlans:t,vmChallenge:o},a=Gw(s),{lastModified:i,totalDuration:l=0,shouldLocalize:c}=a,d=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=S.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:x}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=x}let{pathCountFormat:g,moduleCountFormat:f}=m,_=e?.isChallengeCollection?u` ${l?u`
    • ${Hn(l)}
    • `:""} ${g?u`
    • ${g}
    • `:""} ${f?u`
    • ${f}
    • `:""} `:!t?.isPublicView&&i!==void 0?u`
    • ${fW} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(i))}
    • `:"";return u`
      ${d||r?u`${iCe(e,t,o)}`:""}
      ${d||r?cCe(e,t,o):""} ${UCe(s)?uCe(e):""}
      ${p||r?"":u`

      ${c?n?t0:pE:""}

      `}
      `}function Gw(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function HD(e){let{vm:t,vmPlans:o}=e;return t?.collectionOwner?.userId===k.userId||o?.plan?.userId===k.userId}function W5(e){return e.vmPlans?.hasStarted()===!0}function OCe(e){return e.vmPlans?.isCompleted()===!0}function D8e(e){let{vm:t,vmPlans:o}=e,n=!mt(t),r=!mt(o),s=o?.isPublicView||t?.isPublicView,a=Gw(e),i=a?.isOfficial,l=a?.shouldLocalize;return(n||r)&&!(s||l||!i)&&HD(e)}function $Ce(e){return!!e.vmPlans&&HD(e)}function $8e(e){return!!e.vmPlans&&HD(e)}function N8e(e){return!!e.vmPlans&&W5(e)&&!OCe(e)}function NCe(e){return!!e.vmPlans&&W5(e)&&!OCe(e)}function qCe(e){return!!e.vmPlans&&!W5(e)&&k.isAuthenticated}function FCe(e){return!!e.vmPlans&&!k.isAuthenticated}function q8e(e){let{vm:t,vmPlans:o}=e,n=Gw(e);return!t?.isChallengeCollection&&!HD(e)&&!n?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!o&&o?.reportStatus!=="Unknown")}function UCe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:o}=e,n=!mt(t),r=!mt(o),a=Gw(e)?.id;return n&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==k.userId||t?.isChallengeCollection||a==="bookmarks")||r&&!!o?.isChallengeOwner()&&!!o?.isChallengeUpcoming()}function F8e(e){let{vm:t,vmPlans:o,vmChallenge:n}=e,s=Gw(e)?.id,a=md(s),i=Gi("resume-plan-button",Uf,Uf,()=>o?.resumePlan(),"resume-plan-btn",Uf,"button-sm button-primary button-filled");function l(){function v(){let T=S.getElementById("start-or-resume");T&&y(i,T)}if(!k.isAuthenticated){Uo(location.href);return}o?.joinPlan({onSuccess:()=>{v()}})}let c=Gi("start-plan-button",ii,ii,()=>l(),"start-plan-btn",ii,"button-sm button-primary button-filled inner-focus"),d=Gi("sign-in-plan-button",Oy,Oy,()=>l(),"sign-in-plan-btn",Oy,"button-sm button-primary button-filled",!o?.isPublicView),p=n?Gi("delete-challenge-button",V7,u` `,()=>n?.deleteChallenge(),"delete-challenge-btn",ua,"button-sm button-clear"):Gi("delete-collection-button",RQ,u` `,()=>t?.deleteCollection(),"delete-collection-btn",ua,"button-sm button-clear");async function m(v){v&&(b5(Dw(ioe,u`${loe}`,coe,doe,ks)),kv.show(),await TCe(kv,v,()=>{let T=S.getElementById("start-or-resume");T&&y(c,T)}))}let g=()=>Gi("drop-plan-button",XA,u``,()=>m(o),"drop-plan-btn",XA,"button-sm button-clear"),f=u`
      ${Gi("submit-loc-button",uE,u` `,()=>t?.localizeCollection()??o?.localizePlan(),"localize-list-btn",uE,"button-sm button-clear margin-right-none")}
      ${YQ}
      `,_=!w.shareLink||s==="bookmarks"?u``:t?u`${dCe(a,t)}`:o?u`${Uw(!1,new URL(Pv(o?.plan?.id),location.origin),o?.collection?.name,k.sharingId,!1,"share-plan-btn")}`:n?u`${Uw(!1,new URL(sn(n?.challengeDetails?.id),location.origin),n?.challengeDetails?.contentList.name,k.sharingId)}`:u``,h=t?.isChallengeCollection||!k.isAuthenticated||s==="bookmarks"?u``:pCe((v,T,I)=>Vw(v,T,I),t,o,n);return u` ${NCe(e)||qCe(e)||FCe(e)?u`
      ${NCe(e)?i:""} ${qCe(e)?c:""} ${FCe(e)?d:""}
      `:""} ${_} ${h} ${q8e(e)?O8e(t,o):""} ${$Ce(e)?u`${B8e(o)}`:""} ${D8e(e)?f:""} ${$8e(e)?u`${V8e()}`:""} ${UCe(e)?p:""} ${$Ce(e)?u` ${U8e(o)}`:""} ${N8e(e)?g():""} `}function K5(e,t,o){return!e&&!t&&!o?u``:u`
      ${F8e({vm:e,vmPlans:t,vmChallenge:o})}
      `}function Gi(e,t,o,n,r,s,a,i=!1){return u` `}function O8e(e,t){let o=u`${t?u``:""}`,n=e?.reportStatus==="Active"||t?.reportStatus==="Active",r=Gi("report-a-concern-btn",NA,u` `,()=>ICe(k,null,`${q.lists}/report/concern`,o),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",NA,"button-sm button-clear margin-right-none",n),s=u`
      ${e?u`

      ${TY}

      ${N(SY)}

      `:u`

      ${Mne}

      ${N(Dne)}

      `}
      `;return u`
      ${r} ${n?s:""}
      `}function U8e(e){return e?Gi("delete-plan-button",ua,u` `,async()=>{b5(Dw(Aoe,Ioe,u`${e.plan?.contentList.name??""}`,Poe,void 0,void 0,e.plan?.hasParticipants,koe)),kv.show(),await xCe(kv,e)},"delete-plan-btn",ua,"button-sm button-clear"):u``}function H8e(e){return Gi("plan-progress-button",Vf,u``,()=>Vw("progress",void 0,e),"view-plan-progress-btn",Vf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function z8e(e){return Gi("invite-learners-button",Bf,u``,()=>Vw("invite",void 0,e),"plan-invite-learners-btn",Bf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function B8e(e){return e?u`
      • ${H8e(e)}
      • ${z8e(e)}
      `:u``}function V8e(){return u`
        ${[{href:"/training/browse",label:Qr},{href:"/credentials/browse",label:dn},{href:"/docs",label:ni},{href:"/shows/browse",label:Sr}].map(t=>u`
      • ${t.label}
      • `)}
      `}function J5(e,t){if(!e&&!t)return u``;let o=(e??t)?.collection;if(!o)return u``;let n=e??t,{challengeId:r,learnChallengeId:s,description:a,totalItems:i,name:l,remainingDuration:c,totalDuration:d,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=o,f=!mt(t),_=t?"plan":n?.isChallengeCollection?"challenge":"collection",h={challenge:"--hero-background-image-light: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main'); --border-gradient-end-color: #271e6d",collection:"--hero-background-image-light: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main'); --border-gradient-end-color: #053986",plan:"--hero-background-image-light: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--hero-background-image-dark: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--border-gradient-end-color: #152c75"},x={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},v={challenge:P7,collection:Jj,plan:Soe},T=!n?.isPublicView&&!n?.isChallengeCollection?u` `:"";return u` ${e?.isPublicView&&p&&m?Kt(KQ):""}

      ${v[_]}

      ${l} ${n?.collectionOwner?.userId===k.userId?u` `:""}

      ${f?zCe(g):""} ${n?.isEditingSummaryTitle?w5(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${a?u`

      ${a} ${T}

      `:!n?.isEditingSummaryDescription&&!n?.isPublicView&&n?.isChallengeCollection===!1?u`
      ${O$} ${T}
      `:""} ${n?.isEditingSummaryDescription?C5(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${Y5(e,t)} ${e?.isUserAuthenticated&&i&&d&&c&&n?.isChallengeCollection?u`
      ${Hw((d-c)/d,r||s,"width-150")}
      `:""}
      ${HCe(t)} ${E5(t)}
      ${K5(e,t,void 0)}`}function zD(e,t,o){if(!e&&!t&&!o)return u``;let n=(e??t??o)?.collection;if(!n)return u``;let r=!mt(e),s=!mt(t),a=!mt(o);if(a&&o?.isPublicView)return u``;let{description:i,items:l,name:c,remainingDuration:d,totalDuration:p,type:m,challengeId:g,sectionCount:f}=n,_=e??o??t,h=m!=="bookmarks"&&!_?.isPublicView?u``:"",x=s?"plan":a?"challenge":"collection",v={collection:{light:"url(/media/profile/RegularCollectionsHeroImage.png?branch=main)",dark:"url(/media/profile/RegularCollectionsHeroImageDark.png?branch=main)"},plan:{light:"url(/media/learn/plans/skilling_plan_hero.png?branch=main)",dark:"url(/media/learn/plans/skilling_plan_hero.png?branch=main)"},challenge:{light:"url(/media/learn/challenge/challenges_hero.png?branch=main)",dark:"url(/media/learn/challenge/challenges_hero.png?branch=main)"}};return u`

      ${s?Ad:a?ti:da}

      ${m==="bookmarks"?cE:c} ${r||a||s?u` `:""}

      ${_?.isEditingSummaryTitle?w5(_):""} ${s?zCe(f):""} ${i?u`

      ${i} ${h}

      `:!_?.isEditingSummaryDescription&&m!=="bookmarks"?u`
      ${O$} ${h}
      `:""} ${_?.isEditingSummaryDescription?C5(_):""} ${Y5(e,t,o)} ${e?G8e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&d&&g?u`
      ${Hw((p-d)/p)}
      `:""}
      ${HCe(t)} ${E5(t)}
      ${K5(e,t,o)} `}function HCe(e){return!e||!e.plan?u``:u`

      ${Id}

        ${(e.plan.learningOutcomes??[])?.map(t=>t?u`
      • ${t}
      • `:"")}
      `}function G8e(e){return e?!e.isOfficialOrOverride&&k.tenantId===Jr&&e.collectionOwner?.userId===k.userId&&e.collection.id!=="bookmarks"?u`

      ${j8e()}

      `:"":u``}function j8e(){return u`
      ${q$}
      `}function zCe(e){if(mt(e))return u``;let t="";switch(e){case 0:return u``;case 1:t=String(_ne);break;default:t=String(vne).replace("{numberOfMilestones}",(e??"").toString());break}return u`

      ${t}

      `}ze();A();A();A();function Q8e(e,t){let o=fE,n=uY,r=gY,s=fY,a=zo("me","collections"),i=HC,l=`/${b.data.userLocale}/`;return e==="plan"&&(o=poe,n=moe,r=goe,s=foe,a=zo("me","plans")),e==="challenge"&&(o=F7,n=O7,r=U7,s=H7,a=zo("me","challenges"),t&&(i=z7,l=sn(t,"leaderboard"))),u`

      ${o}

      ${n}

      ${r}

      `}function Z5(e="collection",t){return u`
      ${Q8e(e,t)}
      `}function X5(e,t=!0){switch(e){case 0:case 200:case 201:case 204:return null;case 403:return t?Z5():u`

      ${fE}

      `;case 404:return t?fCe():u`

      ${oE}

      `;case 500:case 502:case 503:case 504:return t?Y6():u`

      ${$d}

      `;default:return u`

      ${ro}

      `}}A();A();var PMo={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:L7,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:u`${go}`,itemTemplate:e=>u`${e.displayName||e.value}`};A();ze();A();ze();ze();jp();A();A();A();A();A();A();A();A();function jCe(e){let t=X5(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let o=zo("me","collections").toString();return B5(o,"collection")}return e.collection.learnChallengeId&&g5("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),u` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?J5(e):zD(e)} ${f9e(e)} `}function f9e(e){if(!e.collection)return"";let t=u`

      ${zQ}

      `;return u`
      ${!e.isPublicView&&e.hasActiveTakedowns?b9e(e):""}
      ${t}
      ${V5(e,n0)}
      `}var h9e=zw("ms--lists-violation-banner",vY,u`${N(yY)}`,xY);function b9e(e){return e?.collection?.learnChallengeId?OD(w$.replace("{detailPageLink}",sn(e.collection.learnChallengeId,"details")),sj):h9e}async function QCe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=_9e(J.pathname);await ve;let o=new hp(t,void 0,!0);await o.beforeActivate();let n=async()=>{y(jCe(o),e)};o.subscribe(Ze,n),k.subscribe(So,n),n()}function _9e(e){let t;if(!e)return t=void 0,t;let o=/collections\/([^\/]+)/,n=e.match(o);return n===null||n&&!n[1]?t=void 0:n&&n[1]&&(t=n[1]),t}function YCe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),o=0,n=()=>{clearTimeout(o),o=setTimeout(()=>{v9e(P0(e.value),t)},250)};e.addEventListener("input",n),e.addEventListener("change",n)}function v9e(e,t){let o=document.querySelector(".no-results"),n=new RegExp(e,"gi");o.hidden=!0;let r=t.filter(s=>(s.hidden=!s.textContent.match(n),s.hidden?!1:s));return r.length===0&&(o.hidden=!1,kt(ri,"assertive",1e3)),r}A();A();A();A();var jqo=pt(),Qqo=b.data.userLocale;A();A();function Ka(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_roles?.[0];n&&t.push(n);let r=e.levels?.[0],s=e.display_levels?.[0];if(s)t.push(s);else if(r&&r in Fr.levels){let c=Fr.levels[r];t.push(c)}let a=e.display_event_groups?.[0];a&&t.push(a);let i=e.display_azure_categories?.[0];i&&t.push(i);let l=e.display_languages?.[0];return l&&t.push(l),t}function Mv(e){return e.map(t=>u`
    • ${t}
    • `)}function e8(e,t){return e?Hn(e):t?BL(t):""}A();var jw=24*60*60*1e3;function Yw(e,t,o){let n=te(),r=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return u`
      {let a=s.target;a.type!=="date"&&e.selectByValue(a.value)}} >
      ${E9e(e.facets)}
      s.value==="custom")?.isSelected}> ${ZCe("starting-date",$re,n.gt)} ${ZCe("ending-date",_W,n.lt)}
        `}function E9e(e){return Object.keys(ra).map(o=>{let n=e.find(r=>r.value.toLowerCase()===o);if(o==="all")return A9e("all",e);{let r=o==="custom"?OY:ra[o];return XCe(o,r,n.isSelected)}})}function XCe(e,t,o=!1){let n=w.enableNewSiteSearch?"font-size-sm":"";return u` `}function A9e(e,t){let o=t.reduce((n,r)=>(r.isSelected&&r.value!=="all"&&(n.selection=!0),n),{selection:!1});return XCe(e,ei,!o.selection)}function ZCe(e,t,o){let n=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"",r=w.enableNewSiteSearch?"margin-top-xxs":"";return u` k9e()} value="${o}" /> `}function k9e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),o=[];if(I9e()&&o.push(yW.replace("{date}",new Date().toLocaleDateString())),P9e()&&o.push(xW),t.innerHTML="",o.length){for(let n of o){let r=document.createElement("li");r.innerText=n,t.appendChild(r)}e.disabled=!0}else e.disabled=!1}function I9e(){let e=L9e().getTime(),t=new Date(document.querySelector("input[name=starting-date]").value).getTime(),o=new Date(document.querySelector("input[name=ending-date]").value).getTime();return t>e||o>e}function P9e(){let e=new Date(document.querySelector("input[name=starting-date]").value).getTime(),t=new Date(document.querySelector("input[name=ending-date]").value).getTime();return e>t}function L9e(){let e=new Date,t=`0${e.getDate()}`.slice(-2),o=`0${e.getMonth()+1}`.slice(-2),n=e.getFullYear();return new Date(`${n}-${o}-${t}`)}function eEe(e,t=new Date(Date.now())){let o=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime();switch(e){case"all":return"";case"last24hours":return Qw(t.getTime()-jw);case"last7days":return Qw(o-7*jw);case"last30days":return Qw(o-30*jw);case"last365days":return Qw(o-365*jw);case"custom":return R9e();default:return""}}function R9e(){let e=te(),t=e.gt,o=e.lt,n=null,r=null;if(t){let s=new Date(t),a=s.getTimezoneOffset()*6e4;n=s.getTime()+a}if(o){let s=new Date(o),a=s.getTimezoneOffset()*6e4;r=s.getTime()+a+jw}return Qw(n,r)}function Qw(e=null,t=null){let o=[];if(e){e=e<0?0:e;let n=new Date(e).toISOString();o.push(`lastUpdated gt ${n}`)}if(t){t=t<0?0:t;let n=new Date(t).toISOString();o.push(`lastUpdated lt ${n}`)}return o.join(" and ")}function Gn(e){let t=[];for(let o in e){let n=Object.keys(e[o]);if(n.length>0){let r=o.charAt(0),s=o!=="resource_type"&&o!=="type"?`${o}/any(${r}: `+n.map(a=>`${r} eq '${a}'`).join(" or ")+")":n.map(a=>`${o} eq '${a.replace("_"," ")}'`).join(" or ");t.push(`(${s})`)}}return t.join(" and ")}function VD(e){let t=[],o=e.scope?`scopes/any(s: s eq '${e.scope}')`:"";o&&t.push("("+o+")");let n=[];for(let c in e.selectedFacets){if(c==="category"||c==="date"||c==="author")continue;let d=e.selectedFacets[c],p=Object.keys(d);if(p.length>0)if(w.enableNewSiteSearch){let m=c.charAt(0),g=p.map(f=>`(${c}/any(${m}: ${m} eq '${f}'))`).join(" and ");n.push(`(${g})`)}else{let m=c.charAt(0),g=p.map(_=>`${m} eq '${_}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;n.push(f)}}if(n.length>0){let c=n.join(" and ");t.push("("+c+")")}let r;for(let c in e.selectedFacets.date){r=c;break}let s=r?eEe(r):"";s&&t.push("(category eq 'QnA' and "+s+")");let a;for(let c in e.selectedFacets.author){a=c;break}a&&t.push(`(category eq 'QnA' and authorId eq '${a}')`);let i="";for(let c in e.selectedFacets.category){i=c;break}let l=i?`category eq '${i}'`:"";return l&&t.push("("+l+")"),t.join(" and ")}function oEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",hideCompleted:!0,fetch:M9e,resultTemplate:t8,resultSortOptions:[{label:aX,orderBy:null},{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function t8(e){let o=`learn-${e.uid?Oo(e.uid):Je()}-title`;return u`

        ${Fr.resource_type[e.resource_type]}

        ${e.title}
        `}async function M9e(e){let[t]=await Promise.all([tEe(e,!1),ve]);if(t.count===0&&([t]=await Promise.all([tEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0)),!w.certificationAndCourseUpdates&&(t.facets&&t.facets.resource_type&&(t.facets.resource_type=t.facets.resource_type.filter(r=>r.value!=="course")),t.results)){let r=t.results.filter(s=>s.resource_type!=="course");t.count<=t.results.length&&(t.count=r.length),t.results=r}let o=t.results.map(r=>r.uid),n;try{n=(await Promise.resolve(w.gamification&&k.isAuthenticated?nf(o):Promise.resolve([]))).reduce(nEe("uid"),{})}catch{n={}}for(let r of t.results)r.icon_url&&(r.icon_url=et(r.icon_url,"en-us")),r.url&&(r.url=et(r.url,it.userLocale)),r.uid in n&&(r.progress=n[r.uid]);return t}function D9e(e){return{branch:pt(),environment:"prod",locale:b.data.userLocale,terms:e.terms,facet:["roles","levels","products","subjects","resource_type"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null,hideCompleted:e.hideCompleted?e.hideCompleted.toString():null,showHidden:R.reviewFeatures.toString()}}async function tEe(e,t){let o={...D9e(e),fuzzySearch:t},n=`${q.browse.learn}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(async s=>{if(s.ok)return await s.json();throw{error:s.json()}})}function nEe(e){return(t,o)=>(t[o[e]]=o,t)}function $9e(e){let{progress:t}=e,o=e.duration_in_minutes??e.hours_to_complete;if(!t||t.status==="notStarted"||typeof o!="number")return"";if(t.status==="inProgress"&&o){let r=`${Math.floor((o-t.remainingTime)/o*100)}%`;return u``}return u` `}A();A();function GD(e,t){return(e==="lit"?u:W)`

        ${t?.title??zne}

        `}A();ze();A();ze();A();function sEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:N9e,resultTemplate:aEe,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function aEe(e){let t=(e.exams||[]).filter(i=>!!i.display_name).map((i,l)=>l===0?u` ${i.display_name}`:u`, ${i.display_name}`),o=t.length>0?u``:"",n=Fr.resource_type[e.resource_type],r=e.resource_type==="examination"?`${Br} ${e.exam_display_name}: ${e.title}`:e.title,a=`certifications-${e.uid?Oo(e.uid):Je()}-title`;return u`

        ${n}

        ${r}
        ${o}
        `}async function N9e(e){let[t]=await Promise.all([rEe(e,!1),ve]);t.count===0&&([t]=await Promise.all([rEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=et(o.icon_url,"en-us")),o.url&&(o.url=et(o.url,it.userLocale));return t}function q9e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function rEe(e,t){let o={...q9e(e),fuzzySearch:t},n=`${q.browse.certification}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}A();A();var F9e=Ml(),O9e={orderBy:"latest_episode_upload_at desc"};function lEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:U9e,resultTemplate:cEe(),taxonomyFacetLookups:{type:"show_type"}}}async function U9e(e){let[t]=await Promise.all([iEe(e,!1),ve]);t.count===0&&([t]=await Promise.all([iEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,it.userLocale));return t}function iEe(e,t){let o={...H9e(e),fuzzySearch:t},n=`${q.browse.shows}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function H9e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:O9e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function cEe(){return function(e){let t=e.image_url||e.image_url_small?e.url+(e.image_url??e.image_url_small)+"?branch=main":"/en-us/media/learn/tv/shows/show_image_default.svg?branch=main";return z9e(e,t)}}function z9e(e,t){let o=e.latest_episode_upload_at?u`

        ${F9e.format(new Date(e.latest_episode_upload_at))}

        `:"";return u` `}Cg();A();A();ze();A();var p3o=pt(),m3o=b.data.userLocale;A();ze();A();A();A();var cVe=dVe();function dVe(){let e=mc.getItem("x-sid");return e||(e=ed(),mc.setItem("x-sid",e),e)}var jD={"ar-sa":"ar","bg-bg":"bg","bn-in":"bn-in","bs-latn-ba":"bs-latn-ba","ca-es":"ca","cs-cz":"cs","da-dk":"da","de-de":"de","el-gr":"el","en-gb":"en-gb","en-us":"en","es-mx":"es-mx","es-es":"es","et-ee":"et","eu-es":"eu","fi-fi":"fi","fil-ph":"fil","fr-ca":"fr-ca","fr-fr":"fr","ga-ie":"ga-ie","gl-es":"gl","he-il":"he","hi-in":"hi","hr-hr":"hr","hu-hu":"hu","id-id":"id","ig-ng":"ig-ng","is-is":"is","it-it":"it","ja-jp":"ja","kk-kz":"kk","ko-kr":"ko","lb-lu":"lb-lu","ms-my":"ms","mt-mt":"mt-mt","nl-nl":"nl","nb-no":"no","pl-pl":"pl","pt-br":"pt-br","pt-pt":"pt","ro-ro":"ro","ru-ru":"ru","sk-sk":"sk","sl-si":"sl","sr-cyrl-rs":"sr-cyrl","sr-latn-rs":"sr","sv-se":"sv","th-th":"th","zh-cn":"zh","zh-tw":"zh-TW","zh-hk":"zh-HK"};function pEe(){return R.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function mEe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":jD[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},o={method:"POST",body:JSON.stringify(t)},n=K(q.encryptCaptchaPayload,o),r=await M(n);if(r.ok)return{blob:(await r.json()).encodedData};throw r.status===400?new Error("Enhance detection payload invalid"):new Error("Failed to generate Arkose enhance detection data")}var gEe=["version","getConfig","reset","run","setConfig"];var uVe=w.chromeless||Vae.getItem("playwrightActive"),Ww;function fEe(){return Ww}var pVe=!1;function mVe(){pVe=!0}async function gVe(){return uVe?!1:(await ve,k.isAuthenticated)}function Kw(e){return Ww!==void 0||(Ww=gVe().then(t=>t?ja("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>fVe(e)).then(bVe).catch(o=>{throw mVe(),new Error("Failed to load Arkose library")}):Promise.resolve())),Ww}function fVe(e){return new Promise(t=>{U.setupEnforcement=function(o){hVe(o,e).then(t)}})}async function hVe(e,t){let o=jD[b.data.userLocale]||"default";return e.setConfig({language:o,publicKey:pEe(),data:await(async()=>{let n;try{w.arkoseEncrypt&&(n=await mEe(t))}catch{}return n})()}),_Ve(e),e}function bVe(e){let t=gEe.filter(o=>e[o]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function _Ve(e){U.arkoseEnforcement=e}function a8(){return U.arkoseEnforcement}A();function Jw(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var Zw=class{};function QD(e,t){return W` `}A();var WD="captcha-container",xEe,TEe,hEe=0,vVe=3,SEe=AEe(),YD=class{},i8=new Be,bEe=e=>{EEe(e.token),xEe()},yVe={title:Cd,imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:Dd,description:FA,buttonText:kd,event:YD,type:"static"},xVe={title:r2,iframeContainerId:WD,type:"iframe"},_Ee={mode:"inline",selector:"#"+WD,onCompleted:bEe,onSuppress(e){e.suppressed&&(bEe(e),vEe("suppressed",k.userId,L("lab-id")))},async onError(e){vEe("failed",k.userId,L("lab-id"));let t=await AVe(),o=a8();if(t&&hEe{_Ee.onCompleted?.(o),e.onCaptchaCompleted?.()}}:{}}),t.run(),await SEe,t.reset()}catch{e.renderError?.()}return SVe(),TEe}var Y5o=u`

        ${r2}

        `;async function CEe(){let e=null,t=await wEe({renderCaptcha:()=>{e=yEe(xVe),e.show()},renderError:()=>{e=yEe(yVe),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function EEe(e){TEe=e}function TVe(){EEe("")}function AEe(){return new Promise(e=>{xEe=e})}function SVe(){SEe=AEe()}function wVe(){return S.querySelector("#"+WD)}function CVe(){let e=wVe();e&&e.replaceChildren()}function EVe(e,t){e.setConfig({...e.getConfig(),...t})}function vEe(e,t,o){let n=o||null;xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"arkose-result",labInstanceId:n,userInstanceId:t,message:e}})}async function AVe(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function yEe(e){let t=S.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let o=QD(i8,e).create();return Fd(i8,YD,()=>{location.reload()}),o.bind(i8,Xs),o.appendTo(t),new be(t)}A();var PVe=new Promise(()=>{});A();ze();async function Xl(e,t){let o=await Xu(t);if(!o||!e)return;let n=e.hasOwnProperty("parents");if(Ut){let s=a=>"/"+a.split("/").slice(2).join("/");e&&(e=Ga(e),e.url=s(e.url)),n&&e&&e.parents&&(e.parents[0].url=s(e.parents[0].url))}let r=L("page_kind");switch(r){case"appliedSkills":o.add({title:dn,url:`/${o.basePath}/credentials`},{title:ac,url:`/${o.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":o.add({title:dn,url:`/${o.basePath}/credentials`},{title:ac,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"appliedSkillsAssessmentReport":o.add({title:dn,url:`/${o.basePath}/credentials`},{title:ac,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"role":case"certification":o.add({title:w.previewCredentialsL1?dn:Ki,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?ac:Td,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"certificationrenewal":o.add({title:w.previewCredentialsL1?dn:Ki,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?ac:Td,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"certificationRenewalAssessment":case"certificationRenewalAssessmentReport":o.add({title:w.previewCredentialsL1?dn:Ki,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?ac:Td,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e?.url}/`},{title:CN,url:`/${o.basePath}${e?.url}/renew/`});break;case"examination":o.add({title:w.previewCredentialsL1?dn:Ki,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?ac:Td,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":o.add({title:w.previewCredentialsL1?dn:Ki,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?ac:Td,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}/`});break;default:throw new Error(`Unsupported page_kind "${r}".`)}o.render()}var bp=class{constructor(t,o=1){this.dateFormat=o;this.totalTimeLeft=0;this.isExpired=!1;this.endDate=t;let n=setInterval(()=>{this.setTotalTimeLeft(),this.isExpired=this.totalTimeLeft<=0,this.isExpired&&clearInterval(n)},1e3)}setTotalTimeLeft(){this.totalTimeLeft=this.endDate.getTime()-new Date().getTime()}get seconds(){return Math.floor(this.totalTimeLeft/1e3%60)}get mins(){return Math.floor(this.totalTimeLeft/1e3/60%60)}get hrs(){return this.dateFormat===0?Math.floor(this.totalTimeLeft/(1e3*60*60)):Math.floor(this.totalTimeLeft/(1e3*60*60)%24)}get days(){return Math.floor(this.totalTimeLeft/(1e3*60*60*24))}get displayFormat(){let t="";return this.days>0&&(t+="d"),this.hrs>0&&(t+="h"),this.mins>0&&(t+="m"),this.seconds>0&&(t+="s"),this.getDateFormat(t)}addLeadingZero(t){return t<10?`0${t}`:t}getDateFormat(t){let o="dhms";if(this.dateFormat===1)return t.length>=2?t.substr(0,2):t.length===1&&"dh".indexOf(t)>-1?o.substr("dh".indexOf(t),2):"ms";if(this.dateFormat===0)return"hms";throw new Error("Invalid date format used in DateCountdown")}};O([V],bp.prototype,"endDate",2),O([V],bp.prototype,"totalTimeLeft",2),O([V],bp.prototype,"isExpired",2);var DVe=W` ${e=>e.displayFormat.indexOf("d")>-1?`${yy.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${bJ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Dp.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${Fne.replace("{seconds}",e.seconds.toString())}`:null} `,$Ve=W` ${po(e=>[{value:e.hrs,label:Ed},{value:e.mins,label:Ey},{value:e.seconds,label:o0}],W` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Ie((e,t)=>!t.isLast,W` : `)} `,{positioning:!0})} `,kEe=W` ${Ie(e=>e.totalTimeLeft>0,W` ${Ie(e=>e.dateFormat===1,DVe)} ${Ie(e=>e.dateFormat===0,$Ve)} `)} `;A();A();var qVe={"applied-skill":{0:{0:["api-branch","display-captcha","skip-verification","themebranch"],1:[]},1:{0:["api-branch","display-captcha","skip-verification","snapshotId","themebranch"],1:["snapshotId"]},2:{0:["api-branch","display-captcha","skip-verification","snapshotId","themebranch"],1:["snapshotId"]}},practice:{0:{0:["api-branch","practice-assessment-type","themebranch"],1:["practice-assessment-type"]},1:{0:["assessmentId","assessment-type","practice-assessment-type","preview","snapshot-version","api-branch","themebranch"],1:["assessmentId","assessment-type","practice-assessment-type"]},2:{0:["assessmentId","practice-assessment-type","preview","snapshotId","snapshot-version","api-branch","themebranch"],1:["assessmentId","practice-assessment-type","snapshotId"]}},renewal:{0:{0:["assessmentId","snapshot-version","skip-verification","api-branch","themebranch"],1:[]},1:{0:["accommodationRequested","assessmentId","certification-id","preview","skip-verification","snapshot-version","api-branch","themebranch"],1:["assessmentId"]},2:{0:["assessmentid","snapshotId","skip-verification","snapshot-version","preview","api-branch","themebranch"],1:["snapshotId"]}}};function vo(e){let t={"applied-skill":"credentials/applied-skills",practice:`credentials/certifications${te()["practice-assessment-type"]==="certification"?"":"/exams"}`,renewal:"credentials/certifications"},o={"applied-skill":"applied-skill",practice:`${te()["practice-assessment-type"]==="certification"?"certification":"exam"}`,renewal:"certification"},n={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},r={"applied-skill":"",practice:"practice",renewal:"renew"},s={0:"",1:"assessment",2:"results"},a={accommodationRequested:jve(),"api-branch":te()["api-branch"],assessmentid:e.query?.assessmentid,assessmentId:e.query?.assessmentId,"assessment-type":e.assessmentType,"certification-id":e.credentialId,"display-captcha":e.query?.["display-captcha"]??te()["display-captcha"],"practice-assessment-type":te()["practice-assessment-type"],preview:te().preview,"skip-verification":e.query?.["skip-verification"]??ZS(),snapshotId:e.query?.snapshotId,"snapshot-version":XS(),themebranch:te().themebranch},i=qVe[e.assessmentType][e.pageType][R.reviewFeatures?0:1],l={origin:J.origin+"/",locale:it.userLocale+"/",test:Ut?"test/training/":"",credentialType:t[e.assessmentType].replace(Ut&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+o[e.assessmentType]+"."),"").replace(Ut?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:n[e.assessmentType].includes(e.pageType)?r[e.assessmentType]+"/":"",pageType:s[e.pageType],query:i.length?"?"+ne(i.reduce((d,p)=>(d[p]=a[p],d),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}A();var c8=class{constructor(t,o,n,r,s){this.location=t;this.dataBinding=o;this.templateBinding=r;this.source=null;this.view=null;this.data=null;this.originalContext=void 0;this.childContext=void 0;this.dataBindingObserver=to.binding(o,this,n),this.templateBindingObserver=to.binding(r,this,s)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.data=this.dataBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.refreshView()}unbind(){this.source=null,this.data=null,this.view!==null&&this.view.unbind(),this.dataBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t){t===this.dataBinding?(this.data=this.dataBindingObserver.observe(this.source,this.originalContext),this.refreshView()):t===this.templateBinding&&(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshView())}refreshView(){this.view!==null&&this.view.dispose(),this.view=this.template.create(),this.view.bind(this.data,this.childContext),this.view.insertBefore(this.location)}},d8=class extends Gl{constructor(o,n){super();this.dataBinding=o;this.templateBinding=n;this.createPlaceholder=Et.createBlockPlaceholder;this.isBindingVolatile=to.isVolatileBinding(o),this.isTemplateBindingVolatile=to.isVolatileBinding(n)}createBehavior(o){return new c8(o,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function oo(e,t){let o=typeof t=="function"?t:()=>t;return new d8(e,o)}A();function KD(e){let t=function(){let s=L("sourceContentUid");return s?s.split(".")[1]:e.pathname.split("/")[Ut?6:4]}(),o=e.searchParams.get("display-captcha"),n=e.searchParams.get("snapshotId"),r=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:o,skipverification:r,snapshotId:n}}function JD(e,t,o){let r=S.title.split("|").pop();return`${t.replace(o,e)} | ${r}`}var u8=W`

        ${e=>e.title}

        ${e=>e.msg}

        ${e=>e.primaryButton.text} ${Ie(e=>"secondaryButton"in e,W` ${e=>e.secondaryButton.text}`)}
        `;function p8(e){return REe({buttonText:e,template:LEe(),hasPrimaryButton:!0,isDisabled:!0})}function LEe(){return W`

        ${zV}

        ${oo(e=>e,kEe)}

        `}function REe(e){let t=e.isDisabled?"disabled":"",o=e.hasPrimaryButton?"button-primary":"";return W`
        ${oo(n=>n,e.template)}
        `}function FVe(e){let o=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),n=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),r=XV;return{alertText:{approved:Wo(eG),new:tG,denied:kN,defaultMSg:r}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:o,isDisabled:n}}function m8(e){let{alertText:t,hasPrimaryButton:o}=FVe({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return REe({buttonText:e.buttonText,template:W`
        ${Et.createHTML(Wo(t))}
        `,hasPrimaryButton:o,isDisabled:!0})}A();var qEe={InvalidRequest:NV,LabError:qV,SubscriptionUnavailable:LV,NotAllowed:Wo(FV),InvalidCaptchaToken:FA,default:$d};var ZD=class{},Dv=class{},XD=class{},eC=class{};var f8={title:Cd,type:"static",imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:Dd,description:PV,buttonText:kd,event:Dv};var FEe={title:RV,type:"static",imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:MV,description:DV,buttonText:$V,event:eC};var OEe="labStatusReporter",GVe="fullScreenMessageTitle",jVe="fullScreenProgressText",QVe="fullScreenProgressWrapper",gjo=`#${GVe}`,fjo=`#${QVe} > #${jVe}`,UEe="labclient.labondemand.com";var h8=(l=>(l.loadingYourLabContent="loading your lab content",l.labEnvironmentBeingBuilt="your lab environment is being built",l.thisCanTakeSeveralMinutes="this can take several minutes",l.virtualMachinesStarting="your virtual machines are starting",l.resuming="resuming",l.preparing="preparing",l.labSetup="lab setup",l.checkingBrowserCapabilities="checking browser capabilities",l))(h8||{}),b8=(o=>(o.labCouldNotBeLaunched="sorry, your lab could not be launched",o.launchError="launch error",o))(b8||{});function ec(e,t,o,n){switch(o&&e.updateProgress(o),t){case"labInitialized":e.start();break;case"successfullyLoaded":e.succeed();break;case"iframeFailure":case"serverBadRequest":e.fail(n);break;case"unauthorized":case"labNotFound":case"labPreviouslyScored":case"userNavigatedAway":e.cancel();break;case"reportLabProgress":case"labErrorFound":break}}var ji=class extends Be{constructor(o,n){super();this.appliedSkillAssessment=null;this.viewState=0;this.modal=null;this.hasLabConnected=!1;this.captchaToken="";this.mostRecentLabStatusMessage=null;this.appliedSkillScenarioTimeout=6e5;this.reportTelemetry=o=>{if(o.id){this._services.reportLabStatus({id:o.id,message:o.message??null});return}o.message&&(this.mostRecentLabStatusMessage=o.message)};this.urlContext=n,this._services=o,this.launchLabScenario=new xr("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=r=>{if(r&&r.origin.startsWith("https://")&&r.origin.endsWith(UEe)&&r.data)try{let s=JSON.parse(r.data);s.event_id===OEe&&(this.updateLabConnected(s),this.reportScenarioHealth(s),this.reportUpdatedTelemetry(s))}catch{}},this.onBeforeUnloadHandler=r=>{r.preventDefault(),r.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{ec(this.launchLabScenario,"userNavigatedAway")}}async initialize(){window.addEventListener("message",this.onMessageHandler,!1),window.addEventListener("visibilitychange",this.userNavigatedAway,!1),await this.initAppliedSkillSession(this.urlContext)}async submit(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.scoreAppliedSkillAssessment(this.urlContext.snapshotId)}finally{setTimeout(()=>{J.href=e1(2,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}}async cancel(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId),setTimeout(()=>{J.href=e1(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new Zw)}}async expireTime(){try{let o=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),r=Date.parse(o.labSession.expiresAt);if(r<=n){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let s=Fd(this,eC,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(FEe).then(()=>{s(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=o.labSession.expiresAt;let s=r-Date.now();setTimeout(this.expireTime.bind(this),s)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let o=Fd(this,Dv,()=>{J.reload()});this.showModal(f8).then(n=>{o()})}}showModal(o){let n=document.createElement("div");n.classList.add("modal-content","margin-none","width-full"),n.tabIndex=-1;let r=QD(this,o).create();return r.bind(this,Xs),r.appendTo(n),this.modal=new be(n),this.modal.show()}async getCaptchaToken(){return Kw("Applied Skills"),await CEe().catch(o=>{throw this.viewState=3,o})}reportScenarioHealth(o){if(o.errors.length>0&&ec(this.launchLabScenario,"labErrorFound",o.errors.join(", ")),o.currentConnectionState===1)ec(this.launchLabScenario,"successfullyLoaded");else if(o.messageProgressTitle){let n=this.getScenarioHealthEventFromMessageTitle(o.messageProgressTitle);n&&(n==="iframeFailure"?ec(this.launchLabScenario,n,void 0,o.messageProgressTitle):ec(this.launchLabScenario,n,o.messageProgressTitle))}}updateLabConnected(o){o.currentConnectionState===1&&(this.hasLabConnected=!0)}reportUpdatedTelemetry(o){o.currentConnectionState!==o.lastConnectionState&&this.reportTelemetry({id:this.appliedSkillAssessment?.labSession?.labSessionId,message:o})}getScenarioHealthEventFromMessageTitle(o){let n=new Map([[b8,"iframeFailure"],[h8,"reportLabProgress"]]);for(let[r,s]of n)if(Object.values(r).some(a=>o.includes(a)))return s;return null}async initAppliedSkillSession(o){try{ec(this.launchLabScenario,"labInitialized");let n=!!o.snapshotId;if(this.appliedSkillAssessment=n?await this._services.getAppliedSkillAssessment(o.snapshotId,this.captchaToken):await this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification,R.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async s=>{let a=s,i=await Wp(a);if(a.type==="BadRequestError"){if(i==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification);throw a.response.errorCode=i||void 0,a}throw s}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){ec(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{J.href=e1(2,o,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let r=new URL(J.href);r.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Yn.replaceState(null,"",r),Xl({title:this.appliedSkillAssessment.appliedSkill.title??PC,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(ZD,this.submit.bind(this)),this.subscribe(XD,this.cancel.bind(this)),document.title=JD(this.appliedSkillAssessment.appliedSkill.title??PC,Wo(IV),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(n)}catch(n){let r=n,s=await Wp(r)??r.response?.errorCode;if(r.type==="NotFoundError"){ec(this.launchLabScenario,"labNotFound");let a=new URL(J.href);a.searchParams.delete("snapshotId"),Yn.replaceState(null,"",a),this.viewState=3;return}if(r.type==="UnauthorizedError"||s==="QuotaExceeded"||w.disabledAppliedSkills&&s==="AppliedSkillDisabled")ec(this.launchLabScenario,"unauthorized"),J.href=e1(0,this.urlContext);else{ec(this.launchLabScenario,"serverBadRequest",void 0,n);let a=Fd(this,Dv,()=>{J.reload()}),i=Object.assign({},f8,{message:Dd,description:qEe[s??"default"]});this.showModal(i).then(l=>{a()})}}}setTesting(){let n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt)-Date.now();setTimeout(this.expireTime.bind(this),n),window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.viewState=2}checkEstimatedReadyAt(o=!1){let r=(Date.parse(this.appliedSkillAssessment.labSession.estimatedReadyAt)||-1/0)-Date.now();o||r<=0||this.hasLabConnected?this.setTesting():(this.viewState=1,setTimeout(this.checkEstimatedReadyAt.bind(this),1e3))}};O([V],ji.prototype,"appliedSkillAssessment",2),O([V],ji.prototype,"urlContext",2),O([V],ji.prototype,"viewState",2),O([V],ji.prototype,"modal",2),O([V],ji.prototype,"hasLabConnected",2),O([V],ji.prototype,"captchaToken",2),O([V],ji.prototype,"mostRecentLabStatusMessage",2),O([V],ji.prototype,"subscription",2);function e1(e,t,o){return vo({credentialId:t.credentialId,credentialPathname:o??void 0,assessmentType:"applied-skill",pageType:e,query:{"display-captcha":t.displayCaptcha,snapshotId:e===2?t.snapshotId:void 0,"skip-verification":t.skipverification}})}var YVe={loadingContext:{loadingType:!S.referrer||new URL(S.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,o,n)=>vo({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:o,query:{"display-captcha":n,snapshotId:void 0,"skip-verification":void 0}}),profileOverviewPageUrl:co("me","certifications")}},loadedContext:{reportSummary:{passed:{titleDate:e=>e,imgSrc:e=>e||"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main",shareMsg:Fy,supertitle:Wo(KV),title:e=>e||b$},failed:{supertitle:RC,title:e=>e||b$}},reportScores:{scoresTitle:VV,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Wo(QV),studyGuideItemsTitle:jV}},errorContext:{reportError:e=>({NotFoundError:{title:ri,msg:h$,primaryButton:{text:LC,url:vo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Cd,msg:JV,primaryButton:{text:LC,url:vo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var t1=W` ${Ie(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Ie(e=>e.viewConfig.loadingContext.loadingType===0,W`

        ${GV}

        ${Et.createHTML(YV.replace("{duration}","60"))}

        `)} `;var tC=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&R.accessLevel!=="local"&&!k.isAuthenticated&&Uo(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let o=new URL(location.href);o.searchParams.delete("snapshotId"),Yn.replaceState(null,"",o)}}};O([V],tC.prototype,"errorType",2);var _8=e=>W`${oo(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],u8)}`,VEe=W` ${Ie(e=>e.reportError.errorType==="NotFoundError",_8())} ${Ie(e=>e.reportError.errorType==="UnauthorizedError",_8("UnexpectedError"))} ${Ie(e=>e.reportError.errorType==="UnexpectedError",_8())} ${Ie(e=>e.reportError.errorType==="TimeoutError",t1)} `;var tc=class{constructor({high:t=0,low:o=0,max:n=1,min:r=0,optimum:s=0,value:a=0,classModifiers:i=""}){this.high=t,this.low=o,this.max=n,this.min=r,this.optimum=s,this.value=a,this.classModifiers=i}};O([Mr],tc.prototype,"high",2),O([Mr],tc.prototype,"low",2),O([Mr],tc.prototype,"max",2),O([Mr],tc.prototype,"min",2),O([Mr],tc.prototype,"optimum",2),O([Mr],tc.prototype,"value",2),O([V],tc.prototype,"classModifiers",2);var oc=class{constructor(t){this.correctPercent=t.correctPercent,this.overallMeter=this.createMeter(t.correctPercent,t.passingPercent),this.passed=t.passed,this.passingPercent=t.passingPercent,this.scoredAt=t.scoredOn,this.scores=this.createMeters(t.scores)}createMeter(t,o,n){return new tc({high:100,low:o,max:100,optimum:o,value:t,classModifiers:n})}createMeters(t){return t.map(o=>({...o,meter:this.createMeter(o.correctPercent,o.passingPercent,"is-small")}))}};O([V],oc.prototype,"correctPercent",2),O([V],oc.prototype,"overallMeter",2),O([V],oc.prototype,"passed",2),O([V],oc.prototype,"passingPercent",2),O([V],oc.prototype,"scoredAt",2),O([V],oc.prototype,"scores",2);var GEe=W`
        `,jEe=W`

        ${e=>e.reportScores.passed?ly:iy}

        ${h7} ${e=>Ha.format(e.reportScores.scoredAt)}

        ${C7}${e=>zC.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?ly:iy}

        ${e=>x7.replace("{percent}",e.reportScores.passingPercent.toString())}

        ${oo(e=>e.reportScores.overallMeter,GEe)}

        ${e=>e.viewConfig.loadedContext.reportScores.scoresTitle}

        ${po(e=>e.reportScores.scores,W`
        ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===0,W` e.passed?"background-color-success":"background-color-danger"}" aria-hidden="true" > `)}

        ${e=>e.title}

        ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,W` ${oo(e=>e.meter,GEe)}`)}
        `,{positioning:!0})}
        ${Ie(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,W` `)}
        `;A();async function o1(e,t,o=BG){let n=document.createElement("div");n.classList.add("modal-content");let r=new be(n),s=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),a=u` `;y(a,r.contentElement),r.contentElement.querySelector("button[type=submit]").onclick=async i=>{if(!k.isAuthenticated)return;i.preventDefault(),i.target.classList.add("is-loading");let c=document.getElementById("save-to-collection");(await KM(c,t)).hasError||(r.hide(),Ew("added"))},r.show()}var $v=class{constructor(t){this.credentialId=t.credentialId,this.assessmentId=t.assessmentId,this.credentialUrl=t.credentialUrl,this.studyGuide=t.studyGuide,this.hasStudyGuideSummaries=this.studyGuide?.items.length>0}};O([V],$v.prototype,"hasStudyGuideSummaries",2),O([V],$v.prototype,"studyGuide",2);var KVe=W`
        ${_7}
        ${Ie(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W` ${qC} `)} `,JVe=W`
        ${e=>e.type.toLowerCase()==="path"?Lf:wr} ${e=>e.data.title} ${e=>Hn(e.data.durationInMinutes)}
        `,ZVe=W`

        ${e=>OC.replace("{section}",e.data.title)}

        `,XVe=W`

        ${WV}

        ${UV}

        ${po(e=>e.reportStudyGuide.studyGuide.items,W` ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,JVe)} ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,ZVe)} `)} `,QEe=W`

        ${e=>e.viewConfig.loadedContext.reportStudyGuide.studyGuideItemsTitle}

        ${Ie(e=>!e.reportStudyGuide.hasStudyGuideSummaries,KVe)} ${Ie(e=>e.reportStudyGuide.hasStudyGuideSummaries,XVe)}
        `;var Ko=class{constructor(t){this.assessmentId=t.assessmentId,this.credentialExpiresOn=t.credentialExpiresOn,this.credentialIcon=t.credentialIcon,this.credentialId=t.credentialId,this.credentialName=t.credentialName,this.credentialUrl=t.credentialUrl,this.dateCountdown=new bp(t.retakeEligibleOn,0),this.eligibleToRenewByDate=t.eligibleToRenewByDate,this.isCurrentlyEligible=t.isCurrentlyEligible,this.isDisabled=t.isDisabled,this.passed=t.passed,this.profileUrl=t.profileUrl,this.retakeEligibleOn=t.retakeEligibleOn,this.scoredOn=t.scoredOn,this.shareableUrl=t.shareableUrl,this.titleDate=t.titleDate,this.riskData=t.riskData}};O([V],Ko.prototype,"assessmentId",2),O([V],Ko.prototype,"credentialExpiresOn",2),O([V],Ko.prototype,"credentialIcon",2),O([V],Ko.prototype,"credentialId",2),O([V],Ko.prototype,"credentialName",2),O([V],Ko.prototype,"credentialUrl",2),O([V],Ko.prototype,"dateCountdown",2),O([V],Ko.prototype,"eligibleToRenewByDate",2),O([V],Ko.prototype,"isCurrentlyEligible",2),O([V],Ko.prototype,"isDisabled",2),O([V],Ko.prototype,"passed",2),O([V],Ko.prototype,"profileUrl",2),O([V],Ko.prototype,"retakeEligibleOn",2),O([V],Ko.prototype,"scoredOn",2),O([V],Ko.prototype,"shareableUrl",2),O([V],Ko.prototype,"titleDate",2),O([V],Ko.prototype,"riskData",2);var eGe=W`
        ${Ie(e=>"supertitle"in e.viewConfig.loadedContext.reportSummary.passed&&!!e.reportSummary?.credentialName,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.supertitle}

        `)}

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.title(e.reportSummary?.credentialName||"")}

        ${Ie(e=>!!e.reportSummary?.scoredOn,W`

        ${e=>e.reportSummary?.titleDate}

        `)} ${Ie(e=>"dateMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.dateMsg}

        `)} ${Ie(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,W` ${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt} `)} ${Ie(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`
        ${Ie(e=>"profileUrl"in e.reportSummary,W` ${OV} `)} ${Ie(e=>w.appliedSkillsShare,W`
        ${e=>GD("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:Mw(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Wo(p$),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Wo(u$),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,tGe=W` ${Ie(e=>!!e.reportSummary?.credentialName,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.supertitle}

        `)}

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.title(e.reportSummary?.credentialName||"")}

        ${Ie(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.detailsPageBtnTxt}

        `)} ${e=>w.disabledAppliedSkills&&((e.reportSummary?.isDisabled??!1)||e.reportSummary?.riskData?.userStatus==="NotAllowed")?m8({buttonText:qA,isDisabled:!0,riskData:{appealStatus:e.reportSummary?.riskData?.appealStatus,userStatus:e.reportSummary?.riskData?.userStatus}}):e.reportSummary?.isCurrentlyEligible?W` ${Ie(t=>"eligibleTitle"in t.viewConfig.loadedContext.reportSummary.failed,W`

        ${t=>t.viewConfig.loadedContext.reportSummary.failed.eligibleTitle}

        `)} ${Ie(t=>"eligibleMsg"in t.viewConfig.loadedContext.reportSummary.failed&&!!t.reportSummary?.eligibleToRenewByDate,W`

        ${t=>t.viewConfig.loadedContext.reportSummary.failed.eligibleMsg(t.reportSummary?.eligibleToRenewByDate||new Date(0))}

        `)} ${qA} `:W`${oo(t=>t.reportSummary.dateCountdown,p8(qA))}`}`,YEe=W`
        ${Ie(e=>e.reportSummary?.passed,eGe)} ${Ie(e=>!e.reportSummary?.passed,tGe)}
        `;var Ja=class{constructor(t){this.viewState=2;(async()=>{let o=t.urlContext??KD(new URL(location.href));this.urlContext=o;let n;this.viewConfig=t.viewConfig;let r;try{n=await t.getAssessmentReport(o),this.reportSummary=new Ko(n),this.reportScores=new oc(n),this.reportStudyGuide=new $v(n),this.passed=n.passed,r=1}catch(s){let i=await Wp(s);if(i==="TimeoutError"||i==="ScoringTimeout"){location.reload();return}this.reportError=new tC({error:s,urlContext:o}),r=0}finally{this.viewState=r,t.afterActivated(n?{credentialName:n.credentialName,credentialUrl:n.credentialUrl}:null)}})()}};O([V],Ja.prototype,"passed",2),O([V],Ja.prototype,"reportError",2),O([V],Ja.prototype,"reportScores",2),O([V],Ja.prototype,"reportStudyGuide",2),O([V],Ja.prototype,"reportSummary",2),O([V],Ja.prototype,"urlContext",2),O([V],Ja.prototype,"viewConfig",2),O([V],Ja.prototype,"viewState",2);var WEe=W` ${Ie(e=>e.viewState===2,t1)} ${Ie(e=>e.viewState===1,W`
        ${oo(e=>e,YEe)} ${oo(e=>e,jEe)} ${Ie(e=>!e.passed,W`${oo(e=>e,QEe)}`)}
        `)} ${Ie(e=>e.viewState===0,VEe)} `;function KEe(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var n1=class{constructor(t){this.sessionId=F2(t.sessionId)}};var v8={async createSession(e){if(!w.assessmentMergerLearnAssessment)return ud.createSession(e);let t=ne({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),o=`${q.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,r=K(o,{method:"POST"}),s=await M(r);if(fe(s),s.ok)return await s.json();throw s.status===400?new Oe(s,"BadRequestError"):s.status===401?new Oe(s,"UnauthorizedError"):s.status===404?new Oe(s,"NotFoundError"):new Oe(s,"UnexpectedError")},async getSessionAnswerSummary(e){if(!w.assessmentMergerLearnAssessment)return ud.getSessionAnswerSummary();let t=`${q.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,n=K(t,{method:"GET"}),r=await M(n);if(fe(r),r.ok)return await r.json();throw r.status===400?new Oe(r,"BadRequestError"):r.status===401?new Oe(r,"UnauthorizedError"):r.status===404?new Oe(r,"NotFoundError"):new Oe(r,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!w.assessmentMergerLearnAssessment)return ud.getPreviousAttemptsByParentId();let t=`${q.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,n=K(t,{method:"GET"}),r=await M(n);if(fe(r),r.ok)return await r.json();throw new Oe(r,"UnexpectedError")},async getRenewalEligibility(){if(!w.assessmentMergerLearnAssessment)return ud.getRenewalEligibility()},async getSessionResult(e){if(!w.assessmentMergerLearnAssessment)return ud.getSessionResult();let t=`${q.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,n=K(t,{method:"GET"}),r=await M(n);if(fe(r),r.ok)return await r.json();throw r.status===400?new Oe(r,"BadRequestError"):r.status===401?new Oe(r,"UnauthorizedError"):r.status===404?new Oe(r,"NotFoundError"):new Oe(r,"UnexpectedError")},async submitSession(e){if(!w.assessmentMergerLearnAssessment)return ud.submitSession();let t=`${q.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,o={method:"PUT",body:JSON.stringify(e.userSelections)},n=K(t,o),r=await M(n);if(fe(r),r.ok)return await r.json();throw r.status===400?new Oe(r,"BadRequestError"):r.status===401?new Oe(r,"UnauthorizedError"):r.status===404?new Oe(r,"NotFoundError"):new Oe(r,"UnexpectedError")}};var rKo=R.supportLevel==="production"&&R.reviewFeatures?"include":void 0;var JEe=async(e,t,o)=>{if(!w.assessmentMergerPracticeAssessment){if(R.accessLevel==="local")return Promise.resolve([{question:{type:"SingleSelect",text:"This is the first question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]},{question:{type:"MultiSelect",text:"This is the second question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1},{id:2,locale:"en-us",text:"Answer 2",isCorrect:!1},{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0}],correctChoice:[{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0},{id:4,locale:"en-us",text:"Answer 4",isCorrect:!0},{id:5,locale:"en-us",text:"Answer 5",isCorrect:!0}]},{question:{type:"SingleSelect",text:"This is the third question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]}]);let n=`${q.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${ne({locale:o})}`,s=K(n,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),a=await M(s);if(fe(a),a.ok)return await a.json();throw new Error(`get practice answer summary api responded with ${a.status} ${a.statusText}`)}return new ZR(await v8.getSessionAnswerSummary(new n1({sessionId:t})),o).items};A();A();A();ze();A();async function XEe(){let e=`${q.profile.reporting}/createInvitation`,o=await M(K(e,{method:"POST"}));if(o.ok)return await o.json();throw new Error(`createInvitation api responded with ${o.status} ${o.statusText}`)}async function eAe(){let e=`${q.profile.reporting}/status`,t=await M(K(e));if(t.status===404)return null;if(t.ok)return await t.json();throw new Error(`Invitation status api responded with ${t.status} ${t.statusText}`)}A();async function nAe(){await Se,L("req_accommodation")==="true"&&sGe(),L("org_reporting")==="true"&&await aGe()}function sGe(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=te(),o=e.firstElementChild.firstElementChild;o.href=`${t}&accommodationRequested=true`}async function aGe(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let o=t.innerText;if(await ve,k.isAuthenticated){let n,r=te().signInRedirect;if(k.userType==="standard")return r==="true"&&(Bt({signInRedirect:null},"replaceState"),r1(null,oAe)),tAe("msa-error",oAe,e,o);try{n=await eAe()}catch{return tAe("error",sAe,e,o)}if(r==="true"&&pGe(n),n)return uGe(n,e,o);let s=u``;y(s,e)}else{let n=iAe(),r=u``;y(r,e)}}async function rAe(){let e=document.createElement("div"),t=new be(e);return y(iGe(t),e),await t.show()}function iGe(e){let t=u`

        ${N(YZ)}

        `,o=QZ,n=u`
        `;return oC(o,t,n)}async function lGe(e){cGe();try{let t=await XEe();J.href=t.nextStepUrl}catch{r1(e,sAe)}}function cGe(){let e=document.getElementById("cancel-terms"),t=document.getElementById("continue-terms"),o=document.getElementById("create-invitation-alert");t&&(t.classList.add("is-loading"),o.setAttribute("role","alert"),o.textContent=jZ,e.setAttribute("disabled",""))}async function r1(e,t){return(async n=>{e?e.pushContent(n):(e=new be(n),await e.show())})(t()),await e.show()}function tAe(e,t,o,n){let r=u``;y(r,o),document.getElementById(e)?.addEventListener("click",()=>r1(null,t))}function sAe(){let e=document.createElement("div"),t=u`

        ${N(zZ)}

        `,o=HZ,n=u` `;return y(oC(o,t,n),e),e}function oAe(){let e=iAe(),t=document.createElement("div"),o=u`

        ${N(JZ)}

        `,n=KZ,r=u` `;return y(oC(n,o,r),t),t}async function aAe(e){let t=document.createElement("div"),o=new be(t);return y(dGe(e),t),await o.show()}function dGe(e){let t=u`

        ${N(VZ)}

        `,o=BZ,n=u` ${ZZ} `;return oC(o,t,n)}function uGe(e,t,o){let n=e.status==="Accepted",r=e.nextStepUrl;if(n){let s=u``;y(s,t)}else{let s=u`${o}`;y(s,t)}}function pGe(e){let t=e&&e.status==="Accepted",o=e&&e.status==="Pending",n=e&&e.nextStepUrl;return Bt({signInRedirect:null},"replaceState"),t?aAe(n):o?J.href=e.nextStepUrl:rAe()}function iAe(){return J.search?`${J.pathname}${J.search}&signInRedirect=true`:`${J.pathname}?signInRedirect=true`}function oC(e,t,o){return u` `}A();jp();A();async function y8(e,t){let o=L("sourceContentUid"),n=t.searchParams.get("assessment-type"),r=await async function(){let l,c=n==="practice";if(o)try{l=(await lt.getListsItems([o]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),s=function(){return o?o.split(".")[1]:!R.reviewFeatures||!Ut?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),a=t.searchParams.get("practice-assessment-type"),i=ZS();return{assessmentId:r,certificationId:s,assessmentType:n,practiceAssessmentType:a,skipVerification:i,isPreview:i==="true",omitScoring:Qve(),snapshotVersion:XS(),showAllQuestions:Gve()}}A();A();A();A();A();A();var Htn={allEmail:!0,autoFollowAsked:!0,autoFollowAnswered:!0,autoFollowCommented:!0,autoFollowTagged:!1,emailEventSettings:{questionUpdated:"off",questionPosted:"off",unansweredQuestions:"off",newModeration:"instant",newFollower:"off",newMention:"instant",answerUpdated:"off",answerPosted:"instant",answerAccepted:"instant",commentPosted:"instant",newPrivateMessage:"instant"}};A();var don=new URL(q.auth.partner).pathname;A();function uAe(){return u`
        ${qse}
        • ${Fse}
        • ${Ose}
        • ${Use}
        `}var kGe={qna:{contextualCard:uAe(),cancelRegistrationMessage:String(Hse),isEnabled:L("page_kind")!=="register"}},Kon=te();A();var nC=class{constructor(t,o){this.question=t;this.questionNumber=o}},rC=class{},af=class{constructor(t){this.questionResponses=t}},sC=class{};var mAe=W` ${Ie(e=>e.scenarioDescription,W`
        `)}
        ${po(e=>e.choices[0].choices,W``)} ${po(e=>e.choices[0].choices,W` `)} ${po(e=>e.choices,W` ${po(e=>e.choices,W` `)} `,{positioning:!0})}
        `,Nv=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};O([V],Nv.prototype,"id",2),O([V],Nv.prototype,"text",2),O([V],Nv.prototype,"isSelected",2);var lf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(o=>new Nv(o)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}};O([V],lf.prototype,"id",2),O([V],lf.prototype,"text",2),O([V],lf.prototype,"description",2),O([V],lf.prototype,"choices",2);var fd=class{constructor(t){this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=t.uid,this.questionType="Matrix",this.id=t.uid,this.choices=t.questions.map(o=>new lf(o)),this.fullyQualifiedId=t.questions[0].fullyQualifiedId}validate(){return this.choices.reduce((t,o)=>t&&o.validate(),!0)}async checkUserAnswer(){}serialize(){return this.choices.map(t=>({fullyQualifiedQuestionId:t.id,value:t.choices.filter(o=>o.isSelected).map(o=>o.id)}))}};O([V],fd.prototype,"uid",2),O([V],fd.prototype,"questionType",2),O([V],fd.prototype,"scenarioTitle",2),O([V],fd.prototype,"scenarioDescription",2),O([V],fd.prototype,"choices",2),O([V],fd.prototype,"id",2);function s1(e){try{let t=document.createElement("template");return t.innerHTML=e,t.content.querySelectorAll("a").forEach(o=>o.target="_blank"),t.innerHTML}catch{return e}}var gAe=W`
        ${s7}
        ${po(e=>e.choices,W`
        ${(e,t)=>W` ${Ie(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${Ip}`:""} ${o=>o.isCorrect===!0?W`${Pp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,qv=class{constructor(t){this.isSelected=!1;this.text=t}};O([V],qv.prototype,"id",2),O([V],qv.prototype,"text",2),O([V],qv.prototype,"isSelected",2),O([V],qv.prototype,"isCorrect",2);var ia=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=s1(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};O([V],ia.prototype,"uid",2),O([V],ia.prototype,"questionTitle",2),O([V],ia.prototype,"questionDescription",2),O([V],ia.prototype,"questionType",2),O([V],ia.prototype,"scenarioTitle",2),O([V],ia.prototype,"scenarioDescription",2),O([V],ia.prototype,"choices",2),O([V],ia.prototype,"id",2),O([V],ia.prototype,"rationale",2),O([V],ia.prototype,"displayAnswer",2);var fAe=W`
        ${t7}
        ${po(e=>e.choices,W`
        ${(e,t)=>W` ${Ie(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${Ip}`:""} ${o=>o.isCorrect===!0?W`${Pp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,Fv=class{constructor(t){this.isSelected=!1;this.text=t}};O([V],Fv.prototype,"id",2),O([V],Fv.prototype,"text",2),O([V],Fv.prototype,"isSelected",2),O([V],Fv.prototype,"isCorrect",2);var la=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=s1(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};O([V],la.prototype,"uid",2),O([V],la.prototype,"questionTitle",2),O([V],la.prototype,"questionDescription",2),O([V],la.prototype,"questionType",2),O([V],la.prototype,"scenarioTitle",2),O([V],la.prototype,"scenarioDescription",2),O([V],la.prototype,"choices",2),O([V],la.prototype,"id",2),O([V],la.prototype,"rationale",2),O([V],la.prototype,"displayAnswer",2);var cf=class{constructor(t,o,n,r,s,a,i,l){this.assessmentId=t,this.certificationUid=o,this.skipVerification=r,this.snapshotVersion=s,this.error=i,this.retry=l||(()=>{}),this.reportPageUrl=vo({assessmentType:a,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:n,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=vo({assessmentType:a,pageType:0,credentialId:this.certificationUid,credentialPathname:n,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};O([V],cf.prototype,"error",2),O([V],cf.prototype,"reportPageUrl",2),O([V],cf.prototype,"recertDetailsUrl",2);var hAe=W`
         

        ${e=>e.error&&e.error.status===400&&e.error.errorCode==="snapshotInvalid"?String(p7):String(NC)}

        ${Ie(e=>e.error&&e.error.status!==400,W`

        ${d7}

        `)} ${Ie(e=>e.error&&e.error.status===400&&e.error.errorCode==="snapshotInvalid",W`

        ${m7}

        `)} ${Ie(e=>!e.error||e.error.status===400&&e.error.errorCode!=="snapshotInvalid",W`

        ${l7}

        `)}
        `;var bAe=W`

        ${Qt}

        ....
        `;var T8=class{constructor(){this.fileIsDirty=!1}static get admin(){return this._instance||(this._instance=new this)}},_Ae=T8.admin;_Ae.fileIsDirty=!1;function NGe(e,...t){let o=new URLSearchParams;for(let n of t){let r=e.searchParams.get(n);r!==null&&o.set(n,r)}return o}function Ov(e,...t){let o=(i,l)=>l.length===0?i:[i,...l].join("/");if(t.length===0){let i=e.split("/");e=i.shift()??"",t=i}let n=new URL(J.href),r=NGe(n,"branch","themebranch","branchFallbackFrom","pr"),s=r.toString()!==""?"?"+r.toString():"",a=`/${b.data.userLocale}/admin/`+o(e,t)+s;return new URL(a,n)}A();var qGe=W`

        ${g7}

        00 : 00 : 00
        `,FGe=u` `,vAe=document.createElement("div"),yAe=new be(vAe),OGe=()=>{y(FGe,vAe)},UGe=()=>yAe.hide(),HGe=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},zGe=e=>{let{timeRemaining:t}=te(),o=parseInt(t);return isNaN(o)?e:o},BGe=500,a1=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};O([V],a1.prototype,"countdownTimerReference",2);var S8=(e,t,o,n)=>{let r=e,s=Math.floor(r/1e3%60),a=Math.floor(r/1e3/60%60),i=Math.floor(r/(1e3*60*60)%24),l=document.querySelector("#timer-container");if(l!==null){let c=l.querySelector(".hours"),d=l.querySelector(".minutes"),p=l.querySelector(".seconds");c.textContent=i.toString().padStart(2,"0"),d.textContent=a.toString().padStart(2,"0"),p.textContent=s.toString().padStart(2,"0")}if(r<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),OGe(),yAe.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new sC),UGe()}),HGe()}else return n.countdownTimerReference=setTimeout(S8,BGe,Math.max(o-Date.now(),0),t,o,n)},nc=class{constructor(t,o,n=ut,r=!1,s=!1,a="false",i="preview"){this.bus=n;this.omitScoring=r;this.isPreview=s;this.showAllQuestions=a;this.snapshotVersion=i;this.countdownTimerReference=new a1;this.options={showcheckAnswer:!1};this.reRouteSession=()=>{let t=new URL(location.href),o=this.showAllQuestions==="true"?"false":"true";t.searchParams.set("show-all-questions",o),t.searchParams.set("omit-scoring",o),this.countdownTimerReference.clearTimeout(),Es.goto(t,"replaceState")};this.title=t,this.service=o,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(nC,c=>{this.updateScenario(c.question,c.questionNumber)}),this.renewalAssessmentUid=this.service.snapshot.renewalAssessmentUid,this.manualId=this.service.snapshot.manualId,this.linkMetadata=this.service.linkMetadata,this.options={showcheckAnswer:this.service.type==="practice"};let l=()=>({canHandle:c=>location.origin===c.origin&&location.pathname===c.pathname&&c.search!=="",handle:async c=>Promise.resolve({url:c,title:this.title}),params:[]});Es.enable(l())}async initialize(){if(this.updateScenario(this.service.currentScenario,this.service.currentScenarioNumber),this?.service?.snapshot?.temporaryPreviewExpiresAt){let t="has-background-warning-light display-flex justify-content-center",o="button",n=nwe,r={id:"renewal-assessment-platform-api-link",url:rwe,text:QG},s=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));Kt(jG?.replace("{temporaryPreviewExpiresAt}",s.toString()),r,t,o,n)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(R.supportLevel==="production"){let o=Date.now()+t;S8(t,this.bus,o,this.countdownTimerReference)}else{let o=zGe(t),n=Date.now()+o;S8(o,this.bus,n,this.countdownTimerReference)}}}updateScenario(t,o){let[n,r,s]=t.fullyQualifiedId.split(".");this.questionnaireId=n,this.questionSetId=r,this.questionId=s,this.currentScenario=t,this.currentScenarioNumber=o,this.form&&this.form.focus()}next(){this.bus.publish(new rC)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};O([V],nc.prototype,"numberOfScenarios",2),O([V],nc.prototype,"currentScenarioNumber",2),O([V],nc.prototype,"currentScenario",2),O([V],nc.prototype,"title",2),O([V],nc.prototype,"timer",2),O([V],nc.prototype,"countdownTimerReference",2);var xAe=W` ${Ie(()=>R.reviewFeatures,W`
        e.reRouteSession()} />
        `)}
        ${Ie(e=>e.isPreview,W` ${e=>e.manualId||e.renewalAssessmentUid} `)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?qGe:""}
        ${Ie(e=>e.isPreview,W` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${oo(e=>e.currentScenario,e=>VGe(e.currentScenario))}
        ${Ie(e=>e.options.showcheckAnswer,W` `)}
        `;function VGe(e){let t={SingleSelect:fAe,MultiSelect:gAe,Matrix:mAe},o=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[o]}function GGe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?dV:$o:a7}document.onkeydown=e=>{if(e.altKey&&e.key==="v"){let t=document.getElementById("timer-container");if(t)switch(t.getAttribute("aria-live")){case"polite":t.setAttribute("aria-live","assertive");break;case"assertive":t.setAttribute("aria-live","off");break;case"off":t.setAttribute("aria-live","assertive");break}}};var TAe=W`
         

        ${i7}

        `;var Uv=class{constructor(t,o){this.scoredSnapshot=t,this.resultsUrl=o}};O([V],Uv.prototype,"scoredSnapshot",2),O([V],Uv.prototype,"resultsUrl",2);var SAe=W` `;var i1=class extends Be{constructor(o,n,r,s,a,i=ut,l=!1,c=!1){super();this.service=o;this.assessmentId=n;this.skipVerification=r;this.showAllQuestions=s;this.snapshotVersion=a;this.bus=i;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Eg)}async initializeAssessment(){let o=await y8(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(n){wAe(n,this.service,o.certificationId)}S.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,S.title):S.title,this.setTesting(),this.bus.subscribe(af,async n=>{this.setScoring();try{await this.service.scoreSnapshot(n.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,vo({assessmentType:"renewal",pageType:2,credentialId:this.service.snapshot.certificationUid,credentialPathname:this.service.contentSource.url,query:{assessmentid:this.assessmentId,snapshotId:this.service.scoredSnapshot.snapshotId}})):this.setFailed()}catch(r){if(r instanceof zg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,r,()=>this.bus.publish(new af(n.questionResponses)));return}this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type)}})}setTesting(){this.model=new nc(this.service.snapshot.title,this.service,this.bus,this.omitScoring,this.isPreview,this.showAllQuestions,this.snapshotVersion),this.model.initialize(),this.viewState="Testing",this.publish(new Ze),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new Ze)}async setSuccess(o,n){this.model=new Uv(o,n);try{await Promise.all([RS("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),RS("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new Ze)}}setError(o,n,r,s,a,i,l,c){this.model=new cf(o,n,r,s,a,i,l,c),this.viewState="Error",this.publish(new Ze)}setFailed(){this.viewState="Failed",this.publish(new Ze)}createTitle(o=Wi,n=S.title){let r=n.split("|").pop();return`${WG.replace("{certificationName}",o||Wi)} | ${r}`}};O([V],i1.prototype,"viewState",2);var jGe=W` ${Ie(e=>e.viewState==="Loading",bAe)} ${Ie(e=>e.viewState==="Testing",W` ${oo(e=>e.model,e=>xAe)}`)} ${Ie(e=>e.viewState==="Scoring",TAe)} ${Ie(e=>e.viewState==="Success",W` ${oo(e=>e.model,e=>SAe)}`)} ${Ie(e=>e.viewState==="Error",W` ${oo(e=>e.model,e=>hAe)}`)} `;function wAe(e,t,o){if(e instanceof zg){if(e.status===401){Uo(location.href);return}t.snapshot?location.href=vo({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||o,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=Zr(S.referrer).href;return}else throw e}var QGe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,o)=>vo({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:o,query:{assessmentId:t}}),detailsPageUrl:(e,t,o)=>vo({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:o,query:{assessmentId:t}}),profileDetailPageUrl:co("me","certifications"),profileOverviewPageUrl:co(k.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>v$.replace("{certificationName}",e||Wi),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${wY} ${b7}`,profilePageBtnTxt:y$,supertitle:RC},failed:{detailsPageBtnTxt:y7,eligibleTitle:T7,eligibleMsg:e=>S7.replace("{date}",Ha.format(e)),supertitle:v7,title:e=>e||Wi}},reportScores:{scoresTitle:UC,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:GG,studyGuideItemsTitle:FC}},errorContext:{reportError:e=>({NotFoundError:{title:ri,msg:w7,primaryButton:{text:E7,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:y$,url:co(k.userName)}}})}};A();var df="facet-search-input";async function l1(e,t,o=null,n=60*1e3){let r=new URL(e).href;if(t.length>100)return{question:"",answer:""};let s=K(r,{mode:"cors",method:"POST",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:o||void 0}),a,i=new Promise((l,c)=>{a=window.setTimeout(()=>{c(new jt(new Response("Timeout",{status:408})))},n)});try{let l=await Promise.race([fetch(s),i]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new jt(l)}finally{a!==void 0&&clearTimeout(a)}}function c1(e,t,o,n,r,s,a,i){if(isNaN(e))return"";if(!t)return aee.replace("{numberOfResults}",Dr(e));let c=a?e===1?vre:_re:i?e===1?mre:pre:e===1?ure:dre,d=i?e===1?bre:hre:e===1?fre:gre,p=i?e===1?wre:Sre:e===1?Tre:xre,m;switch(o){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",ni);break;case"Training":case"training":m=p.replace("{pivotCategory}",Qr);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",dn);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Qn);break;case"Show":case"show":m=p.replace("{pivotCategory}",Sr);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Iy);break;default:m=n&&!r?d:c}return m.replace("{count}",Dr(e)).replace("{searchPhrase}",s&&s.length!==0?YGe(t,s):t).replace("{scope}",n&&!r?n:"").replace(/\s\s+/g," ")}function YGe(e,t){t.reverse();let o=e;for(let{start:n,length:r,correction:s}of t)o=`${o.substring(0,n)}${s}${o.substring(n+r)}`;return o}function CAe(e){if(e.busy)return;let o=(e.facetGroups?.category&&e.facetGroups.category.facets.find(s=>s.isSelected))?.value||"",n=c1(e.resultsCount,e.terms,o,e.scope,e.scopeRemoved,e.spellingCorrection),r=e.resultsCount===0?go:n;e.getSelectedCategoryName()!=="Ai"&&kt(r,"assertive")}var hd=class{constructor(t){this.type=t}};var uf=class extends Be{constructor(o,n,r,s,a,i,l,c,d,p,m){super();this.label=o;this.count=n;this.name=r;this.value=s;this._isSelected=a;this._isExpanded=i;this.level=l;this.position=c;this.group=d;this.parent=p;this.avatarUrl=m;this.children=[]}get hasChildren(){return this.children.length>0}get hasSelectedChild(){return!this.isSelected&&!!this.children.find(o=>o.isSelected)}get isSelected(){return this._isSelected}get isChecked(){return this.parent?._isSelected||this.isSelected}get inputClass(){return this.parent&&this.parent.isSelected?"checkbox-muted":this.isSelected?"is-primary":""}get isExpanded(){return this.group.filterActive||this.hasChildren&&this._isExpanded||this.hasSelectedChild}get hidden(){return this.group.filterActive&&this.hasVisibleChild?!1:!!(this.isFiltered||this.parent&&!this.parent.isExpanded)}get isFiltered(){return this.group.filterActive&&!this.name.toLocaleLowerCase().includes(this.group.filter.toLocaleLowerCase())}get hasVisibleChild(){return this.hasChildren&&!!this.children.find(o=>!o.hidden)}toggleSelected(){this.isSelected?this.deselect():this.select(),this.notifyFacetChange("select")}toggleExpanded(){this._isExpanded?this.collapse():this.expand(),this.notifyFacetChange("expand")}deselect(){this._isSelected=!1}select(){if(this.parent?.isSelected&&this.parent.deselect(),this.children.length>0)for(let o of this.children)o.deselect();this._isSelected=!0}expand(){this.hasChildren&&(this._isExpanded=!0)}collapse(){this._isExpanded=!1}notifyFacetChange(o){this.publish(new hd(o))}};function EAe(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.selected}return t}function AAe(e){let t={};for(let o in e){let r=e[o];t={...t,...r.expanded}}return t}function kAe(e,t,o){if(!t){let r=document.createElement("input");return o&&(r.pattern="(?!^\\s+$)^.*$",r.required=!0),r.setAttribute("type","text"),r.setAttribute("aria-label",no),r.setAttribute("maxlength","100"),r.dataset.biName="search-input",r.classList.add("input","input-lg"),r.placeholder=no,r.id=df,r.name=df,r.value="",r}t.input={...t.input,name:df,id:df,label:no,size:"large",required:!!o};let n=ws({...t,initialValue:""});return n.addEventListener(zi,()=>e()),n.addEventListener(zi,sxe),n.addEventListener(rw,hM),n}function d1(e){document.getElementById(`facet-input-filter-${e}`).focus()}var aC=class{constructor(t){this.skip=t}},u1=class extends Be{constructor(o,n,r=0){super();this._top=n;this.pageIndex=Math.floor(r/n),this.pageCount=Math.min(Math.max(this.pageIndex+2,10),Math.ceil(o/n))}get displayRange(){return{first:Math.max(this.pageIndex-2,0),last:Math.min(this.pageIndex+2,this.pageCount)}}async setPage(o){let n=o*this._top;this.publish(new aC(n))}};function WGe(e){let t={};if(t.scope=e.scope||null,t.terms=e.terms||null,t.top=null,t.skip=e.skip&&e.skip!==0?e.skip.toString():null,t.hideCompleted=e.hideCompleted?e.hideCompleted.toString():null,t.dataSource=e.dataSource||null,e.selectedFacets)for(let o in e.selectedFacets)t[o]=Object.keys(e.selectedFacets[o]).join(",");e.expandedFacets&&(t.expanded=Object.keys(e.expandedFacets).join(","));for(let o in Lv){let n=`filter-${o}`,r=o in e.filters;t[n]=r?e.filters[o]:null}return t.search=null,t}function Za(e,t="pushState"){let o=WGe(e);Bt(o,t)}function IAe(e){for(let t in e){let o=t,n=KGe(o);e[o]=e[o].map(r=>PAe(r,o,n)),o!=="category"&&o!=="date"&&(e[o]=e[o].sort(n))}return e}function KGe(e){return e==="years"?(t,o)=>o.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,o)=>A5(t.value)-A5(o.value):(t,o)=>t.displayName.localeCompare(o.displayName,b.data.userLocale)}function PAe(e,t,o){return e.displayName||(e.displayName=Fr?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(n=>{PAe(n,t,o)}),e.children.length>1&&e.children.sort(o)),e}var w8=(e,t)=>t.hasChildren?t.children.reduce(w8,e)+1:e+1,p1=class extends Be{constructor(o,n=""){super();this.key=o;this._filter=n;this._facets=[];this._totalFacets=0;this.name=Lv[o]}get facets(){return this._facets}set facets(o){this._facets=o,this._totalFacets=this._facets.reduce(w8,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(C8("isSelected"),{})}get expanded(){return this.facets.reduce(C8("isExpanded"),{})}set filter(o){this._filter=o}get filter(){return this._filter}get filterActive(){return this._filter!==""}get hasVisibleChild(){return!!this.facets.find(o=>!o.hidden)}get isEmpty(){return this._totalFacets===0}get allFacetsFilteredOut(){return this.hasFilterInput&&this.filterActive&&!this.hasVisibleChild}handleFilterInput(o){let n=o.target instanceof HTMLInputElement&&o.target;this.filter=n.value,this.notifyFacetChange("filter")}clearFilter(){this._filter="",d1(this.key),kt(rN,"assertive"),this.notifyFacetChange("filter")}clearFacet(){kt(rN,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(o=>o.deselect())}selectByValue(o){this.deselectAll();let n=this.facets.find(r=>r.value===o);n&&!n.isSelected&&n.select(),this.notifyFacetChange("select")}setFacets(o){this._facets=o,this._totalFacets=this._facets.reduce(w8,0),this.subscribeToChanges(this.facets)}subscribeToChanges(o){for(let n of o)n.subscribe(hd,r=>this.notifyFacetChange(r.type)),n.children&&this.subscribeToChanges(n.children)}notifyFacetChange(o){this.publish(new hd(o))}};function C8(e){return(t,o)=>{if(o[e])t[o.value]=!0;else if(o.hasChildren)return o.children.reduce(C8(e),t);return t}}function LAe(e){let t={};for(let o in e)if(o in Lv&&e[o]){let n=o,r=e[n].split(","),s=JGe(n,r);s&&(t[n]=s.reduce((a,i)=>(a[i]=!0,a),{}))}return t}function RAe(e){return e.expanded?e.expanded.split(",").reduce((o,n)=>(o[n]=!0,o),{}):{}}function MAe(e,t,o,n){let r={};for(let s in e){let a=s,i=new p1(a,n[a]);i.facets=e[a].map(DAe(a,1,t,o,i)),r[a]=i}if($t==="Search"){let s=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let a of gM)a!=="All"&&!r?.category.facets.find(i=>i.name===a)&&(r.category.facets=r.category.facets.concat(new uf("category",0,a,a,a===s,!1,2,r.category.facets.length+1,r.category)))}return r}function DAe(e,t,o,n,r,s){return(a,i)=>{let l=e in o&&a.value in o[e],c=a.value in n,d=new uf(e,a.count,a.displayName||a.name,a.value,l,c,t+1,i+1,r,s,a.avatarUrl);return a.children&&a.children.length&&(d.children=a.children.map(DAe(e,t+1,o,n,r,d))),d}}function $Ae(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.filter||""}return t}function NAe(e){let t={};for(let o in e)t[e[o]]=o;return t}function JGe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let o=gM.find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o==="Ai"&&(w.enableDeepSearch===!1||!k.isAuthenticated)?[]:o&&o!=="All"?[o]:null}return[]}else if(e==="date"){if(t.length===1){let o=Object.keys(ra).find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o&&o!=="all"?[o]:null}return[]}return t}function iC(e){return Object.keys(e||{}).length===0}var m1=class extends Be{constructor(o,n,r={}){super();this._top=n;this.initialized=new Promise(o=>{this.initialize=o});this.showSearchAnswer=!0;this._busy=!1;this._dataSource="";this._disallowBlankSlate=!1;this._expandedFacets={};this._facetGroups={};this._facetsKnown=!1;this._filters={};this._isFuzzySearch=!1;this._hideCompletedEnabled=!1;this._hideCompleted=!1;this._mobileMenuView="top";this._results=[];this._rssEnabled=!1;this._scopeRemoved=!1;this._scoringProfileEnabled=!1;this._spellingCorrection=[];this._blankSlateEnabled=!1;this._resultsSortOptions=[];this._currentResultsSortOptionsIndex=0;this._termHasSynonyms=!1;this._pageStateHandler=null;this._abortController={};this._maxCachedResponse=6;this._cachedResponse=[];this._maxCopilotQaCache=10;this._copilotQaCache=[];this._maxDeepSearchCache=5;this._deepSearchCache=[];this.argsStringifyFunc=(o,n)=>{if(o==="selectedFacets"){let r=n;for(let s in r)iC(r[s])&&delete r[s];n=r}if(!(o==="expandedFacets"||!n))return n};this.toUrl=o=>o.url;if(r.blankSlateEnabled&&(this._blankSlateEnabled=!0),r.taxonomyFacetLookups&&(this.taxonomyFacetLookups=r.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=NAe(this.taxonomyFacetLookups)),r.syntheticFacets&&(this._syntheticFacets=r.syntheticFacets),r.facetSort&&(this.facetSort=r.facetSort),r.queryStringTransformer){let s=r.queryStringTransformer(new URL(J.href));Bt(s,"replaceState","")}if(this._pageStateHandler=r.pageStateHandler,this._fetch=o,r.hideCompleted&&k.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!r.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=r.scoringProfile),r.rss&&w.rss&&(this._rss=r.rss,this._rssEnabled=!0),r.resultSortOptions&&r.resultSortOptions.length>0){this._resultsSortOptions=r.resultSortOptions;let s=r.resultSortOptions.findIndex(a=>a?.default===!0);this._currentResultsSortOptionsIndex=s===-1?0:s}this._input=kAe(async()=>{await this.fetch(),Za(this.createSearchArgs())},r.autocomplete,!!r.fetchRequiresTerms),this.readState(),!this.terms&&this.blankSlateEnabled?(this.setBusy(),this.setBlankData(),this.setReady()):(r.scenarioHealth&&(this._scenarioHealth=r.scenarioHealth,this.startScenario(this._scenarioHealth.viewResults)),this.fetch()),Za(this.createSearchArgs(),"replaceState"),window.addEventListener("popstate",()=>this.handlePopState())}get selectedFacetsMinusCategory(){let o=Object.assign({},this._selectedFacets);o.category&&delete o.category;for(let n in o)iC(o[n])&&delete o[n];return o}get mobileMenuView(){return this._mobileMenuView}get resultsCount(){return this._resultCount}get input(){return this._input}get terms(){return this._input.value||""}get scope(){return this._scope}get scopeRemoved(){return this._scopeRemoved}get spellingCorrection(){return this._spellingCorrection}get results(){return this._results}get srcheng(){return this._srcheng}get busy(){return this._busy}get facetGroups(){return this._facetGroups}get selectedCategoryId(){return this._selectedCategoryId}get selectedFacets(){return this._selectedFacets}get expandedFacets(){return this._expandedFacets}get hideCompleted(){return this._hideCompleted}get hideCompletedEnabled(){return this._hideCompletedEnabled}get scoringProfileEnabled(){return this._scoringProfileEnabled}get scoringProfile(){return this._scoringProfile}get rssEnabled(){return this._rssEnabled}get rssUrl(){return this._rssUrl}get dataSource(){return this._dataSource}get blankSlateEnabled(){return this._blankSlateEnabled}get showBlankSlate(){return this.blankSlateEnabled&&!this.disallowBlankSlate&&(!this.results||this.results.length===0)&&!this.busy&&this.isBlank}get disallowBlankSlate(){return this._disallowBlankSlate}set disallowBlankSlate(o){this.disallowBlankSlate||(this._disallowBlankSlate=o)}get hasActiveFilter(){for(let o in this._selectedFacets)if(this._selectedFacets[o]){for(let n in this._selectedFacets[o])if(n.toLowerCase()!=="all"){if(o==="category")return this.getSelectedCategoryName()===n;if(this._selectedFacets[o]?.[n])return!0}}return!1}get isBlank(){return!this.hasActiveFilter&&this.terms===""}get categoriesEnabled(){return!!this.facetGroups.category}get hasActiveFacets(){for(let o in this._facetGroups)if(this._facetGroups[o]?.facets?.length)return!0;return!1}get syntheticFacets(){return this._syntheticFacets}get facetsEnabled(){return this.dataSource!=="previousVersions"}get isFuzzySearch(){return this._isFuzzySearch}get hasSortableResults(){return this._resultsSortOptions&&this._resultsSortOptions.length>0}get resultsSortOptions(){return this._resultsSortOptions}get currentResultsSortOptionsIndex(){return this._currentResultsSortOptionsIndex}get termHasSynonyms(){return this._termHasSynonyms}get isFirstPage(){return!this._skip}async submit(o){o.preventDefault(),this._scenarioHealth&&this.startScenario(this._scenarioHealth.viewResults);let n=o.target.elements.namedItem(df);n.value.length>100&&(n.value=n.value.trim().slice(0,100)),this.input.value=n.value.trim(),this._skip=0,this.fetch(),Za(this.createSearchArgs())}async fetch(){this.setBusy();try{let o=this.createSearchArgs();this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookupsReversed,o.selectedFacets);let n;for(let c in o.selectedFacets.author){n=c;break}let[r,s,a,i]=await Promise.all([this.useCacheOrFetch(o),this.contentAreaNumberFetch(),O2(n),this.fetchGuestSearchAnswerResult(o)]);this.maintainCachedResults(o,r),s&&this.maintainCachedResults(this.createSearchArgs(!1),s);let l=this.combineResponse(r,s,a);this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookups,l.facets),this.updateAnswers(i),this.updateResults(l),this.updateSrcheng(l),this.updateFacets(l),this.updateScopeRemoval(l),this.updateSpellingCorrection(l),this.updateSynonymCheckForSearchTerm(l),this.updatePaging(),this.updateRssUrl()}catch(o){this.setBlankData(),this._scenarioInstance?.fail(o)}finally{this.results&&this.results.length>0&&(this.disallowBlankSlate=!0),this.setReady(),this.initialize(),this._scenarioInstance?.succeed(),CAe(this),axe(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(o,n){switch(o){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=EAe(this.facetGroups),this._skip=0,this.fetch(),Za(this.createSearchArgs());break;case"expand":this._expandedFacets=AAe(this.facetGroups),Za(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=$Ae(this.facetGroups),Za(this.createSearchArgs(),"replaceState"),this.facetGroups[n].allFacetsFilteredOut&&kt(go,"assertive",2e3),this.notifyPropertyChanged();break;case"facet_clear":this.clearFacet(n),this.notifyPropertyChanged();break;default:break}}clearFacets(o=!1){this.hideCompletedEnabled&&(this._hideCompleted=!1);for(let n in this._selectedFacets)n==="category"&&o||(this._selectedFacets[n]={});this._facetsKnown=!1,this._skip=0,this.fetch(),Za(this.createSearchArgs())}clearFacet(o){this._selectedFacets[o]={},this.fetch().then(()=>{d1(o)}),Za(this.createSearchArgs())}selectMobileView(o,n){this._mobileMenuView=o,this.notifyPropertyChanged();let r=document.querySelector(".modal-content");if(n)this._selectedCategoryId=n;else if(this.selectedCategoryId){let s=r.querySelector(`#${this.selectedCategoryId}`);if(s){s.focus();return}}b_(r)}clearScope(){this._scope=null,this.fetch(),Za(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}resetAbortController(o){return o in this._abortController&&this._abortController[o].abort(),this._abortController[o]=new AbortController,this._abortController[o].signal}toggleHideCompleted(){this.hideCompletedEnabled&&(this._hideCompleted=!this._hideCompleted,this._skip=0,this.fetch(),Za(this.createSearchArgs()))}getSelectedCategoryName(){if(!this._facetsKnown){if(this._selectedFacets?.category)for(let n in this._selectedFacets.category)return n;return""}return this.categoriesEnabled&&this.facetGroups.category.facets.find(n=>n.isSelected)?.name||""}async handleResultsSortOptionChange(o,n){if(this._currentResultsSortOptionsIndex===n){let r=o.target instanceof Element&&o.target.closest("details.popover")||o.target instanceof Element&&o.target.shadowRoot?.activeElement?.closest("details.popover");r?.hasAttribute("open")&&r.removeAttribute("open");return}this._currentResultsSortOptionsIndex=n,this.fetch()}queryCopilotQaCache(o){let n=this._copilotQaCache.find(r=>r.query===o);return n?n.response:null}addCopilotQaToCache(o,n){for(this._copilotQaCache=this._copilotQaCache.filter(r=>r.query!==o),this._copilotQaCache.push({query:o,response:n});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(o){let n=this._deepSearchCache.find(r=>r.query===o);return n?n.response:null}addDeepSearchToCache(o,n){for(this._deepSearchCache=this._deepSearchCache.filter(r=>r.query!==o),this._deepSearchCache.push({query:o,response:n});this._deepSearchCache.length>this._maxDeepSearchCache;)this._deepSearchCache.shift()}async handlePageState(o){this._pageStateHandler&&await this._pageStateHandler(this,o)}startScenario(o){this._scenarioInstance&&this._scenarioInstance.cancel(),this._scenarioInstance=new xr(o),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(o,n){for(let r in o)if(r in n){let s=n[r],a=o[r];n[a]=s,delete n[r]}}async contentAreaNumberFetch(){return this.getSelectedCategoryName()?this.useCacheOrFetch(this.createSearchArgs(!1)):Promise.resolve(void 0)}async useCacheOrFetch(o){if(o?.selectedFacets?.date&&Object.keys(o.selectedFacets.date).length>0)return this._fetch(o);let n=JSON.stringify(o,this.argsStringifyFunc),r=this._cachedResponse.find(s=>s.args===n);return r?(await new Promise(s=>setTimeout(s,300)),r.response):this._fetch(o)}maintainCachedResults(o,n){let r=JSON.stringify(o,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(s=>s.args!==r),this._cachedResponse.push({args:r,response:n});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(o,n,r){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(o.facets={...o.facets,...this.syntheticFacets,author:r?[{type:"text",displayName:r.displayName||Hr,value:r.userId,avatarUrl:r.avatarUrl||mn(r.displayName,r.userId)}]:[]}),n&&o.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&o.facets?.category.length===0){let s=n.facets?.category?.find(a=>a.value==="QnA");s&&(s.count=0)}for(let s of n.facets?.category??[]){let a=o.facets?.category.find(i=>i.value===s.value);a&&(s.count=a.count)}o.facets={...o.facets,category:n.facets.category},o.spellingCorrection?.length>0&&n.spellingCorrection?.length===0&&(o.count=0,o.results=[])}return o}updateAnswers(o){this.copilotQA=o??void 0}updateSrcheng(o){this._srcheng=o.srcheng?o.srcheng:""}updateResults(o){this._results=o.results,this._resultCount=o.count{this._skip=o.skip,this._scenarioHealth&&this.startScenario(this._scenarioHealth.pagination),this.fetch(),Za(this.createSearchArgs()),Jfe()})}updateRssUrl(){this._rssEnabled&&(this._rssUrl=this._rss(this.createSearchArgs()))}updateScopeRemoval(o){this._scopeRemoved=o.scopeRemoved||!1}updateSpellingCorrection(o){this._spellingCorrection=o.spellingCorrection||[]}updateSynonymCheckForSearchTerm(o){this._termHasSynonyms=o.termHasSynonyms||!1}createSearchArgs(o=!0){return Ga({terms:this.terms,scope:this.scope,selectedFacets:o?this._selectedFacets:this.selectedFacetsMinusCategory,expandedFacets:this._expandedFacets,skip:o&&this._skip>0?this._skip:null,top:this._top,hideCompleted:this.hideCompletedEnabled?this.hideCompleted:null,scoringProfile:this.scoringProfileEnabled?this.scoringProfile:null,dataSource:this.dataSource?this.dataSource:null,filters:this._filters,orderBy:this.hasSortableResults?this._resultsSortOptions[this._currentResultsSortOptionsIndex].orderBy:""})}setBusy(){this._busy=!0,this.notifyPropertyChanged(),this.handlePageState("VmBusy")}setReady(){this._busy=!1,this.notifyPropertyChanged(),this.handlePageState("VmReady")}readState(){let o=cr(),n=o.terms||o.search||o.term;n&&(n.trim(),n.length>100&&(n=n.slice(0,100))),this.input.value=n||"",this._scope=o.scope||null,this._selectedFacets=LAe(o),this._expandedFacets=RAe(o),this._dataSource=o.dataSource,this.hideCompletedEnabled&&o.hideCompleted&&(this._hideCompleted=!0);try{this._skip=o.skip?parseInt(o.skip):0}catch{this._skip=0}}handlePopState(){!J.search&&$t==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let o in this._facetGroups)this._facetGroups[o].subscribe(hd,r=>this.handleFacetChange(r.type,o))}async fetchGuestSearchAnswerResult(o){if(!w.enableModernSearchAnswer||k.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!k.isAuthenticated&&this.scope===null){let n=o.terms.trim(),r=this.queryCopilotQaCache(n);if(r)return this.copilotQA=r,r;let s=await l1(q.searchAnswer.guest,o.terms,null,3*1e3),a={question:s.question??"",answer:s.answer??"",responseType:s.responseType};return this.addCopilotQaToCache(n,a),a}else return null}catch(n){if(n instanceof jt)return null;throw n}}};A();ze();A();A();var E8="facet-group";function A8(e,t){return`${E8}-body--${e}${t?"--mobile":""}`}function Hv(e,t){return`${E8}-expander--${e}${t?"--mobile":""}`}function k8(e,t){return`${E8}-container--${e}${t?"--mobile":""}`}var g1="deep-search-container",pf="desktop-filter-button",zv="desktop-filter-button-close",Bv="search-filter-sidebar",I8="search-answer",f1="search-answer-header",lC="toggle-search-answer-button",cC="search-answer-body",P8="search-answer-rating",L8="more-content-areas-popover";function Vv(e,t,o){return e?w.enableNewSiteSearch?u` ${e7e(`${e.key}${t}`,e)} `:u`
        {let r=n.target,s;if(r.value==="All")s="All";else if(e.facets.find(a=>a.name===r.value&&a.count>0))s=r.value;else{s=e.facets.find(i=>i.isSelected)?.value||"All";let a=Array.from(document.querySelectorAll('input[type="radio"]')).find(i=>i.value===s);a&&(a.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(a=>a.checked=!1),e.selectByValue(s)}} >
        ${XGe(`${e.key}${t}`,e.facets)}
        `:u``}var R8=(e,t,o,n,r=!1)=>{let s=r?"badge-primary":"";return u``};function ZGe(e,t){let o=t.reduce((n,r)=>(r.isSelected&&(n.selection=!0),n.count+=r.count,n),{count:0,selection:!1});return R8(e,"All",ei,o.count,!o.selection)}function XGe(e,t){return Object.keys(rf).map(r=>{let s=t.find(a=>a.value.toLowerCase()===r);return r==="all"?ZGe(e,t):s?R8(e,s.value,rf[r],s.count,s.isSelected):R8(e,r,rf[r],0,!1)})}function e7e(e,t){let o=["ai","documentation","training","credential","qna","reference","show"],n=!1,r=0,s=o.map(i=>{let l=t.facets.find(c=>c.value.toLowerCase()===i);return n=n||!!l?.isSelected,r+=l?.count??0,qAe(e,l?.value??i,i,!!l?.isSelected,t,l?.count===0)}),a=u`${qAe(e,"all","all",!n,t,r===0)}`;return u`
        ${a}${s}
        ${t7e()}`}function qAe(e,t,o,n,r,s){if(o==="ai"&&(w.enableDeepSearch===!1||!k.isAuthenticated))return u``;let a=o==="ai"?!1:s&&!n&&t!=="all",i=rf[o],l=o==="ai"&&n;return u` `}function t7e(){return u`
        `}function M8(e,t=!1){return`font-size-sm padding-block-xxs display-flex align-items-center white-space-nowrap ${e?`${t?"font-weight-bold":"font-weight-semibold"} border-bottom-md border-color-primary`:"has-text-subtle font-weight-normal"}`}A();function h1(e){return!e.hasActiveFilter&&!e.hideCompleted?"":u` `}function D8(e){let t=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?u` `:""}A();function FAe(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?u`
        `:u` `}A();function b1(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?u``:u`

        ${go}.

        `}function $8(){return u`

        ${LA}

        `}function _1(e){let t=document.getElementById(Bv);if(t){t.classList.toggle("is-hidden");let o=t.classList.contains("is-hidden"),n=document.getElementById(pf);n&&(n.classList.toggle("background-color-body-medium"),n.setAttribute("aria-expanded",`${!o}`),e===zv&&o&&n.focus())}}A();function OAe(e){return e.hideCompletedEnabled?u`

        ${HAe(e)}
        `:""}function UAe(e){return e.hideCompletedEnabled?u`
      • ${HAe(e,!0)}
      • `:""}function HAe(e,t=!1){return u` `}A();function dC(e,t){let o=ws({input:{id:`facet-input-filter-${e.key}`,placeholder:zK,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:nxe,getTitle:n=>n.displayName||Hr,itemTemplate:n=>u`
        ${n.displayName||Hr}
        ${o7e(n.reputationPoints)} ${tM(n.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:CZ});return o.addEventListener(zi,n=>{let r=n.detail.suggestion,s=new uf("author",1,r.displayName||Hr,r.userId,!0,!1,1,1,null,null,r.avatarUrl);e.setFacets([s]),e.selectByValue(r.userId)}),o.addEventListener(rw,hM),o.addEventListener("keyup",n=>{n.key==="Enter"&&o.querySelector("input").value.trim()===""&&e.facets.length>0&&e.clearFacet()}),o.addEventListener("focusout",()=>{o.querySelector("input").value=e.facets?.length>0?e.facets[0].name:""}),o}function N8(e=!1){return w.enableNewSiteSearch?u`
        ${N(xN)}
        `:u`
        ${N(xN)}
        `}function o7e(e){return e>0?u` ${e} `:null}var n7e={title:!0,"is-3":!0,"margin-bottom-xxs":!0},v1={title:!0,"is-5":!0,"margin-bottom-xs":!0};function r7e(e){return e.hasActiveFilter||e.hasActiveFacets?"":u`

        ${LA}

        `}function q8(e){return w.enableNewSiteSearch?_p(e).length===0?u``:u``:e.facetsEnabled?u`

        ${Ji}

        ${h1(e)} ${OAe(e)}
        ${$t==="Search"?"":r7e(e)} ${zAe(e)}
        `:""}function s7e(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function _p(e){if($t==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(w.enableNewSiteSearch)switch(t){case"ai":return[];case"show":return[];case"qna":return["tags","date","author"];default:return["products"]}switch(t){case"show":return["category"];case"qna":return["category","tags","author","date"];default:return["category","products"]}}return s7e(e)}function VAe(e){let t=_p(e),o=t.length===1;return w.enableNewSiteSearch?u`
        ${t.length===0?u`
        ${$8()}
        `:u`${No(t,n=>n,(n,r)=>y1(e.facetGroups[n],!0,!o,r===t.length-1))}`}
        `:u`${No(t,n=>n,n=>y1(e.facetGroups[n],!0,!o))} `}function zAe(e){let t=_p(e),o=t.length===1;return w.enableNewSiteSearch?u`
        ${t.length===0?$8():u`${No(t,n=>n,(n,r)=>y1(e.facetGroups[n],!1,!o,r===t.length-1))}`}
        `:u`${No(t,n=>n,n=>y1(e.facetGroups[n],!1,!o))} `}function y1(e,t,o,n=!0){if(!e||$t!=="Search"&&e.isEmpty)return u``;let r=`ms--facet-heading-${e.key}${t?"-mobile":""}`,s=o?`is-vertically-scrollable ${w.enableNewSiteSearch?"":"has-max-height-260"}`:"",a=!t||!o;return w.enableNewSiteSearch?u`
        ${a7e(e,t,a,r,n)} ${i7e(e,t,s,a,r)}
        `:e.key==="category"?u`

        ${e.name}

        ${Vv(e,t?"mobile":"",r)}
        `:e.key==="date"?u`

        ${_y}

        ${Yw(e,t?"mobile":"",r)}
        `:e.key==="author"?u`

        ${$p}

        ${N8()}
        ${D8(e)}
        ${dC(e,t)}
        `:u`

        ${e.name}

        ${e.facets.length>0?GAe(e,s,r):jAe(e.key)}
        `}function a7e(e,t,o,n,r=!1){let s="font-size-sm font-weight-normal",a=e.key,i=e.name;return a==="category"?u``:a==="author"?u`

        ${$p}

        ${N8(t)}
        ${D8(e)}
        `:u`

        ${i}

        `}function i7e(e,t,o,n,r){let s=e.key,a=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${s==="author"?"":"has-overflow-hidden"} ${n?"":"is-hidden"}`,i=u``;return s==="date"?i=Yw(e,t?"mobile":"",r):s==="author"?i=u`
        ${dC(e,t)}
        `:i=e.facets.length>0?GAe(e,o,r):jAe(e.key),u`
        ${i}
        `}function F8(e){if(!e.hasFilterInput&&!e.filter)return"";let t=UK.replace("{facet}",Bwe[e.key].toLowerCase()),o=Je();return u`
        e.handleFilterInput(n))} placeholder=${t} .value=${e.filter} aria-describedby=${o} />
        `}function GAe(e,t,o){return u`${F8(e)}
        ${b1(e)}
          ${x1(e.facets,e.key)}
        `}function x1(e,t,o=!1,n=!1){let r=n||!!e.find(s=>s.hasChildren);return No(e,s=>s.value,s=>l7e(s,t,e.length,r,o))}function jAe(e){let t=w.enableNewSiteSearch?"font-size-sm":"",o;switch(e){case"products":o=fZ;break;case"tags":o=hZ;break;default:o=go}return u`

        ${o}

        `}function l7e(e,t,o,n,r){let s=FAe(e,n),a=w.enableNewSiteSearch?"font-size-sm":"";return u`
      • ${s}
        ${e.hasChildren?u`
          ${x1(e.children,t,!1,n)}
        `:null}
      • `}function c7e(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function BAe(e,t,o=!1){let n=document.getElementById(A8(e,t));if(n&&(n.classList.toggle("is-hidden"),o)){let s=document.getElementById(k8(e,t));s&&s.classList.toggle("border-bottom")}let r=document.getElementById(Hv(e,t));if(r){let s=r.getAttribute("aria-expanded")==="false";r.setAttribute("aria-expanded",s.toString())}}function QAe(e){return _p(e).length===0?u``:u` `}A();function uC(e){return u`
        e.submit(t)} >
        ${e.input}
        `}A();function U8(e){return w.enableNewSiteSearch?_p(e).length===0?u``:u` `:u` `}function YAe(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:w.enableNewSiteSearch?Ji:zN}function T1(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var Gv,O8;async function WAe(){Gv||(Gv=document.createElement("div")),O8||(O8=new be(Gv)),await O8.show()}function ZAe(e){return w.enableNewSiteSearch?u` `:u` `}function KAe(e){return w.enableNewSiteSearch?u` `:u`

        ${YAe(e)}

        ${d7e(e)} `}function d7e(e){return e.mobileMenuView==="top"?"":u`
        `}function u7e(e){switch(e.mobileMenuView){case"top":return p7e(e);default:return g7e(e.facetGroups[e.mobileMenuView])}}function p7e(e){return u`
          ${UAe(e)} ${m7e(e)}
        `}function m7e(e){let t=_p(e);return No(t,o=>o,o=>{let n=e.facetGroups[o].facets.length>0||e.facetGroups?.category?.facets.find(r=>r.isSelected)?.name==="QnA"&&o==="author";if(w.enableNewSiteSearch&&o==="category")return"";if(n){let r=`ms--cat-btn-${o}`;return u`
      • `}return""})}function g7e(e){return e.key==="author"?u`
        ${dC(e,!0)}
        `:e.key==="date"?u`
          ${Yw(e,"")}
        `:u`
        ${F8(e)} ${b1(e)}
          ${e.key==="category"?Vv(e,"mobile"):x1(e.facets,e.key,!0)}
        `}function JAe(e){return w.enableNewSiteSearch?u` `:u`
        `}function H8(e){if(!e.pager||e.pager.pageCount<2||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai")return null;let t=Object.assign({busy:e.busy,publish:e.publish,setPage:e.pager.setPage},e.pager);return tf(t)}A();var f7e=()=>{let e=[];for(let t=0;t<30;t++)e.push(u``);return e},h7e=()=>{let e=[];for(let t=0;t<10;t++)e.push(u``);return e};function XAe(e,t){return w.enableNewSiteSearch?u`
          ${t}
        `:u`
          ${t}
        `}function V8(e,t,o,n){if(e.getSelectedCategoryName()==="Ai")return u`
        `;if((!e.results||e.results.length===0||e.resultsCount===0)&&!e.busy)return n(e);if(t==="grid"||t==="grid-large"){let r=e.busy?f7e():e.results.map((s,a)=>u`
      • ${o(s,a)}
      • `);return XAe(t,r)}else if(t==="list"){let r=e.busy?h7e():e.results.map((s,a)=>u`
      • ${o(s,a)}
      • `);return XAe(t,r)}else throw new Error("Invalid layout property specified in View Model config.")}A();function G8(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":u` `}A();function t0e(e){let t=e.getSelectedCategoryName().toLowerCase(),o=k.isAuthenticated,n=!k.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return w.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&(n||o)}function o0e(e,t){return u`
        ${Xa(e,t)}
        `}function Xa(e,t){if(t==="NotShown")return u``;let o=u``;return t==="Generating"?o=u`

        ${u0}

        `:t==="Error"?o=u`

        ${cre}

        `:t==="ShowResult"&&(e.copilotQA?.answer?o=u` ${N(y7e(e.copilotQA.answer))} ${_7e(e)} `:o=u`

        ${p0}

        `),u`
        ${b7e(e)}
        ${o}
        ${t==="Generating"?u``:u``}
        `}function b7e(e){return u`

        ${jf}

        `}function _7e(e){return u`
        ${Rd} ${N(Qf)}
        `}function e0e(e,t,o,n){let r=document.getElementById(P8);r&&(r.innerHTML=` ${Yf}`);try{let s=k.isAuthenticated?k.authenticationMode:"Anonymous";ixe(e,t??"",o??"",n,s)}catch{}}function v7e(e){let t=document.getElementById(cC),o=document.getElementById(lC);t&&o&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,o.textContent=t.hidden?XN:Uy)}function y7e(e){let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("a");Array.from(o).forEach((r,s)=>{r.setAttribute("data-bi-name",`search-answer-ref-${s}`)});let n=t.getElementsByTagName("pre");return Array.from(n).forEach(r=>{r.classList.add("white-space-pre-wrap")}),t.innerHTML}async function n0e(e,t){if(w.enableModernSearchAnswer===!1)return;let o=e.resetAbortController("SearchAnswer"),n=e.getSelectedCategoryName(),r=document.getElementById(I8);if(r){if(n!=="All"&&n){y(Xa(e,"NotShown"),r);return}await ve,k.isAuthenticated?await x7e(e,t,o,r):await T7e(e,t,o,r)}}async function x7e(e,t,o,n){if(y(Xa(e,"Generating"),n),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,y(Xa(e,"ShowResult"),n);return}let r=e.queryCopilotQaCache(e.terms);if(r){let d=new Date().toISOString();e.copilotQA={answer:r.answer,question:r.question,responseType:r.responseType};let p=400+Math.random()*1e3;if(await new Promise(g=>setTimeout(g,p)),o.aborted)return;let m=new Date().toISOString();y(Xa(e,"ShowResult"),n),bM(e.terms,e.copilotQA.question,e.copilotQA.answer,k.authenticationMode,d,m,e.copilotQA.responseType,!0);return}let s=e.terms.trim(),a=new Date().toISOString(),i=await l1(q.searchAnswer.user,s,o),l=new Date().toISOString(),c={answer:i?.answer??"",question:i?.question??"",responseType:i?.responseType};if(e.addCopilotQaToCache(s,c),o.aborted)return;e.copilotQA=c,y(Xa(e,"ShowResult"),n),bM(e.terms,c.question,c.answer,k.authenticationMode,a,l,i.responseType,!0)}catch{y(Xa(e,"Error"),n)}}async function T7e(e,t,o,n){if(t==="VmBusy"){e.copilotQA=void 0,o.aborted===!1&&y(Xa(e,"NotShown"),n);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){y(Xa(e,"Generating"),n);let r=new Date().toISOString(),s=600+Math.random()*1e3;if(await new Promise(i=>setTimeout(i,s)),o.aborted)return;let a=new Date().toISOString();y(Xa(e,"ShowResult"),n),bM(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",r,a,e.copilotQA?.responseType,!0)}else y(Xa(e,"NotShown"),n)}catch{y(Xa(e,"NotShown"),n)}}A();function j8(e,t="h2"){let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(s=>s.isSelected))?.value||"";if(n==="Ai")return u``;let r=e.busy?"":c1(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(w.enableNewSiteSearch)return e.busy?u``:e.resultsCount===0?u``:u`

        ${r}

        `;switch(t){case"h1":return u`

        ${r}

        `;default:return u`

        ${r}

        `}}function Q8(e){return e.busy?"":e.scope&&!e.scopeRemoved&&e.resultsCount!==0&&e.spellingCorrection.length===0?u`

        `:e.scope&&e.scopeRemoved?u`

        ${Lre.replace("{searchPhrase}",e.terms).replace("{scope}",e.scope)}

        `:e.spellingCorrection.length!==0&&e.resultsCount>0?u`

        ${Pre.replace("{searchPhrase}",e.terms)}

        `:""}function r0e(e){return e.busy?"":e.hasSortableResults?u`
        ${Rre} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}A();function W8(e){let t=Object.keys(e.facetGroups).filter(o=>o!=="category");if(w.enableNewSiteSearch){let o=e.selectedFacetsMinusCategory;return Object.keys(o).length===0?u``:u`
        ${No(t,n=>n,n=>Y8(e.facetGroups[n]?.facets||[]))}
        `}return u`${No(t,o=>o,o=>Y8(e.facetGroups[o]?.facets||[]))}`}function Y8(e){return u`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?u``:t.hasSelectedChild?u`${Y8(t.children)}`:S7e(t))}`}function S7e(e){return u` `}function w7e(e){return e.label==="author"?u` `:null}function K8(e,t,o,n,r,s){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,s(e);if(w.enableNewSiteSearch){let i=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"",l="is-full is-three-fifths-desktop padding-inline-none";return u`
        ${uC(e)}
        ${Vv(e.facetGroups?.category,"-new-search")}
        ${U8(e)}
        ${j8(e,r)} ${QAe(e)}
        ${Q8(e)}
        ${q8(e)}
        ${W8(e)} ${t0e(e)?u`${o0e(e,"ShowResult")}`:u``} ${V8(e,t,o,n)}
        ${H8(e)}
        ${G8(e)}
        `}let a=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return u`
        ${q8(e)}
        ${uC(e)} ${e.hasActiveFacets?u`
        ${C7e(e)}
        ${W8(e)}
        `:""}
        ${j8(e,r)} ${Q8(e)} ${r0e(e)}
        ${t==="list"&&e.resultsCount!==0?u`
        `:""} ${V8(e,t,o,n)}
        ${H8(e)}
        ${G8(e)}
        `}function C7e(e){return u`
        ${U8(e)}
        ${h1(e)}
        `}A();function J8(e){return u`

        ${go}

        ${Md}

        `}async function ca(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:o,autocomplete:n,layout:r,hideCompleted:s,resultTemplate:a,noResultsTemplate:i,scoringProfile:l,rss:c,headingLevel:d,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:T}=e,I;switch(r){case"grid":I=30;break;case"grid-large":I=6;break;case"list":default:I=10}let C=new m1(o,I,{autocomplete:n,hideCompleted:s,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:T});await C.initialized,y(K8(C,r,a,i||J8,d,_),t),await $r(t),C.handlePageState("VmReady"),C.subscribe(Ze,async()=>{y(K8(C,r,a,i||J8,d,_),t),await $r(t),Gv&&y(ZAe(C),Gv)})}A();function a0e(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid-large",fetch:P7e,resultTemplate:R7e}}var A7e={orderBy:"last_modified desc"},k7e=MC,I7e={"solution-idea":aG};async function P7e(e){let[t]=await Promise.all([s0e(e,!1),ve]);t.count===0&&([t]=await Promise.all([s0e(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,it.userLocale));return t}function L7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:A7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function s0e(e,t){let o={...L7e(e),fuzzySearch:t},n=`${q.browse.architecture}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function R7e(e){let t=Je();return u`

        ${I7e[e.content_type]||k7e}

        ${e.title}

        ${e.summary}

          ${Mv(Ka(e))}
        `}A();function i0e(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:D7e,resultTemplate:M7e,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function M7e(e){let t=(e.exams||[]).filter(l=>!!l.display_name).map((l,c)=>c===0?u` ${l.display_name}`:u`, ${l.display_name}`),o=t.length>0?u``:"",n={"applied skills":Jg,examination:Fr.resource_type.examination,certification:Fr.resource_type.certification,course:Fr.resource_type.course}[e.credential_types[0]],r={"applied skills":e.title,examination:`${Br} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],a=`credential-${e.uid?Oo(e.uid):Je()}-title`,i=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return u`

        ${n}

        ${r}
        ${o}
        `}async function D7e(e){let[t]=await Promise.all([S1(e,!1),ve]);t.count===0&&([t]=await Promise.all([S1(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=et(o.icon_url,"en-us")),o.url&&(o.url=et(o.url,it.userLocale));return t}function $7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function S1(e,t){let o={...$7e(e),fuzzySearch:t},n=`${q.browse.credential}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}A();function l0e(e){let t=cr(e);if(!t.osRelease&&!t.ReferenceIds)return{};let o={terms:null,products:null};return t.ReferenceIds&&(o.terms=`ref:${t.ReferenceIds.replace(/,/g," ref:")}`,t.terms&&(o.terms+=` ${t.terms}`)),t.osRelease&&(o.products=`windows-${t.osRelease.replace(/,/g,",windows-")}`),{terms:o.terms,products:o.products,osRelease:null,ReferenceIds:null}}function c0e(e){switch(e){case"Reported":return CJ;case"Under Investigation":case"Investigating":return SJ;case"Confirmed":return TJ;case"Mitigated":return wJ;case"Resolved":return EJ;default:throw new Error(`Unexpected status - ${e}`)}}var N7e={orderBy:"last_updated_date desc"};function u0e(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:q7e,resultTemplate:H7e,noResultsTemplate:O7e,queryStringTransformer:l0e}}async function q7e(e){let[t]=await Promise.all([d0e(e,!1),ve]);t.count===0&&([t]=await Promise.all([d0e(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,it.userLocale));return t}function F7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:N7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function d0e(e,t){let o={...F7e(e),fuzzySearch:t},n=`${q.browse.windowsSafeguards}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function O7e(e){return e.terms&&e.terms.includes("ref:")?U7e():u`

        ${go}

        ${Md}

        `}function U7e(){return u`

        ${Are}

        ${Ere}

        `}function H7e(e){let t=c0e(e.status),o=e.status==="Resolved"?"background-color-success color-success-invert":"background-color-tertiary color-tertiary-invert",n=e.products.map(s=>u`${s}`),r=Je();return u`

        ${kE}

        ${e.title}
        ${e.status==="Resolved"?u` `:""} ${t}
        `}function z7e(e){if(!e.versions)return"";let t=e.versions.length===1?u`${e.versions[0]}`:e.versions.map(o=>u`${o}`);return u`
      • ${t}
      • `}A();function m0e(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"list",fetch:V7e,resultTemplate:j7e}}var B7e={orderBy:"start desc"};async function V7e(e){let[t]=await Promise.all([p0e(e,!1),ve]);t.count===0&&([t]=await Promise.all([p0e(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,it.userLocale));return t}function G7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:B7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function p0e(e,t){let o={...G7e(e),fuzzySearch:t},n=`${q.browse.lifecycle}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function j7e(e){let t=e.start,o=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",n=Je();return u`
        ${e.title}
        `}A();function f0e(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:K7e,resultTemplate:Y7e}}var Q7e={orderBy:"last_modified desc"};function Y7e(e){let t=Kr(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),n=`sample-${e.uid?Oo(e.uid):Je()}-title`;return u`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${Mv(W7e(e))}
        `}function W7e(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_languages?.[0];return n&&t.push(n),t}async function K7e(e){let[t]=await Promise.all([g0e(e,!1),ve]);t.count===0&&([t]=await Promise.all([g0e(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,it.userLocale));return t}function J7e(e){return{branch:pt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:Q7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function g0e(e,t){let o={...J7e(e),fuzzySearch:t},n=`${q.browse.sample}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}async function h0e(){let e=Z7e();if(w.contentBrowse){await Se;let t=document.getElementById("content-browser-container");switch(e){case"sample":ca(f0e(),t);break;case"learn":Rv(),Ow(),ca(oEe(),t);break;case"certification":ca(sEe(),t);break;case"credential":ca(i0e(),t);break;case"lifecycle":ca(m0e(),t);break;case"architecture":ca(a0e(),t);break;case"knownIssue":ca(u0e(),t);break;case"show":{ca(lEe(),t);break}}}}function Z7e(){let e=L("page_type"),t=L("page_kind");if(e==="browse"&&(t==="learn"||t==="sample"||t==="certification"||t==="credential"||t==="knownIssue"||t==="lifecycle"||t==="architecture"||t==="show"))return t;throw new Error(`The page configuration (page_kind: ${t} and page_type: ${e}) does not support browse functionality`)}A();async function b0e(){await Se;let e=document.getElementById("directory-search-form-replacement");_M(e,"directory-page-search-form","facet-search-input","directory")}function X7e(e){return 400<=e&&e<500}async function _0e(e,t=!0){let o=t?"?isAMS=true":"?isAMS=false",n=`${q.learn.episode}/${e}${o}`,s=K(n,{method:"GET"}),a=await M(s);if(fe(a),a.ok)return await a.json();if(X7e(a.status))return null;throw new Error(`Unexpected response status ${a.status}`)}function Or(e){return e?.textTracks?.length?[...e.textTracks].find(n=>n.mode==="showing")?.label||$C:$C}function v0e(e,t){let o=!1,n=e.video.volume===0||e.video.muted,r=e.video.currentTime,s=e.video.duration?r/e.video.duration:0,a,i,l,c,d,p=0,m=0,g,f=0,_,h=Or(e.video),x=0,v=0,T=0;function I(j){Yve({behaviorCode:j,videoData:t,videoTimeSeconds:r,eventTime:c,startTime:a,freezeTime:f,reStartTime:i,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:v,secondsNormalSpeedAfterReplay:x,freezeTimeAfterReplay:T})}function C(){p=Wve(d,g,p,_,c),m=V4(d,g,m,_,c),v=Kve(d,g,v,_,c,i),x=Jve(d,g,x,_,c,i)}function z(){let j=Date.now();c=j,a=j,r=e.video.currentTime,h=Or(e.video),I(le.VIDEOSTART)}function F(){let j=Date.now();c=j,l=j,r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOPAUSE),_=j}function de(){let j=Date.now();c=j,r=e.video.currentTime,h=Or(e.video);let $=!!l,X=l>i,pe=nn(j-l);$&&(f+=pe),X&&(T+=pe),I(le.VIDEOCONTINUE)}function Ce(){let j=Date.now();c=j,l=j,r=e.video.currentTime,h=Or(e.video),m=V4(d,g,m,_,c),i=j,T=0,v=0,x=0,I(le.VIDEOREPLAY)}function ie(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOCOMPLETE)}function ht(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOMUTE)}function It(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOUNMUTE)}function Vt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOERROR)}function yo(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOFULLSCREEN)}function zt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOUNFULLSCREEN)}function io(){let j=Date.now();c=j,r=e.video.currentTime,h=Or(e.video),d=j,g=e.video.playbackRate,C(),I(le.VIDEOPLAYERCLICK)}function Mt(){let j=Date.now();c=j,r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOBUFFERING),_=j}function bt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),I(le.VIDEOPLAYERLOAD)}function Me(){let j=e.video.muted||e.video.volume===0;!n&&j?ht():n&&!j&&It(),n=j}function D(){let j=Date.now(),$=e.video.currentTime,X=$/e.video.duration,pe=s<.25&&X>=.25,P=s<.5&&X>=.5,Q=s<.75&&X>=.75;(pe||P||Q)&&(c=j,r=$,h=Or(e.video),C(),I(le.VIDEOCHECKPOINT)),c=j,s=X}document.addEventListener("onestreamplayerstart",()=>{o?e.video.currentTime<.5?Ce():de():(o=!0,z())}),document.addEventListener("onestreamplayererror",Vt),e.video.addEventListener("pause",F),e.video.addEventListener("ended",ie),e.video.addEventListener("waiting",Mt),e.video.addEventListener("ratechange",io),e.video.addEventListener("loadstart",bt),e.video.addEventListener("volumechange",Me),e.video.addEventListener("timeupdate",D),e.onFullscreenChange((j,$)=>{$?yo():zt()})}A();var w1,y0e,eje="4.9.4",tje=`/static/third-party/onestream-player/shaka/${eje}/shaka-player.ui.min.js`,Z8=!1,oje="6.2.0",nje=`/static/third-party/onestream-player/mux-js/${oje}/mux.min.js`,X8=!1,rje="0.4.0",sje=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${rje}.min.js`,e9=!1,t9={id:"09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524",owners:[{id:"9beb1e29-2c2f-4460-b2ce-3e5cf96e999c",email:"-dcline@microsoft.com",name:"Douglas Cline (Steyer Associates Inc)"}],createdBy:{id:"8e6bd8a2-01ae-4e44-829f-3a9b90a567bf",email:"golnazal@microsoft.com",name:"Golnaz Alibeigi"},updatedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"obloch@microsoft.com",name:"Olivier Bloch - MSFT"},publishedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"bloch@microsoft.com",name:"Olivier Bloch - MSFT"},createTime:"2021-10-07T22:49:43.6262435Z",updateTime:"2021-12-01T19:09:48.4966451Z",publishTime:"2021-12-01T19:09:55.5078044Z",title:"IoT Show - Bridge IoT, Screens and Mobile with Ombori Grid",originalFileName:"20210923-TheIoTShow-DevelopappsthatdelightscustomerswithOmboriGridPoweredbyAzureIoTEdge_Edited_V3.mp4",publicVideo:{highQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1920x1080_AACAudio_2502_1.mp4",mediumQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1280x720_AACAudio_1341_2.mp4",lowQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_640x360_AACAudio_473_4.mp4",adaptiveVideoUrl:"",audioUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_AACAudio_2Ch_192kbps.mp4",adaptiveVideoDashUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst.mpd",adaptiveVideoHLSUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_master.m3u8",durationInMillisecond:1950763,thumbnailOtherSizes:{w800Url:`https://videoencodingpublic-hgea eyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w800.jpg`,w1120Url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w1120.jpg"},captions:[{language:"pl-pl",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pl-pl.vtt"},{language:"cs-cz",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-cs-cz.vtt"},{language:"de-de",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-de-de.vtt"},{language:"en-us",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-en-us.vtt"},{language:"es-es",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-es-es.vtt"},{language:"fr-fr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-fr-fr.vtt"},{language:"it-it",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-it-it.vtt"},{language:"ja-jp",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ja-jp.vtt"},{language:"ko-kr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ko-kr.vtt"},{language:"pt-pt",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pt-pt.vtt"},{language:"ru-ru",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ru-ru.vtt"},{language:"tr-tr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-tr-tr.vtt"},{language:"zh-cn",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-cn.vtt"},{language:"zh-tw",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-tw.vtt"}]},description:"some description",tags:["some tag"]};async function aje(){return Z8?Promise.resolve():ja(tje,null).then(()=>{Z8=!0})}async function ije(){return X8?Promise.resolve():ja(nje,null).then(()=>{X8=!0})}async function lje(){return e9?Promise.resolve():ja(sje,null,"one_stream_player").then(()=>{e9=!0})}var cje=(e=!1)=>e?u`