"use strict";(()=>{var QPe=Object.create;var ey=Object.defineProperty;var $8=Object.getOwnPropertyDescriptor;var YPe=Object.getOwnPropertyNames;var KPe=Object.getPrototypeOf,WPe=Object.prototype.hasOwnProperty;var z8=e=>{throw TypeError(e)};var ZPe=(e,t,o)=>t in e?ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var ln=(e,t)=>()=>(e&&(t=e(e=0)),t);var vu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Lo=(e,t)=>{for(var o in t)ey(e,o,{get:t[o],enumerable:!0})},JPe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of YPe(t))!WPe.call(e,r)&&r!==o&&ey(e,r,{get:()=>t[r],enumerable:!(n=$8(t,r))||n.enumerable});return e};var xw=(e,t,o)=>(o=e!=null?QPe(KPe(e)):{},JPe(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?$8(t,o):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=(n?s(t,o,r):s(r))||r);return n&&r&&ey(t,o,r),r};var Qt=(e,t,o)=>ZPe(e,typeof t!="symbol"?t+"":t,o),XD=(e,t,o)=>t.has(e)||z8("Cannot "+o);var Ee=(e,t,o)=>(XD(e,t,"read from private field"),o?o.call(e):t.get(e)),Xt=(e,t,o)=>t.has(e)?z8("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Et=(e,t,o,n)=>(XD(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o),_p=(e,t,o)=>(XD(e,t,"access private method"),o);var Wse,lr,Op,lz=ln(()=>{Wse=new WeakMap,lr=e=>(...t)=>{let o=e(...t);return Wse.set(o,!0),o},Op=e=>typeof e=="function"&&Wse.has(e)});var cz,y0,Fp,eh=ln(()=>{cz=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,y0=(e,t,o=null,n=null)=>{for(;t!==o;){let r=t.nextSibling;e.insertBefore(t,n),t=r}},Fp=(e,t,o=null)=>{for(;t!==o;){let n=t.nextSibling;e.removeChild(t),t=n}}});var Ai,x0,uz=ln(()=>{Ai={},x0={}});var Xa,dz,Zse,th,qy,Jse,pz,Pi,T0,oh=ln(()=>{Xa=`{{lit-${String(Math.random()).slice(2)}}}`,dz=``,Zse=new RegExp(`${Xa}|${dz}`),th="$lit$",qy=class{constructor(t,o){this.parts=[],this.element=o;let n=[],r=[],i=document.createTreeWalker(o.content,133,null,!1),s=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let v=c[l],h=T0.exec(v)[2],x=h.toLowerCase()+th,_=p.getAttribute(x);p.removeAttribute(x);let T=_.split(Zse);this.parts.push({type:"attribute",index:a,name:h,strings:T}),l+=T.length-1}}p.tagName==="TEMPLATE"&&(r.push(p),i.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(Xa)>=0){let g=p.parentNode,f=m.split(Zse),v=f.length-1;for(let h=0;h{let o=e.length-t.length;return o>=0&&e.slice(o)===t},pz=e=>e.index!==-1,Pi=()=>document.createComment(""),T0=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var nh,mz=ln(()=>{eh();oh();nh=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=cz?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),i=0,s=0,a,l=r.nextNode();for(;i{eh();oh();Xse=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),gIe=` ${Xa} `,el=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)&&i.indexOf("-->",s+1)===-1;let a=T0.exec(i);a===null?o+=i+(n?gIe:dz):o+=i.substr(0,a.index)+a[1]+a[2]+th+a[3]+Xa}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return Xse!==void 0&&(o=Xse.createHTML(o)),t.innerHTML=o,t}}});var Du,S0,rh,aa,Yr,Up,Hy,Mu,eae,qp,fIe,ih=ln(()=>{lz();eh();uz();mz();k0();oh();Du=e=>e===null||!(typeof e=="object"||typeof e=="function"),S0=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),rh=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 eae=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();qp=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(;Op(this.__pendingValue);){let i=this.__pendingValue;this.__pendingValue=Ai,i(this)}if(this.__pendingValue===Ai)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=fIe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Ai}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},fIe=e=>e&&(eae?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var w0,E0,gz=ln(()=>{ih();w0=class{handleAttributeExpressions(t,o,n,r){let i=o[0];return i==="."?new Hy(t,o.slice(1),n).parts:i==="@"?[new qp(t,o.slice(1),r.eventContext)]:i==="?"?[new Up(t,o.slice(1),n)]:new rh(t,o,n).parts}handleTextExpression(t){return new Yr(t)}},E0=new w0});function hz(e){let t=fz.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},fz.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let n=e.strings.join(Xa);return o=t.keyString.get(n),o===void 0&&(o=new qy(e,e.getTemplateElement()),t.keyString.set(n,o)),t.stringsArray.set(e.strings,o),o}var fz,bz=ln(()=>{oh();fz=new Map});var vz,y,_z=ln(()=>{eh();ih();bz();vz=new WeakMap,y=(e,t,o)=>{let n=vz.get(t);n===void 0&&(Fp(t,t.firstChild),vz.set(t,n=new Yr(Object.assign({templateFactory:hz},o))),n.appendInto(t)),n.setValue(e),n.commit()}});var d,Ue=ln(()=>{gz();k0();gz();lz();eh();uz();ih();_z();bz();mz();k0();oh();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new el(e,t,"html",E0)});var yz,tae,Kr,oae=ln(()=>{Ue();yz=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)}}},tae=new WeakMap,Kr=lr(e=>t=>{if(!(t instanceof aa)||t instanceof Mu||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=tae.get(t);r===void 0&&(n.setAttribute("class",o.strings.join(" ")),tae.set(t,r=new Set));let i=n.classList||new yz(n);r.forEach(s=>{s in e||(i.remove(s),r.delete(s))});for(let s in e){let a=e[s];a!=r.has(s)&&(a?(i.add(s),r.add(s)):(i.remove(s),r.delete(s)))}typeof i.commit=="function"&&i.commit()})});var xz,Fe,sh=ln(()=>{Ue();xz=new WeakMap,Fe=lr(e=>t=>{let o=xz.get(t);if(e===void 0&&t instanceof aa){if(o!==void 0||!xz.has(t)){let n=t.committer.name;t.committer.element.removeAttribute(n)}}else e!==o&&t.setValue(e);xz.set(t,e)})});var Tz,nae,rae=ln(()=>{Ue();Tz=lr(e=>t=>{let o;if(t instanceof qp||t instanceof Yr)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Up)nae(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:n,name:r,strings:i}=t.committer;if(nae(i),t instanceof Mu){if(o=n[r],o===e)return}else t instanceof aa&&(o=n.getAttribute(r));if(o===String(e))return}t.setValue(e)}),nae=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var iae,Hp,kz,Sz,sae,aae,lae,Mo,cae=ln(()=>{Ue();iae=(e,t)=>{let o=e.startNode.parentNode,n=t===void 0?e.endNode:t.startNode,r=o.insertBefore(Pi(),n);o.insertBefore(Pi(),n);let i=new Yr(e.options);return i.insertAfterNode(r),i},Hp=(e,t)=>(e.setValue(t),e.commit(),e),kz=(e,t,o)=>{let n=e.startNode.parentNode,r=o?o.startNode:e.endNode,i=t.endNode.nextSibling;i!==r&&y0(n,t.startNode,i,r)},Sz=e=>{Fp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},sae=(e,t,o)=>{let n=new Map;for(let r=t;r<=o;r++)n.set(e[r],r);return n},aae=new WeakMap,lae=new WeakMap,Mo=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 i=aae.get(r)||[],s=lae.get(r)||[],a=[],l=[],c=[],u=0;for(let x of e)c[u]=n?n(x,u):u,l[u]=o(x,u),u++;let p,m,g=0,f=i.length-1,v=0,h=l.length-1;for(;g<=f&&v<=h;)if(i[g]===null)g++;else if(i[f]===null)f--;else if(s[g]===c[v])a[v]=Hp(i[g],l[v]),g++,v++;else if(s[f]===c[h])a[h]=Hp(i[f],l[h]),f--,h--;else if(s[g]===c[h])a[h]=Hp(i[g],l[h]),kz(r,i[g],a[h+1]),g++,h--;else if(s[f]===c[v])a[v]=Hp(i[f],l[v]),kz(r,i[f],i[g]),f--,v++;else if(p===void 0&&(p=sae(c,v,h),m=sae(s,g,f)),!p.has(s[g]))Sz(i[g]),g++;else if(!p.has(s[f]))Sz(i[f]),f--;else{let x=m.get(c[v]),_=x!==void 0?i[x]:null;if(_===null){let T=iae(r,i[g]);Hp(T,l[v]),a[v]=T}else a[v]=Hp(_,l[v]),kz(r,_,i[g]),i[x]=null;v++}for(;v<=h;){let x=iae(r,a[h+1]);Hp(x,l[v]),a[v++]=x}for(;g<=f;){let x=i[g++];x!==null&&Sz(x)}aae.set(r,a),lae.set(r,c)}})});var uae,$,Bp=ln(()=>{ih();Ue();uae=new WeakMap,$=lr(e=>t=>{if(!(t instanceof Yr))throw new Error("unsafeHTML can only be used in text bindings");let o=uae.get(t);if(o!==void 0&&Du(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),uae.set(t,{value:e,fragment:r})})});var dae,pae,En,mae=ln(()=>{ih();Ue();dae=new WeakMap,pae=2147483647,En=lr((...e)=>t=>{let o=dae.get(t);o===void 0&&(o={lastRenderedIndex:pae,values:[]},dae.set(t,o));let n=o.values,r=n.length;o.values=e;for(let i=0;io.lastRenderedIndex);i++){let s=e[i];if(Du(s)||typeof s.then!="function"){t.setValue(s),o.lastRenderedIndex=i;break}i{let l=o.values.indexOf(s);l>-1&&l{"use strict";Ue();oae();sh();rae();cae();Bp();mae()});function Tg(e){KL[e.name]=e}function gH(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)(?:-|$)/,(i,s)=>(o=s,"")),o===void 0)return null;let n=KL[o]?KL[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,(i,s)=>(r.flags[s]=!0,"")),r}function Bfe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function fH(e,t){let o=mH[e.name];return o||(o=mH[e.name]=KL[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 mH[e.name],o.dispose()}}}var KL,mH,kg=ln(()=>{"use strict";C();KL={};mH={}});var jbe=vu((mLt,Lbe)=>{Lbe.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var Mbe=vu((gLt,Rbe)=>{Rbe.exports=/[\0-\x1F\x7F-\x9F]/});var $be=vu((fLt,Dbe)=>{Dbe.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Nbe=vu((hLt,zbe)=>{zbe.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 Fbe=vu((bLt,Obe)=>{"use strict";Obe.exports=function(e){var t={};e=e||{},t.src_Any=jbe().source,t.src_Cc=Mbe().source,t.src_Z=$be().source,t.src_P=Nbe().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 Vbe=vu((vLt,Bbe)=>{"use strict";function IB(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 xj(e){return Object.prototype.toString.call(e)}function c2e(e){return xj(e)==="[object String]"}function u2e(e){return xj(e)==="[object Object]"}function d2e(e){return xj(e)==="[object RegExp]"}function Ube(e){return xj(e)==="[object Function]"}function p2e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Hbe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function m2e(e){return Object.keys(e||{}).reduce(function(t,o){return t||Hbe.hasOwnProperty(o)},!1)}var g2e={"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}}},f2e="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]",h2e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function b2e(e){e.__index__=-1,e.__text_cache__=""}function v2e(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 yj(e){var t=e.re=Fbe()(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(f2e),o.push(t.src_xn),t.src_tlds=o.join("|");function n(a){return a.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 i(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){var l=e.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[a]=c,u2e(l)){d2e(l.validate)?c.validate=v2e(l.validate):Ube(l.validate)?c.validate=l.validate:i(a,l),Ube(l.normalize)?c.normalize=l.normalize:l.normalize?i(a,l):c.normalize=qbe();return}if(c2e(l)){r.push(a);return}i(a,l)}}),r.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:qbe()};var s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(p2e).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","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"),b2e(e)}function _2e(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 LB(e,t){var o=new _2e(e,t);return e.__compiled__[o.schema].normalize(o,e),o}function Zi(e,t){if(!(this instanceof Zi))return new Zi(e,t);t||m2e(e)&&(t=e,e={}),this.__opts__=IB({},Hbe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=IB({},g2e,e),this.__compiled__={},this.__tlds__=h2e,this.__tlds_replaced__=!1,this.re={},yj(this)}Zi.prototype.add=function(t,o){return this.__schemas__[t]=o,yj(this),this};Zi.prototype.set=function(t){return this.__opts__=IB(this.__opts__,t),this};Zi.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var o,n,r,i,s,a,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(o=l.exec(t))!==null;)if(i=this.testSchemaAt(t,o[2],l.lastIndex),i){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+i;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&&(s=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a))),this.__index__>=0};Zi.prototype.pretest=function(t){return this.re.pretest.test(t)};Zi.prototype.testSchemaAt=function(t,o,n){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,n,this):0};Zi.prototype.match=function(t){var o=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(LB(this,o)),o=this.__last_index__);for(var r=o?t.slice(o):t;this.test(r);)n.push(LB(this,o)),r=r.slice(this.__last_index__),o+=this.__last_index__;return n.length?n:null};Zi.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,LB(this,0)):null};Zi.prototype.tlds=function(t,o){return t=Array.isArray(t)?t:[t],o?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),yj(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,yj(this),this)};Zi.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Zi.prototype.onCompile=function(){};Bbe.exports=Zi});var KB=vu((QB,YB)=>{(function(e,t){typeof QB=="object"&&typeof YB<"u"?YB.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(QB,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(De){return De&&De.default||De}var o=function(De,U,w={}){var Y,X,oe;for(Y in U)oe=U[Y],w[Y]=(X=De[Y])!=null?X:oe;return w},n=function(De,U,w={}){var Y,X;for(Y in De)X=De[Y],U[Y]!==void 0&&(w[Y]=X);return w},r={load:o,overwrite:n},i;i=class{constructor(U,w){this.incr=U,this.decr=w,this._first=null,this._last=null,this.length=0}push(U){var w;this.length++,typeof this.incr=="function"&&this.incr(),w={value:U,prev:this._last,next:null},this._last!=null?(this._last.next=w,this._last=w):this._first=this._last=w}shift(){var U;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),U=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,U}first(){if(this._first!=null)return this._first.value}getArray(){var U,w,Y;for(U=this._first,Y=[];U!=null;)Y.push((w=U,U=U.next,w.value));return Y}forEachShift(U){var w;for(w=this.shift();w!=null;)U(w),w=this.shift()}debug(){var U,w,Y,X,oe;for(U=this._first,oe=[];U!=null;)oe.push((w=U,U=U.next,{value:w.value,prev:(Y=w.prev)!=null?Y.value:void 0,next:(X=w.next)!=null?X.value:void 0}));return oe}};var s=i,a;a=class{constructor(U){if(this.instance=U,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=(w,Y)=>this._addListener(w,"many",Y),this.instance.once=(w,Y)=>this._addListener(w,"once",Y),this.instance.removeAllListeners=(w=null)=>w!=null?delete this._events[w]:this._events={}}_addListener(U,w,Y){var X;return(X=this._events)[U]==null&&(X[U]=[]),this._events[U].push({cb:Y,status:w}),this.instance}listenerCount(U){return this._events[U]!=null?this._events[U].length:0}async trigger(U,...w){var Y,X;try{return U!=="debug"&&this.trigger("debug",`Event triggered: ${U}`,w),this._events[U]==null?void 0:(this._events[U]=this._events[U].filter(function(oe){return oe.status!=="none"}),X=this._events[U].map(async oe=>{var Te,Ne;if(oe.status!=="none"){oe.status==="once"&&(oe.status="none");try{return Ne=typeof oe.cb=="function"?oe.cb(...w):void 0,typeof Ne?.then=="function"?await Ne:Ne}catch(Gt){return Te=Gt,this.trigger("error",Te),null}}}),(await Promise.all(X)).find(function(oe){return oe!=null}))}catch(oe){return Y=oe,this.trigger("error",Y),null}}};var l=a,c,u,p;c=s,u=l,p=class{constructor(U){var w;this.Events=new u(this),this._length=0,this._lists=function(){var Y,X,oe;for(oe=[],w=Y=1,X=U;1<=X?Y<=X:Y>=X;w=1<=X?++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(U){return this._lists[U.options.priority].push(U)}queued(U){return U!=null?this._lists[U].length:this._length}shiftAll(U){return this._lists.forEach(function(w){return w.forEachShift(U)})}getFirst(U=this._lists){var w,Y,X;for(w=0,Y=U.length;w0)return X;return[]}shiftLastFrom(U){return this.getFirst(this._lists.slice(U).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,v,h,x,_,T;_=10,h=5,T=r,v=f,x=class{constructor(U,w,Y,X,oe,Te,Ne,Gt){this.task=U,this.args=w,this.rejectOnDrop=oe,this.Events=Te,this._states=Ne,this.Promise=Gt,this.options=T.load(Y,X),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===X.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Gn,sr)=>{this._resolve=Gn,this._reject=sr}),this.retryCount=0}_sanitizePriority(U){var w;return w=~~U!==U?h:U,w<0?0:w>_-1?_-1:w}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:U,message:w="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(U??new v(w)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(U){var w;if(w=this._states.jobStatus(this.options.id),!(w===U||U==="DONE"&&w===null))throw new v(`Invalid job status ${w}, expected ${U}. 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(U,w){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:U,blocked:w})}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(U,w,Y,X){var oe,Te,Ne;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(Ne=await(U!=null?U.schedule(this.options,this.task,...this.args):this.task(...this.args)),w())return this.doDone(Te),await X(this.options,Te),this._assertStatus("DONE"),this._resolve(Ne)}catch(Gt){return oe=Gt,this._onFailure(oe,Te,w,Y,X)}}doExpire(U,w,Y){var X,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},X=new v(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(X,oe,U,w,Y)}async _onFailure(U,w,Y,X,oe){var Te,Ne;if(Y())return Te=await this.Events.trigger("failed",U,w),Te!=null?(Ne=~~Te,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Ne} ms`,w),this.retryCount++,X(Ne)):(this.doDone(w),await oe(this.options,w),this._assertStatus("DONE"),this._reject(U))}doDone(U){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",U)}};var P=x,E,B,N;N=r,E=f,B=class{constructor(U,w,Y){this.instance=U,this.storeOptions=w,this.clientId=this.instance._randomIndex(),N.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 U;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(U=this.heartbeat=setInterval(()=>{var w,Y,X,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:w,reservoirIncreaseMaximum:X,reservoir:Te}=this.storeOptions,this._lastReservoirIncrease=oe,Y=X!=null?Math.min(w,X-Te):w,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?U.unref():void 0:clearInterval(this.heartbeat)}async __publish__(U){return await this.yieldLoop(),this.instance.Events.trigger("message",U.toString())}async __disconnect__(U){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(U=0){return new this.Promise(function(w,Y){return setTimeout(w,U)})}computePenalty(){var U;return(U=this.storeOptions.penalty)!=null?U:15*this.storeOptions.minTime||5e3}async __updateSettings__(U){return await this.yieldLoop(),N.overwrite(U,U,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__(U){return await this.yieldLoop(),this._nextRequest+this.timeout=U}check(U,w){return this.conditionsCheck(U)&&this._nextRequest-w<=0}async __check__(U){var w;return await this.yieldLoop(),w=Date.now(),this.check(U,w)}async __register__(U,w,Y){var X,oe;return await this.yieldLoop(),X=Date.now(),this.conditionsCheck(w)?(this._running+=w,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=w),oe=Math.max(this._nextRequest-X,0),this._nextRequest=X+oe+this.storeOptions.minTime,{success:!0,wait:oe,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(U,w){var Y,X,oe;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&w>this.storeOptions.maxConcurrent)throw new E(`Impossible to add a job having a weight of ${w} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return X=Date.now(),oe=this.storeOptions.highWater!=null&&U===this.storeOptions.highWater&&!this.check(w,X),Y=this.strategyIsBlock()&&(oe||this.isBlocked(X)),Y&&(this._unblockTime=X+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:oe,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(U,w){return await this.yieldLoop(),this._running-=w,this._done+=w,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var de=B,Ce,ae;Ce=f,ae=class{constructor(U){this.status=U,this._jobs={},this.counts=this.status.map(function(){return 0})}next(U){var w,Y;if(w=this._jobs[U],Y=w+1,w!=null&&Y(U[this.status[Y]]=w,U),{})}};var yt=ae,Nt,Vt;Nt=s,Vt=class{constructor(U,w){this.schedule=this.schedule.bind(this),this.name=U,this.Promise=w,this._running=0,this._queue=new Nt}isEmpty(){return this._queue.length===0}async _tryToRun(){var U,w,Y,X,oe,Te,Ne;if(this._running<1&&this._queue.length>0)return this._running++,{task:Ne,args:U,resolve:oe,reject:X}=this._queue.shift(),w=await async function(){try{return Te=await Ne(...U),function(){return oe(Te)}}catch(Gt){return Y=Gt,function(){return X(Y)}}}(),this._running--,this._tryToRun(),w()}schedule(U,...w){var Y,X,oe;return oe=X=null,Y=new this.Promise(function(Te,Ne){return oe=Te,X=Ne}),this._queue.push({task:U,args:w,resolve:oe,reject:X}),this._tryToRun(),Y}};var Uo=Vt,Jt="2.19.5",bo={version:Jt},Vn=Object.freeze({version:Jt,default:bo}),Ot=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Re=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),M=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),G,D,ee,fe,I,Q;Q=r,G=l,fe=Ot,ee=Re,I=M,D=function(){class De{constructor(w={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=w,Q.load(this.limiterOptions,this.defaults,this),this.Events=new G(this),this.instances={},this.Bottleneck=ir,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new fe(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new ee(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(w=""){var Y;return(Y=this.instances[w])!=null?Y:(()=>{var X;return X=this.instances[w]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${w}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",X,w),X})()}async deleteKey(w=""){var Y,X;return X=this.instances[w],this.connection&&(Y=await this.connection.__runCommand__(["del",...I.allKeys(`${this.id}-${w}`)])),X!=null&&(delete this.instances[w],await X.disconnect()),X!=null||Y>0}limiters(){var w,Y,X,oe;Y=this.instances,X=[];for(w in Y)oe=Y[w],X.push({key:w,limiter:oe});return X}keys(){return Object.keys(this.instances)}async clusterKeys(){var w,Y,X,oe,Te,Ne,Gt,Gn,sr;if(this.connection==null)return this.Promise.resolve(this.keys());for(Ne=[],w=null,sr=`b_${this.id}-`.length,Y=9;w!==0;)for([Gn,X]=await this.connection.__runCommand__(["scan",w??0,"match",`b_${this.id}-*_settings`,"count",1e4]),w=~~Gn,oe=0,Gt=X.length;oe{var Y,X,oe,Te,Ne,Gt;Ne=Date.now(),oe=this.instances,Te=[];for(X in oe){Gt=oe[X];try{await Gt._store.__groupCheck__(Ne)?Te.push(this.deleteKey(X)):Te.push(void 0)}catch(Gn){Y=Gn,Te.push(Gt.Events.trigger("error",Y))}}return Te},this.timeout/2)).unref=="function"?w.unref():void 0}updateSettings(w={}){if(Q.overwrite(w,this.defaults,this),Q.overwrite(w,w,this.limiterOptions),w.timeout!=null)return this._startAutoCleanup()}disconnect(w=!0){var Y;if(!this.sharedConnection)return(Y=this.connection)!=null?Y.disconnect(w):void 0}}return De.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},De}.call(e);var re=D,he,ze,it;it=r,ze=l,he=function(){class De{constructor(w={}){this.options=w,it.load(this.options,this.defaults,this),this.Events=new ze(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((w,Y)=>this._resolve=w)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(w){var Y;return this._arr.push(w),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 De.prototype.defaults={maxTime:null,maxSize:null,Promise},De}.call(e);var gt=he,so=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),an=t(Vn),vo,q,ie,pe,ye,we,Ye,Ke,Mt,nt,Ft,Tr=[].splice;we=10,q=5,Ft=r,Ye=m,pe=P,ye=de,Ke=so,ie=l,Mt=yt,nt=Uo,vo=function(){class De{constructor(w={},...Y){var X,oe;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(w,Y),Ft.load(w,this.instanceDefaults,this),this._queues=new Ye(we),this._scheduled={},this._states=new Mt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new ie(this),this._submitLock=new nt("submit",this.Promise),this._registerLock=new nt("register",this.Promise),oe=Ft.load(w,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return X=Ft.load(w,this.redisStoreDefaults,{}),new Ke(this,oe,X);if(this.datastore==="local")return X=Ft.load(w,this.localStoreDefaults,{}),new ye(this,oe,X);throw new De.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(w,Y){if(!(w!=null&&typeof w=="object"&&Y.length===0))throw new De.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(w){return this._store.__publish__(w)}disconnect(w=!0){return this._store.__disconnect__(w)}chain(w){return this._limiter=w,this}queued(w){return this._queues.queued(w)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(w){return this._states.jobStatus(w)}jobs(w){return this._states.statusJobs(w)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(w=1){return this._store.__check__(w)}_clearGlobalState(w){return this._scheduled[w]!=null?(clearTimeout(this._scheduled[w].expiration),delete this._scheduled[w],!0):!1}async _free(w,Y,X,oe){var Te,Ne;try{if({running:Ne}=await this._store.__free__(w,X.weight),this.Events.trigger("debug",`Freed ${X.id}`,oe),Ne===0&&this.empty())return this.Events.trigger("idle")}catch(Gt){return Te=Gt,this.Events.trigger("error",Te)}}_run(w,Y,X){var oe,Te,Ne;return Y.doRun(),oe=this._clearGlobalState.bind(this,w),Ne=this._run.bind(this,w,Y),Te=this._free.bind(this,w,Y),this._scheduled[w]={timeout:setTimeout(()=>Y.doExecute(this._limiter,oe,Ne,Te),X),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(oe,Ne,Te)},X+Y.options.expiration):void 0,job:Y}}_drainOne(w){return this._registerLock.schedule(()=>{var Y,X,oe,Te,Ne;return this.queued()===0?this.Promise.resolve(null):(Ne=this._queues.getFirst(),{options:Te,args:Y}=oe=Ne.first(),w!=null&&Te.weight>w?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${Te.id}`,{args:Y,options:Te}),X=this._randomIndex(),this._store.__register__(X,Te.weight,Te.expiration).then(({success:Gt,wait:Gn,reservoir:sr})=>{var X_;return this.Events.trigger("debug",`Drained ${Te.id}`,{success:Gt,args:Y,options:Te}),Gt?(Ne.shift(),X_=this.empty(),X_&&this.Events.trigger("empty"),sr===0&&this.Events.trigger("depleted",X_),this._run(X,oe,Gn),this.Promise.resolve(Te.weight)):this.Promise.resolve(null)})))})}_drainAll(w,Y=0){return this._drainOne(w).then(X=>{var oe;return X!=null?(oe=w!=null?w-X:w,this._drainAll(oe,Y+X)):this.Promise.resolve(Y)}).catch(X=>this.Events.trigger("error",X))}_dropAllQueued(w){return this._queues.shiftAll(function(Y){return Y.doDrop({message:w})})}stop(w={}){var Y,X;return w=Ft.load(w,this.stopDefaults),X=oe=>{var Te;return Te=()=>{var Ne;return Ne=this._states.counts,Ne[0]+Ne[1]+Ne[2]+Ne[3]===oe},new this.Promise((Ne,Gt)=>Te()?Ne():this.on("done",()=>{if(Te())return this.removeAllListeners("done"),Ne()}))},Y=w.dropWaitingJobs?(this._run=function(oe,Te){return Te.doDrop({message:w.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var oe,Te,Ne;Te=this._scheduled;for(oe in Te)Ne=Te[oe],this.jobStatus(Ne.job.options.id)==="RUNNING"&&(clearTimeout(Ne.timeout),clearTimeout(Ne.expiration),Ne.job.doDrop({message:w.dropErrorMessage}));return this._dropAllQueued(w.dropErrorMessage),X(0)}))):this.schedule({priority:we-1,weight:0},()=>X(1)),this._receive=function(oe){return oe._reject(new De.prototype.BottleneckError(w.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new De.prototype.BottleneckError("stop() has already been called")),Y}async _addToQueue(w){var Y,X,oe,Te,Ne,Gt,Gn;({args:Y,options:Te}=w);try{({reachedHWM:Ne,blocked:X,strategy:Gn}=await this._store.__submit__(this.queued(),Te.weight))}catch(sr){return oe=sr,this.Events.trigger("debug",`Could not queue ${Te.id}`,{args:Y,options:Te,error:oe}),w.doDrop({error:oe}),!1}return X?(w.doDrop(),!0):Ne&&(Gt=Gn===De.prototype.strategy.LEAK?this._queues.shiftLastFrom(Te.priority):Gn===De.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(Te.priority+1):Gn===De.prototype.strategy.OVERFLOW?w:void 0,Gt?.doDrop(),Gt==null||Gn===De.prototype.strategy.OVERFLOW)?(Gt==null&&w.doDrop(),Ne):(w.doQueue(Ne,X),this._queues.push(w),await this._drainAll(),Ne)}_receive(w){return this._states.jobStatus(w.options.id)!=null?(w._reject(new De.prototype.BottleneckError(`A job with the same id already exists (id=${w.options.id})`)),!1):(w.doReceive(),this._submitLock.schedule(this._addToQueue,w))}submit(...w){var Y,X,oe,Te,Ne,Gt,Gn;return typeof w[0]=="function"?(Ne=w,[X,...w]=Ne,[Y]=Tr.call(w,-1),Te=Ft.load({},this.jobDefaults)):(Gt=w,[Te,X,...w]=Gt,[Y]=Tr.call(w,-1),Te=Ft.load(Te,this.jobDefaults)),Gn=(...sr)=>new this.Promise(function(X_,GPe){return X(...sr,function(...D8){return(D8[0]!=null?GPe:X_)(D8)})}),oe=new pe(Gn,w,Te,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),oe.promise.then(function(sr){return typeof Y=="function"?Y(...sr):void 0}).catch(function(sr){return Array.isArray(sr)?typeof Y=="function"?Y(...sr):void 0:typeof Y=="function"?Y(sr):void 0}),this._receive(oe)}schedule(...w){var Y,X,oe;return typeof w[0]=="function"?([oe,...w]=w,X={}):[X,oe,...w]=w,Y=new pe(oe,w,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(w){var Y,X;return Y=this.schedule.bind(this),X=function(...oe){return Y(w.bind(this),...oe)},X.withOptions=function(oe,...Te){return Y(oe,w,...Te)},X}async updateSettings(w={}){return await this._store.__updateSettings__(Ft.overwrite(w,this.storeDefaults)),Ft.overwrite(w,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(w=0){return this._store.__incrementReservoir__(w)}}return De.default=De,De.Events=ie,De.version=De.prototype.version=an.version,De.strategy=De.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},De.BottleneckError=De.prototype.BottleneckError=f,De.Group=De.prototype.Group=re,De.RedisConnection=De.prototype.RedisConnection=Ot,De.IORedisConnection=De.prototype.IORedisConnection=Re,De.Batcher=De.prototype.Batcher=gt,De.prototype.jobDefaults={priority:q,weight:1,expiration:null,id:""},De.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:De.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},De.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},De.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},De.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},De.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},De}.call(e);var ir=vo,vp=ir;return vp})});var o_e=vu((OMt,Kk)=>{"use strict";var Nj=function(){};Nj.prototype=Object.create(null);var $j=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,zj=/\\([\v\u0020-\u00ff])/gu,Xve=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Mg={type:"",parameters:new Nj};Object.freeze(Mg.parameters);Object.freeze(Mg);function e_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(Xve.test(o)===!1)throw new TypeError("invalid media type");let n={type:o.toLowerCase(),parameters:new Nj};if(t===-1)return n;let r,i,s;for($j.lastIndex=t;i=$j.exec(e);){if(i.index!==t)throw new TypeError("invalid parameter format");t+=i[0].length,r=i[1].toLowerCase(),s=i[2],s[0]==='"'&&(s=s.slice(1,s.length-1),zj.test(s)&&(s=s.replace(zj,"$1"))),n.parameters[r]=s}if(t!==e.length)throw new TypeError("invalid parameter format");return n}function t_e(e){if(typeof e!="string")return Mg;let t=e.indexOf(";"),o=t!==-1?e.slice(0,t).trim():e.trim();if(Xve.test(o)===!1)return Mg;let n={type:o.toLowerCase(),parameters:new Nj};if(t===-1)return n;let r,i,s;for($j.lastIndex=t;i=$j.exec(e);){if(i.index!==t)return Mg;t+=i[0].length,r=i[1].toLowerCase(),s=i[2],s[0]==='"'&&(s=s.slice(1,s.length-1),zj.test(s)&&(s=s.replace(zj,"$1"))),n.parameters[r]=s}return t!==e.length?Mg:n}Kk.exports.default={parse:e_e,safeParse:t_e};Kk.exports.parse=e_e;Kk.exports.safeParse=t_e;Kk.exports.defaultContentType=Mg});function N8(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&XPe(o)})}function XPe(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(()=>{F8(o),n.offsetHeight});let r=()=>{o.open&&F8(o)},i=c=>{c.key==="Escape"&&l()},s=c=>{c.target instanceof Element&&(o?.contains(c.target)||l(),c.type==="click"&&c.target.closest("[data-popover-close]")&&l())},a=()=>{document.activeElement?.nodeName?.toLowerCase()==="iframe"&&l()},l=()=>{e.removeEventListener("focus",s,!0),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",i),window.removeEventListener("blur",a),window.removeEventListener("resize",r),o?.open&&(o.removeAttribute("open"),n.style.visibility="hidden")};e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",i),window.addEventListener("blur",a),window.addEventListener("resize",r)},!0)}var O8=24,e1=8;function eIe(e){return window.getComputedStyle(e).direction==="rtl"}function tIe(e,t,o){let n=o.getBoundingClientRect(),r=window.innerHeight-n.bottom,i=n.top,s=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!s&&(l+e1>i||r>=l||r>=i),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=o.offsetTop+o.offsetHeight+e1:(p=o.offsetTop-t.offsetHeight-e1,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function oIe(e,t,o,n){let r=t.offsetWidth,i=o.offsetWidth,s=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=o.offsetLeft,u=c+i,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=n?u-r:c;else if(g)p=n?c:u-r;else{p=c+i/2-r/2;let f=l.left+p,v=f+r;fs-O8&&(p=u-r)}return n?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function nIe(e,t,o,n){let r=e.offsetWidth,i=t.offsetWidth,a=t.offsetLeft+i/2,l;n?l=100-(a-o+4)/r*100:l=(a-o-4)/r*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function F8(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=eIe(e);tIe(e,t,o);let r=oIe(e,t,o,n);e.classList.contains("popover-caret")&&nIe(t,o,r,n),t.style.visibility="visible"}var t1=!1;function U8(){iIe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)rIe(t)}function rIe(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(i=>{if(!t1&&i[0].isIntersecting===!0){let s=i[0].target.getAttribute("data-snap-scroll-slide");if(!s)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let a=e.querySelector(`[data-snap-scroll-nav-item="${s}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");q8(e,a)}},n);o.forEach(i=>r.observe(i))}function iIe(){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")');t1=!0,e.preventDefault();let r=o.querySelector(`[data-snap-scroll-slide="${n}"]`);q8(o,t),r.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>t1=!1,500)})}function q8(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 sIe=0;function yp(){return`bx-${sIe++}`}function H8(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var B8={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."},Tw=class extends HTMLElement{constructor(){super();Qt(this,"submitting",!1);Qt(this,"initialData",new FormData);Qt(this,"toDispose",[]);Qt(this,"isDirty",!1);Qt(this,"commitTimeout",0);Qt(this,"locStrings",B8);Qt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Qt(this,"commit",o=>{!Q8(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&aIe(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[H8(r.name.substring(4))]=r.value,n),{});return Object.assign({},B8,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 cIe(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 i=new CustomEvent("form-validating",{detail:{form:n},bubbles:!0});this.dispatchEvent(i);return}let r=!1;try{if(this.submitting=!0,V8(o,n,this.submitting),!(await this.validateForm(n)).valid||this.noSubmit)return;let s=dIe(o)??n.action,a=new URL(s).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:a.get("_method")||n.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:s,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),v=await fetch(f);if(v.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:f,response:v},bubbles:!0})),r=this.navigate(v.headers.get("location")??this.getAttribute("navigation-href"));else{let{errorAlert:h,errorList:x}=this.getErrorAlert(n),_=document.createElement("li");_.innerText=this.locStrings.weEncounteredAnUnexpectedError,v.status===401&&(_.innerText=this.locStrings.notAuthenticated),v.status===403&&(_.innerText=this.locStrings.notAuthorized),v.status===412&&(_.innerText=this.locStrings.contentHasChanged),v.status===429&&(_.innerText=this.locStrings.tooManyRequests),this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:n,request:f,response:v},bubbles:!0})),x.appendChild(_),h.hidden=!1,h.focus()}}finally{this.submitting=r,V8(o,n,this.submitting)}}createErrorAlert(o){let n=o.querySelector("[data-form-error-container]")||o,r=yp(),i=document.createElement("div");i.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",i.setAttribute("data-form-error-alert",""),i.setAttribute("role","alert"),i.setAttribute("aria-labelledby",r),i.setAttribute("tabindex","-1"),i.hidden=!0;let s=document.createElement("p");s.id=r,s.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",s.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),i.append(s,a),n.appendChild(i),{errorAlert:i,errorList:a}}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 i=[],{errorAlert:s,errorList:a}=this.getErrorAlert(o);(n||o.hasAttribute("data-hide-validation-banner"))&&(s.hidden=!0,a.innerHTML="");let l=uIe(o);for(let c of[...o.elements,...l]){if(!r.contains(c)||!o1(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:i,form:o},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,n,i,a,u);let p=new CustomEvent("form-validating",{detail:{errors:i,form:o},bubbles:!0});this.dispatchEvent(p)}return i.length===0?{valid:!0}:(n&&(s.hidden=!1,s.focus()),{valid:!1,errors:i})}clearValidationErrors(o){if(!o1(o,this.form))return;if(G8(o),Fr(o,""),ar(o).classList.remove("errored"),o.form){let{errorAlert:r,errorList:i}=this.getErrorAlert(o.form);i.querySelectorAll(`a[href="http://approjects.co.za/?big=#${o.id}"]`).forEach(s=>s.parentElement?.remove()),i.querySelector("#no-edits-error")?.remove(),i.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 i=document.createElement("li");i.id="no-edits-error",i.innerText=this.locStrings.thereAreNoEditsToSubmit,r.appendChild(i),n.hidden=!1,n.focus()}runBasicValidation(o,n=!0,r,i,s){if(!o1(o,this.form))return;let a=n1(o),l=ar(o);for(let c of this.validators){let u=c(o,a);if(!u){s||G8(o);continue}if(r.push({input:o,message:u}),n){if(!o.id)continue;Fr(o,u),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=u,m.classList.add("help","help-danger"),m.addEventListener("click",g=>{if(s){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),i.appendChild(p),s||(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=Tw,window.customElements.define("form-behavior",Tw));function Q8(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 aIe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function V8(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 n1(e){let t=null;if(e.type==="radio"){let n=ar(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 ar(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 lIe(e){let t=document.createElement("p");return t.id=yp(),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 Fr(e,t){let n=ar(e).querySelector("[data-field-error]")||lIe(e);n.textContent=t}function o1(e,t){return Q8(e,t)&&e.type!=="hidden"}function cIe(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 uIe(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(r=>!e.elements.namedItem(r)).forEach(r=>{let i=e.querySelector(`[name="${r}"]`);i&&o.push(i)}),o}function G8(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function dIe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var Y8=globalThis.HTMLElement||null,xp="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,iy,Sw=class extends Event{constructor(o,{tabIndex:n,tab:r,panel:i,...s}){super(o,s);Xt(this,ny,null);Xt(this,ry,null);Xt(this,iy,null);Et(this,iy,r||null),Et(this,ny,n||null),Et(this,ry,i||null)}get tabIndex(){return Ee(this,ny)}get panel(){return Ee(this,ry)}get tab(){return Ee(this,iy)}};ny=new WeakMap,ry=new WeakMap,iy=new WeakMap;var Tp,kp,st,bf,K8,oy,W8,Z8,J8,kw,r1,_u,Sp,wp,X8,e9,i1,t9,o9,vf=class extends Y8{constructor(){super(...arguments);Xt(this,st);Xt(this,Tp,null);Xt(this,kp,null);Xt(this,Sp,!1);Xt(this,wp)}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 Ee(this,Tp)}set onTabContainerChange(o){Ee(this,Tp)&&this.removeEventListener("tab-container-change",Ee(this,Tp)),Et(this,Tp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-change",o)}get onTabContainerChanged(){return Ee(this,kp)}set onTabContainerChanged(o){Ee(this,kp)&&this.removeEventListener("tab-container-changed",Ee(this,kp)),Et(this,kp,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 Ee(this,st,_u)[this.selectedTabIndex]}get activePanel(){return Ee(this,st,r1).assignedNodes()[0]}get vertical(){return Ee(this,st,bf)?.getAttribute("aria-orientation")==="vertical"}set vertical(o){let n=Ee(this,st,bf);n&&o?n.setAttribute("aria-orientation","vertical"):n.setAttribute("aria-orientation","horizontal")}connectedCallback(){Ee(this,wp)||Et(this,wp,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 i=document.createElement("slot");i.setAttribute("part","tablist"),i.setAttribute("name","tablist"),r.append(i);let s=document.createElement("slot");s.setAttribute("part","panel"),s.setAttribute("name","panel");let a=document.createElement("slot");a.setAttribute("part","before-tabs"),a.setAttribute("name","before-tabs");let l=document.createElement("slot");l.setAttribute("part","after-tabs"),l.setAttribute("name","after-tabs"),n.append(a,r,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),o.replaceChildren(n,s,c),Ee(this,wp)&&"role"in Ee(this,wp)?Ee(this,wp).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",_p(this,st,t9)),this.addEventListener("click",_p(this,st,o9)),Et(this,Sp,!0)}attributeChangedCallback(o){!this.isConnected||!this.shadowRoot||o==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(o){if(o.type==="click")return _p(this,st,e9).call(this,o);if(o.type==="keydown")return _p(this,st,X8).call(this,o)}get selectedTabIndex(){return Ee(this,st,_u).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(!Ee(this,Sp)){let a=Ee(this,st,kw),l=Ee(this,st,K8),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?xp(l,u):c&&c.closest(this.tagName)===this?xp(a,c):(Ee(this,st,oy).role="tablist",xp(a,...[...this.children].filter(v=>v.matches("[role=tab]"))));let p=Ee(this,st,bf);if(_p(this,st,i1).call(this,"aria-description",p),_p(this,st,i1).call(this,"aria-label",p),this.vertical&&Ee(this,st,bf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let v=[],h=[],x=[],_=v;for(let T of this.children){if(T.getAttribute("role")==="tab"||T.getAttribute("role")==="tablist"){_=h;continue}if(T.getAttribute("role")==="tabpanel"){_=x;continue}T.getAttribute("slot")==="before-tabs"?v.push(T):T.getAttribute("slot")==="after-tabs"?h.push(T):_.push(T)}xp(Ee(this,st,W8),...v),xp(Ee(this,st,Z8),...h),xp(Ee(this,st,J8),...x)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;o=o>=0?o:Math.max(0,f)}let n=Ee(this,st,_u),r=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(a=>a.closest(this.tagName)===this);if(o>n.length-1)throw new RangeError(`Index "${o}" out of bounds`);let i=n[o],s=r[o];if(!(Ee(this,Sp)&&!this.dispatchEvent(new Sw("tab-container-change",{tabIndex:o,bubbles:!0,cancelable:!0,tab:i,panel:s})))){for(let a of n)a.setAttribute("aria-selected","false"),a.setAttribute("tabindex","-1");for(let a of r)!a.hasAttribute("tabindex")&&!a.hasAttribute("data-tab-container-no-tabstop")&&a.setAttribute("tabindex","0");i.setAttribute("aria-selected","true"),i.setAttribute("tabindex","0"),xp(Ee(this,st,r1),s),s.hidden=!1,Ee(this,Sp)&&(i.focus(),this.dispatchEvent(new Sw("tab-container-changed",{tabIndex:o,bubbles:!0,tab:i,panel:s})))}}};Tp=new WeakMap,kp=new WeakMap,st=new WeakSet,bf=function(){let o=this.querySelector("[slot=tablist-wrapper]");if(o?.closest(this.tagName)===this)return o.querySelector("[role=tablist]");let n=Ee(this,st,kw);return Ee(this,st,oy).hasAttribute("role")?Ee(this,st,oy):n.assignedNodes()[0]},K8=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},oy=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},W8=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},Z8=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},J8=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},kw=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},r1=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},_u=function(){return Ee(this,st,oy).matches("[role=tablist]")?Ee(this,st,kw).assignedNodes():Array.from(Ee(this,st,bf)?.querySelectorAll('[role="tab"]')||[]).filter(o=>o instanceof Y8&&o.closest(this.tagName)===this)},Sp=new WeakMap,wp=new WeakMap,X8=function(o){let n=o.target?.closest?.('[role="tab"]');if(!n)return;let r=Ee(this,st,_u);if(!r.includes(n))return;let i=this.selectedTabIndex,s=n.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",a=o.code==="ArrowLeft"||s&&o.code==="ArrowUp";if(o.code==="ArrowRight"||s&&o.code==="ArrowDown"){let c=i+1;c>=r.length&&(c=0),this.selectTab(c)}else if(a){let c=i-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())},e9=function(o){let n=o.target?.closest?.("[role=tab]");if(!n)return;let i=Ee(this,st,_u).indexOf(n);i>=0&&this.selectTab(i)},i1=function(o,n){this.hasAttribute(o)&&(n.setAttribute(o,this.getAttribute(o)),this.removeAttribute(o))},t9=function(o){let{tab:n}=o;n&&n.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},o9=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 i=this.selectedTabIndex;if(r==="next"){let s=i+1;s>=Ee(this,st,_u).length&&(s=0),this.selectTab(s)}else{let s=i-1;s<0&&(s=Ee(this,st,_u).length-1),this.selectTab(s)}},Qt(vf,"observedAttributes",["vertical"]);var n9=typeof globalThis<"u"?globalThis:window;try{n9.TabContainerElement=vf.define()}catch(e){if(!(n9.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var _f=document.documentElement,pIe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,o=t?`${t}px`:"0px",n=e?.getBoundingClientRect().y||0,i=`${Math.max(0,n+t)}px`,s=document.querySelector(".layout-body-footer"),a=s?.clientHeight||0,l=a?`${a}px`:"0px",c=s?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function i9(){window.addEventListener("atlas-layout-change-event",()=>{mIe(pIe)}),window.addEventListener("resize",Qa,{passive:!0}),_f.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Qa),window.addEventListener("scroll",Qa,{passive:!0})}var s9="Prijavili ste se pomo\u0107u ra\u010Duna povezanog s tvrtkom ili ustanovom ({email}). Ako postanete \u010Dlan, razumijete i prihva\u0107ate da \u010Dlanstvo u okru\u017Eenju Microsoft Learn podrazumijeva da \u0107e na\u0161a mre\u017Ea web-mjesta i aplikacija evidentirati i pratiti postignu\u0107a i aktivnosti te da mo\u017Eemo zajedni\u010Dki koristiti rezultate i aktivnosti s va\u0161om tvrtkom ili ustanovom. Osim toga, va\u0161e korisni\u010Dko ime, zaslonsko ime, slika profila, pripadnost, postignu\u0107a i aktivnosti bit \u0107e javno vidljivi. Svoja postignu\u0107a i aktivnosti mo\u017Eete sakriti u postavkama.

Kada stvorite profil, preporu\u010Dujemo da pove\u017Eete osobni ra\u010Dun da biste mogli pratiti svoj napredak u u\u010Denju bez obzira na status zaposlenja. Dodatne ra\u010Dune mo\u017Eete povezati u postavkama profila u odjeljku Upravljanje ra\u010Dunom.";var s1="Prihvati";var rc="Dodaj",a9="Dodaj sekciju",l9="Dodaj URL",ww="Dodano";var sy="Dodatne informacije";var Ew="Dodaj sadr\u017Eaj";var c9="Pogre\u0161ka pri dohva\u0107anju repozitorij i puta GitHub sadr\u017Eaja";var u9="Va\u0161 je token za GitHub istekao. Morate osvje\u017Eiti dozvole tokena za GitHub klikom na gumb u nastavku.";var d9='\u017Delite li iskusiti jednostavnije ure\u0111ivanje oboga\u0107enog teksta? Saznajte vi\u0161e o usluzi Microsoft Learn Editor!';var p9="Predlo\u017Eite ure\u0111ivanja u {name}",m9='Hvala vam \u0161to se interesirate doprinijeti servisu Microsoft Learn. Kliknite Uredi da biste otvorili \u010Dlanak u {name}. Dodatne informacije potra\u017Eite u odjeljku doprinos.';var g9="Re-Authorize token servisa GitHub s najnovijim dozvolama";var f9="Po\u010Dni ispo\u010Detka";var h9="MVP",b9="Microsoftov zaposlenik",v9="Microsoft vanjsko osoblje";var _9="Microsoftov pripravnik";var y9="Microsoftov regionalni direktor",x9="Studentski ambasador",yf="Abecedno (A \u2013 \u017D)",xf="Abecedno (\u017D \u2013 A)",a1="Analitika";var l1="{AppliedSkills}",c1="{AppliedSkills} dovr\u0161eno";var T9="pitanje postavljeno {time}";var u1="Kontrolne to\u010Dke";var k9="prije jednog dana";var S9="Dodaj parametar",w9="Napredno";var Xs="Sve",Cw="All APIs",E9="Svi filtri";var Aw="Svi paketi";var C9="Ve\u0107 imate ra\u010Dun? Prijava";var A9="prije jedne minute",P9="prije mjesec dana";var I9="prije jednog sata",Ur="Anonimno";var L9="1 odgovor",j9="{count} odgovora";var d1="Autor pitanja prihvatio je jedan od odgovora.";var Pw="API";var R9="Klju\u010D API-ja",Iw="Referenca za API za {platformName}",p1="Pretra\u017Eivanje API-ja nije dostupno. Poku\u0161ajte ponovno kasnije.";var M9="{appliedSkillTitle} \u2013 procjena vjerodajnice {AppliedSkills}",D9="Osvje\u017Eite da biste nastavili. Praktikum \u0107e se nastaviti tamo gdje ste stali.";var $9="Ova je procjena vrlo popularna i popunjeni smo, ali radimo na tome da primimo vi\u0161e polaznika. Vratite se nakon 10 minuta i poku\u0161ajte ponovo.",Lw="Microsoftova vjerodajnica",z9="Vrijeme je isteklo.",N9="Dosegnuli ste vremensko ograni\u010Denje.",O9="Va\u0161a procjena \u0107e sada biti ocijenjena.",F9="Prika\u017Ei moje rezultate",U9="Imamo problem i aktivno ga istra\u017Eujemo. Zasad poku\u0161ajte s drugom procjenom.",q9="Ne\u0161to nije bilo u redu. Ponovno aktivirajte nakon 10 minuta.",H9="Va\u0161 je ra\u010Dun ozna\u010Den zbog neobi\u010Dne aktivnosti. Kao rezultat toga, pristup Microsoftu {AppliedSkills} je obustavljen. S pomo\u0107u gumba natrag vratite se na stranicu s pojedinostima o vjerodajnicama.";var B9="Prika\u017Ei moju vjerodajnicu";var V9="Spremite zbirku da biste se poslije na nju vratili. Mogla bi iste\u0107i ako se procjena a\u017Eurira.",jw="Idi na stranicu s pojedinostima",m1="Prethodne poku\u0161aje mo\u017Eete vidjeti na stranici s pojedinostima o vjerodajnici";var G9="Osvje\u017Ei stranicu",Q9="Procjenu \u0107ete mo\u0107i ponoviti za:",Y9="Spremite zbirku",K9="Performanse po zadacima",W9="Rezultat se jo\u0161 uvijek izra\u010Dunava",Z9="Prilago\u0111ena zbirka za pobolj\u0161anje va\u0161ih performansi",J9="Materijali za {AppliedSkills} \u2013 {date}",X9='Va\u0161i se rezultati jo\u0161 uvijek obra\u0111uju. Ako se rezultat ne pojavi za {duration} sekundi, osvje\u017Eite prikaz.',eV="Na temelju va\u0161ih rezultata slo\u017Eili smo materijale iz podru\u010Dja u kojima imate prostora za pobolj\u0161anje. Materijali za u\u010Denje obuhva\u0107aju:",tV="Ste\u010Dena vjerodajnica {AppliedSkills}",oV="Ispri\u010Davamo se, do\u0161lo je do pogre\u0161ke. Poku\u0161ajte ponovno poslije";var g1="Rezultati va\u0161e procjene za",Rw="Rezultati va\u0161e procjene za",nV="Saznajte kako se ova procjena ocjenjuje",rV='Ova procjena trenutno je u fazi odr\u017Eavanja. U me\u0111uvremenu istra\u017Eite druge Microsoftove vjerodajnice.',iV='Va\u0161 ra\u010Dun ili veza ozna\u010Deni su zbog neobi\u010Dne aktivnosti. Iz tog smo razloga obustavili va\u0161 pristup Microsoftu {AppliedSkills}. Saznajte vi\u0161e.',sV="\u017Dalba se pregledava";var aV="(Zastarjelo)",lV="{version} i druge verzije",cV="{version1} i {version2}",uV="Primijeni",Mw="Arhitektura",dV="Idejno rje\u0161enje",Tf="Prethodne verzije",yu="Jeste li sigurni?",pV="Brisanje podataka nije mogu\u0107e poni\u0161titi.";var mV="\u010Clanak";var gV="prije jedne sekunde";var fV="Pitajte zajednicu";var Dw="Procjene";var hV="Potrebna je autorizacija";var bV="prije tjedan dana";var vV="Dokumentacija za Azure";var _V="-- Odaberite vrijednost --",Ep="Natrag";var yV="Natrag na povratne informacije";var xV="Po\u010Detni\u010Dki";var kf="Tijelo";var TV="Ukloni knji\u017Enu oznaku za {title}",kV="Dodaj knji\u017Enu oznaku za {title}";var SV='Do\u0161lo je do pogre\u0161ke s ogrankom "{branchFallbackFrom}". Preusmjerili smo vas na ogranak "{branch}".',wV="Bira\u010D grana";var EV="Pregledajte ispite";var xu="Pregledaj certifikacije",ic="Pregledaj vjerodajnice";var CV="Kategorija",AV="Kategorije",PV="Oprez";var $e="Odustani",$w="Titlovi su isklju\u010Deni";var sc="Certifikacija";var IV="Prijenos u Pearson Vue";var LV="Unesite svoju adresu kako bi Pearson Vue, davatelj usluga isporuke ispita, mogao potvrditi va\u0161 identitet.",jV="Unesite telefonski broj i e-po\u0161tu za kontakt kako bi vas Pearson Vue, davatelj usluga isporuke ispita, mogao kontaktirati ako nai\u0111ete na bilo kakve probleme tijekom polaganja ispita.",RV="Svi popusti primijenit \u0107e se na stranici tvrtke Pearson Vue tijekom pla\u0107anja.",MV="Ako imate k\xF4d vau\u010Dera, unesite k\xF4d na stranici tvrtke Pearson Vue tijekom pla\u0107anja.",DV="Da biste nastavili s prijavom ispita idite na portal tvrtke Pearson Vue.",$V='Microsoft ne\u0107e pohraniti adresu i telefonski broj koji ste naveli. Sada \u0107emo vas prebaciti na stranicu tvrtke Pearson Vue kako biste dovr\u0161ili prijavu ispita. Microsoftova izjava o za\u0161titi privatnosti',zV="Adresa 1",NV="Adresa 2",OV="Grad",FV="Stanje",UV="Po\u0161tanski broj",qV="Pozivni broj dr\u017Eave/regije",f1="Unesite adresu",HV="Unesite grad";var BV="Unesite po\u0161tanski broj",VV="Unesite telefonski broj",GV="Unesite adresu e-po\u0161te za kontakt";var QV="Naziv zbirke";var ay="Pad";var zw="Do\u0161lo je do pogre\u0161ke.",ly="Prolaz";var YV="Materijal za procjenu \u2013 {date}";var KV="Spremite zbirku";var WV="Materijal obnove \u2013 {date}";var ZV="Ovo je privremena stranica pretpregleda koja \u0107e iste\u0107i {temporaryPreviewExpiresAt}. Nakon \u0161to istekne, morat \u0107ete je ponovno generirati iz radionice stavki prije nego \u0161to je ponovno pregledate.",JV="API platforme za procjene",XV="Provjerite svoj odgovor",eG="Procjena pri obnovi za {certificationName}",tG="\u010Cestitamo, polo\u017Eili ste!",Ya="Microsoftova certifikacija",oG="Obnovili smo va\u0161 certifikat {certificationName} i produlji ga za jednu godinu.",nG="Pogledajte svoje rezultate",rG="Pitanje {current} od {total}",iG="{current} od {total}",sG="Odaberite samo jedan odgovor.",aG="Vrijeme je isteklo.",lG="Dosegnuli ste vremensko ograni\u010Denje. Va\u0161a procjena \u0107e sada biti ocijenjena.",cG="Prika\u017Ei moje rezultate",uG="Odaberite sve primjenjive odgovore.",dG="Sljede\u0107a",pG="Sastavljanje procjene...",mG="Nai\u0161li smo na neo\u010Dekivanu pogre\u0161ku. Poku\u0161ajte ponovno kasnije. Ako se problem ne rije\u0161i, obratite se slu\u017Ebi za podr\u0161ku za certificiranje.",gG="U redu, shva\u0107am",fG="Ponovno poku\u0161ajte poslati procjenu pri obnovi. Ako se problem ne rije\u0161i, obratite se slu\u017Ebi za podr\u0161ku za certificiranje.",hG="Obratite se slu\u017Ebi za podr\u0161ku za certificiranje",bG="Procjena je ve\u0107 ocijenjena",vG="\u010Cini se da ste ve\u0107 poslali tu procjenu. Rezultate procjene mo\u017Eete pogledati na stranici s pojedinostima o certificiranju. Ako smatrate da je do\u0161lo do pogre\u0161ke i potrebna vam je pomo\u0107, obratite se slu\u017Ebi za podr\u0161ku za certificiranje.",Nw="Otvori pojedinosti o obnovi",_G="Preostalo vrijeme",Cp="Ovaj odgovor nije to\u010Dan.",Ap="Ovaj odgovor je to\u010Dan.",yG="Prika\u017Ei sva pitanja",xG="Datum procjene:",TG="Va\u0161 je certifikat obnovljen na jo\u0161 jednu godinu. Imajte na umu da \u0107e se datum isteka certifikata obnoviti u roku od nekoliko minuta.",kG="Na\u017Ealost, ovaj prilago\u0111eni materijal za u\u010Denje zastario je u odnosu na trenuta\u010Dnu procjenu. Najnoviji materijal za pripremu mo\u017Eete na\u0107i na stranici s pojedinostima o procjeni.";var Ow="Prilago\u0111eni materijali za u\u010Denje za pobolj\u0161avanje va\u0161ih vje\u0161tina";var Fw='Jer ste ostvarili lo\u0161iji rezultat u odjeljku "{section}":',h1="Rezultati procjene pri obnovi za {certificationName}";var SG="Rezultati procjene radi obnove za";var wG="Saznajte vi\u0161e o obnovi ovog certifikata",EG="Za prolaz je potrebno {percent} %",Uw="U\u010Dinak po rubrici procjene",CG="\u017Delite li ponoviti procjenu?";var AG="Ispunjavate uvjete za ponavljanje procjene. Mo\u017Eete je ponoviti koliko god je puta potrebno prije {date}. Nakon drugog poku\u0161aja morat \u0107ete pri\u010Dekati 24 sata izme\u0111u ponovnih poku\u0161aja.",b1="Pogledajte svoje certifikate",PG="Mo\u017Eete potra\u017Eiti prethodne poku\u0161aje procjene u profilu ili posjetiti pregled certifikacija",IG="Va\u0161i sveukupni rezultati:";var LG="Pregled certifikacija";var Ka="Certifikati";var jG="Vrste certifikacije",RG="Vrste certifikacija",ea="Izazov";var MG="Aktivno od {start} do {end}";var DG="Zbirka izazova";var $G="Prona\u0111ite proizvod";var zG="Jo\u0161 nemate nijedan izazov";var v1="Datum zavr\u0161etka ne mo\u017Ee biti prije datuma po\u010Detka. Ponovo odaberite datum zavr\u0161etka.",NG="Vrijeme zavr\u0161etka ne mo\u017Ee biti prije vremena po\u010Detka. Ponovo odaberite datum zavr\u0161etka.",OG="Vrijeme po\u010Detka ne mo\u017Ee biti prije trenuta\u010Dnog vremena. Ponovo odaberite vrijeme po\u010Detka.";var qw="Prona\u0111ite ne\u0161to drugo \u0161to mo\u017Eete nau\u010Diti";var Hw="{score} %",FG="Pogledajte izazov";var Sf="Izazovi";var _1="Dodaj u izazove",Bw="Dodano u izazove";var UG="Upravljajte stavkom {title} u izazovima",qG="Dodaj stavku {title} izazovu";var y1="U ovoj sekciji nema stavki.";var Vw="Datum po\u010Detka",Gw="Vrijeme po\u010Detka",Qw="Datum zavr\u0161etka",Yw="Vrijeme zavr\u0161etka";var HG="\u017Dao nam je, ovaj izazov je privatan.",BG="Ovaj izazov nije vidljiv drugim korisnicima.",VG="Izazove mo\u017Eete pregledati u svom korisni\u010Dkom profilu.",GG="Pogledajte svoje izazove",QG="Idite na rang listu";var cy="Kopiraj izazov",YG="Upravo \u0107ete kopirati ovaj izazov. Novi \u0107e izazov imati iste pojedinosti i sadr\u017Eaj. Nakon \u0161to ga izradite, mo\u0107i \u0107ete ga ure\u0111ivati \u200B\u200Bna stranici s pojedinostima.",KG="Izbri\u0161i izazov",WG="Datum po\u010Detka mora biti u budu\u0107nosti.",ZG="Datum zavr\u0161etka mora biti nakon datuma po\u010Detka ili trenuta\u010Dnog datuma.",JG="Odaberite valjani primarni predmet.",XG="Unesite valjani ciljni naziv.",e7="Unesite valjani ID povezan s odabranom ciljnom skupinom ovog izazova.",t7="Unesite valjanu svrhu za ovaj izazov.",o7="Izvr\u0161avanje ove radnje nije vam dopu\u0161teno.";var uy="Tablica rezultata";var n7='Dodano u zbirku {collectionName}',r7='Dodano u izazove',i7="Prijavite se za dodavanje u izazov.",s7='Uklonjeno iz zbirke {collectionName}',a7='Uklonjeno iz izazova';var l7="Otkriveno je kr\u0161enje",c7='Naslov ili opis izazova ili naslov sekcije ili opis zbirke izazova izbrisan je zbog kr\u0161enja Uvjeta upotrebe. Oni su ru\u010Dno prijavljeni ili identificirani putem automatizirane detekcije prije nego \u0161to je poduzeta radnja. Dodatne informacije potra\u017Eite u na\u0161im Uvjetima kori\u0161tenja.',x1='Ako je naslov ili opis izazova izbrisan, idite na stranicu s pojedinostima radi a\u017Euriranja.';var u7="Ako je naslov sekcije ili opis zbirke izazova izbrisan, pregledajte i a\u017Eurirajte u nastavku.",d7="Ovo \u0107e vam se upozorenje nastaviti prikazivati dok se ne izvr\u0161i a\u017Euriranje.";var p7="Pitajte platformu Learn",m7="Opi\u0161ite \u0161to biste \u017Eeljeli raditi",g7="\u010Cavrljanje je ponovo postavljeno",Kw="Prestao sam generirati odgovor. \u017Delite li isprobati ne\u0161to drugo? Isprobajte na\u0161 vodi\u010D za upite odabirom gumba \u201EPrika\u017Ei upite\u201D.",f7="Sadr\u017Eaj koji generira AI mo\u017Eda nije to\u010Dan",h7="To\u010Dan/relevantan sadr\u017Eaj",b7="Potpun/jasan sadr\u017Eaj",v7="Brzi odgovor",_7="Neto\u010Dan/irelevantan sadr\u017Eaj",y7="Nepotpun/nejasan sadr\u017Eaj",x7="Uvredljiv/neprikladan sadr\u017Eaj",T7="Spori odgovor",T1="Ne\u0161to drugo",k7="Hvala vam na povratnim informacijama.",k1="\u017Dao mi je, ne mogu \u010Davrljati o ovome. Unesite drugu temu ili isprobajte vodi\u010D za upite odabirom gumba \u201EPrika\u017Ei upite\u201D u nastavku.",S7="Ne sada",w7="Upoznajte Ask Learn, na\u0161eg AI pomo\u0107nika",Ww="Ask Learn je pomo\u0107nik za AI koji mo\u017Ee odgovoriti na pitanja, pojasniti koncepte i definirati termine pomo\u0107u pouzdane Microsoftove dokumentacije.",E7="Provjerite to\u010Dnost",C7="Usluga Ask Learn je u pretpregledu. Provjerite odgovore jer sadr\u017Eaj koji je generirala umjetna inteligencija mo\u017Ee biti neto\u010Dan. Upotrijebite gumbe za povratne informacije da biste nam pomogli pobolj\u0161ati do\u017Eivljaj rada.",A7='Pro\u010Ditajte \u010Dlanak Transparentnost usluge Ask Learn da biste saznali vi\u0161e o slu\u010Dajevima i ograni\u010Denjima kori\u0161tenja.',P7="Isprobajte Ask Learn",Zw="Prijavite se da biste koristili Ask Learn.",I7="\u017Dao mi je, pogodio sam najve\u0107i broj odgovora koje mogu dati u razgovoru. Odaberite \u201ENovo \u010Davrljanje\u201D kako biste zapo\u010Deli novi razgovor.";var L7="Maksimalno ovoliko znakova: {max}",Jw="Novo \u010Davrljanje",j7="Nova poruka servisa Ask Learn",S1="Pretpregled",R7="Pretpregledajte \u0161to \u0107e se zajedni\u010Dki koristiti",M7="Vodi\u010D za upite",w1="Navedite \u0161to vi\u0161e detalja, ali ne uklju\u010Dite nikakve privatne ili osjetljive podatke";var D7="Ponovno generiranje";var $7="Po\u0161alji",z7="Prestani generirati",N7="Otkrijte nam vi\u0161e",O7="Trenuta\u010Dno je kapacitet popunjen. Poku\u0161ajte ponovo za nekoliko minuta.",F7="Ova poruka je korisna",U7="Ova poruka nije korisna",dy="\u017Dao mi je, ne mogu pomo\u0107i s tim. Isprobajte vodi\u010D za upite odabirom gumba \u201EPrika\u017Ei upite\u201D u nastavku.",ac="Na\u017Ealost, ne\u0161to nije u redu. Poku\u0161ajte ponovno ili podijelite povratne informacije.",q7="Neki znakovi u poruci nisu podr\u017Eani. Mo\u017Eete li poku\u0161ati ponovo koriste\u0107i druge znakove?",H7="Upi\u0161ite poruku da biste nastavili",Xw="Poruka mora sadr\u017Eavati najmanje 10 znakova",E1="Prekora\u010Deno ograni\u010Denje broja znakova",C1="Prikaz upita",eE="Radimo na tome...",B7="{count} od {total} odgovora";var V7="Samo vlasnik procjene mo\u017Ee pregledati bilje\u0161ke i a\u017Eurirati stavke kontrolnog popisa";var G7="Citat";var wf="O\u010Disti sve",Q7="O\u010Disti filtar",Y7="O\u010Disti obrazac",K7="O\u010Disti autora pitanja";var W7="O\u010Disti izraz",Z7="Kliknite za RSS sa\u017Eetak sadr\u017Eaja",me="Zatvori";var J7="Zatvori pretra\u017Eivanje",X7='Nije mogu\u0107e pokrenuti ljusku u oblaku. Pogledajte vodi\u010D za otklanjanje pote\u0161ko\u0107a.';var eQ="Uzorak koda",A1="Uzorci koda";var tE="Sa\u017Emi",tQ="Sa\u017Emi tablicu",cs="Zbirka",oQ="Slu\u017Ebena zbirka";var nQ="Kopija ove zbirke spremljena je u va\u0161 profil",rQ="Dani za dovr\u0161etak prekretnice moraju biti broj.",P1="Opis (neobavezno)";var iQ="Uredi odjeljak",sQ="Maksimalna je duljina 550 znakova.",aQ="Naslov sekcije ne mo\u017Ee biti isti kao drugi naslov u zbirci.",I1="Novi odjeljak",lQ="Spremi odjeljak",L1="Odjeljak {number}";var cQ="Maksimalna je duljina 100 znakova.",uQ="Naslov ili opis sekcije nije pro\u0161ao provjeru Microsoftova servisa za validaciju.",dQ="Nismo uspjeli spremiti va\u0161u sekciju. Poku\u0161ajte ponovno.",pQ="Dodaj URL",mQ="Naziv stranice",gQ="Unesite naslov.",fQ="Naslov mora sadr\u017Eavati od 2 znaka do 100 znakova.",hQ="Spremanje va\u0161eg URL-a nije uspjelo. Poku\u0161ajte ponovno.",bQ="URL-ovi se ne mogu dodati ovoj zbirci.",vQ="URL mora zapo\u010Deti s http:// ili https://. Dopu\u0161tene su AKA veze.",_Q="Oblik URL-a nije valjan.";var yQ="Dodaj u zbirku",j1="Dodano u zbirku",R1="Dodaj u zbirku",oE="Dodaj u zbirku",xQ='Dodaj "{pageName}" u:',nE="Zbirka nije prona\u0111ena",TQ="Joj! \u010Cini se da ta zbirka ne postoji ili je nije mogu\u0107e prona\u0107i zbog jednog od sljede\u0107ih razloga:",kQ="Vlasnik je mo\u017Eda promijenio URL zbirke, zbog \u010Dega je mo\u017Eda korisnici ne mogu prona\u0107i ako joj pristupaju putem starog URL-a.",SQ="Vlasnik zbirke mo\u017Eda ju je u potpunosti izbrisao, \u010Dine\u0107i je nedostupnom.";var wQ='Ako su zbirka ili njezin sadr\u017Eaj prekr\u0161ili Uvjete upotrebe servisa Microsoft Learn.',EQ="Evo nekoliko korisnih veza:",CQ="Po\u010Detna stranica servisa Microsoft Learn: steknite znanja koja otvaraju vrata u karijeri",AQ="Pretra\u017Eivanje okru\u017Eenja Microsoft Learn",PQ="Resursi servisa Microsoft Learn | Microsoft Learn",IQ="Stvaranje zbirke na servisu Microsoft Learn",LQ='Zbirke su a\u017Eurirane',M1='Microsoftovi zaposlenici ispunjavaju uvjete za ozna\u010Davanje zbirke oznakom "Stvorio Microsoft".',rE="Dodatne informacije",Pp="Pretvori u slu\u017Ebenu zbirku",iE="Slu\u017Ebena zbirka predstavlja Microsoft, pa provjerite je li va\u0161a zbirka potpuna, bez tipografskih pogre\u0161aka i je li sadr\u017Eaj naveden pravilnim redoslijedom. Ako nije, po potrebi uredite svoju zbirku. Kad zbirka postane slu\u017Ebena, to se ne mo\u017Ee poni\u0161titi.";var jQ="Zbirka nije dostupna",RQ="Jeste li spremni pretvoriti tu zbirku u slu\u017Ebenu zbirku?";var sE="Ve\u0107 postoji zbirka pod naslovom \u201E{title}\u201D. Naslovi zbirki moraju biti jedinstveni.",Tu="Naslov je obavezan, a mo\u017Ee biti duga\u010Dak najvi\u0161e 100 znakova.",py="Opis nije obavezan, a mo\u017Ee biti duga\u010Dak najvi\u0161e 550 znakova.",aE="Sadr\u017Eaj nije valjan. Uklonite sve telefonske brojeve, adrese e-po\u0161te ili URL-ove.";var MQ="Ako je postavljena na privatno, ovu zbirku mo\u017Eete pregledavati samo vi. Zbirku koja nije privatna mo\u017Ee vidjeti bilo tko.",lE="Postavi kao privatno",DQ="Zbirka korisnika {userDisplayName} {index}",D1="Autor: {name}",$Q="Stvorio korisnik servisa Microsoft Learn";var zQ="Izbri\u0161i zbirku",NQ="Prika\u017Ei moje ime";var cE="Ure\u0111ivanje zbirke",$1="dodaj opis",my="Ure\u0111ivanje opisa",gy="Ure\u0111ivanje naslova",OQ="Uredite ishode u\u010Denja",FQ="Opis ove zbirke",UQ="Potreban je barem jedan ishod.",qQ="Naslov ove zbirke",HQ="Nismo uspjeli spremiti va\u0161 naslov. Poku\u0161ajte ponovno.",BQ="Nismo uspjeli spremiti va\u0161 opis. Poku\u0161ajte ponovno.",VQ="Nismo uspjeli spremiti va\u0161e ishode u\u010Denja. Poku\u0161ajte ponovno.",uE="Favoriti",GQ="Ako se ova veza zajedni\u010Dki koristi s vama, zatra\u017Eite novu vezu.",dE="Promjene koje unesete ne\u0107e utjecati na izvornu zbirku";var QQ="Stavke u ovoj zbirci";var YQ='Nema stavki u ovoj zbirci. Dodajte stavke sa stranice za pregledavanje obuke za u\u010Denje.',KQ="{numberOf} vo\u0111enih u\u010Denja",WQ="{numberOf} vo\u0111eno u\u010Denje",ZQ="Zbirka je dovr\u0161ena i jezi\u010Dno provjerena",JQ="To \u0107e potrajati do 14 dana, ali mo\u017Ee biti dovr\u0161eno i ranije. Nakon lokalizacije sve \u0107e se budu\u0107e promjene koje unesete automatski poslati u lokalizacijski kanal.",XQ="Va\u0161 naslov, opis, sekcije i opisi sekcija prevodit \u0107e se na sve jezike koje Microsoft Learn podr\u017Eava",pE="Lokaliziraj",eY="Provjerite vrijedi li sljede\u0107e:",tY="Ova zbirka jo\u0161 nije lokalizirana na va\u0161em jeziku.",oY="Izvorni je jezik engleski",mE="Ova je zbirka poslana na lokaliziranje",nY="Hvala vam \u0161to ste poslali slu\u017Ebenu zbirku na lokalizaciju.",gE="Broj modula: {numberOf}",fE="Broj modula: {numberOf}";var rY="Premjesti stavku prema dolje",iY="Premjesti stavku prema gore";var sY="Premjesti odjeljak prema dolje",aY="Premjesti odjeljak prema gore",lY="Slu\u017Ebena Microsoftova zbirka",cY="u ime korisnika",uY='Uklonjeno iz zbirke {collectionName}',dY='Uklonjeno iz zbirki';var pY="Dodavanje u zbirku onemogu\u0107eno je za sadr\u017Eaj za koji je potrebna autorizaciju.",mY='Dodano u zbirku {collectionName}',gY='Dodano u Zbirke',fY="Spremanje svih stavki u ovoj zbirci kao nove";var z1="Prijavite se da biste to dodali u zbirku.",hE="Na\u017Ealost, ova je zbirka privatna.",hY="Autor ove zbirke ozna\u010Dio je kao privatnu i trenutno nije vidljiva drugim korisnicima.",bY="Ta zbirka ne postoji ili je uklonjena.",vY='Mo\u017Eete e i vratiti na zbirke.',_Y="Zbirke mo\u017Eete pregledati u svom korisni\u010Dkom profilu.",yY="Prika\u017Ei zbirke",xY="Upravljaj modulom {title} u zbirkama",TY="Dodaj {title} u zbirku",kY="Tu zbirku potra\u017Eite u svom profilu na servisu Learn";var SY="Otkriveno je kr\u0161enje",wY='Naslov ili opis ove zbirke ili naslov odjeljka ili opis ove zbirke izbrisani su zbog kr\u0161enja na\u0161ih Uvjeta kori\u0161tenja. Oni su ru\u010Dno prijavljeni ili identificirani putem automatizirane detekcije prije nego \u0161to je poduzeta radnja. Dodatne informacije potra\u017Eite u na\u0161im Uvjetima kori\u0161tenja.',EY="Ovo \u0107e vam se upozorenje nastaviti prikazivati dok se ne izvr\u0161i a\u017Euriranje.",CY="Prijavljena zbirka",AY='Za ovu je zbirku prijavljen problem koji Microsoft trenuta\u010Dno pregledava. Dodatne informacije potra\u017Eite u na\u0161im Uvjetima kori\u0161tenja.';var qr="Dovr\u0161eno";var PY="\u010Cestitamo!";var IY="Obratite se slu\u017Ebi za podr\u0161ku korisnicima",N1="E-po\u0161ta za kontakt";var O1="Podru\u010Dje sadr\u017Eaja",LY="Alat za odabir jezika sadr\u017Eaja. Trenutno je postavljen na {language}.";var jY='Napomena: Autor je stvorio ovaj \u010Dlanak pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',RY='Napomena: Ovaj \u010Dlanak sadr\u017Ei sadr\u017Eaj stvoren pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',MY="Sadr\u017Eaj \u010Diji je autor zajednica. Ovaj \u010Dlanak pi\u0161u i odr\u017Eavaju stru\u010Dnjaci iz zajednice Microsoft Learn.",DY='Napomena: ova epizoda sadr\u017Ei sadr\u017Eaj stvoren pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',$Y='Napomena: Autor je stvorio ovu epizodu pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e';var zY='Napomena: Ovaj modul sadr\u017Ei sadr\u017Eaj stvoren pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',NY='Napomena: Autor je stvorio ovaj modul pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',OY='Napomena: Ova stranica sadr\u017Ei sadr\u017Eaj stvoren pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',FY='Napomena:Ova je stranica djelomi\u010Dno stvorena pomo\u0107u umjetne inteligencije. Saznajte vi\u0161e',lc="Nastavak";var bE="Kopirano",ku="Kopiraj";var Ip="Te\u010Daj";var F1="Australija",U1="Austrija";var vE="Belgija";var q1="Brazil";var _E="Kanada";var H1="Indija";var B1="Irska";var yE="Malezija";var V1="Meksiko";var G1="Novi Zeland";var Q1="Portugal";var Y1="Singapur";var K1="Ju\u017Ena Afrika";var fy="\u0160vicarska";var W1="Velika Britanija",Z1="Sjedinjene Ameri\u010Dke Dr\u017Eave";var hy="Dr\u017Eava/regija";var by="Stvori";var J1="Stvorio korisnik";var UY="Kada postanete \u010Dlan, pristajete na to da va\u0161e \u010Dlanstvo u okru\u017Eenju Microsoft Learn omogu\u0107uje na\u0161oj mre\u017Ei web-mjesta i aplikacija bilje\u017Eenje i evidentiranje va\u0161ih postignu\u0107a i aktivnosti.

Osim toga, va\u0161e korisni\u010Dko ime, zaslonsko ime, slika profila, pripadnost, postignu\u0107a i aktivnosti bit \u0107e javno vidljivi. Svoja postignu\u0107a i aktivnosti mo\u017Eete sakriti u postavkama.";var cn="vjerodajnice",qY="Vrsta vjerodajnice",HY="Vrste vjerodajnica";var BY="Prilago\u0111eno",VY="Prilago\u0111eni datum";var GY="Tamna",vy="Datum";var xE="Dan",_y="Dani",QY="prije {duration} dana",yy="{days} d.";var us="Izbri\u0161i";var YY="Izbri\u0161i parametar";var Ef="Opis";var KY="Ovaj se arhiviran sadr\u017Eaj vi\u0161e ne odr\u017Eava. Veze i informacije mogu biti zastarjele ili nesigurne i Microsoft ih mo\u017Eda nije aktivno pregledao.",WY="Ovaj je \u010Dlanak preveden za va\u0161e tr\u017Ei\u0161te s engleskog jezika. Koliko ste zadovoljni kvalitetom kori\u0161tenog jezika?",ZY="Ovaj je \u010Dlanak preveden strojno ili umjetnom inteligencijom. Ovaj se arhiviran sadr\u017Eaj vi\u0161e ne odr\u017Eava. Veze i informacije mogu biti zastarjele ili nesigurne i Microsoft ih mo\u017Eda nije aktivno pregledao.",JY="Ovaj je sadr\u017Eaj deaktiviran i ubudu\u0107e se vjerojatno vi\u0161e ne\u0107e a\u017Eurirati. Proizvod, servis ili tehnologija koji se spominju u ovom sadr\u017Eaju vi\u0161e nisu podr\u017Eani.",XY="Ovaj je \u010Dlanak preveden strojno ili umjetnom inteligencijom. Ovaj je sadr\u017Eaj deaktiviran i ubudu\u0107e se vjerojatno vi\u0161e ne\u0107e a\u017Eurirati. Proizvod, servis ili tehnologija koji se spominju u ovom sadr\u017Eaju vi\u0161e nisu podr\u017Eani.",ta="Odbaci upozorenje";var eK="Dijelovi ove teme mo\u017Eda su prevedeni strojno ili umjetnom inteligencijom.",tK="Dijelovi ove teme mo\u017Eda su prevedeni strojno ili umjetnom inteligencijom.";var oK="Microsoftov \u2013 povjerljivo",nK="Ova je stranica trajno preusmjerena na adresu {url}",rK=`Taj sadr\u017Eaj vi\u0161e ne a\u017Euriramo redovito. Informacije o podr\u0161ci za taj proizvod, servis, tehnologiju ili API potra\u017Eite u odjeljku \u017Divotni ciklus Microsoftova proizvoda.`,iK=`Ovaj je \u010Dlanak preveden strojno ili umjetnom inteligencijom. Taj sadr\u017Eaj vi\u0161e ne a\u017Euriramo redovito. Informacije o podr\u0161ci za taj proizvod, servis, tehnologiju ili API potra\u017Eite u odjeljku \u017Divotni ciklus Microsoftova proizvoda.`,sK="Preporu\u010Dena verzija",X1="Povratak na glavno web-mjesto",aK="Sadr\u017Eaj na web-mjestima za pregled mogu pregledavati svi Microsoftovi FTE-sovi, dobavlja\u010Di i zaposlenici servisa LinkedIn.",lK="Taj sadr\u017Eaj nije dostupan na va\u0161em jeziku. Ovo je verzija na engleskom jeziku.",xy="Odbaci";var cK="Ovo \u0107e vo\u0111eno u\u010Denje uskoro biti dostupno za: {language}.",uK="Ovo vo\u0111eno u\u010Denje nije dostupno za: {language}.";var dK="Ovaj \u0107e modul uskoro biti dostupan za: {language}.",pK="Ovaj modul nije dostupan za: {language}.";var mK="Rezultati potrage potje\u010Du iz dokumentacije prethodne verzije i ne a\u017Euriraju se redovito.";var gK="Dani za dovr\u0161etak";var oa="Dokumentacija",fK="Pojedinosti o dokumentu",hK="Nemojte ure\u0111ivati ovu sekciju. Obavezna je u slu\u010Daju problema s povezivanjem learn.microsoft.com \u279F GitHub.";var bK=".NET dokumentacija";var TE="Preuzmite PDF",vK="Preuzimanje PDF-a onemogu\u0107eno je za sadr\u017Eaj koji zahtijeva autorizaciju.",_K="Generiranje PDF-a moglo bi potrajati nekoliko minuta. Web-mjesto mo\u017Eete nastaviti koristiti dok pripremamo PDF.";var cc="Ure\u0111ivanje";var yK="Ure\u0111eno";var uc="E-po\u0161ta";var xK="Nije dopu\u0161teno prazno ime";var TK="Datum zavr\u0161etka";var kK="Datum zavr\u0161etka",SK="Zavr\u0161ava {endDate}";var Su="Pogre\u0161ka",wK="Vrijednosti moraju biti od {date} ili starije.",EK="Datum po\u010Detka mora biti prije datuma zavr\u0161etka.";var CK="Grupa doga\u0111aja",AK="Grupe doga\u0111aja",PK="Doga\u0111aj";var Hr="Ispit";var IK="Sa\u017Eetak odgovora",LK="Natrag na izvje\u0161\u0107e",jK="U nastavku je sa\u017Eetak va\u0161ih odgovora.",RK="\u010Cestitamo, polo\u017Eili ste sve odjeljke! Ako ste polo\u017Eili u vi\u0161e poku\u0161aja, razmislite o zakazivanju ispita.",MK="Na\u017Ealost, ovaj prilago\u0111eni materijal za u\u010Denje nije u skladu s trenuta\u010Dnom probnom provjerom. Najnoviji materijal za pripremu mo\u017Eete preuzeti na stranici s pojedinostima o ispitu.",DK="To\u010Dan odgovor";var $K="Provjeru ste dovr\u0161ili u roku od {duration} min.";var zK="Rezultati probne provjere: {date}",NK="Ukupni rezultati",OK="Da biste se bolje pripremili za ispit, poku\u0161ajte dobiti ocjenu {percent}% ili ve\u0107u u vi\u0161e poku\u0161aja.",FK="Rezultat: {percent}%";var UK="Da biste dodatno pobolj\u0161ali sposobnosti u sljede\u0107im podru\u010Djima, pogledajte odjeljak Prilago\u0111eni materijali za u\u010Denje u nastavku.",qK="Pitanje {x} od {y}",HK="Jeste li spremni za polaganje ispita?",BK="Prethodne poku\u0161aje polaganja provjere mo\u017Eete vidjeti na stranici s pojedinostima o ispitu.",VK="Materijal prakse \u2013 {date}",GK="Poka\u017Ei moje odgovore",QK="Provedite jo\u0161 jednu probnu provjeru.",YK="Va\u0161 odgovor";var KK="Ispitivanje";var kE="Pro\u0161iri",WK="Pro\u0161iri tablicu";var Cf="Facebook";var ZK="Naj\u010De\u0161\u0107a pitanja";var JK="Zadovoljavaju\u0107e";var XK='Microsoftu \u0107e se poslati povratne informacije: pritiskom na gumb za slanje povratne informacije koristit \u0107e se za pobolj\u0161anje Microsoftovih proizvoda i usluga. Pravilnik o za\u0161titi privatnosti.',SE='Ako pritisnete Po\u0161alji, povratne informacije koristit \u0107e se za pobolj\u0161avanje Microsoftovih proizvoda i usluga. Izjava o za\u0161titi privatnosti',wE='Microsoft \u0107e obraditi povratne informacije koje po\u0161aljete u skladu s uputama va\u0161e tvrtke ili ustanove kako bi pobolj\u0161ao va\u0161e iskustvo i iskustvo va\u0161e tvrtke ili ustanove s ovim proizvodom. Ako imate pitanja o kori\u0161tenju povratnih informacija, obratite se administratoru klijenta. Obrada podataka povratnih informacija regulirana je Dodatkom o za\u0161titi podataka za Microsoftove proizvode i usluge izme\u0111u va\u0161e organizacije i tvrtke Microsoft, a povratne informacije koje po\u0161aljete smatraju se osobnim podacima prema tom dodatku. Izjava o za\u0161titi privatnosti',Ty="Microsoft \u0107e obraditi povratne informacije koje po\u0161aljete u skladu s uputama va\u0161e tvrtke ili ustanove kako bi pobolj\u0161ao va\u0161e iskustvo i iskustvo va\u0161e tvrtke ili ustanove s ovim proizvodom.",eW='Microsoft \u0107e obraditi povratne informacije koje po\u0161aljete u skladu s uputama va\u0161e tvrtke ili ustanove kako bi pobolj\u0161ao va\u0161e iskustvo i iskustvo va\u0161e tvrtke ili ustanove s ovim proizvodom. Izjava o za\u0161titi privatnosti';var tW="[Ovdje unesite povratne informacije]";var oW="Prijavite povratne informacije";var nW="Prilo\u017Eite snimku zaslona (neobavezno)",rW="Odaberite datoteke...",iW=".jpeg, .jpg, .png ili .gif";var sW="Problemi s ljuskom u oblaku";var aW="Problemi s .NET ure\u0111iva\u010Dem";var lW="Problemi s instalacijom zavisnosti";var cW="Kvaliteta sadr\u017Eaja korisni\u010Dkih priru\u010Dnika";var uW="Opi\u0161ite svoje povratne informacije. Ako je mogu\u0107e, navedite korake za replikaciju problema",dW="Unesite naslov povratnih informacija",pW="Neto\u010Dne informacije / pravopisna pogre\u0161ka / pogre\u0161ka u sadr\u017Eaju",mW="Zahtjev za zna\u010Dajku",gW="Proizvod ili funkcija",fW="Op\u0107e povratne informacije",hW="Kvaliteta sadr\u017Eaja za u\u010Denje",bW="Imam pitanja o sadr\u017Eajima za u\u010Denje",vW="Ne dobivam bodove/XP za dovr\u0161etak",_W="Drugo",yW="Problemi s registracijom/prijavom",xW="Problemi sa sigurnosnom ogradom",TW="Problemi s kvalitetom prijevoda",kW="Odaberite problem s kojim ste se susreli",SW="Odaberite vrstu povratnih informacija";var wW="Sadr\u017Eaj je lako razumljiv",EW="Sadr\u017Eaj je te\u0161ko razumljiv",CW="Nisam prona\u0161ao \u0161to mi je potrebno",AW="Obavio sam zadatak ili rije\u0161io problem",PW="Nau\u010Dio sam ne\u0161to novo",IW="Informacije je bilo jednostavno prona\u0107i",LW="Zastarjelo/zastarjelo",jW="Struktura plana",RW="Pokrivenost sadr\u017Eaja",MW="Personalizacija",DW="Jednostavno za kori\u0161tenje",$W="Poma\u017Ee u razvoju karijere",zW="Previ\u0161e slo\u017Eeno",NW="Tehni\u010Dki problemi",OW="Nedostatak personalizacije",FW="Nije relevantno za cilj",UW="Neto\u010Dni vremenski okviri",qW="Procedura ili kod ne funkcioniraju",e$="Kvaliteta prijevoda";var Wa="Filtar",HW="Filtri";var t$="Filtar je o\u010Di\u0161\u0107en",BW="Sadr\u017Eaj \u0107e se filtrirati tijekom upisivanja";var VW="Potra\u017Ei {facet}";var GW="Pronala\u017Eenje po naslovu";var QW="Pronala\u017Eenje autora pitanja";var YW="Omogu\u0107en je na\u010Din rada za fokusiranje",KW="Na\u010Din rada za fokusiranje je onemogu\u0107en";var WW="Odmah se registrirajte";var ky="Odaberite barem jednu stavku.",Za="Sadr\u017Eaj se promijenio, ponovno u\u010Ditajte stranicu da bi vam se prikazale najnovije promjene.",o$="Imamo problem s va\u0161im privitcima. Osvje\u017Eite ili uklonite privitke da biste nastavili s objavom. Ako se problem nastavi pojavljivati, obratite se podr\u0161ci za web-mjesto.",n$="Adresa e-po\u0161te nije valjana",ZW="E-po\u0161ta nije valjana i mora sadr\u017Eavati najmanje 6 znakova.",JW="Odaberite barem jedan razlog za povratne informacije.",XW="Je li vam stranica bila korisna? Odaberite Da ili Ne.",eZ="Potreban je barem jedan odabir iz {inputGroup}.",ds="Polje {inputLabel} ne mo\u017Ee imati vi\u0161e od ovoliko znakova: {maxLength}.",ps="Polje {inputLabel} mora imati najmanje ovoliko znakova: {minLength}.",ms="Polje {inputLabel} je obavezno.",EE="Unos {inputLabel} ne smije zapo\u010Deti ni zavr\u0161iti to\u010Dkom.",tZ="{inputLabel} ne mo\u017Ee sadr\u017Eavati znakove \\ ni \u201E.",oZ="Polje za unos nije valjano. Provjerite polja za unos i poku\u0161ajte ponovo.",gs="Va\u0161a autenti\u010Dnost nje provjerena. Osvje\u017Eite stranicu pa poku\u0161ajte ponovno. Ako se problem ne rije\u0161i, odjavite se pa se ponovno prijavite.",fs="Nemate ovlasti za davanje tog odgovora. Ako smatrate da se radi o pogre\u0161ci, osvje\u017Eite stranicu pa poku\u0161ajte ponovno.";var nZ="Po\u0161tanski broj SAD-a trebao bi sadr\u017Eavati samo broj\u010Dane znamenke i mora sadr\u017Eavati 5 ili 9 znamenki.",rZ="Kanadski po\u0161tanski broj ne smije sadr\u017Eavati razmake i mora biti u formatu A1A1A1.",iZ="Telefonski broj nije valjan i trebao bi sadr\u017Eavati samo broj\u010Dane znakove.",un="Da biste nastavili, rije\u0161ite sljede\u0107e probleme:",Af="Odaberite ne\u0161to.",r$="Tekst mora biti na engleskom jeziku. Ako imate tekst ili simbole koji nisu na engleskom jeziku, uklonite ih kako biste nastavili.",hs="Nema izmjena za slanje.",bs="Poslali ste previ\u0161e zahtjeva. Pri\u010Dekajte nekoliko minuta pa poku\u0161ajte ponovno.",Br="Nai\u0161li smo na neo\u010Dekivanu pogre\u0161ku. Poku\u0161ajte ponovno kasnije. Ako se problem ne rije\u0161i, obratite se slu\u017Ebi za podr\u0161ku.";var sZ="Generiranje PDF-a...";var aZ="Zatra\u017Eite pomo\u0107 na web-mjestu Microsoft Q&A",lZ="Zatra\u017Eite podr\u0161ku za proizvode",i$="Po\u010Detak rada";var Lp="Globalno",s$="Globalna navigacija";var a$="Vrati se natrag";var cZ="Dobro";var l$="Idite na pojedinosti o ispitu";var uZ="Izvrsno";var CE="Zaglavlja",dZ="Pomo\u0107 za odabir";var pZ="Ovdje",mZ="Sakrij dovr\u0161eno";var gZ='Pozdrav, {user}';var fZ="Veliki kontrast",hZ="Polazno";var bZ="Vodoravno pomi\u010Dan kod",c$="Vodoravno pomi\u010Dni podaci",AE="Sati",wu="Sati",vZ="prije {duration} h",_Z="Kako nam ide?";var yZ="Koliko ste zadovoljni kvalitetom kori\u0161tenog jezika?";var xZ="h";var TZ="{hrs} h",kZ="{numberOfHours} h {numberOfMinutes} min";var SZ="Va\u017Eno";var Sy="U tijeku";var wZ="Srednja razina";var u$="Sadr\u017Eaj \u010Dlanka";var Pf='"{itemTitle}" trajno \u0107e se izbrisati.';var EZ="upravo sad";var PE="Poznati problem",CZ="Potvr\u0111eno";var AZ="Istraga u tijeku",PZ="Ubla\u017Eeno",IZ="Prijavljeno",LZ="Rije\u0161eno";var If="Tablica sadr\u017Eaja";var d$="Jezik",jZ="Jezici";var IE="Zadnji put a\u017Eurirano u {time}";var p$="Vo\u0111eno u\u010Denje",Lf="Vo\u0111eno u\u010Denje";var Vr="Saznajte vi\u0161e";var RZ="Vrsta sadr\u017Eaja",MZ="Vrste sadr\u017Eaja";var wy="Epizoda";var DZ="Epizoda: {count}";var $Z="Doga\u0111aj",zZ="Posljednja epizoda",NZ="Zadnja epizoda {date}";var OZ="Objavljeno {date}",LE="Serije",m$="Emisija",kr="Emisija";var jE="Videozapis nije dostupan",g$="Na\u017Ealost, taj videozapis nije dostupan. Poku\u0161ajte ponovno kasnije dok mi radimo na rje\u0161enju.",jf="Reproduktor videozapisa";var FZ="Razina",UZ="Razina {number}";var qZ="Razine",HZ="\u017Divotni ciklus",BZ="Svijetla";var Rf="LinkedIn";var Bt="U\u010Ditavanje...";var VZ="Vi\u0161e…",GZ="U\u010Ditaj vi\u0161e rezultata",RE="Arapski",QZ="arapski (Saudijska Arabija)",ME="Bugarski",YZ="bugarski (Bugarska)";var DE="Bosanski (latinica)",KZ="Bosanski (\u0107irilica)",$E="Katalonski",zE="\u010Ce\u0161ki",NE="Danski",OE="Njema\u010Dki";var FE="Gr\u010Dki",WZ="gr\u010Dki (Gr\u010Dka)",UE="Engleski",ZZ="Engleski (Malezija)";var qE="\u0160panjolski",JZ="\u0160panjolski (Meksiko)",HE="Estonski",BE="Baskijski",VE="Finski",GE="Filipino",QE="Francuski";var YE="Irski",KE="Galicijski",WE="Hebrejski",ZE="Hindski",JE="Hrvatski",XE="Ma\u0111arski",XZ="Ma\u0111arski (Ma\u0111arska)",eC="Indonezijski",eJ="indonezijski (Indonezija)",tC="Islandski",oC="Talijanski";var nC="Japanski",tJ="gruzijski",rC="Kaza\u010Dki",iC="Korejski",sC="Luksembur\u0161ki",aC="Litavski",lC="Latvijski",cC="Malajski",uC="Malte\u0161ki",dC="Norve\u0161ki",pC="Nizozemski",mC="Poljski",gC="Portugalski",oJ="Portugalski (Brazil)",nJ="Portugalski (Portugal)",fC="Rumunjski",hC="Ruski",bC="Slova\u010Dki",vC="Slovenski";var _C="Srpski (\u0107irilica)",yC="Srpski (latinica)",xC="\u0160vedski",TC="Tajlandski",kC="Turski",SC="Ukrajinski",rJ="Ukrajinski",iJ="Urdski",wC="Vijetnamski",sJ="Vijetnamski (Vijetnam)";var EC="Kineski (pojednostavljeni)",CC="Kineski (tradicionalni, posebno upravno podru\u010Dje Hong Kong)",AC="Kineski (tradicionalni)";var aJ="Upravljanje kola\u010Di\u0107ima";var PC="Microsoft Learn Editor",lJ="Naporno radimo na migraciji povijesti te\u010Daja i postignu\u0107a na Learn. No u ovom se trenutku ovdje prikazuju samo aktivnosti dovr\u0161ene na servisu Learn.",cJ='Da biste vidjeli cijeli prijepis ocjena i/ili postignutih zna\u010Dki na servisima Microsoft Educator Center i Learn, posjetite svoj profil za MEC.';var uJ="Obavijest o za\u0161titi privatnosti Microsoftovih zaposlenika",dJ="Prijavili ste se pomo\u0107u ra\u010Duna povezanog s tvrtkom ili ustanovom ({email}). Ako postanete \u010Dlan, razumijete i prihva\u0107ate da \u010Dlanstvo u okru\u017Eenju Microsoft Learn podrazumijeva da \u0107e na\u0161a mre\u017Ea web-mjesta i aplikacija evidentirati i pratiti postignu\u0107a i aktivnosti te da mo\u017Eemo zajedni\u010Dki koristiti rezultate i aktivnosti s va\u0161om tvrtkom ili ustanovom. Osim toga, va\u0161e korisni\u010Dko ime, zaslonsko ime, slika profila, pripadnost, postignu\u0107a i aktivnosti bit \u0107e javno vidljivi. Svoja postignu\u0107a i aktivnosti mo\u017Eete sakriti u postavkama.

Kada stvorite profil, preporu\u010Dujemo da pove\u017Eete osobni ra\u010Dun da biste mogli pratiti svoj napredak u u\u010Denju bez obzira na status zaposlenja. Dodatne ra\u010Dune mo\u017Eete povezati u postavkama profila u odjeljku Upravljanje ra\u010Dunom.";var pJ="Ure\u0111iva\u010D za Microsoft Graph";var IC="Microsoftova obavijest o za\u0161titi privatnosti",mJ="Morate prihvatiti Microsoftovu obavijest o za\u0161titi privatnosti da biste zadr\u017Eali profil i povezane podatke.";var LC="{numberOfMinutes} min";var jp="{numberOfMinutes} min";var Ey="Minute";var gJ="prije {duration} min";var Sr="Modul";var fJ="Referenca za modul za {platformName}",Cy="Moduli";var hJ="Preusmjereni ste na najnoviju verziju proizvoda koja je dostupna za ovu stranicu.";var bJ="prije {duration} mj.";var Ay="Vi\u0161e";var vJ="Ime";var vs="Sljede\u0107a";var Ci="Ne",_J="Nova zbirka",Mf="Najnovije",Df="Najstarije";var yJ="Nema dostupnih proizvoda",xJ="Nema dostupnih oznaka",jC="Nema dostupnih filtara",TJ='U ovoj sekciji nema stavki. Premjestite stavke ovdje iz drugih odjeljaka ili dodajte stavke s web-stranice za pregledavanje obuke.';var jo="Nema rezultata",na="Nije prona\u0111en nijedan rezultat",kJ="Jo\u0161 nema rezultata, ali nastavite pisati\u2026",SJ='Potra\u017Ei "{term}" u cijeloj dokumentaciji {searchScope}',wJ='Potra\u017Ei "{term}" u cijeloj dokumentaciji',EJ="Nema prijedloga",CJ="Normalno";var AJ="Ne, hvala",PJ="Napomena";var IJ="Nismo prona\u0161li nijednog korisnika.";var LJ="Broj stavki: {number}",jJ="Broj stavki: {number}";var RJ="Vrlo sam zadovoljan",MJ="Zadovoljan/na",DJ="Ni zadovoljan/na ni nezadovoljan/na",$J="Nezadovoljan/na",zJ="Vrlo nezadovoljan/na";var NJ="Dokumentacija za sustav Office";var wn="U redu",OJ="U redu, shva\u0107am.";var FJ="dana {date}";var UJ="Otvori pretra\u017Eivanje";var qJ="Povratne informacije o proizvodu {productName}",HJ="{productName} je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija:";var BJ="Otvaranje ljuske u oblaku",VJ="Neobavezno";var RC="{label} (Nije obavezno)";var GJ="Do\u0161lo je do pogre\u0161ke",QJ='Nai\u0161li smo na o\u010Dekivanu pogre\u0161ku. Poku\u0161ajte ponovno. Ako vjerujete da je to pogre\u0161ka, slobodno se obratite predstavniku ra\u010Dunala ili korisni\u010Dkoj podr\u0161ci.',YJ="Zajedni\u010Dki podatkovni resurs koji ste zatra\u017Eili ve\u0107 je postavljen",KJ="\u017Delite li pogledati taj zajedni\u010Dki podatkovni resurs?",WJ="Zasad ne",ZJ="Slanje poziva za zajedni\u010Dko kori\u0161tenje podataka...",JJ="Ugovor o zajedni\u010Dkom kori\u0161tenju podataka na servisu Microsoft Learn",XJ='Razumijem i prihva\u0107am uvjete pilot verzije zajedni\u010Dkog kori\u0161tenja podataka na servisu Microsoft Learn radi omogu\u0107ivanja Microsoftu da zajedni\u010Dki koristi podatke sa servisa Learn s mojom tvrtkom ili ustanovom za korisnike servisa Learn koji se prijavljuju pomo\u0107u ID-a klijenta moje tvrtke ili ustanove.',eX="Poku\u0161ajte ponovno s povezanim poslovnim ra\u010Dunom",tX="Ne mo\u017Eemo provjeriti valjanost va\u0161eg ra\u010Duna",oX='Da biste pristupili tom zajedni\u010Dkom mjestu za podatke prijavite se pomo\u0107u poslovnog ra\u010Duna. Ako vjerujete da se radi o pogre\u0161ci, obratite se slu\u017Ebi za korisni\u010Dku podr\u0161ku ili predstavniku ra\u010Duna.',nX="Da",ra="Drugo";var rX="Ukupno gledano, u kojoj ste mjeri zadovoljni ili nezadovoljni servisom Microsoft Learn?";var MC="Paket",f$="Referenca za paket za {platformName}";var DC="str. {pageNumber} od {numberOfPages}";var iX="numeriranje stranica";var sX="Parametri";var aX="PDF je generiran. Otvaramo vam ga...";var lX="Broj telefona",Eu="Tarifa";var cX="Ispunite ovo polje";var uX="Po\u0161aljite povratne informacije o tome kako mo\u017Eemo pobolj\u0161ati taj sadr\u017Eaj. Ako je primjenjivo, navedite prvi dio sporne re\u010Denice ili niza.";var dX="Popularno";var pX="Ispi\u0161i";var mX="Ispis je onemogu\u0107en za sadr\u017Eaj koji zahtijeva autorizaciju.",$C="Pravilnik o za\u0161titi privatnosti",gX="Lo\u0161e";var $f="Pretpregled";var Ja="Prethodna";var zf="Proizvod",fX="Korisnici servisa {productName}:";var Nf="Proizvodi",hX="Profil";var bX="Programski jezik",vX="Programski jezici";var _X="Po\u0161aljite povratne informacije o proizvodu";var Py="Q&A";var yX="je pitao";var xX="odgovori",TX="komentari";var kX="glasovi";var SX='Zahvaljujemo vam na strpljenju tijekom migriranja sadr\u017Eaja zajednice Microsoftove podr\u0161ke na Microsoft Q&A. Ne migriramo sav sadr\u017Eaj, a pitanje koje tra\u017Eite povu\u010Deno je. Dodatne informacije o migraciji potra\u017Eite u \u010Dlanku Saznajte vi\u0161e. Mo\u017Eete ponovno postaviti pitanje ili istra\u017Eiti druga pitanja na stranici {product}.',wX="Ovo pitanje je povu\u010Deno";var EX="Prema\u0161en je maksimalan broj privitaka. Odaberite do {maximumCount} privitaka.";var CX="Prema\u0161en je maksimalan broj spominjanja. Odaberite do {maximumCount} spominjanja.";var AX="Korisnik je ve\u0107 obustavljen. Osvje\u017Eite stranicu.",PX="Korisnik nije obustavljen. Osvje\u017Eite stranicu.";var IX="Tu radnju ne mo\u017Eete poduzeti jer je va\u0161 ra\u010Dun obustavljen zbog kr\u0161enja na\u0161eg kodeksa pona\u0161anja. Va\u0161 je ra\u010Dun ru\u010Dno prijavljen ili prepoznat automatiziranim otkrivanjem prije nego \u0161to je radnja poduzeta. Dodatne informacije potra\u017Eite u na\u0161em Kodeksu pona\u0161anja.";var LX="Ovaj je odgovor koristan",jX="Ovaj odgovor nije koristan";var h$="Prijavite problem",b$="Prijavite razlog";var RX=` da biste se uklju\u010Dili u a\u017Euriranja e-po\u0161te u vezi s prijavljenim problemom`,MX="Dopusti Microsoftu da mi se obrati u vezi s ovim izvje\u0161\u0107em",DX="Ime i prezime",$X="E-po\u0161ta",zX='Kontaktirat \u0107emo vas putem va\u0161eg osobnog ra\u010Duna {email}',NX='Microsoft predano radi na pomaganju na\u0161im korisnicima i za\u0161titi va\u0161e privatnosti. Mo\u017Eete pro\u010Ditati Microsoftovu izjavu o privatnosti ako \u017Eelite vi\u0161e informacija o tome kako \u0161titimo osobne podatke.';var OX="Pitanje",Rp="Autor pitanja",v$='

Filtriranje prema autoru pitanja

Prilikom filtriranja prema autoru pitanja mo\u017Eete filtrirati samo po jednom korisniku i samo po korisnicima servisa Learn.

',_$="Pitanja";var FX="Na pitanje je ve\u0107 odgovoreno.";var UX="Obavezno pitanje.",qX="Neobavezno pitanje.",HX="Brzi filtri";var y$="\u010Citajte na engleskom",BX="Pro\u010Ditajte na sljede\u0107em jeziku: {language}";var VX="Preporu\u010Deni sadr\u017Eaj",Qn="Referenca";var GX="Reference";var Cu="Osvje\u017Ei";var Of="Ukloni",x$="Ukloni {itemName}";var T$="Obnovi";var zC="Prijavite problem",QX="Odaberite razlog",YX="Sadr\u017Eaj za odrasle i seksualan sadr\u017Eaj",KX="Slike seksualnog iskori\u0161tavanja i zlostavljanja djece",WX="Koordinacija \u0161tete";var ZX="Nasilni\u010Dko pona\u0161anje i uznemiravanje",JX="Grafi\u010Dko nasilje i prizori krvi",XX="Govor mr\u017Enje i diskriminacija",eee="Intimne slike bez pristanka i ucjena intimnim sadr\u017Eajem";var tee="Ostala kr\u0161enja Uvjeta upotrebe ili Kodeksa pona\u0161anja";var oee="Prostote i vulgarnost",nee="Seksualno podvo\u0111enje";var ree="Samoubojstvo i samoozlje\u0111ivanje",iee="Terorizam ili nasilni ekstremizam",see="Trgovanje ljudima",aee="Nasilne prijetnje, poticanje i veli\u010Danje nasilja";var lee="Zatra\u017Eite pretpregled",k$="Zatra\u017Eite URL";var ia="Obvezna polja ozna\u010Dena su zvjezdicama";var cee="Vrste";var uee="Kod odgovora";var S$="Ponovno pokretanje";var dee="{numberOfResults} rezultata";var Ff="Nastavi",NC="Ponovni poku\u0161aj";var pee="Uloga";var mee="Vo\u0111eno u\u010Denje";var gee="Uloge";var fee="RSS",hee="Pokreni";var OC="Nai\u0161li smo na problem s procesom provjere sigurnosti koji je potreban za aktiviranje resursa. Poku\u0161ajte ponovo nakon 10 minuta.",w$='Primili smo va\u0161u \u017Ealbu i utvrdili da je va\u0161 ra\u010Dun prekr\u0161io na\u0161e uvjete upotrebe. Pristup interaktivnim resursima ne\u0107e biti vra\u0107en. No mo\u017Eete i dalje pristupati sadr\u017Eajima za obuku na servisu Microsoft Learn. Mnoge vje\u017Ebe u sklopu modula mogu se dovr\u0161iti putem va\u0161e osobne pretplate, ali mogu\u0107e su naknade, a neke \u0107ete upute mo\u017Eda morati prilagoditi svojoj pretplati.';var tt="Spremi";var bee="Vje\u0161tina";var E$="Dodaj u plan",C$="Dodano u planove",vee="Upravljanje naslovom {title} u planovima",_ee="Dodaj stavku {title} u plan";var A$="Kopiraj plan",yee="Ovoliko dana do kontrolne to\u010Dke: {number}";var xee="Procijenjeno vrijeme za dovr\u0161etak: {time}";var Tee="Ovoliko kontrolnih to\u010Daka: {number} u ovom planu";var kee="Kontrolna to\u010Dka {number}",See='Dodano u zbirku {collectionName}',wee='Dodano u Planove',Eee="Prijavite se u Microsoft Learn kako biste koristili umjetnu inteligenciju za izradu personaliziranog i prilago\u0111enog plana u\u010Denja koji se temelji na va\u0161im jedinstvenim potrebama i pru\u017Ea najrelevantniji sadr\u017Eaj.",Cee='Uklonjeno iz zbirke {collectionName}',Aee='Uklonjeno iz Planova',FC="Pozadina",Pee="Trenutna uloga",Iee="Odaberite ulogu",UC="Navedite podatke o svojoj karijeri.",Lee="Navedite svoju detaljnu titulu i odgovornosti",jee="Koja je va\u0161a faza karijere?",Ree="Rana karijera (od 0 do 5 godina)",Mee="Srednja karijera (od 5 do 10 godina)",Dee="Napredna karijera (vi\u0161e od 10 godina)",$ee="Sastavite svoj plan",zee="{AppliedSkills} (interaktivne procjene zadataka utemeljene na scenarijima)",Nee="Dovr\u0161ite izazovan projekt na poslu",Oee="Steknite profesionalnu akreditaciju u svojoj oblasti",Fee="Pobolj\u0161anje skupa vje\u0161tina, kao \u0161to su u\u010Denje novog softverskog alata ili programskog jezika",Uee="Unesite projektne tehnologije, ciljeve i metriku uspjeha",qee="Pritisnite i dr\u017Eite tipku Ctrl na gumbu Windows/Command na Macu da biste odabrali vi\u0161e mogu\u0107nosti.",Hee="Navedite pojedinosti o projektu",Bee="Akreditivi utemeljeni na scenarijima osvojeni prakti\u010Dnim interaktivnim procjenama zadataka dokazuju va\u0161e znanje i mogu\u0107nost implementacije rje\u0161enja u stvarnom svijetu.";var P$="Odaberite kategoriju",Iy="Odaberite certifikaciju",Vee="Odaberite akreditiv",qC="Odaberite vje\u0161tinu",I$="Odaberite predmet",Gee="Odaberite vrstu akreditiva",Qee="Koji su va\u0161i ciljevi u karijeri?",Yee="Odabir cilja plana",HC="Dovr\u0161avanje odre\u0111enog projekta",Kee="Navedite detaljan opis projekta, uklju\u010Duju\u0107i izjavu o problemu i o\u010Dekivani ishod zajedno s tehnologijama, okvirima, jezicima ili uslugama koje upotrebljavate.",Wee="Navedite svoju detaljnu titulu i odgovornosti",Zee="Koji je cilj projekta, problem i o\u010Dekivani ishod? Uklju\u010Dite sve tehnologije, okvire, jezike i servise koje upotrebljavate.",Jee="\u0160to treba i \u0161to ne treba raditi pri opisivanju projekta",Xee="Radite: \u201ERazvijam web-aplikaciju koja upotrebljava algoritme strojnog u\u010Denja za predvi\u0111anje potreba zaliha, pra\u0107enje razine zaliha u stvarnom vremenu i automatizaciju procesa ponovnog naru\u010Divanja.

Glavne zna\u010Dajke su pra\u0107enje zaliha u stvarnom vremenu, prediktivna analitika, automatizirano ponovno naru\u010Divanje i izvje\u0161\u0107ivanje/analitika.

Tehnologije koje \u0107emo upotrebljavati su Microsoft Blazor za su\u010Delje korisni\u010Dkog su\u010Delja, ASP.NET Core za logiku i API zahtjeve na strani poslu\u017Eitelja, Azure Cosmos DB za pohranu podataka o inventaru i transakcija, Azure Machine Learning i Azure usluge u oblaku.\u201D",ete="Nemojte raditi: \u201EMoram izraditi web-aplikaciju za pra\u0107enje inventara.\u201D",tte='Odvojite nekoliko minuta kako biste nam pomogli u izradi plana u\u010Denja uz umjetnu inteligenciju \u2013 personaliziranog za vas! Microsoft nikada ne\u0107e dijeliti te podatke. Pro\u010Ditajte Bilje\u0161ke o transparentnosti umjetne inteligencije kako biste saznali vi\u0161e o slu\u010Dajevima upotrebe i ograni\u010Denjima i pravilniku o za\u0161titi privatnosti.',BC="Osvojite vjerodajnice",ote="Kako \u017Eelite ste\u0107i vjerodajnice?",nte="Vrednovanje vje\u0161tina procjenom na temelju scenarija",VC="Odaberite najrelevantnije {AppliedSkills}",rte="Steknite Microsoftov certifikat koji se temelji na ulogama koji je prepoznat u industriji",GC="Industrijski priznati certifikati",QC="Do\u0161lo je do pogre\u0161ke. Poku\u0161ajte ponovno.",ite="Plan nije generiran jer obrazac mo\u017Ee sadr\u017Eavati tekst koji mo\u017Eda kr\u0161i pravila pona\u0161anja servisa Microsoft Learn. Zapo\u010Dnite ispo\u010Detka i promijenite izra\u017Eavanje.",ste="Na\u017Ealost, nismo uspjeli generirati va\u0161 plan. Po\u010Dnite ispo\u010Detka.",ate="Nismo mogli otvoriti va\u0161 plan. Poku\u0161ajte ponovno.",lte="Nismo mogli prona\u0107i vjerodajnice za ovu ulogu. Odaberite drugu ulogu i poku\u0161ajte ponovno.",YC="Unesite detaljne nazive i odgovornosti koje mogu pomo\u0107i na\u0161em AI sustavu da bolje personalizira va\u0161 plan u\u010Denja. Preporu\u010Dujemo da dodate naziv radnog mjesta i pojedinosti o odre\u0111enim zadacima koje obavljate, a koji se odnose na cilj va\u0161eg plana";var cte="Navedite \u0161to vi\u0161e detalja mo\u017Eete, ali nemojte uklju\u010Diti nikakve privatne ili osjetljive podatke",L$="Je li ovaj plan koristan?",ute="Upiti i generirani odgovori bit \u0107e podijeljeni. Pretpregledajte \u0161to \u0107e se dijeliti {here}",j$="Ovaj plan je koristan",R$="Ovaj plan nije koristan",dte="Cijenimo \u0161to ste odvojili vrijeme da ocijenite predlo\u017Eeni plan i date komentare. Va\u0161 doprinos pomo\u0107i \u0107e nam da pobolj\u0161amo svoje iskustvo.",pte="\u0160to bi se s planom moglo pobolj\u0161ati?",mte="\u0160to vam se svidjelo u planu?",gte="Goal",fte="Generirajte plan",KC="Generiranje va\u0161eg plana...",hte="Jo\u0161 samo malo",bte="Skoro smo stigli \u2013 samo dovr\u0161avamo kako bismo osigurali da sve bude savr\u0161eno!",vte="Vrijeme zavr\u0161etka",_te="Sada procjenjujemo vrijeme dovr\u0161etka prekretnice na temelju va\u0161eg tempa u\u010Denja.",yte="Zatim iznosimo va\u0161e ishode u\u010Denja.",xte="Na kraju, postavljamo prekretnice, uklju\u010Duju\u0107i klju\u010Dne faze i kontrolne to\u010Dke.",Tte="Prvo generiramo naslov i opis va\u0161eg plana koji \u0107e definirati svrhu i opseg va\u0161eg projekta.",kte="Naslov i opis",WC="Razvoj u trenuta\u010Dnoj karijeri",Ste="Kako to funkcionira?",wte='Svaki plan koji generira AI temelji se na va\u0161im odabirima i informacijama koje ste naveli. Izra\u0111ujemo relevantan Microsoftov sadr\u017Eaj da bismo stvorili personalizirani plan. Ovaj plan uklju\u010Duje prilago\u0111enu obuku i dokumentaciju, organizirane prekretnice, alate za pra\u0107enje napretka za pojedince ili grupe i priznanje po zavr\u0161etku. Saznajte vi\u0161e o tome kako generiranje plana pomo\u0107u umjetne inteligencije funkcionira i njegovim ograni\u010Denjima.',Uf="Ciljevi",ZC="Navedite vi\u0161e informacija o svojim ciljevima u karijeri.",JC="Zapo\u010Dinjanje nove karijere",Ete="Unesite svoju detaljnu titulu i odgovornosti. Preporu\u010Dujemo upotrebu odre\u0111enih naziva radnih mjesta i/ili detaljnih odgovornosti koje se odnose na cilj va\u0161eg plana. To poma\u017Ee na\u0161em AI sustavu da bude personaliziraniji i precizniji.",Cte="Opis uloge",Ate="Odaberite ulogu",Pte="Odaberite najrelevantniju ulogu",Ite="Koju ulogu \u017Eelite istra\u017Eiti?",Lte="Po\u010Dni ispo\u010Detka bez spremanja",jte="\u017Delite li po\u010Deti ispo\u010Detka bez spremanja plana?",Rte="Ako po\u010Dnete ispo\u010Detka, tarifa i podaci koje ste unijeli ne\u0107e se spremiti i morat \u0107ete ponovno unijeti svoje podatke i postavke.",Mte="Odvojite nekoliko minuta kako biste nam pomogli u izradi plana u\u010Denja uz umjetnu inteligenciju \u2013 personaliziranog za vas!",Ly="Recite nam svoj cilj",Dte="Dodajte \u0161to vi\u0161e informacija i detalja",$te="Primjer: \u201EMoj je cilj postati vje\u0161t u Azure AI uslugama. \u017Delim nau\u010Diti kako izraditi, implementirati i upravljati modelima umjetne inteligencije s pomo\u0107u platforme Azure Machine Learning. Osim toga, cilj mi je razumjeti kako integrirati ove modele u na\u0161e postoje\u0107e aplikacije kako bismo pobolj\u0161ali njihove mogu\u0107nosti i pru\u017Eili bolje uvide.\u201D",jy="Vremenska traka",Ry="Javite nam koliko vremena imate za rad na svom planu.",zte="Koliko vremena mo\u017Eete posvetiti tjedno?",Nte="Kada \u017Eelite zavr\u0161iti svoj plan u\u010Denja?",Ote="Manje od 1 sata",Fte="1-2 sata",Ute="3-5 sati",qte="5-10 sati",Hte="Vi\u0161e od 10 sati",Bte="U roku od 3 mjeseca",Vte="3-6 mjeseci",Gte="6-12 mjeseci",Qte="Vi\u0161e od 12 mjeseci";var qf="Plan pregleda";var Yte="Uspjeli ste! Va\u0161 novi plan je spreman. Provjerite jer sadr\u017Eaj koji je generirala umjetna inteligencija mo\u017Ee biti neto\u010Dan.";var Kte="Ogledni plan",Wte="Ovaj plan osposobljavanja vodi vas kroz razvoj rje\u0161enja umjetne inteligencije pomo\u0107u usluga Azure AI Services, usredoto\u010Duju\u0107i se na obradu prirodnog jezika, generativni AI i prilago\u0111ene aplikacije umjetne inteligencije. Nau\u010Dit \u0107ete u\u010Dinkovito koristiti mo\u0107ne alate i usluge platforme Azure.";var Zte="Do kraja ovog plana mo\u0107i \u0107ete stvarati i implementirati rje\u0161enja umjetne inteligencije pomo\u0107u servisa Azure AI, uklju\u010Duju\u0107i obradu prirodnog jezika i aplikacije generativnog AI-ja.",Jte="Do kraja ovog plana mo\u0107i \u0107ete implementirati prilago\u0111ene aplikacije umjetne inteligencije pomo\u0107u servisa Azure OpenAI i Azure AI Studio.",Xte="Do kraja ovog plana mo\u0107i \u0107ete razviti inteligentne aplikacije koje koriste mogu\u0107nosti platforme Azure AI za razli\u010Dite slu\u010Dajeve upotrebe.",eoe="Nau\u010Dite temeljne servise platforme Azure AI",toe="U ovoj sekciji u\u010Denici \u0107e istra\u017Eiti osnove servisa Azure AI, stje\u010Du\u0107i temeljna znanja za izgradnju AI rje\u0161enja. Klju\u010Dne tehnologije uklju\u010Duju servise Azure AI, sa zadacima kao \u0161to su razumijevanje mogu\u0107nosti servisa i po\u010Detno postavljanje.",ooe="Po\u010Detak rada sa servisima Azure AI",noe="Razvoj naprednih rje\u0161enja umjetne inteligencije uz Azure",roe="Ova se sekcija usredoto\u010Duje na razvoj naprednih rje\u0161enja umjetne inteligencije, uklju\u010Duju\u0107i obradu prirodnog jezika i generativni AI. U\u010Denici \u0107e raditi sa servisima Azure AI i Azure OpenAI, sudjeluju\u0107i u zadacima kao \u0161to su izrada jezi\u010Dnih modela i stvaranje prilago\u0111enih kopilota.",ioe="Razvoj rje\u0161enja za obradu prirodnog jezika uz servise Azure AI",soe="Razvijanje aplikacija uz Azure OpenAI na servisu Foundry Models",aoe="Razvijte vlastite prilago\u0111ene kopilote uz Azure AI Studio",loe="Razvoj rje\u0161enja za umjetnu inteligenciju uz servise Azure AI",coe='Planovi su a\u017Eurirani';var uoe="Odaberite drugi naziv za svoj plan",doe="Kopiraj vezu";var XC="Upravljanje";var e0="Napusti",poe="Napusti plan",moe="\u017Delite li zaista napustiti ovaj plan?",goe="Izgubit \u0107ete sve zapise o svom napretku i ne\u0107ete se prikazivati u izvje\u0161\u0107u autora.",foe="Da, napusti",hoe="Unesite naslov";var boe="Na\u017Ealost, ovaj plan je privatan.",voe="Autor ovog plana ozna\u010Dio ga je kao privatni i trenuta\u010Dno nije vidljiv drugim korisnicima.",_oe="Planove mo\u017Eete pregledati na svom korisni\u010Dkom profilu.",yoe="Prikaz va\u0161ih planova",xoe='Mo\u017Eete se i vratiti na planove.',Toe="Plan nije dostupan",koe="Taj plan ne postoji ili je uklonjen.",Soe="Ako se ova veza zajedni\u010Dki koristi s vama, zatra\u017Eite novu vezu.",woe="Dovr\u0161eno";var Eoe="Plan omogu\u0107uje osobama koje u\u010De napredak putem skupa klju\u010Dnih to\u010Daka za postizanje rezultata u\u010Denja. Mo\u017Eete pozvati osobe koje u\u010De u svoj plan i pratiti njihov napredak.",Coe="Zapo\u010Deto";var Aoe="Slu\u017Ebeni plan";var Poe="Plan nije prona\u0111en. Osvje\u017Eite stranicu.",Ioe="Neke su kontrolne to\u010Dke prazne ili nedostaje preporu\u010Deni broj dana za dovr\u0161etak. Rije\u0161ite te probleme prije objavljivanja plana.",Loe="Pojedinosti plana";var joe="Izbri\u0161i plan",Roe="Za brisanje plana provjerite ima li pridru\u017Eenih korisnika. Svi korisnici moraju najprije ukloniti plan.",Moe="Jeste li sigurni da \u017Eelite izbrisati sljede\u0107i plan?",Doe="Da, izbri\u0161i plan";var Hf="Pozivanje osoba koje u\u010De",M$="Kopiraj vezu pozivnice",$oe="Veza je kopirana u me\u0111uspremnik",zoe="Izbri\u0161i grupu za u\u010Denje",Noe="Spremate se izbrisati sljede\u0107u grupu za u\u010Denje: {learningGroupName}. \u017Delite li nastaviti?",Ooe="Grupa je izbrisana",Foe="Grupe",My="Naziv grupe",Uoe="Pojedinci";var qoe="Grupa za u\u010Denje naziv je koji vam omogu\u0107uje da identificirate grupu u\u010Denika u izvje\u0161\u0107u o napretku; u\u010Denici ne\u0107e vidjeti ovaj naziv.

Stvaranje grupe za u\u010Denje generira jedinstvenu vezu s va\u0161im planom za odre\u0111enu skupinu u\u010Denika.";var D$="Nova grupa za u\u010Denje",Hoe="Unesite naziv grupe za u\u010Denje",Boe="Va\u0161a pozivnica za pokretanje plana {planTitle} na platformi Microsoft Learn",Voe="Zapo\u010Dnite svoj plan i zapo\u010Dnite svoje putovanje u\u010Denja ve\u0107 danas.",Goe="Pozvani ste da pokrenete plan {planTitle} na platformi Microsoft Learn.",Qoe="Plan je skup ure\u0111enog i organiziranog sadr\u017Eaja na platformi Microsoft Learn s klju\u010Dnim etapama osmi\u0161ljenima da vam pomognu u postizanju ishoda u\u010Denja.",Yoe="Dovr\u0161enjem ovog plana posti\u0107i \u0107ete sljede\u0107e ishode u\u010Denja:",Koe="Zapo\u010Dnite svoj plan ve\u0107 danas!",Bf="Prikaz napretka",Woe="Preuzmite ovu datoteku da biste pogledali popis u\u010Denika i njihov napredak.",t0="Preuzmi CSV",Zoe="Datoteka sadr\u017Ei sljede\u0107e informacije:",Joe="Grupa u\u010Denika",Xoe="Korisni\u010Dko ime u\u010Denika",ene="Datum po\u010Detka",tne="Datum zavr\u0161etka",one="Dovr\u0161ene stavke",nne="Ukupno stavki",Au="Ishodi u\u010Denja",rne="Uredite ishode u\u010Denja",ine="Ishod u\u010Denja specifi\u010Dno je znanje, vje\u0161tine ili stru\u010Dnost koje \u0107e u\u010Denje dobiti od dovr\u0161etka ovog plana.",sne="Savjet: zapo\u010Dnite svaki ishod u\u010Denja glagolom. Svaki ishod treba zavr\u0161iti re\u010Denicom \u201EPo dovr\u0161etku ovog plana, u\u010Denici \u0107e mo\u0107i...\u201D";var ane="Ishod 1",lne="Ishod 2 (neobavezno)",cne="Ishod 3 (neobavezno)",une="Ishod {number}",dne="Pretvori u slu\u017Ebeni plan",pne="Pretvori plan u slu\u017Ebeni plan",mne="Slu\u017Ebeni plan trebali biste koristiti kada \u017Eelite da plan predstavlja Microsoft i ako \u017Eelite uvrstiti veze izvan servisa Microsoft Learn. Uvijek provjerite je li va\u0161 plan potpun, bez tipografskih pogre\u0161aka i je li sadr\u017Eaj naveden pravilnim redoslijedom. Kada se slu\u017Ebeni plan objavi, ne mo\u017Ee se mijenjati.",gne="Da biste sa\u010Duvali vanjske veze iz osnovne slu\u017Ebene zbirke ili plana, pretvorite ih u slu\u017Ebeni plan.",fne="Slu\u017Ebeni plan predstavlja Microsoft, pa provjerite je li va\u0161 objavljeni plan potpun, bez tipografskih pogre\u0161aka i je li sadr\u017Eaj naveden pravilnim redoslijedom.";var o0="Ovaj je plan poslan za lokaliziranje",hne="Plan je dovr\u0161en i lektoriran",bne="Hvala vam \u0161to ste poslali slu\u017Ebeni plan za lokalizaciju.",vne="Ozna\u010Di kao dovr\u0161eno",$$="Klju\u010Dna to\u010Dka",_ne="Dodajte kontrolnu to\u010Dku",yne="Uredite kontrolnu to\u010Dku";var xne="Nova kontrolna to\u010Dka",Tne="Dani za prekretnicu :",kne="1 kontrolna to\u010Dka",Sne="kontrolnih to\u010Daka: {numberOfMilestones}";var wne="Prekretnica je dovr\u0161ena";var Ene="Premjesti u";var Cne="Provjerite imaju li sve kontrolne to\u010Dke naslov i broj dana za dovr\u0161etak. Mo\u017Eda \u0107ete morati pro\u0161iriti svaku kontrolnu to\u010Dku.";var Ane="\u017Delite li da ozna\u010Dite kao dovr\u0161eno?",Pne="\u017Delite li je ozna\u010Diti kao dovr\u0161enu? Kada je ozna\u010Dite kao dovr\u0161enu, vi\u0161e je ne\u0107ete mo\u0107i pregledati.",Ine="Dobro do\u0161li!",Lne="Da biste zapo\u010Deli taj plan, morate omogu\u0107iti dijeljenje podataka o napretku plana s autorom plana. Podaci koji \u0107e se zajedni\u010Dki koristiti su: datumi po\u010Detka i dovr\u0161etka plana te broj stavki ukupnog zbroja koje ste dovr\u0161ili u bilo kojem trenutku. Va\u0161i \u0107e se podaci povezati s va\u0161im javnim korisni\u010Dkim imenom na servisu Learn.",jne="Pristajete li zajedni\u010Dki koristiti svoj napredak?",Rne="Da, pristajem zajedni\u010Dki koristiti svoj napredak",Mne="Ako \u017Eelite primati korisne poruke e-po\u0161te koje \u0107e vas voditi i potaknuti vas kroz putovanje prema planovima, idite na stranicu Postavke profila i navedite adresu e-po\u0161te za kontakt za obavijesti.",Dne="Spremanje svih stavki u ovom planu kao nove",$ne="Prijavite se kako biste to dodali u plan.";var zne="Jo\u0161 nemate nijedan plan.",z$="Grupa osoba koje u\u010De s tim nazivom ve\u0107 postoji. Unesite drugi naziv";var Nne="Prijavljeni plan",One='Za ovu tarifu prijavljen je problem koji Microsoft trenuta\u010Dno pregledava. Dodatne informacije potra\u017Eite u na\u0161im Uvjetima kori\u0161tenja.';var Fne="Spremite prilago\u0111enu zbirku";var N$="Zaka\u017Ei ispit";var oo="Pretra\u017Eivanje";var Une="Pretra\u017Ei cijeli Microsoft Learn";var O$="Filtri pretra\u017Eivanja";var Dy="Pretra\u017Eivanje prethodnih verzija";var n0="Sekunde",qne="prije {duration} s",Hne="{seconds} s",r0="Odjeljak",Bne="Odjeljak s naslovom: {title}";var $y="Poka\u017Ei manje";var Pu="Poka\u017Ei vi\u0161e";var i0="Odaberite paket";var s0="Odaberite verziju";var Vne="Servis";var zy="Postavke",a0="Zajedni\u010Dko kori\u0161tenje";var l0="[Shared Article] {articleTitle}",Gne="Dovr\u0161io sam {achievementTitle}! Ponosan/a sam \u0161to sam to postigao/la i nadam se da \u0107u vas potaknuti da i vi zapo\u010Dnete svoje @MicrosoftLearn putovanje!";var Ny="Zajedni\u010Dko kori\u0161tenje putem sa\u017Eetka sadr\u017Eaja:";var F$="Dijeli putem";var Qne="Podijelite svoj uspjeh:",Yne="Zajedni\u010Dko kori\u0161tenje",Kne="Zajedni\u010Dko kori\u0161tenje onemogu\u0107eno je za sadr\u017Eaj koji zahtijeva autorizaciju.";var Vf="Poka\u017Ei manje",Iu="Poka\u017Ei vi\u0161e",c0="Prika\u017Ei jo\u0161 {number}",u0="Prijavljeni ste",Gr="Prijava";var Wne="Prijava...";var Zne='Prijava u Microsoft Learn';var Oy="Prijavite se za po\u010Detak",Mp="Odjava";var Jne="Web-mjesta";var Xne="jo\u0161 {count}",d0="O\u010Disti filtre",ere="Sakrij filtar",U$="Mogu\u0107nosti za {filter}";var tre="Tra\u017Eeni pojmovi:",q$="Razmi\u0161ljanje...",H$="Generiranje rezultata...",B$="Tra\u017Eenje...",ore="Rezultati pretra\u017Eivanja",V$="Sorry, I can't help with this. Please make a new request or share your feedback.",G$="Sorry, you have sent too many requests in a short period of time. Please wait a moment and try again.",nre="To\u010Dan/relevantan sadr\u017Eaj",rre="Potpun/jasan sadr\u017Eaj",ire="Brzi odgovor",sre="Neto\u010Dan/irelevantan sadr\u017Eaj",are="Nepotpun/nejasan sadr\u017Eaj",lre="Uvredljiv/neprikladan sadr\u017Eaj",cre="Spori odgovor",Q$="Ne\u0161to drugo",Y$="Navedite \u0161to vi\u0161e detalja, ali ne uklju\u010Dite nikakve privatne ili osjetljive podatke",ure="Otkrijte nam vi\u0161e",dre="Ovaj je odgovor koristan",pre="Ovaj odgovor nije koristan",Gf="Sa\u017Eetak umjetne inteligencije",Dp="Na\u017Ealost, ne\u0161to nije u redu. Poku\u0161ajte ponovno kasnije.",K$="Sa\u017Eeci su privremeno nedostupni, poku\u0161ajte ponovno kasnije.";var W$="Dohvat sa\u017Eetka nije uspio",Z$="Neva\u017Ee\u0107i sa\u017Eeti odgovor";var Lu="Sadr\u017Eaj koji generira AI mo\u017Eda nije to\u010Dan.",Qf='Pro\u010Ditajte na\u0161e bilje\u0161ke o transparentnosti umjetne inteligencije za vi\u0161e informacija.',mre='Pro\u010Ditajte na\u0161e bilje\u0161ke o transparentnosti umjetne inteligencije za vi\u0161e informacija.',Yf="Hvala vam na povratnim informacijama.",Fy="Sakrij",J$="Emisija",p0="Generiranje...",gre="Pri\u010Dekajte trenutak i poku\u0161ajte ponovno.",m0="Jo\u0161 nemamo tu informaciju.",fre='Broj rezultata za "{searchPhrase}": {count}',hre='{count} rezultat za "{searchPhrase}"',bre='Broj sli\u010Dnih rezultata za "{searchPhrase}": {count}',vre='{count} sli\u010Dan rezultat za "{searchPhrase}"',_re='Broj rezultata za "{searchPhrase}" u {scope}: {count}',yre='{count} rezultat za "{searchPhrase}" u opsegu {scope}',xre='Broj sli\u010Dnih rezultata za "{searchPhrase}" u podru\u010Dju {scope}: {count}',Tre='{count} sli\u010Dan rezultat za "{searchPhrase}" u podru\u010Dju {scope}',kre='Nije prona\u0111en nijedan rezultat, prikazuje se ovoliko rezultata sli\u010Dnih "{searchPhrase}: {count}.',Sre='Nije prona\u0111en nijedan rezultat, prikazuje se {count} rezultat sli\u010Dan "{searchPhrase}".';var wre="ili pogledajte sve rezultate u su\u010Delju Microsoft Learn",Ere='Broj rezultate za "{searchPhrase}" u {scope} {pivotCategory}: {count}',Cre='{count} rezultat za "{searchPhrase}" opsegu {scope} {pivotCategory}',Are='Broj sli\u010Dnih rezultata za "{searchPhrase}" u podru\u010Dju {scope} kategorije {pivotCategory}: {count}',Pre='{count} sli\u010Dan rezultat za "{searchPhrase}" u podru\u010Dju {scope} kategorije {pivotCategory}',Kf="Na\u017Ealost, nismo prona\u0161li ni\u0161ta \u0161to se podudara s va\u0161im pretra\u017Eivanjem.",Ire="Poku\u0161ali smo provjeriti pravopis i pro\u0161iriti opseg va\u0161eg pretra\u017Eivanja, no ponovno nismo ni\u0161ta na\u0161li. Upotrijebite drugu klju\u010Dnu rije\u010D ili izraz.",Lre="Na ure\u0111aju je trenuta\u010Dno uklju\u010Deno \u010Duvanje podataka za potrebe sigurnosti. Detalji trenutno nisu dostupni. Kada a\u017Euriranje bude dostupno, vidjet \u0107ete ga na stranici Windows Update u postavkama.",jre="A\u017Euriranje jo\u0161 nije dostupno za va\u0161 ure\u0111aj",Rre="Na\u017Ealost, u opsegu {scope} nismo prona\u0161li ni\u0161ta \u0161to se podudara s va\u0161im pretra\u017Eivanjem.",Mre='I dalje mo\u017Eete .',Dre='Nismo prona\u0161li rezultate koji se podudaraju s "{searchPhrase}"',$re='Nismo prona\u0161li rezultate koji se podudaraju s "{searchPhrase}" u {scope}';var ju="Ne\u0161to nije u redu",no="Ne\u0161to nije bilo u redu. Poku\u0161ajte ponovno.";var $p="GitHub";var zre="Sortiraj prema:";var sa="Po\u010Detak",Nre="Po\u010Dinje {startDate}",Ore="Datum po\u010Detka";var Fre="Po\u010Detni datum";var Ure="Po\u010Dni ispo\u010Detka";var qre="Korak {step-index} od {step-count}",Hre="Upravljanje stavkom {title} u vodi\u010Dima za u\u010Denje",Bre="Dodavanje stavke {title} u vodi\u010De za u\u010Denje";var Vre="Tema",Gre="Teme",Ro="Po\u0161alji",Qre="Slanje dodatnih povratnih informacija";var Yre="Uspje\u0161no poslano!",Kre="Hvala vam na slanju povratnih informacija. Uskoro \u0107emo ih pregledati. Imajte na umu da je izvje\u0161tavanje o povratnim informacijama jednosmjerno i da trenutno ne odgovaramo na upite.",Wre="Imajte na umu da, iako ne mo\u017Eemo odgovoriti na povratne informacije, na\u0161 \u0107e tim upotrijebiti va\u0161e komentare da bi pobolj\u0161ao korisni\u010Dko okru\u017Eenje.";var Zre="Prijedlozi",Jre="Prijedlozi \u0107e se filtrirati tijekom upisivanja";var Xre="Podr\u0161ka";var eie="Tablica {index}";var tie="Oznaka";var X$="Oznake";var oie="Preostalo znakova";var nie="Vanjske slike mo\u017Eete povezati samo s odre\u0111enih web-mjesta. Sljede\u0107i URL-ovi slika nisu dopu\u0161teni: {urls}. Kliknite da biste vidjeli cijeli popis dopu\u0161tenih domena.",rie="Datoteka {fileName} nije valjana. Vrsta datoteke mora biti valjana gif, jpg, jpeg ili png slika.",iie="Datoteka {fileName} je prevelika. Veli\u010Dina datoteke ne smije prema\u0161iti pet megabajta.";var sie="Ljuska u oblaku";var aie="{account} ve\u0107 sadr\u017Ei profil",lie="Dosegnuli ste ograni\u010Denje ra\u010Duna",cie="S jednim se profilom mo\u017Ee povezati najvi\u0161e pet ra\u010Duna za tvrtke ili obrazovne ustanove. Uklonite jedan ra\u010Dun i poku\u0161ajte ponovno.";var uie="Ve\u0107 imate povezani ra\u010Dun u istoj tvrtki ili ustanovi";var die="Dodajte drugi ra\u010Dun i poku\u0161ajte ponovno.";var pie='Povezati mo\u017Eete samo ra\u010Dune koji ne sadr\u017Ee registrirani profil. Odaberite neki drugi ra\u010Dun ili potra\u017Eite dodatne pojedinosti u na\u0161im smjernicama za otklanjanje pote\u0161ko\u0107a.';var mie="Taj ste ra\u010Dun ve\u0107 povezali",gie="{account} je osobni ra\u010Dun. Odaberite ra\u010Dun za obrazovne ustanove ili tvrtke.";var fie="S profilom morate povezati barem jedan ra\u010Dun.";var hie="Podr\u017Ean je samo jedan ra\u010Dun po tvrtki ili obrazovnoj ustanovi.",bie="Povezan mo\u017Ee biti samo jedan osobni ra\u010Dun",vie="Profil se trenutno spaja",_ie="Stranicu mo\u017Eete osvje\u017Eiti da biste provjerili stanje spajanja.";var yie="Odaberite ra\u010Dun",ez="Odaberite neki drugi ra\u010Dun";var xie="Profil certificiranja ve\u0107 je povezan s ovim profilom",Tie="Da biste nastavili, obratite se slu\u017Ebi za podr\u0161ku korisnicima da biste uklonili trenutni profil certificiranja.";var kie="Profil je zaklju\u010Dan",Sie="Profil je trenutno zaklju\u010Dan jer se spaja s drugim profilom. Prijavite se na drugi profil.",tz="Ponovni poku\u0161aj spajanja",oz="Prekid spajanja";var wie="Spajanje je dovr\u0161eno";var Eie="Stranicu mo\u017Eete osvje\u017Eiti da biste provjerili stanje spajanja.",Cie="Nije prona\u0111en zapis o spajanju profila",Aie='Spajanje profila nije mogu\u0107e prona\u0107i. Osvje\u017Eite stranicu. Ako je problem i dalje prisutan, obratite se korisni\u010Dkoj podr\u0161ci.',Pie="Prethodni poku\u0161aj spajanja sprje\u010Dava ovu radnju",Iie="Jedan od profila koje poku\u0161avate spojiti trenutno se spaja s drugim profilom. Prijavite se u oba profila da biste provjerili status.";var Lie="Va\u0161i su profili uspje\u0161no spojeni.",jie="Nai\u0161li smo na problem pri spajanju izvori\u0161nog profila (korisni\u010Dko ime: {sourceUser}) s odredi\u0161nim profilom (korisni\u010Dko ime: {destinationUser}).",Rie="Neki od va\u0161ih podataka mo\u017Eda su tijekom postupka spojeni, pa se mo\u017Ee o\u010Dekivati da neki podaci nestanu iz izvori\u0161nog profila, a pojave se u odredi\u0161nom profilu.",Mie="Mo\u017Eete odabrati jednu od sljede\u0107ih radnji:",Die="{terminateMergeText}: Zaustavit \u0107e se i prekinuti proces spajanja. Mo\u0107i \u0107ete koristiti oba profila, kao i obi\u010Dno, te u bilo kojem trenutku pokrenuti novo spajanje. Podaci koji su ve\u0107 spojeni ostat \u0107e u odredi\u0161nom profilu.",$ie="{retryMergeText}: Ponovo \u0107e pokrenuti postupak spajanja za vas. Va\u0161 \u0107e se izvori\u0161ni profil zaklju\u010Dati tijekom postupka spajanja.",zie="Spajanje je u tijeku. To mo\u017Ee potrajati nekoliko minuta.",Nie="Va\u0161e je spajanje prekinuto.";var Oie="Microsoft MVP";var Fie="Microsoft Learn Studentski ambasador";var Uie="Prijava s drugim ra\u010Dunom";var qie="Dobro do\u0161li u pitanja i odgovore!",Hie="Preuzmite personalizirana a\u017Euriranja o temama koje su vam va\u017Ene",Bie="Izgradite svoju reputaciju i pomognite drugima",Vie="Odmah se pove\u017Eite s osobama koje dijele va\u0161e interese";var Gie="Bez dovr\u0161etka registracije, ne\u0107ete mo\u0107i objaviti ili postaviti pitanje u odjelu Pitanja i odgovori.";var Qie="Recite nam",g0="Otkrijte nam vi\u0161e.",Yie="Recite nam \u0161to mislite.",Kie="Recite nam \u0161to mislite! Va\u0161e povratne informacije iznimno su nam bitne.";var Wie="Jako lo\u0161e";var f0="Hvala na povratnim informacijama.",Zie="Hvala vam na vrijednim povratnim informacijama!";var Jie="Ovaj je \u010Dlanak koristan",Xie="Ovaj \u010Dlanak nije koristan";var ese="Ova stranica";var tse="Ovaj odjeljak bit \u0107e trajno izbrisan.";var ose="Microsoft Build 2026";var nse="2. do 3. lipnja, 2026.",rse="Detaljno se upoznajte sa stvarnim kodom i stvarnim sustavima u San Franciscu i na mre\u017Ei",ise="Saznajte vi\u0161e",sse="Savjet";var dc="Naslov";var ase="Va\u0161 ra\u010Dun za Azure {email} ima vi\u0161e klijenata Odaberite onaj koji \u017Eelite koristiti za ovo okru\u017Eenje:",lse="Ve\u0107 ste prijavljeni na Learn pomo\u0107u ra\u010Duna navedenog u nastavku. \u017Delite li nastaviti s trenuta\u010Dnim okru\u017Eenjem uz taj ra\u010Dun?",cse="Potvrdite ra\u010Dun",use="Nastavi uz taj ra\u010Dun",dse="Odaberite jedan od klijenata platforme Azure",pse="Besplatna probna verzija platforme Azure",mse="Uh! Na ovom ra\u010Dunu nije dostupna nijedna pretplata na Azure",gse="Va\u0161 ra\u010Dun {email} nema povezanu pretplatu na Azure. Slobodno isprobajte besplatnu probnu verziju platforme Azure ili se prijavite na drugi ra\u010Dun!",fse="Ako va\u0161 ra\u010Dun nema registrirani profil za Learn, bit \u0107e stvoren tijekom postupka.";var hse="Prijavite se pomo\u0107u svog ra\u010Duna.",h0="Koristi drugi ra\u010Dun";var Qr="Obuka";var Ru="Ups... do\u0161lo je do pogre\u0161ke. Ponovno u\u010Ditajte stranicu da biste poku\u0161ali ponovno.";var Uy="Poku\u0161ajte ponovno";var Wf="Isprobajte",bse="Isprobajte REST API pomo\u0107u ulaznih vrijednosti u nastavku.",vse="Do\u0161lo je do problema tijekom obrade va\u0161eg zahtjeva",_se="Vodi\u010D";var yse="Zadnjih 7 dana",xse="Zadnja 24 sata",Tse="Zadnjih 30 dana",kse="Zadnjih 365 dana";var Sse="vrsta";var wse="URL",b0="URL je kopiran!";var nz="Potvrdite svoj ra\u010Dun",Zf="Verzija",Ese="Verzije";var rz="Videozapis";var iz="Prikaz rezultata ({totalResults})";var Cse="Preporu\u010Dujemo kori\u0161tenje programa Visual Studio 2019.",Ase="Odmah preuzmite",Pse="Dokumentacija za Visual Studio";var Ise="Upozorenje";var Lse="Je li vam stranica bila korisna?";var jse="Web-stranica";var v0="Tjedan";var _0="Tjedni";var Rse="prije {duration} tjedana";var Mse='Dobro do\u0161li na Microsoft Learn!';var Dse="Zbog \u010Dega \u0161aljete povratne informacije?";var $se='uz umjetnu inteligenciju na servisu Microsoft Learn ';var zse="Dokumentacija za Windows";var Jf="x.com",sz="{totalXP} XP";var Nse="Godina",az="Godine";var _s="Da",zp="Da, izbri\u0161i";var Ose="Jo\u0161 nemate nijednu zbirku.";var Fse="Morate odabrati izme\u0111u {min} i {max} {tagLabel}.",Use="`{tagLabel}` vi\u0161e se ne upotrebljava. Upotrijebite drugu oznaku koja se odnosi na va\u0161 scenarij.";var qse="Va\u0161 ra\u010Dun";var Hse="MSDN TechNet povu\u010Den je iz upotrebe i ovaj \u010Dlanak vi\u0161e ne postoji. Sljede\u0107e veze sadr\u017Ee povezane informacije:",Bse="Arhivirani wiki sadr\u017Eaj web-mjesta TechNet",Vse="Arhivirani MSDN i TechNet forumi";var Gse="Dokumentacija servisa Microsoft Learn",Qse="Po\u010Detna stranica servisa Microsoft Learn",Yse="Microsoft Q&A";var Np=window;var F=Np,Xf=Np.navigator,k=Np.document,Kse=Np.localStorage,Yn=Np.history,Z=Np.location,b=F.msDocs,ke=new Promise(e=>{k.readyState==="loading"?k.addEventListener("DOMContentLoaded",()=>e()):e()});C();function At(){window.dispatchEvent(new CustomEvent("content-update"))}function Yt(e,t,o="",n="button-info",r="banner",i){let s=i||k.getElementById("disclaimer-holder");if(!s||k.getElementById("server-disclaimer-holder"))return null;let l=t&&t.url?d` ${t.text} `:"",c=t&&t.clickHandler?d` `:"",u=t?d`
${l||c}
`:"";return y(d` `,s),At(),s}var By="__event_type_id__",bIe=0,He=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[By];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(By)||(t[By]=bIe++);let n=t[By];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[By];if(n===void 0||this.callbacks[n]===void 0)return;let r=this.callbacks[n],i=r.indexOf(o);i!==-1&&r.splice(i,1)}dispose(){this.callbacks={}}},dt=new He;function $u(e,t,o){let n=()=>{},r=i=>{o(i),n()};return n=e.subscribe(t,r),n}var C0=class{constructor(t){this.url=t}},_o=class{constructor(t,o,n){this.title=t;this.url=o;this.referrerUrl=n}};var tl;function wz(){tl={};let e=k.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 tl===void 0&&wz(),tl[e]===void 0?void 0:tl[e][0]}function ys(e){return tl===void 0&&wz(),tl[e]?tl[e].slice():[]}var at=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}},Ii=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=s=>decodeURIComponent(s.replace(o," "));e===void 0&&(e=Z.search),e=e.substring(1);let i={};for(;t=n.exec(e);)i[r(t[1])]=r(t[2]);return i}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 Ut(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 i=Z.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),i!==o&&(i=o,r=!0)),!r)return;let s=ne(n);s.length>0&&(s="?"+s);let a=`${Z.protocol}//${Z.host}${Z.pathname}${s}${i}`,l=Yn.state||{};t==="pushState"?Yn.pushState(l,k.title,a):t==="replaceState"?Yn.replaceState(l,k.title,a):Z.href=a}function Ez(e){let t=k.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=Z.protocol+e:t.href=Z.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 Cz(e,t=2e3,o=";"){let n=encodeURIComponent(o).length,r=[],i,s;for(let a of e){let l=encodeURIComponent(a).length;if(l>t)throw new Error(`The encoded length of "${a}" (${l}) is greater than the max partition length (${t}).`);(!i||s+l>t)&&(i=[],r.push(i),s=0),i.push(a),s+=l+n}return r}function cr(e=new URL(Z.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((n,r)=>o[r]=n),o}var dn=(()=>{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 _Ie(){return L("is_retired")==="true"}function yIe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function xIe(){if(!dn())return;let e=at.machineTranslated,t=e?XY:JY,o=yIe(),n=e?o?iK:ZY:o?rK:KY,r=L("current_version_url"),i=_Ie()?t:n;if(L("vs_archive")==="true"){let a=Cse,l=Ase;Yt(a,{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)Yt(i,{url:r,text:sK});else if(b.data.pageTemplate==="SearchPage"){let a=X1;Yt(mK,{url:location.origin,text:a})}else{let a=X1;Yt(i,{url:location.origin,text:a})}}function gae(){dn()&&xIe()}function TIe(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 j=b?.environment?b.environment:TIe(location.hostname);var se={setItem(e,t){try{F.localStorage.setItem(e,t)}catch{}},getItem(e){try{return F.localStorage.getItem(e)}catch{return null}},removeItem(e){try{F.localStorage.removeItem(e)}catch{}},clear(){try{F.localStorage.clear()}catch{}}},pc={setItem(e,t){try{F.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return F.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{F.sessionStorage.removeItem(e)}catch{}}};var Az="docs.preview",Pz=(new URLSearchParams(Z.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),Vy,kIe=()=>{let e;return se.getItem(Az)?e=JSON.parse(se.getItem(Az)):e={},e},SIe=(e,t)=>{Vy=kIe();let o=Pz[e]===1,n=!isNaN(Vy[e]),r=o||n,i=Pz[`x-${e}`];return o?console.log(`Preview ${e} via query string`):n&&console.log(`Preview ${e} via local storage`),t&&(r||i)&&(r&&(Vy[e]=Date.now()),i&&delete Vy[e],se.setItem(Az,JSON.stringify(Vy))),r},Be=(e,t={require:!1,persist:!1})=>{let{require:o,persist:n}=t;return j.reviewFeatures&&Object.keys(Pz).length===0&&!o?!0:(e=e.toLowerCase(),SIe(e,n))};function P0(e=Z.search,t=j.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 wIe=["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 fae(){let e=L("original_content_git_url");return wIe.some(o=>e?.startsWith(o))}function hae(){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 S=EIe();function EIe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),anonymousVoting:Be("anonymous-voting",{require:!0}),arkoseEncrypt:j.reviewFeatures,apiBrowser:!0,applicationInsights:hae(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Be("applied-skills",{require:!0})||Be("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Be("applied-skills-share",{require:!0}),assessmentBranches:j.supportLevel==="production"&&j.reviewFeatures,assessmentMergerLearnAssessment:Be("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:Be("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:Be("assessment-merger-renewal-assessment",{require:!0}),assessments:j.siteName==="learn",assessmentsEmail:Be("assessments-email",{require:!0}),azureNotebooks:!0,banner:!0,blogComments:!0,chatTutor:j.siteName==="learn",chromeless:!!b.data.context.chromeless,certificationAndCourseUpdates:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Be("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||Be("certification-updates",{require:!0}),codeSamples:!0,connectedExperiences:["Conceptual","FAQ","Question"].includes(b.data.pageTemplate),collapsibleToc:Be("collapsible-toc",{require:!0}),contentBrowse:!0,cookieConsent:!0,courseScheduling:!0,disabledAppliedSkills:!0,disableSiteSearchSuggestions:!0,enableDeepSearch:(j.supportLevel==="development"||j.supportLevel==="production"&&j.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&L("page_type")==="search"&&dn()===!1,enableNewSiteSearch:L("page_type")==="search"&&dn()===!1,enableModernSearchAnswer:(j.supportLevel==="development"||j.supportLevel==="production"&&j.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&L("page_type")==="search"&&dn()===!1,enableSiteSearchExperiment:j.siteName==="learn"&&j.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:Be("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:Be("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&Be("hub-update",{require:!0}),inlineEdit:Be("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:Be("assessment-v0",{require:!0}),learnEventRebrand:Be("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:Be("learning-path-ilt-search",{require:!0}),marketing:!0,mecMigration:!0,moduleUnitFeedbackReport:!0,oneCustomerVoiceFeedback:!0,oneDS:j.accessLevel!=="local",openSourceFeedback:["Conceptual","Reference","Architecture","FAQ"].includes(b.data.pageTemplate)&&b.data.feedbackSystem==="OpenSource"&&!!b.data.openSourceFeedbackIssueUrl,pageRecommendations:j.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"&&!fae(),pdfDownload:j.siteName==="learn",permissionedContent:j.reviewFeatures&&Be("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||Be("personal-challenge",{require:!0}),practiceAssessmentsAllowParam:j.reviewFeatures&&(L("page_kind")==="practiceAssessment"||L("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||Be("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:Be("one-stream-player-next-version",{require:!0}),previewRailEventCard:Be("rail-event-card",{require:!0}),previewQnaAiAdmin:Be("qna-ai-admin",{require:!0}),previewQnaAiDemo:Be("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:Be("qna-captcha-bypass",{require:!0}),qnaAcceptUpvote:Be("qna-accept-updated",{require:!0}),qnaStackResults:Be("qna-stack-results",{require:!0}),quickWins:Be("quick-wins",{require:!0}),referenceRightRailH3:L("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:Be("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:Be("site-search-products",{require:!0}),skipToCompletedModal:Be("completed-modal",{require:!0}),stayCurrentAllowParam:j.reviewFeatures&&(L("page_kind")==="certification"||L("page_kind")==="certificationrenewal"||L("page_kind")==="certificationRenewalAssessment"||L("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:j.siteName==="learn"||j.accessLevel==="local",systemDrivenAchievement:!0,temporaryClientSideEventBanners:j.siteName==="learn"||j.siteName==="developer",thirdPartyDataSharingConsentFlag:!0,tocSearch:b.data.brand!=="mooncake",translationFeedback:b.data.userLocale!=="en-us"&&L("ocv-translation-feedback")==="true"&&at.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:Be("tenant-manager",{require:!0}),userFeedback:Be("user-feedback",{require:!0}),planGenV2:Be("plan-gen-v2",{require:!0}),userAnalyticsMocks:Be("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 bae(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),n=CIe(e),r=n===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${n}"]`);o!==r&&(o&&AIe(o),r&&(PIe(r),IIe(r,t)))}function CIe(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 AIe(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 PIe(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 IIe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var LIe=/([a-z]\.)([a-z])/gi,jIe=/([a-z])([A-Z]+[a-z])/g,RIe=/(\w\/)(\S?)/gi,I0="",Iz=`$1${I0}$2`,MIe=/\u200B/g;function Cn(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(LIe,Iz)),t&1&&(e=e.replace(jIe,Iz)),t&4&&(e=e.replace(RIe,Iz))),e}function vae(e,t){let o=[];if(!e||t===0)return o;e=Cn(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 _ae(e){return e.replace(MIe,"")}var DIe={"&":"&","<":"<",">":">",'"':""","'":"'"},yae=/[&<>"']/g,$Ie=RegExp(yae.source);function Ve(e){return e&&$Ie.test(e)?e.replace(yae,t=>DIe[t]):e}function L0(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Vp(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 Wr(e,t={year:"numeric",month:"short",day:"numeric"},o=b.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function j0(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let n=Wr(new Date(o.textContent),e);o.textContent=n}})}var zIe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function R0(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(zIe,o)}function Lz(e){return decodeURIComponent(atob(NIe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function NIe(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 jz="id_token",D0="docsAuthToken",OIe="account_linking_token",Gy=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},ol=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){se.setItem(jz,e)}function zu(){return se.getItem(jz)}function z0(){se.removeItem(jz)}function N0(e){se.setItem(D0,e)}function An(){return se.getItem(D0)}function O0(){se.removeItem(D0)}function ah(){se.removeItem(OIe)}function Gp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new Gy({detail:"Invalid JWT - no separators found."});let n=e.split("."),r=JSON.parse(Lz(n[1]));if(!r)throw new Gy({detail:"Invalid JWT - payload is missing."});if(r.hasOwnProperty("nbf")){let i=r.nbf;if(isNaN(i))throw new M0({detail:"Invalid NBF claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(r.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(s>a)throw new ol({detail:"Invalid NBF claim - token not yet valid."})}if(r.hasOwnProperty("exp")){let i=r.exp;if(isNaN(i))throw new M0({detail:"Invalid EXP claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(r.exp);let a=new Date(Date.now());if(s<=a)throw new ol({detail:"Invalid EXP claim - token has expired."})}return r}finally{}}var F0=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new Gy({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(Lz(o[1]))};var Tae=`data:image/svg+xml;base64,${btoa('')}`,kae=`data:image/svg+xml;base64,${btoa('')}`,Sae="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",FIe=(e,t)=>{e||(e=Ur);let o=t.replace(/\D/g,""),n=parseInt(o.slice(0,2))*.01,r=parseInt(o.slice(2,4))*.01,i=n*320,s=r*100,a=Math.floor(n*31+10),l=`hsl(${i}, ${s}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},pn=(e,t)=>{let{backgroundColor:o,initials:n}=FIe(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`}`},yo=class{},Zr="72f988bf-86f1-41af-91ab-2d7cd011db47",q0="9188040d-6c67-4c5b-b112-36a304b66dad",wae="1a092f68-5741-455a-8057-2acdb897a850",Eae="604c1504-c6a3-4080-81aa-b33091104187",Cae="ada63eea-fd1c-4d79-b40a-41d1380df7a5",Rz={[Zr]:"microsoft",[q0]:"standard"},Mz=new Date("2019-11-21T00:00:00.000Z"),ao=(e,t)=>Aae(e,t).toString(),U0=class extends He{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=pn(this.displayName,this.userId),this.avatarThumbnailUrl=pn(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=Mz,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 yo))}mapIdTokenToProfile(o){this.email=o.email||o.preferred_username,this.upn=o.preferred_username,this.userName=o.name,this.displayName=o.name,this.authenticationMode=Rz[o.tid]==="standard"?"MSA":"AAD",this.userType=Rz[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 yo)}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||pn(this.displayName,this.userId),this.avatarThumbnailUrl=o.avatarThumbnailUrl||o.avatarUrl||pn(this.displayName,this.userId),this.profileUrl=ao(o.userName),this.authenticationModes=o.authenticationModes,this.userType=UIe(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 yo)}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||pn(this.displayName,this.userId),this.avatarThumbnailUrl=o.thumbnail||o.picture||pn(this.displayName,this.userId),this.authenticationMode=o.cred_type,this.locale=o.locale,this.acceptedPrivacyNotice=new Date(o.accepted_privacy_notice),this.userType=Rz[o.tid]||"aad",this.profileUrl=ao(o.preferred_username),this.email=o.email||"",this.idTokenEmail=o.id_token_email||"",this.sharingId=o.sharing_id||"",this.publish(new yo)}whenAuthenticated(){return A.isAuthenticated?Promise.resolve():new Promise(o=>this.subscribe(yo,()=>{this.isAuthenticated&&o()}))}},A=new U0;function Dz(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=pn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLImageElement&&n==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||pn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLAnchorElement&&n==="profileUrl"?(o.href=ao("me","activity"),r==="#"&&(o.href=new URL("./register",mc()).toString())):o instanceof HTMLAnchorElement&&n==="bookmarksUrl"?(o.href=r+(j.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="collectionsUrl"?(o.href=r+(j.reviewFeatures?"§ion=collections":"collections"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="settingsUrl"?o.href=ao("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=t[n]):n==="createdOn"?o.textContent=Wr(t[n]):o.textContent=t[n]})}function Aae(e,t){let o=mc(),n=new URLSearchParams(Z.search);L("page_type")==="profile"&&(o.hash=Z.hash),j.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 i=new URL(r,o);return i.hash=o.hash,i.search=o.search,o=i,o}function mc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,Z.origin);return new URL("./users/",t)}function UIe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===Zr)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function ge(e){return e.status===401&&A.setAnonymous(),e}var qIe={"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"}},HIe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function BIe(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",i=qIe[e]||{},s=HIe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:VIe(),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`,...s},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:`${Pae()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${Pae()}/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`,...i}}function VIe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function Pae(){return j.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var z=BIe(location.origin,j);var GIe=30*1e3,R=async(e,t,o=GIe,n)=>{t=t||{};let r=new AbortController,i=()=>r.abort();n?.addEventListener("abort",i),t.signal=r.signal;try{let s=setTimeout(()=>r.abort(),o),a=await fetch(e,t);return clearTimeout(s),a}finally{n?.removeEventListener("abort",i)}};function W(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&&An()&&r.headers.set("Authorization",`Bearer ${An()}`),(r.method==="PUT"||r.method==="POST")&&n&&r.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),r}var Qy=class{};function $z(e){let t={method:"GET"},o=W(z.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),R(o).then(n=>{if(n.ok)return n.text();throw n.status===404||n.status===204?new Qy:n.status===401?new ol({detail:"token not accepted"}):new Error(`get docs auth token failed (${n.status} ${n.statusText})`)})}function lh(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let n=Gp(o);N0(o),t&&A.readUserFromToken(n)}}return e}catch{return e}}function pt(e=["api-branch","branch"],t=""){if(j.accessLevel==="local")return"main";if(j.reviewFeatures===!0){let o=te(Z.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,j.reviewFeatures&&console.error(this)}};async function Qp(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function H0(e){if(!Array.isArray(e))throw new Oe({statusText:"Value must be an array"},"InvalidTypeError");return e}function ch(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 Iae(e,t){throw new Oe({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function zz(e){let t;try{t=parseInt(e)}catch{Iae(e,"number")}return isNaN(t)&&Iae(e,"number"),t}function Nu(e,t,o=!0,n="applicationhttps://www.microsoft.com/json",r="",i=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let s=new Request(e,t);return o&&s.headers.set("Authorization",`Bearer ${r||An()}`),(s.method==="PUT"||s.method==="POST")&&i&&n!=="multipart/form-data"&&s.headers.set("Content-Type",n),s}async function gc(e){let t=`${z.profile.profiles}/${e}`,n=await R(Nu(t,{method:"GET"},!1));return ge(n),n.ok?await n.json():(n.status===204,null)}async function Nz(e){if(!e)return null;if(e===Sae)return{displayName:Ur,userId:e,avatarUrl:pn(Ur,e)};let t=`${z.profile.profiles}/id:${e}`,n=await R(Nu(t,{method:"GET"},!1));return ge(n),n.ok?await n.json():(n.status===204,null)}async function Yy(e){try{let t=await fetch(Nu(z.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 Lae(){let e=z.privacy.delete,o=await R(Nu(e,{credentials:"include",method:"POST"},!0,"","",!1));return ge(o),o.ok}async function jae(){let e=z.profile.acknowledgePrivacyNotice,o=await R(Nu(e,{method:"POST"}));if(ge(o),lh(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function Oz(){let e=z.profile.merge,o=await R(Nu(e,{method:"GET"}));if(ge(o),o.ok){let{status:n}=await o.json();return n}return null}async function Rae(){let e=z.profile.mergeDetails,o=await R(Nu(e,{method:"GET"}));return ge(o),o.ok?await o.json():null}async function Mae(){let e=z.profile.acknowledgeMergeStatus,o=await R(Nu(e,{method:"POST"}));if(ge(o),lh(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}var QIe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function Dae(e){return e?QIe.some(t=>e.toLowerCase().startsWith(t)):!1}function Jr(e="",t=`${Z.origin}${Z.pathname}`){let o=e?new URL(e,Z.href):new URL(t);if(o.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(Z.origin);if(o.protocol==="https:"&&(o.hostname===Z.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com")||Dae(o.href))return o;let n=`${Z.origin}${Z.pathname}`;return t===n?new URL(`${o.pathname}${o.search}${o.hash}`,`${Z.origin}`):Jr(t)}var po={};Lo(po,{addApplicationTelemetry:()=>ux,addAuthorizationCode:()=>F2,addBrokerParameters:()=>vc,addCcsOid:()=>hc,addCcsUpn:()=>Uu,addClaims:()=>om,addCliData:()=>H2,addClientAssertion:()=>mx,addClientAssertionType:()=>gx,addClientCapabilitiesToClaims:()=>Fae,addClientId:()=>em,addClientInfo:()=>rm,addClientSecret:()=>px,addCodeChallengeParams:()=>XLe,addCodeVerifier:()=>q2,addCorrelationId:()=>nm,addDeviceCode:()=>eje,addDomainHint:()=>z2,addEARParameters:()=>ije,addExtraParameters:()=>bc,addGrantType:()=>fx,addIdTokenHint:()=>$2,addInstanceAware:()=>hx,addLibraryInfo:()=>cx,addLoginHint:()=>yh,addLogoutHint:()=>B2,addNativeBroker:()=>JLe,addNonce:()=>O2,addOboAssertion:()=>tje,addPassword:()=>rje,addPopToken:()=>bx,addPostLogoutRedirectUri:()=>D2,addPrompt:()=>N2,addRedirectUri:()=>tm,addRefreshToken:()=>U2,addRequestTokenUse:()=>oje,addResource:()=>xx,addResponseMode:()=>M2,addResponseType:()=>ZLe,addScopes:()=>Xp,addServerTelemetry:()=>_x,addSid:()=>mA,addSshJwk:()=>vx,addState:()=>dx,addThrottling:()=>yx,addUsername:()=>nje,instrumentBrokerParams:()=>Jp});var Le={};Lo(Le,{AADAuthority:()=>la,AAD_INSTANCE_DISCOVERY_ENDPT:()=>Bz,AAD_TENANT_DOMAIN_SUFFIX:()=>Vz,ADFS:()=>qz,APP_METADATA:()=>gh,AUTHORITY_METADATA_CACHE_KEY:()=>fh,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>aN,AUTHORIZATION_PENDING:()=>ZIe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>Kz,AuthenticationScheme:()=>xo,AuthorityMetadataSource:()=>Li,CACHE_ACCOUNT_TYPE_ADFS:()=>iN,CACHE_ACCOUNT_TYPE_GENERIC:()=>W0,CACHE_ACCOUNT_TYPE_MSAV1:()=>bLe,CACHE_ACCOUNT_TYPE_MSSTS:()=>rN,CACHE_KEY_SEPARATOR:()=>Kp,CIAM_AUTH_URL:()=>B0,CLIENT_INFO:()=>sN,CLIENT_INFO_SEPARATOR:()=>mh,CLIENT_MISMATCH_ERROR:()=>bN,CODE_GRANT_TYPE:()=>KIe,CONSUMER_UTID:()=>YIe,CacheOutcome:()=>ca,CacheType:()=>vLe,ClaimsRequestKeys:()=>ph,CodeChallengeMethodValues:()=>fLe,CredentialType:()=>mn,DEFAULT_AUTHORITY:()=>$ae,DEFAULT_AUTHORITY_HOST:()=>Uz,DEFAULT_COMMON_TENANT:()=>Ky,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>gN,DEFAULT_THROTTLE_TIME_SECONDS:()=>mN,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>_N,DSTS:()=>Hz,EMAIL_SCOPE:()=>Oae,EncodingTypes:()=>xLe,FORWARD_SLASH:()=>uh,GrantType:()=>Jy,HTTP_BAD_REQUEST:()=>Y0,HTTP_CLIENT_ERROR:()=>nLe,HTTP_CLIENT_ERROR_RANGE_END:()=>eN,HTTP_CLIENT_ERROR_RANGE_START:()=>Xz,HTTP_GATEWAY_TIMEOUT:()=>dLe,HTTP_GONE:()=>aLe,HTTP_MULTI_SIDED_ERROR:()=>pLe,HTTP_NOT_FOUND:()=>iLe,HTTP_REDIRECT:()=>oLe,HTTP_REQUEST_TIMEOUT:()=>sLe,HTTP_SERVER_ERROR:()=>cLe,HTTP_SERVER_ERROR_RANGE_END:()=>oN,HTTP_SERVER_ERROR_RANGE_START:()=>tN,HTTP_SERVICE_UNAVAILABLE:()=>uLe,HTTP_SUCCESS:()=>Q0,HTTP_SUCCESS_RANGE_END:()=>tLe,HTTP_SUCCESS_RANGE_START:()=>eLe,HTTP_TOO_MANY_REQUESTS:()=>lLe,HTTP_UNAUTHORIZED:()=>rLe,HeaderNames:()=>qo,HttpMethod:()=>mLe,IMDS_ENDPOINT:()=>G0,IMDS_TIMEOUT:()=>Yz,IMDS_VERSION:()=>Qz,INVALID_GRANT_ERROR:()=>hN,INVALID_INSTANCE:()=>Jz,JsonWebTokenTypes:()=>vN,KNOWN_PUBLIC_CLOUDS:()=>Zz,NOT_APPLICABLE:()=>JIe,NOT_AVAILABLE:()=>Yp,OAuthResponseType:()=>hLe,OFFLINE_ACCESS_SCOPE:()=>V0,OIDC_DEFAULT_SCOPES:()=>dh,OIDC_SCOPES:()=>K0,ONE_DAY_IN_MS:()=>yLe,OPENID_SCOPE:()=>zae,PROFILE_SCOPE:()=>Nae,PasswordGrantConstants:()=>X0,PersistentCacheKeys:()=>gLe,PromptValue:()=>Zy,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>Wz,RESOURCE_DELIM:()=>Wy,RegionDiscoveryOutcomes:()=>tx,RegionDiscoverySources:()=>Fu,ResponseMode:()=>nN,S256_CODE_CHALLENGE_METHOD:()=>WIe,SERVER_TELEM_CACHE_KEY:()=>Xy,SERVER_TELEM_CATEGORY_SEPARATOR:()=>J0,SERVER_TELEM_MAX_CACHED_ERRORS:()=>cN,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>_Le,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>lN,SERVER_TELEM_OVERFLOW_FALSE:()=>dN,SERVER_TELEM_OVERFLOW_TRUE:()=>uN,SERVER_TELEM_SCHEMA_VERSION:()=>Z0,SERVER_TELEM_UNKNOWN_ERROR:()=>pN,SERVER_TELEM_VALUE_SEPARATOR:()=>Ou,SHR_NONCE_VALIDITY:()=>XIe,SKU:()=>Fz,THE_FAMILY_ID:()=>Wp,THROTTLING_PREFIX:()=>ex,URL_FORM_CONTENT_TYPE:()=>Gz,X_MS_LIB_CAPABILITY_VALUE:()=>fN});var Fz="msal.js.common",$ae="https://login.microsoftonline.com/common/",Uz="login.microsoftonline.com",Ky="common",qz="adfs",Hz="dstsv2",Bz=`${$ae}discovery/instance?api-version=1.1&authorization_endpoint=`,B0=".ciamlogin.com",Vz=".onmicrosoft.com",Wy="|",YIe="9188040d-6c67-4c5b-b112-36a304b66dad",zae="openid",Nae="profile",V0="offline_access",Oae="email",KIe="authorization_code",WIe="S256",Gz="application/x-www-form-urlencoded;charset=utf-8",ZIe="authorization_pending",JIe="N/A",Yp="Not Available",uh="/",G0="http://169.254.169.254/metadata/instance/compute/location",Qz="2020-06-01",Yz=2e3,Kz="TryAutoDetect",Wz="login.microsoft.com",Zz=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],XIe=240,Jz="invalid_instance",Q0=200,eLe=200,tLe=299,oLe=302,nLe=400,Xz=400,Y0=400,rLe=401,iLe=404,sLe=408,aLe=410,lLe=429,eN=499,cLe=500,tN=500,uLe=503,dLe=504,oN=599,pLe=600,mLe={GET:"GET",POST:"POST"},dh=[zae,Nae,V0],K0=[...dh,Oae],qo={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"},gLe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},la={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},ph={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},Zy={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},fLe={PLAIN:"plain",S256:"S256"},hLe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},nN={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},Jy={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"},rN="MSSTS",iN="ADFS",bLe="MSA",W0="Generic",Kp="-",mh=".",mn={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},vLe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},gh="appmetadata",sN="client_info",Wp="1",fh="authority-metadata",aN=3600*24,Li={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},Z0=5,_Le=80,lN=330,cN=50,Xy="server-telemetry",J0="|",Ou=",",uN="1",dN="0",pN="unknown_error",xo={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},mN=60,gN=3600,ex="throttling",fN="retry-after, h429",hN="invalid_grant",bN="client_mismatch",X0={username:"username",password:"password"},Fu={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"},ca={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},vN={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},yLe=864e5,_N=300,xLe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var fc={};Lo(fc,{ACCESS_TOKEN:()=>SLe,BROKER_CLIENT_ID:()=>ox,BROKER_REDIRECT_URI:()=>rA,CCS_HEADER:()=>jLe,CLAIMS:()=>kN,CLIENT_ASSERTION:()=>QN,CLIENT_ASSERTION_TYPE:()=>YN,CLIENT_ID:()=>nl,CLIENT_INFO:()=>PLe,CLIENT_REQUEST_ID:()=>RN,CLIENT_SECRET:()=>GN,CLI_DATA:()=>i2,CODE:()=>PN,CODE_CHALLENGE:()=>IN,CODE_CHALLENGE_METHOD:()=>LN,CODE_VERIFIER:()=>jN,DEVICE_CODE:()=>VN,DOMAIN_HINT:()=>t2,EAR_JWE_CRYPTO:()=>n2,EAR_JWK:()=>o2,ERROR:()=>TLe,ERROR_DESCRIPTION:()=>kLe,EXPIRES_IN:()=>ELe,FOCI:()=>LLe,GRANT_TYPE:()=>TN,ID_TOKEN:()=>wLe,ID_TOKEN_HINT:()=>BN,INSTANCE_AWARE:()=>hh,LOGIN_HINT:()=>e2,LOGOUT_HINT:()=>JN,NATIVE_BROKER:()=>ZN,NONCE:()=>CN,OBO_ASSERTION:()=>KN,ON_BEHALF_OF:()=>ILe,POST_LOGOUT_URI:()=>HN,PROMPT:()=>AN,REDIRECT_URI:()=>eA,REFRESH_TOKEN:()=>wN,REFRESH_TOKEN_EXPIRES_IN:()=>CLe,REQUESTED_TOKEN_USE:()=>WN,REQ_CNF:()=>oA,RESOURCE:()=>r2,RESPONSE_MODE:()=>xN,RESPONSE_TYPE:()=>yN,RETURN_SPA_CODE:()=>nA,SCOPE:()=>SN,SESSION_STATE:()=>ALe,SID:()=>XN,STATE:()=>EN,TOKEN_TYPE:()=>tA,X_APP_NAME:()=>UN,X_APP_VER:()=>qN,X_CLIENT_CPU:()=>zN,X_CLIENT_CURR_TELEM:()=>NN,X_CLIENT_EXTRA_SKU:()=>RLe,X_CLIENT_LAST_TELEM:()=>ON,X_CLIENT_OS:()=>$N,X_CLIENT_SKU:()=>MN,X_CLIENT_VER:()=>DN,X_MS_LIB_CAPABILITY:()=>FN});var nl="client_id",eA="redirect_uri",yN="response_type",xN="response_mode",TN="grant_type",kN="claims",SN="scope",TLe="error",kLe="error_description",SLe="access_token",wLe="id_token",wN="refresh_token",ELe="expires_in",CLe="refresh_token_expires_in",EN="state",CN="nonce",AN="prompt",ALe="session_state",PLe="client_info",PN="code",IN="code_challenge",LN="code_challenge_method",jN="code_verifier",RN="client-request-id",MN="x-client-SKU",DN="x-client-VER",$N="x-client-OS",zN="x-client-CPU",NN="x-client-current-telemetry",ON="x-client-last-telemetry",FN="x-ms-lib-capability",UN="x-app-name",qN="x-app-ver",HN="post_logout_redirect_uri",BN="id_token_hint",VN="device_code",GN="client_secret",QN="client_assertion",YN="client_assertion_type",tA="token_type",oA="req_cnf",KN="assertion",WN="requested_token_use",ILe="on_behalf_of",LLe="foci",jLe="X-AnchorMailbox",nA="return_spa_code",ZN="nativebroker",JN="logout_hint",XN="sid",e2="login_hint",t2="domain_hint",RLe="x-client-xtra-sku",ox="brk_client_id",rA="brk_redirect_uri",hh="instance_aware",o2="ear_jwk",n2="ear_jwe_crypto",r2="resource",i2="clidata";function iA(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?iA(t):""),i=r?`${t}: ${r}`:t;super(i),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=r||"",this.subError=n||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function bh(e,t){return new ot(e,t||iA(e))}var nx=class e extends ot{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Pt(e){return new nx(e)}var Do=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=i=>decodeURIComponent(i.replace(/\+/g," "));return n.forEach(i=>{if(i.trim()){let[s,a]=i.split(/=(.+)/g,2);s&&a&&(o[r(s)]=r(a))}}),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 J(e,t){return new rx(e,t)}var Xr={};Lo(Xr,{authorityMismatch:()=>ULe,authorityUriInsecure:()=>a2,cannotAllowPlatformBroker:()=>FLe,cannotSetOIDCOptions:()=>OLe,claimsRequestParsingError:()=>MLe,emptyInputScopesError:()=>c2,invalidAuthenticationHeader:()=>NLe,invalidAuthorityMetadata:()=>m2,invalidClaims:()=>sA,invalidCloudDiscoveryMetadata:()=>aA,invalidCodeChallengeMethod:()=>DLe,invalidRequestMethodForEAR:()=>qLe,logoutRequestEmpty:()=>d2,missingNonceAuthenticationHeader:()=>zLe,missingSshJwk:()=>ix,missingSshKid:()=>$Le,pkceParamsMissing:()=>p2,redirectUriEmpty:()=>s2,tokenRequestEmpty:()=>u2,untrustedAuthority:()=>g2,urlEmptyError:()=>l2,urlParseError:()=>vh});var s2="redirect_uri_empty",MLe="claims_request_parsing_error",a2="authority_uri_insecure",vh="url_parse_error",l2="empty_url_error",c2="empty_input_scopes_error",sA="invalid_claims",u2="token_request_empty",d2="logout_request_empty",DLe="invalid_code_challenge_method",p2="pkce_params_missing",aA="invalid_cloud_discovery_metadata",m2="invalid_authority_metadata",g2="untrusted_authority",ix="missing_ssh_jwk",$Le="missing_ssh_kid",zLe="missing_nonce_authentication_header",NLe="invalid_authentication_header",OLe="cannot_set_OIDCOptions",FLe="cannot_allow_platform_broker",ULe="authority_mismatch",qLe="invalid_request_method_for_EAR";var gn={};Lo(gn,{authTimeNotFound:()=>sx,authorizationCodeMissingFromServerResponse:()=>P2,bindingKeyNotRemoved:()=>GLe,cannotAppendScopeSet:()=>E2,cannotRemoveEmptyScope:()=>w2,clientInfoDecodingError:()=>lA,clientInfoEmptyError:()=>f2,emptyInputScopeSet:()=>dA,endSessionEndpointNotSupported:()=>I2,endpointResolutionError:()=>ua,hashNotDeserialized:()=>_2,invalidCacheEnvironment:()=>lx,invalidCacheRecord:()=>C2,invalidState:()=>Zp,keyIdMissing:()=>L2,maxAgeTranspired:()=>T2,methodNotImplemented:()=>ht,misplacedResourceParam:()=>R2,multipleMatchingAppMetadata:()=>k2,multipleMatchingTokens:()=>HLe,nestedAppAuthBridgeDisabled:()=>KLe,networkError:()=>b2,noAccountFound:()=>BLe,noAccountInSilentRequest:()=>ax,noCryptoObject:()=>pA,noNetworkConnectivity:()=>QLe,nonceMismatch:()=>x2,nullOrEmptyToken:()=>h2,openIdConfigError:()=>v2,platformBrokerError:()=>WLe,requestCannotBeMade:()=>S2,resourceParameterRequired:()=>j2,stateMismatch:()=>y2,stateNotFound:()=>uA,tokenClaimsCnfRequiredForSignedJwt:()=>A2,tokenParsingError:()=>cA,tokenRefreshRequired:()=>_h,unexpectedCredentialType:()=>VLe,userCanceled:()=>YLe});var lA="client_info_decoding_error",f2="client_info_empty_error",cA="token_parsing_error",h2="null_or_empty_token",ua="endpoints_resolution_error",b2="network_error",v2="openid_config_error",_2="hash_not_deserialized",Zp="invalid_state",y2="state_mismatch",uA="state_not_found",x2="nonce_mismatch",sx="auth_time_not_found",T2="max_age_transpired",HLe="multiple_matching_tokens",k2="multiple_matching_appMetadata",S2="request_cannot_be_made",w2="cannot_remove_empty_scope",E2="cannot_append_scopeset",dA="empty_input_scopeset",ax="no_account_in_silent_request",C2="invalid_cache_record",lx="invalid_cache_environment",BLe="no_account_found",pA="no_crypto_object",VLe="unexpected_credential_type",_h="token_refresh_required",A2="token_claims_cnf_required_for_signedjwt",P2="authorization_code_missing_from_server_response",GLe="binding_key_not_removed",I2="end_session_endpoint_not_supported",L2="key_id_missing",QLe="no_network_connectivity",YLe="user_canceled",ht="method_not_implemented",KLe="nested_app_auth_bridge_disabled",WLe="platform_broker_error",j2="resource_parameter_required",R2="misplaced_resource_parameter";var fn=class e{constructor(t){let o=t?Do.trimArrayEntries([...t]):[],n=o?Do.removeEmptyStringsFromArray(o):[];if(!n||!n.length)throw Pt(c2);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 K0.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 J(E2)}}removeScope(t){if(!t)throw J(w2);this.scopes.delete(t.trim())}removeOIDCScopes(){K0.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw J(dA);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 J(dA);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 Jp(e,t,o){if(!t)return;let n=e.get(nl);n&&e.has(ox)&&o?.addFields({embeddedClientId:n,embeddedRedirectUri:e.get(eA)},t)}function ZLe(e,t){e.set(yN,t)}function M2(e,t){e.set(xN,t||nN.QUERY)}function JLe(e){e.set(ZN,"1")}function Xp(e,t,o=!0,n=dh){o&&!n.includes("openid")&&!t.includes("openid")&&n.push("openid");let r=o?[...t||[],...n]:t||[],i=new fn(r);e.set(SN,i.printScopes())}function em(e,t){e.set(nl,t)}function tm(e,t){e.set(eA,t)}function D2(e,t){e.set(HN,t)}function $2(e,t){e.set(BN,t)}function z2(e,t){e.set(t2,t)}function yh(e,t){e.set(e2,t)}function Uu(e,t){e.set(qo.CCS_HEADER,`UPN:${t}`)}function hc(e,t){e.set(qo.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function mA(e,t){e.set(XN,t)}function om(e,t,o){let n=Fae(t,o);try{JSON.parse(n)}catch{throw Pt(sA)}e.set(kN,n)}function nm(e,t){e.set(RN,t)}function cx(e,t){e.set(MN,t.sku),e.set(DN,t.version),t.os&&e.set($N,t.os),t.cpu&&e.set(zN,t.cpu)}function ux(e,t){t?.appName&&e.set(UN,t.appName),t?.appVersion&&e.set(qN,t.appVersion)}function N2(e,t){e.set(AN,t)}function dx(e,t){t&&e.set(EN,t)}function O2(e,t){e.set(CN,t)}function XLe(e,t,o){if(t&&o)e.set(IN,t),e.set(LN,o);else throw Pt(p2)}function F2(e,t){e.set(PN,t)}function eje(e,t){e.set(VN,t)}function U2(e,t){e.set(wN,t)}function q2(e,t){e.set(jN,t)}function px(e,t){e.set(GN,t)}function mx(e,t){t&&e.set(QN,t)}function gx(e,t){t&&e.set(YN,t)}function tje(e,t){e.set(KN,t)}function oje(e,t){e.set(WN,t)}function fx(e,t){e.set(TN,t)}function rm(e){e.set(sN,"1")}function H2(e){e.set(i2,"1")}function hx(e){e.has(hh)||e.set(hh,"true")}function bc(e,t){Object.entries(t).forEach(([o,n])=>{!e.has(o)&&n&&e.set(o,n)})}function Fae(e,t){let o;if(!e)o={};else try{o=JSON.parse(e)}catch{throw Pt(sA)}return t&&t.length>0&&(o.hasOwnProperty(ph.ACCESS_TOKEN)||(o[ph.ACCESS_TOKEN]={}),o[ph.ACCESS_TOKEN][ph.XMS_CC]={values:t}),JSON.stringify(o)}function nje(e,t){e.set(X0.username,t)}function rje(e,t){e.set(X0.password,t)}function bx(e,t){t&&(e.set(tA,xo.POP),e.set(oA,t))}function vx(e,t){t&&(e.set(tA,xo.SSH),e.set(oA,t))}function _x(e,t){e.set(NN,t.generateCurrentRequestHeaderValue()),e.set(ON,t.generateLastRequestHeaderValue())}function yx(e){e.set(FN,fN)}function B2(e,t){e.set(JN,t)}function vc(e,t,o){e.has(ox)||e.set(ox,t),e.has(rA)||e.set(rA,o)}function ije(e,t){e.set(o2,encodeURIComponent(t)),e.set(n2,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function xx(e,t){t&&e.set(r2,t)}var xs={};Lo(xs,{getDeserializedResponse:()=>sje,mapToQueryString:()=>rl,normalizeUrlForComparison:()=>aje,stripLeadingHashOrQuery:()=>qae});function Uae(e){if(!e)return e;let t=e.toLowerCase();return Do.endsWith(t,"?")?t=t.slice(0,-1):Do.endsWith(t,"?/")&&(t=t.slice(0,-2)),Do.endsWith(t,"/")||(t+="/"),t}function qae(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function sje(e){if(!e||e.indexOf("=")<0)return null;try{let t=qae(e),o=Object.fromEntries(new URLSearchParams(t));if(o.code||o.ear_jwe||o.error||o.error_description||o.state)return o}catch{throw J(_2)}return null}function rl(e){let t=new Array;return e.forEach((o,n)=>{t.push(`${n}=${encodeURIComponent(o)}`)}),t.join("&")}function aje(e){if(!e)return e;let t=e.split("#")[0];try{let o=new URL(t),n=o.origin+o.pathname+o.search;return Uae(n)}catch{return Uae(t)}}var qu={createNewGuid:()=>{throw J(ht)},base64Decode:()=>{throw J(ht)},base64Encode:()=>{throw J(ht)},base64UrlEncode:()=>{throw J(ht)},encodeKid:()=>{throw J(ht)},async getPublicKeyThumbprint(){throw J(ht)},async removeTokenBindingKey(){throw J(ht)},async clearKeystore(){throw J(ht)},async signJwt(){throw J(ht)},async hashString(){throw J(ht)}};var Lt;(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"})(Lt||(Lt={}));var lje=50,cje=500,im=new Map;function uje(e,t){im.delete(e),im.set(e,t)}function dje(e,t){let o=Date.now(),n=im.get(e);if(n)uje(e,n);else if(n={logs:[],firstEventTime:o},im.set(e,n),im.size>lje){let r=im.keys().next().value;r&&im.delete(r)}n.logs.push({...t,milliseconds:o-n.firstEventTime}),n.logs.length>cje&&n.logs.shift()}function pje(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 hn=class e{constructor(t,o,n){this.level=Lt.Info;let r=()=>{},i=t||e.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||r,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:Lt.Info,this.packageName=o||"",this.packageVersion=n||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Lt.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(pje(t)){let l={hash:t,level:o.logLevel,containsPii:o.containsPii||!1,milliseconds:0};dje(n,l)}if(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${n}]`} : ${this.packageName}@${this.packageVersion} : ${Lt[o.logLevel]} - ${t}`;this.executeCallback(o.logLevel,a,o.containsPii||!1)}executeCallback(t,o,n){this.localCallback&&this.localCallback(t,o,n)}error(t,o){this.logMessage(t,{logLevel:Lt.Error,containsPii:!1,correlationId:o})}errorPii(t,o){this.logMessage(t,{logLevel:Lt.Error,containsPii:!0,correlationId:o})}warning(t,o){this.logMessage(t,{logLevel:Lt.Warning,containsPii:!1,correlationId:o})}warningPii(t,o){this.logMessage(t,{logLevel:Lt.Warning,containsPii:!0,correlationId:o})}info(t,o){this.logMessage(t,{logLevel:Lt.Info,containsPii:!1,correlationId:o})}infoPii(t,o){this.logMessage(t,{logLevel:Lt.Info,containsPii:!0,correlationId:o})}verbose(t,o){this.logMessage(t,{logLevel:Lt.Verbose,containsPii:!1,correlationId:o})}verbosePii(t,o){this.logMessage(t,{logLevel:Lt.Verbose,containsPii:!0,correlationId:o})}trace(t,o){this.logMessage(t,{logLevel:Lt.Trace,containsPii:!1,correlationId:o})}tracePii(t,o){this.logMessage(t,{logLevel:Lt.Trace,containsPii:!0,correlationId:o})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Hu="@azure/msal-common",il="16.4.1";var Bu={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 V2(e,t){return!!e&&!!t&&e===t.split(".")[1]}function sl(e,t,o,n){if(n){let{oid:r,sub:i,tid:s,name:a,tfp:l,acr:c,preferred_username:u,upn:p,login_hint:m}=n,g=s||l||c||"";return{tenantId:g,localAccountId:r||i||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:V2(g,e)}}else return{tenantId:o,localAccountId:t,username:"",isHomeTenant:V2(o,e)}}function sm(e,t,o,n){let r=e;if(t){let{isHomeTenant:i,...s}=t;r={...e,...s}}if(o){let{isHomeTenant:i,...s}=sl(e.homeAccountId,e.localAccountId,e.tenantId,o);return r={...r,...s,idTokenClaims:o,idToken:n},r}return r}var dr={};Lo(dr,{checkMaxAge:()=>Tx,extractTokenClaims:()=>_c,getJWSPayload:()=>Hae,isKmsi:()=>G2});function _c(e,t){let o=Hae(e);try{let n=t(o);return JSON.parse(n)}catch{throw J(cA)}}function G2(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(o=>t.includes(o.trim().toLowerCase()))}function Hae(e){if(!e)throw J(h2);let o=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!o||o.length<4)throw J(cA);return o[2]}function Tx(e,t){if(t===0||Date.now()-3e5>e+t)throw J(T2)}var xt=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Pt(l2);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let o=t.toLowerCase();return Do.endsWith(o,"?")?o=o.slice(0,-1):Do.endsWith(o,"?/")&&(o=o.slice(0,-2)),Do.endsWith(o,"/")||(o+="/"),o}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Pt(vh)}if(!t.HostNameAndPort||!t.PathSegments)throw Pt(vh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Pt(a2)}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]===la.COMMON||n[0]===la.ORGANIZATIONS)&&(n[0]=t),e.constructAuthorityUriFromObject(o)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Pt(vh);let n={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},r=n.AbsolutePath.split("/");return r=r.filter(i=>i&&i.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 Pt(vh);return n[2]}static getAbsoluteUrl(t,o){if(t[0]===uh){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 mje=[{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 gje(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 fje=mje.reduce((e,{host:t,issuerHost:o})=>(e[t]=gje(t,o||t),e),{}),Vae={endpointMetadata:fje,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"]}]}},Q2=Vae.endpointMetadata,Y2=Vae.instanceDiscoveryMetadata,K2=new Set;Y2.metadata.forEach(e=>{e.aliases.forEach(t=>{K2.add(t)})});function Gae(e,t,o){let n,r=e.canonicalAuthority;if(r){let i=new xt(r).getUrlComponents().HostNameAndPort;n=Bae(t,o,i,e.cloudDiscoveryMetadata?.metadata)||Bae(t,o,i,Y2.metadata)||e.knownAuthorities}return n||[]}function Bae(e,t,o,n,r){if(e.trace("1bmquz",t),o&&n){let i=kx(n,o);if(i)return e.trace("1fotbt",t),i.aliases;e.trace("14avvj",t)}return null}function Qae(e){return kx(Y2.metadata,e)}function kx(e,t){for(let o=0;oZ2,cacheQuotaExceeded:()=>W2});var W2="cache_quota_exceeded",Z2="cache_error_unknown";var Vu=class e extends Error{constructor(t,o){let n=o||iA(t);super(n),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=n}};function xh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new Vu(W2):new Vu(e.name,e.message):new Vu(Z2)}var Ts={};Lo(Ts,{createAccountEntity:()=>J2,createAccountEntityFromAccountInfo:()=>vje,generateAccountId:()=>hje,generateHomeAccountId:()=>X2,getAccountInfo:()=>kh,isAccountEntity:()=>_je,isSingleTenant:()=>bje});function Th(e,t){if(!e)throw J(f2);try{let o=t(e);return JSON.parse(o)}catch{throw J(lA)}}function al(e){if(!e)throw J(lA);let t=e.split(mh,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var wr={Default:0,Adfs:1,Dsts:2,Ciam:3};function am(e){return e&&(e.tid||e.tfp||e.acr)||null}var lo={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function hje(e){return[e.homeAccountId,e.environment].join(Kp).toLowerCase()}function kh(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(sl(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 bje(e){return!e.tenantProfiles}function J2(e,t,o){let n;t.authorityType===wr.Adfs?n=iN:t.protocolMode===lo.OIDC?n=W0:n=rN;let r,i;e.clientInfo&&o&&(r=Th(e.clientInfo,o),r.xms_tdbr&&(i=r.xms_tdbr==="EU"?"EU":"None"));let s=e.environment||t&&t.getPreferredCache();if(!s)throw J(lx);let a=e.idTokenClaims?.preferred_username||e.idTokenClaims?.upn,l=e.idTokenClaims?.emails?e.idTokenClaims.emails[0]:null,c=a||l||"",u=e.idTokenClaims?.login_hint,p=r?.utid||am(e.idTokenClaims)||"",m=r?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[sl(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment:s,realm:p,localAccountId:m,username:c,authorityType:n,loginHint:u,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:i}}function vje(e,t,o){let n=Array.from(e.tenantProfiles?.values()||[]);return n.length===0&&e.tenantId&&e.localAccountId&&n.push(sl(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 X2(e,t,o,n,r,i){if(!(t===wr.Adfs||t===wr.Dsts)){if(e)try{let s=Th(e,n.base64Decode);if(s.uid&&s.utid)return`${s.uid}.${s.utid}`}catch{}o.warning("1ub6wv",r)}return i?.sub||""}function _je(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var lm=class{constructor(t,o,n,r,i){this.clientId=t,this.cryptoImpl=o,this.commonLogger=n.clone(Hu,il),this.staticAuthorityOptions=i,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(i=>i.idTokenClaims?-1:1)[0]:n.length===1?n[0]:null}getBaseAccountInfo(t,o){let n=this.getAccountsFilteredBy(t,o);return n.length>0?kh(n[0]):null}buildTenantProfiles(t,o,n){return t.flatMap(r=>this.getTenantProfilesFromAccountEntity(r,o,n?.tenantId,n))}getTenantedAccountInfoByFilter(t,o,n,r,i){let s=null,a;if(i&&!this.tenantProfileMatchesFilter(n,i))return null;let l=this.getIdToken(t,r,o,n.tenantId);return l&&(a=_c(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,i))?null:(s=sm(t,n,a,l?.secret),s)}getTenantProfilesFromAccountEntity(t,o,n,r){let i=kh(t),s=i.tenantProfiles||new Map,a=this.getTokenKeys();if(n){let c=s.get(n);if(c)s=new Map([[n,c]]);else return[]}let l=[];return s.forEach(c=>{let u=this.getTenantedAccountInfoByFilter(i,a,c,o,r);u&&l.push(u)}),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,i){if(!t)throw J(C2);try{t.account&&await this.setAccount(t.account,o,n,r),t.idToken&&i?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,o,n),t.accessToken&&i?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,o,n),t.refreshToken&&i?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,o,n),t.appMetadata&&this.setAppMetadata(t.appMetadata,o)}catch(s){throw this.commonLogger?.error("0j476p",o),s instanceof ot?s:xh(s)}}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},i=this.getTokenKeys(),s=fn.fromString(t.target);i.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,r,!1))return;let l=this.getAccessTokenCredential(a,o);l&&this.credentialMatchesFilter(l,r,o)&&fn.fromString(l.target).intersectingScopeSets(s)&&this.removeAccessToken(a,o)}),await this.setAccessTokenCredential(t,o,n)}getAccountsFilteredBy(t,o){let n=this.getAccountKeys(),r=[];return n.forEach(i=>{let s=this.getAccount(i,o);if(!s||t.homeAccountId&&!this.matchHomeAccountId(s,t.homeAccountId)||t.username&&!this.matchUsername(s.username,t.username)||t.environment&&!this.matchEnvironment(s,t.environment,o)||t.realm&&!this.matchRealm(s,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(s,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(s,t.authorityType))return;let a={localAccountId:t?.localAccountId,name:t?.name},l=s.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,a));l&&l.length===0||r.push(s)}),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===mn.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(o.tokenType&&!this.matchTokenType(t,o.tokenType)||o.tokenType===xo.SSH&&o.keyId&&!this.matchKeyId(t,o.keyId)))}getAppMetadataFilteredBy(t,o){let n=this.getKeys(),r={};return n.forEach(i=>{if(!this.isAppMetadata(i))return;let s=this.getAppMetadata(i,o);s&&(t.environment&&!this.matchEnvironment(s,t.environment,o)||t.clientId&&!this.matchClientId(s,t.clientId)||(r[i]=s))}),r}getAuthorityMetadataByAlias(t,o){let n=this.getAuthorityMetadataKeys(),r=null;return n.forEach(i=>{if(!this.isAuthorityMetadata(i)||i.indexOf(this.clientId)===-1)return;let s=this.getAuthorityMetadata(i,o);s&&s.aliases.indexOf(t)!==-1&&(r=s)}),r}removeAllAccounts(t){this.getAllAccounts({},t).forEach(n=>{this.removeAccount(n,t)})}removeAccount(t,o){this.removeAccountContext(t,o);let n=this.getAccountKeys(),r=i=>i.includes(t.homeAccountId)&&i.includes(t.environment);n.filter(r).forEach(i=>{this.removeItem(i,o),this.performanceClient.incrementFields({accountsRemoved:1},o)})}removeAccountContext(t,o){let n=this.getTokenKeys(),r=i=>i.includes(t.homeAccountId)&&i.includes(t.environment);n.idToken.filter(r).forEach(i=>{this.removeIdToken(i,o)}),n.accessToken.filter(r).forEach(i=>{this.removeAccessToken(i,o)}),n.refreshToken.filter(r).forEach(i=>{this.removeRefreshToken(i,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()===mn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&n.tokenType===xo.POP)){let i=n.keyId;i&&this.cryptoImpl.removeTokenBindingKey(i,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 i={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:mn.ID_TOKEN,clientId:this.clientId,realm:r},s=this.getIdTokensByFilter(i,o,n),a=s.size;if(a<1)return this.commonLogger.info("1atvtd",o),null;if(a>1){let l=s;if(!r){let c=new Map;s.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let u=c.size;if(u<1)return this.commonLogger.info("0ooalx",o),s.values().next().value;if(u===1)return this.commonLogger.info("1eq2vc",o),c.values().next().value;l=c}return this.commonLogger.info("1ws328",o),l.forEach((c,u)=>{this.removeIdToken(u,o)}),this.performanceClient.addFields({multiMatchedID:s.size},o),null}return this.commonLogger.info("1sm769",o),s.values().next().value}getIdTokensByFilter(t,o,n){let r=n&&n.idToken||this.getTokenKeys().idToken,i=new Map;return r.forEach(s=>{if(!this.idTokenKeyMatchesFilter(s,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(s,o);a&&this.credentialMatchesFilter(a,t,o)&&i.set(s,a)}),i}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 i=o.correlationId;this.commonLogger.trace("1t7hz1",i);let s=fn.createSearchScopes(o.scopes),a=o.authenticationScheme||xo.BEARER,l=a&&a.toLowerCase()!==xo.BEARER.toLowerCase()?mn.ACCESS_TOKEN_WITH_AUTH_SCHEME:mn.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:r||t.tenantId,target:s,tokenType:a,keyId:o.sshKid},u=n&&n.accessToken||this.getTokenKeys().accessToken,p=[];u.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,i);f&&this.credentialMatchesFilter(f,c,i)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",i),null):m>1?(this.commonLogger.info("1wkfwp",i),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),i)}),this.performanceClient.addFields({multiMatchedAT:p.length},i),null):(this.commonLogger.info("06yt98",i),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 i=o.target.asArray();for(let s=0;s{if(!this.accessTokenKeyMatchesFilter(i,t,!0))return;let s=this.getAccessTokenCredential(i,o);s&&this.credentialMatchesFilter(s,t,o)&&r.push(s)}),r}getRefreshToken(t,o,n,r){this.commonLogger.trace("0x53vi",n);let i=o?Wp:void 0,s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:mn.REFRESH_TOKEN,clientId:this.clientId,familyId:i},a=r&&r.refreshToken||this.getTokenKeys().refreshToken,l=[];a.forEach(u=>{if(this.refreshTokenKeyMatchesFilter(u,s)){let p=this.getRefreshTokenCredential(u,n);p&&this.credentialMatchesFilter(p,s,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),i=Object.keys(r).map(a=>r[a]),s=i.length;if(s<1)return null;if(s>1)throw J(k2);return i[0]}isAppMetadataFOCI(t,o){let n=this.readAppMetadataFromCache(t,o);return!!(n&&n.familyId===Wp)}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 i=Gae(this.staticAuthorityOptions,this.commonLogger,n);if(i.includes(o)&&i.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!==mn.ACCESS_TOKEN&&t.credentialType!==mn.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:fn.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(gh)!==-1}isAuthorityMetadata(t){return t.indexOf(fh)!==-1}generateAuthorityMetadataCacheKey(t){return`${fh}-${this.clientId}-${t}`}static toObject(t,o){for(let n in o)t[n]=o[n];return t}},wx=class extends lm{async setAccount(){throw J(ht)}getAccount(){throw J(ht)}async setIdTokenCredential(){throw J(ht)}getIdTokenCredential(){throw J(ht)}async setAccessTokenCredential(){throw J(ht)}getAccessTokenCredential(){throw J(ht)}async setRefreshTokenCredential(){throw J(ht)}getRefreshTokenCredential(){throw J(ht)}setAppMetadata(){throw J(ht)}getAppMetadata(){throw J(ht)}setServerTelemetry(){throw J(ht)}getServerTelemetry(){throw J(ht)}setAuthorityMetadata(){throw J(ht)}getAuthorityMetadata(){throw J(ht)}getAuthorityMetadataKeys(){throw J(ht)}setThrottlingCache(){throw J(ht)}getThrottlingCache(){throw J(ht)}removeItem(){throw J(ht)}getKeys(){throw J(ht)}getAccountKeys(){throw J(ht)}getTokenKeys(){throw J(ht)}generateCredentialKey(){throw J(ht)}generateAccountKey(){throw J(ht)}};var Yae={NotStarted:0,InProgress:1,Completed:2};var yc=class{generateId(){return"callback-id"}startMeasurement(t,o){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:Yae.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 gA={tokenRenewalOffsetSeconds:_N,preventCorsPreflight:!1},yje={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Lt.Info,correlationId:""},xje={async sendGetRequestAsync(){throw J(ht)},async sendPostRequestAsync(){throw J(ht)}},Tje={sku:Fz,version:il,cpu:"",os:""},kje={clientSecret:"",clientAssertion:void 0},Sje={azureCloudInstance:Bu.None,tenant:`${Ky}`},wje={application:{appName:"",appVersion:""}};function Sh({authOptions:e,systemOptions:t,loggerOptions:o,storageInterface:n,networkInterface:r,cryptoInterface:i,clientCredentials:s,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...yje,...o};return{authOptions:Eje(e),systemOptions:{...gA,...t},loggerOptions:m,storageInterface:n||new wx(e.clientId,qu,new hn(m),new yc),networkInterface:r||xje,cryptoInterface:i||qu,clientCredentials:s||kje,libraryInfo:{...Tje,...a},telemetry:{...wje,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function Eje(e){return{clientCapabilities:[],azureCloudOptions:Sje,instanceAware:!1,isMcp:!1,...e}}function fA(e){return e.authOptions.authority.options.protocolMode===lo.OIDC}var hA=class{constructor(t,o){this.cache=t,this.hasChanged=o}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var bn={};Lo(bn,{createAccessTokenEntity:()=>oO,createIdTokenEntity:()=>tO,createRefreshTokenEntity:()=>nO,generateAppMetadataKey:()=>Dje,generateAuthorityMetadataExpiresAt:()=>vA,isAccessTokenEntity:()=>Ije,isAppMetadataEntity:()=>$je,isAuthorityMetadataEntity:()=>zje,isAuthorityMetadataExpired:()=>_A,isCredentialEntity:()=>bA,isIdTokenEntity:()=>Lje,isRefreshTokenEntity:()=>jje,isServerTelemetryEntity:()=>Rje,isThrottlingEntity:()=>Mje,updateAuthorityEndpointMetadata:()=>Eh,updateCloudDiscoveryMetadata:()=>Cx});var ei={};Lo(ei,{delay:()=>Pje,isCacheExpired:()=>Aje,isTokenExpired:()=>wh,nowSeconds:()=>ji,toDateFromSeconds:()=>Ex,toSecondsFromDate:()=>Cje,wasClockTurnedBack:()=>eO});function ji(){return Math.round(new Date().getTime()/1e3)}function Cje(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 ji()+t>o}function Aje(e,t){let o=Number(e)+t*24*60*60*1e3;return Date.now()>o}function eO(e){return Number(e)>ji()}function Pje(e,t){return new Promise(o=>setTimeout(()=>o(t),e))}function tO(e,t,o,n,r){return{credentialType:mn.ID_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,realm:r,lastUpdatedAt:Date.now().toString()}}function oO(e,t,o,n,r,i,s,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:mn.ACCESS_TOKEN,secret:o,cachedAt:ji().toString(),expiresOn:s.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:n,realm:r,target:i,tokenType:u||xo.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==xo.BEARER.toLowerCase())switch(g.credentialType=mn.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case xo.POP:let f=_c(o,l);if(!f?.cnf?.kid)throw J(A2);g.keyId=f.cnf.kid;break;case xo.SSH:g.keyId=m}return g}function nO(e,t,o,n,r,i,s){let a={credentialType:mn.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,lastUpdatedAt:Date.now().toString()};return i&&(a.userAssertionHash=i),r&&(a.familyId=r),s&&(a.expiresOn=s.toString()),a}function bA(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function Ije(e){return e?bA(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===mn.ACCESS_TOKEN||e.credentialType===mn.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function Lje(e){return e?bA(e)&&e.hasOwnProperty("realm")&&e.credentialType===mn.ID_TOKEN:!1}function jje(e){return e?bA(e)&&e.credentialType===mn.REFRESH_TOKEN:!1}function Rje(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 Mje(e,t){let o=!1;e&&(o=e.indexOf(ex)===0);let n=!0;return t&&(n=t.hasOwnProperty("throttleTime")),o&&n}function Dje({environment:e,clientId:t}){return[gh,e,t].join(Kp).toLowerCase()}function $je(e,t){return t?e.indexOf(gh)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function zje(e,t){return t?e.indexOf(fh)===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 vA(){return ji()+aN}function Eh(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 Cx(e,t,o){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=o}function _A(e){return e.expiresAt<=ji()}var vn={};Lo(vn,{AuthClientCreateTokenRequestBody:()=>pO,AuthClientExecuteTokenRequest:()=>dO,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>fO,AuthorityGetEndpointMetadataFromNetwork:()=>bO,AuthorityResolveEndpointsAsync:()=>gO,AuthorityUpdateCloudDiscoveryMetadata:()=>hO,AuthorityUpdateEndpointMetadata:()=>vO,AuthorityUpdateMetadataWithRegionalInformation:()=>yA,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>sO,CacheManagerGetRefreshToken:()=>xO,GetAuthCodeUrl:()=>Nje,HandleCodeResponseFromServer:()=>Oje,HandleServerTokenResponse:()=>Px,NetworkClientSendPostRequestAsync:()=>rO,PopTokenGenerateCnf:()=>cm,RefreshTokenClientAcquireToken:()=>lO,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>Ax,RefreshTokenClientCreateTokenRequestBody:()=>cO,RefreshTokenClientExecutePostToTokenEndpoint:()=>iO,RefreshTokenClientExecuteTokenRequest:()=>aO,RegionDiscoveryDetectRegion:()=>_O,RegionDiscoveryGetCurrentVersion:()=>yO,RegionDiscoveryGetRegionFromIMDS:()=>xA,SetUserData:()=>Fje,SilentFlowClientGenerateResultFromCacheRecord:()=>uO,UpdateTokenEndpointAuthority:()=>mO});var rO="networkClientSendPostRequestAsync",iO="refreshTokenClientExecutePostToTokenEndpoint",sO="authorizationCodeClientExecutePostToTokenEndpoint",aO="refreshTokenClientExecuteTokenRequest",lO="refreshTokenClientAcquireToken",Ax="refreshTokenClientAcquireTokenWithCachedRefreshToken",cO="refreshTokenClientCreateTokenRequestBody",uO="silentFlowClientGenerateResultFromCacheRecord",Nje="getAuthCodeUrl",Oje="handleCodeResponseFromServer",dO="authClientExecuteTokenRequest",pO="authClientCreateTokenRequestBody",mO="updateTokenEndpointAuthority",cm="popTokenGenerateCnf",Px="handleServerTokenResponse",gO="authorityResolveEndpointsAsync",fO="authorityGetCloudDiscoveryMetadataFromNetwork",hO="authorityUpdateCloudDiscoveryMetadata",bO="authorityGetEndpointMetadataFromNetwork",vO="authorityUpdateEndpointMetadata",yA="authorityUpdateMetadataWithRegionalInformation",_O="regionDiscoveryDetectRegion",xA="regionDiscoveryGetRegionFromIMDS",yO="regionDiscoveryGetCurrentVersion",xO="cacheManagerGetRefreshToken",Fje="setUserData";var Wo=(e,t,o,n,r)=>(...i)=>{o.trace("1plfzx",r);let s=n.startMeasurement(t,r);r&&n.incrementFields({[`ext.${t}CallCount`]:1},r);try{let a=e(...i);return s.end({success:!0}),o.trace("1g8n6a",r),a}catch(a){o.trace("0cfd8i",r);try{o.trace(JSON.stringify(a),r)}catch{o.trace("00dty7",r)}throw s.end({success:!1},a),a}},V=(e,t,o,n,r)=>(...i)=>{o.trace("1plfzx",r);let s=n.startMeasurement(t,r);return r&&n.incrementFields({[`ext.${t}CallCount`]:1},r),e(...i).then(a=>(o.trace("1g8n6a",r),s.end({success:!0}),a)).catch(a=>{o.trace("0cfd8i",r);try{o.trace(JSON.stringify(a),r)}catch{o.trace("00dty7",r)}throw s.end({success:!1},a),a})};var Uje={SW:"sw"},ti=class{constructor(t,o){this.cryptoUtils=t,this.performanceClient=o}async generateCnf(t,o){let n=await V(this.generateKid.bind(this),cm,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:Uje.SW}}async signPopToken(t,o,n){return this.signPayload(t,o,n)}async signPayload(t,o,n,r){let{resourceRequestMethod:i,resourceRequestUri:s,shrClaims:a,shrNonce:l,shrOptions:c}=n,p=(s?new xt(s):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:ji(),m:i?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...r},o,c,n.correlationId)}};var ll={};Lo(ll,{badToken:()=>Ix,consentRequired:()=>wO,interactionRequired:()=>SO,interruptedUser:()=>CO,loginRequired:()=>EO,nativeAccountUnavailable:()=>qje,noTokensFound:()=>TA,refreshTokenExpired:()=>TO,uxNotAllowed:()=>kO});var TA="no_tokens_found",qje="native_account_unavailable",TO="refresh_token_expired",kO="ux_not_allowed",SO="interaction_required",wO="consent_required",EO="login_required",Ix="bad_token",CO="interrupted_user";var Kae=[SO,wO,EO,Ix,kO,CO],Hje=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],To=class e extends ot{constructor(t,o,n,r,i,s,a,l){super(t,o,n),Object.setPrototypeOf(this,e.prototype),this.timestamp=r||"",this.traceId=i||"",this.correlationId=s||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function kA(e,t,o){let n=!!e&&Kae.indexOf(e)>-1,r=!!o&&Hje.indexOf(o)>-1,i=!!t&&Kae.some(s=>t.indexOf(s)>-1);return n||i||r}function um(e,t){return new To(e,t)}var oi=class e extends ot{constructor(t,o,n,r,i){super(t,o,n),this.name="ServerError",this.errorNo=r,this.status=i,Object.setPrototypeOf(this,e.prototype)}};var da={};Lo(da,{generateLibraryState:()=>Wae,parseRequestState:()=>AO,setRequestState:()=>Bje});function Bje(e,t,o){let n=Wae(e,o);return t?`${n}${Wy}${t}`:n}function Wae(e,t){if(!e)throw J(pA);let o={id:e.createNewGuid()};t&&(o.meta=t);let n=JSON.stringify(o);return e.base64Encode(n)}function AO(e,t){if(!e)throw J(pA);if(!t)throw J(Zp);try{let o=t.split(Wy),n=o[0],r=o.length>1?o.slice(1).join(Wy):"",i=e(n),s=JSON.parse(i);return{userRequestState:r||"",libraryState:s}}catch{throw J(Zp)}}var pa=class e{constructor(t,o,n,r,i,s,a){this.clientId=t,this.cacheStorage=o,this.cryptoObj=n,this.logger=r,this.performanceClient=i,this.serializableCache=s,this.persistencePlugin=a}validateTokenResponse(t,o,n){if(t.error||t.error_description||t.suberror){let r=`Error(s): ${t.error_codes||Yp} - Timestamp: ${t.timestamp||Yp} - Description: ${t.error_description||Yp} - Correlation ID: ${t.correlation_id||Yp} - Trace ID: ${t.trace_id||Yp}`,i=t.error_codes?.length?t.error_codes[0]:void 0,s=new oi(t.error,r,t.suberror,i,t.status);if(n&&t.status&&t.status>=tN&&t.status<=oN){this.logger.warning("16ks7j",o);return}else if(n&&t.status&&t.status>=Xz&&t.status<=eN){this.logger.warning("0g61x3",o);return}throw kA(t.error,t.error_description,t.suberror)?new To(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",i):s}}async handleServerTokenResponse(t,o,n,r,i,s,a,l,c,u){let p;if(t.id_token){if(p=_c(t.id_token||"",this.cryptoObj.base64Decode),s&&s.nonce&&p.nonce!==s.nonce)throw J(x2);if(r.maxAge||r.maxAge===0){let v=p.auth_time;if(!v)throw J(sx);Tx(v,r.maxAge)}}this.homeAccountIdentifier=X2(t.client_info||"",o.authorityType,this.logger,this.cryptoObj,r.correlationId,p);let m;s&&s.state&&(m=AO(this.cryptoObj.base64Decode,s.state)),t.key_id=t.key_id||r.sshKid||void 0;let g=this.generateCacheRecord(t,o,n,r,p,a,s),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",r.correlationId),f=new hA(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,u);await this.cacheStorage.saveCacheRecord(g,r.correlationId,G2(p||{}),i,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,u)}generateCacheRecord(t,o,n,r,i,s,a){let l=o.getPreferredCache();if(!l)throw J(lx);let c=am(i),u,p;t.id_token&&i&&(u=tO(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=SA(this.cacheStorage,o,this.homeAccountIdentifier,this.cryptoObj.base64Decode,r.correlationId,i,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let v=t.scope?fn.fromString(t.scope):new fn(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,_=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,T=n+h,P=T+x,E=_&&_>0?n+_:void 0;m=oO(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||o.tenant||"",v.printScopes(),T,P,this.cryptoObj.base64Decode,E,t.token_type,s,t.key_id);let B=r.resource||null;B&&(m.resource=B)}let g=null;if(t.refresh_token){let v;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;v=n+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:v},r.correlationId)}g=nO(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,s,v)}let f=null;return t.foci&&(f={clientId:this.clientId,environment:l,familyId:t.foci}),{account:p,idToken:u,accessToken:m,refreshToken:g,appMetadata:f}}static async generateAuthenticationResult(t,o,n,r,i,s,a,l,c,u){let p="",m=[],g=null,f,v,h="";if(n.accessToken){if(n.accessToken.tokenType===xo.POP&&!i.popKid){let P=new ti(t,s),{secret:E,keyId:B}=n.accessToken;if(!B)throw J(L2);p=await P.signPopToken(E,B,i)}else p=n.accessToken.secret;m=fn.fromString(n.accessToken.target).asArray(),g=Ex(n.accessToken.expiresOn),f=Ex(n.accessToken.extendedExpiresOn),n.accessToken.refreshOn&&(v=Ex(n.accessToken.refreshOn))}n.appMetadata&&(h=n.appMetadata.familyId===Wp?Wp:"");let x=a?.oid||a?.sub||"",_=a?.tid||"";c?.spa_accountid&&n.account&&(n.account.nativeAccountId=c?.spa_accountid);let T=n.account?sm(kh(n.account),void 0,a,n.idToken?.secret):null;return{authority:o.canonicalAuthority,uniqueId:x,tenantId:_,scopes:m,account:T,idToken:n?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:r,expiresOn:g,extExpiresOn:f,refreshOn:v,correlationId:i.correlationId,requestId:u||"",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 SA(e,t,o,n,r,i,s,a,l,c,u,p,m){p?.verbose("09jz0t",r);let g=a||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)||J2({homeAccountId:o,idTokenClaims:i,clientInfo:s,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,n),x=h.tenantProfiles||[],_=l||h.realm;if(_&&!x.find(T=>T.tenantId===_)){let T=sl(o,h.localAccountId,_,i);x.push(T)}return h.tenantProfiles=x,h}var pr={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function wA(e,t,o){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:o})}function xc(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 Tc=class e{static generateThrottlingStorageKey(t){return`${ex}.${JSON.stringify(t)}`}static preProcess(t,o,n){let r=e.generateThrottlingStorageKey(o),i=t.getThrottlingCache(r,n);if(i){if(i.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(qo.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||mN),n+gN)*1e3)}static removeThrottle(t,o,n,r){let i=xc(o,n,r),s=this.generateThrottlingStorageKey(i);t.removeItem(s,n.correlationId)}};var Ch=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 dm(e,t,o,n){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${n?.name}, error.message:${n?.message}`,new Ch(e,t,o)}function EA(e,t,o){let n={};if(n[qo.CONTENT_TYPE]=Gz,!t&&o)switch(o.type){case pr.HOME_ACCOUNT_ID:try{let r=al(o.credential);n[qo.CCS_HEADER]=`Oid:${r.uid}@${r.utid}`}catch{e.verbose("1qhtee","")}break;case pr.UPN:n[qo.CCS_HEADER]=`UPN: ${o.credential}`;break}return n}function CA(e,t,o,n){let r=new Map;return e.embeddedClientId&&vc(r,t,o),e.extraQueryParameters&&bc(r,e.extraQueryParameters),nm(r,e.correlationId),Jp(r,e.correlationId,n),rl(r)}async function AA(e,t,o,n,r,i,s,a,l,c){let u=await Vje(n,e,{body:t,headers:o},r,i,s,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function Vje(e,t,o,n,r,i,s,a){Tc.preProcess(r,e,n);let l;try{l=await V(i.sendPostRequestAsync.bind(i),rO,s,a,n)(t,o);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[qo.X_MS_HTTP_VERSION]||"",requestId:c[qo.X_MS_REQUEST_ID]||""},n)}catch(c){if(c instanceof Ch){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[qo.X_MS_HTTP_VERSION]||"",requestId:u[qo.X_MS_REQUEST_ID]||"",contentTypeHeader:u[qo.CONTENT_TYPE]||void 0,contentLengthHeader:u[qo.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},n),c.error}throw c instanceof ot?c:J(b2)}return Tc.postProcess(r,e,l,n),l}var IA={};Lo(IA,{createDiscoveredInstance:()=>IO});function Zae(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function Jae(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function Xae(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=Fu.ENVIRONMENT_VARIABLE;else{let r=e.IMDS_OPTIONS;try{let i=await V(this.getRegionFromIMDS.bind(this),xA,this.logger,this.performanceClient,this.correlationId)(Qz,r);if(i.status===Q0&&(n=i.body,o.region_source=Fu.IMDS),i.status===Y0){let s=await V(this.getCurrentVersion.bind(this),yO,this.logger,this.performanceClient,this.correlationId)(r);if(!s)return o.region_source=Fu.FAILED_AUTO_DETECTION,null;let a=await V(this.getRegionFromIMDS.bind(this),xA,this.logger,this.performanceClient,this.correlationId)(s,r);a.status===Q0&&(n=a.body,o.region_source=Fu.IMDS)}}catch{return o.region_source=Fu.FAILED_AUTO_DETECTION,null}}return n||(o.region_source=Fu.FAILED_AUTO_DETECTION),n||null}async getRegionFromIMDS(t,o){return this.networkInterface.sendGetRequestAsync(`${G0}?api-version=${t}&format=text`,o,Yz)}async getCurrentVersion(t){try{let o=await this.networkInterface.sendGetRequestAsync(`${G0}?format=json`,t);return o.status===Y0&&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 kc=class e{constructor(t,o,n,r,i,s,a,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=i,this.performanceClient=a,this.correlationId=s,this.managedIdentity=l||!1,this.regionDiscovery=new Lx(o,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(B0))return wr.Ciam;let o=t.PathSegments;if(o.length)switch(o[0].toLowerCase()){case qz:return wr.Adfs;case Hz:return wr.Dsts}return wr.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 xt(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 J(ua)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw J(ua)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw J(ua)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw J(I2);return this.replacePath(this.metadata.end_session_endpoint)}else throw J(ua)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw J(ua)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw J(ua)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===wr.Default&&this.protocolMode!==lo.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let o=t,r=new xt(this.metadata.canonical_authority).getUrlComponents(),i=r.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=i[l];if(l===0&&this.canReplaceTenant(r)){let u=new xt(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];c!==u&&(this.logger.verbose("1q3g2x",this.correlationId),c=u)}a!==c&&(o=o.replace(`/${c}/`,`/${a}/`))}),this.replaceTenant(o)}get defaultOpenIdConfigurationEndpoint(){let t=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===wr.Adfs||this.protocolMode===lo.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 V(this.updateCloudDiscoveryMetadata.bind(this),hO,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let n=await V(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:vA(),jwks_uri:""}),t}updateCachedMetadata(t,o,n){o!==Li.CACHE&&n?.source!==Li.CACHE&&(t.expiresAt=vA(),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===Li.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&o.metadata){let r=await V(this.updateMetadataWithRegionalInformation.bind(this),yA,this.logger,this.performanceClient,this.correlationId)(o.metadata);Eh(t,r,!1),t.canonical_authority=this.canonicalAuthority}return o.source}let n=await V(this.getEndpointMetadataFromNetwork.bind(this),bO,this.logger,this.performanceClient,this.correlationId)();if(n)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(n=await V(this.updateMetadataWithRegionalInformation.bind(this),yA,this.logger,this.performanceClient,this.correlationId)(n)),Eh(t,n,!0),Li.NETWORK;throw J(v2,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let o=this.getEndpointMetadataFromConfig();if(o)return this.logger.verbose("06t0uj",this.correlationId),Eh(t,o,!1),{source:Li.CONFIG};this.logger.verbose("151k0p",this.correlationId);let n=this.getEndpointMetadataFromHardcodedValues();if(n)return Eh(t,n,!1),{source:Li.HARDCODED_VALUES,metadata:n};this.logger.verbose("1imop5",this.correlationId);let r=_A(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!r?(this.logger.verbose("16uq31",""),{source:Li.CACHE}):(r&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new xt(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Pt(m2)}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 Zae(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 Q2?Q2[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let o=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(o){if(o!==Kz)return this.regionDiscoveryMetadata.region_outcome=tx.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,e.replaceWithRegionalInformation(t,o);let n=await V(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),_O,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 V(this.getCloudDiscoveryMetadataFromNetwork.bind(this),fO,this.logger,this.performanceClient,this.correlationId)();if(n)return Cx(t,n,!0),Li.NETWORK;throw Pt(g2)}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),Cx(t,o,!1),Li.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let n=Qae(this.hostnameAndPort);if(n)return this.logger.verbose("0by47c",this.correlationId),Cx(t,n,!1),Li.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let r=_A(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!r?(this.logger.verbose("1uffgh",""),Li.CACHE):(r&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===wr.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=kx(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),Pt(aA)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${Bz}${this.canonicalAuthority}oauth2/v2.0/authorize`,o={},n=null;try{let r=await this.networkInterface.sendGetRequestAsync(t,o),i,s;if(Jae(r.body))i=r.body,s=i.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(Xae(r.body)){if(this.logger.warning("062uto",this.correlationId),i=r.body,i.error===Jz)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),s=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),n=kx(s,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&&xt.getDomainFromUrl(o).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,o){let n;if(o&&o.azureCloudInstance!==Bu.None){let r=o.tenant?o.tenant:Ky;n=`${o.azureCloudInstance}/${r}/`}return n||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return Uz;if(this.discoveryComplete())return this.metadata.preferred_cache;throw J(ua)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return K2.has(t)}static isPublicCloudAuthority(t){return Zz.indexOf(t)>=0}static buildRegionalAuthorityString(t,o,n){let r=new xt(t);r.validateAsUri();let i=r.getUrlComponents(),s=`${o}.${i.HostNameAndPort}`;this.isPublicCloudAuthority(i.HostNameAndPort)&&(s=`${o}.${Wz}`);let a=xt.constructAuthorityUriFromObject({...r.getUrlComponents(),HostNameAndPort:s}).urlString;return n?`${a}?${n}`:a}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 xt(t).getUrlComponents();if(r.PathSegments.length===0&&r.HostNameAndPort.endsWith(B0)){let i=r.HostNameAndPort.split(".")[0];o=`${o}${i}${Vz}`}return o}};kc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",la.COMMON,la.CONSUMERS,la.ORGANIZATIONS]);function ele(e){let n=new xt(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(n){case la.COMMON:case la.ORGANIZATIONS:case la.CONSUMERS:return;default:return n}}function PA(e){return e.endsWith(uh)?e:`${e}${uh}`}function PO(e){let t=e.cloudDiscoveryMetadata,o;if(t)try{o=JSON.parse(t)}catch{throw Pt(aA)}return{canonicalAuthority:e.authority?PA(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:o}}async function IO(e,t,o,n,r,i,s){let a=kc.transformCIAMAuthority(PA(e)),l=new kc(a,t,o,n,r,i,s);try{return await V(l.resolveEndpointsAsync.bind(l),gO,r,s,i)(),l}catch{throw J(ua)}}var pm=class{constructor(t,o){this.includeRedirectUri=!0,this.config=Sh(t),this.logger=new hn(this.config.loggerOptions,Hu,il),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 J(S2);n&&n.cloud_instance_host_name&&await V(this.updateTokenEndpointAuthority.bind(this),mO,this.logger,this.performanceClient,t.correlationId)(n.cloud_instance_host_name,t.correlationId);let r=ji(),i=await V(this.executeTokenRequest.bind(this),dO,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),s=i.headers?.[qo.X_MS_REQUEST_ID],a=new pa(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return a.validateTokenResponse(i.body,t.correlationId),V(a.handleServerTokenResponse.bind(a),Px,this.logger,this.performanceClient,t.correlationId)(i.body,this.authority,r,t,o,n,void 0,void 0,void 0,s)}getLogoutUri(t){if(!t)throw Pt(d2);let o=this.createLogoutUrlQueryString(t);return xt.appendQueryString(this.authority.endSessionEndpoint,o)}async executeTokenRequest(t,o,n){let r=CA(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),i=xt.appendQueryString(t.tokenEndpoint,r),s=await V(this.createTokenRequestBody.bind(this),pO,this.logger,this.performanceClient,o.correlationId)(o),a;if(o.clientInfo)try{let u=Th(o.clientInfo,this.cryptoUtils.base64Decode);a={credential:`${u.uid}${mh}${u.utid}`,type:pr.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",o.correlationId)}let l=EA(this.logger,this.config.systemOptions.preventCorsPreflight,a||o.ccsCredential),c=xc(this.config.authOptions.clientId,o);return V(AA,sO,this.logger,this.performanceClient,o.correlationId)(i,s,l,c,o.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,n)}async createTokenRequestBody(t){let o=new Map;if(em(o,t.embeddedClientId||t.extraParameters?.[nl]||this.config.authOptions.clientId),this.includeRedirectUri)tm(o,t.redirectUri);else if(!t.redirectUri)throw Pt(s2);if(Xp(o,t.scopes,!0,this.oidcDefaultScopes),xx(o,t.resource),F2(o,t.code),cx(o,this.config.libraryInfo),ux(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!fA(this.config)&&_x(o,this.serverTelemetryManager),t.codeVerifier&&q2(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 wA(r.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,r.assertionType)}if(fx(o,Jy.AUTHORIZATION_CODE_GRANT),rm(o),t.authenticationScheme===xo.POP){let r=new ti(this.cryptoUtils,this.performanceClient),i;t.popKid?i=this.cryptoUtils.encodeKid(t.popKid):i=(await V(r.generateCnf.bind(r),cm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,i)}else if(t.authenticationScheme===xo.SSH)if(t.sshJwk)vx(o,t.sshJwk);else throw Pt(ix);(!Do.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&om(o,t.claims,this.config.authOptions.clientCapabilities);let n;if(t.clientInfo)try{let r=Th(t.clientInfo,this.cryptoUtils.base64Decode);n={credential:`${r.uid}${mh}${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=al(n.credential);hc(o,r)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Uu(o,n.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&bc(o,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[nA])&&bc(o,{[nA]:"1"}),Jp(o,t.correlationId,this.performanceClient),rl(o)}createLogoutUrlQueryString(t){let o=new Map;return t.postLogoutRedirectUri&&D2(o,t.postLogoutRedirectUri),t.correlationId&&nm(o,t.correlationId),t.idTokenHint&&$2(o,t.idTokenHint),t.state&&dx(o,t.state),t.logoutHint&&B2(o,t.logoutHint),t.extraQueryParameters&&bc(o,t.extraQueryParameters),this.config.authOptions.instanceAware&&hx(o),rl(o)}async updateTokenEndpointAuthority(t,o){let n=`https://${t}/${this.authority.tenant}/`,r=await IO(n,this.networkClient,this.cacheManager,this.authority.options,this.logger,o,this.performanceClient);this.authority=r}};var Gje=300,jx=class{constructor(t,o){this.config=Sh(t),this.logger=new hn(this.config.loggerOptions,Hu,il),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=ji(),r=await V(this.executeTokenRequest.bind(this),aO,this.logger,this.performanceClient,t.correlationId)(t,this.authority),i=r.headers?.[qo.X_MS_REQUEST_ID],s=new pa(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return s.validateTokenResponse(r.body,t.correlationId),V(s.handleServerTokenResponse.bind(s),Px,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,n,t,o,void 0,void 0,!0,t.forceCache,i)}async acquireTokenByRefreshToken(t,o){if(!t)throw Pt(u2);if(!t.account)throw J(ax);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await V(this.acquireTokenWithCachedRefreshToken.bind(this),Ax,this.logger,this.performanceClient,t.correlationId)(t,!0,o)}catch(r){let i=r instanceof To&&r.errorCode===TA,s=r instanceof oi&&r.errorCode===hN&&r.subError===bN;if(i||s)return V(this.acquireTokenWithCachedRefreshToken.bind(this),Ax,this.logger,this.performanceClient,t.correlationId)(t,!1,o);throw r}return V(this.acquireTokenWithCachedRefreshToken.bind(this),Ax,this.logger,this.performanceClient,t.correlationId)(t,!1,o)}async acquireTokenWithCachedRefreshToken(t,o,n){let r=Wo(this.cacheManager.getRefreshToken.bind(this.cacheManager),xO,this.logger,this.performanceClient,t.correlationId)(t.account,o,t.correlationId,void 0);if(!r)throw um(TA);if(r.expiresOn){let s=t.refreshTokenExpirationOffsetSeconds||Gje;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(r.expiresOn),rtOffsetSeconds:s},t.correlationId),wh(r.expiresOn,s))throw um(TO)}let i={...t,refreshToken:r.secret,authenticationScheme:t.authenticationScheme||xo.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:pr.HOME_ACCOUNT_ID}};try{return await V(this.acquireToken.bind(this),lO,this.logger,this.performanceClient,t.correlationId)(i,n)}catch(s){if(s instanceof To&&s.subError===Ix){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(r);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw s}}async executeTokenRequest(t,o){let n=CA(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=xt.appendQueryString(o.tokenEndpoint,n),i=await V(this.createTokenRequestBody.bind(this),cO,this.logger,this.performanceClient,t.correlationId)(t),s=EA(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=xc(this.config.authOptions.clientId,t);return V(AA,iO,this.logger,this.performanceClient,t.correlationId)(r,i,s,a,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let o=new Map;if(em(o,t.embeddedClientId||t.extraParameters?.[nl]||this.config.authOptions.clientId),t.redirectUri&&tm(o,t.redirectUri),Xp(o,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),fx(o,Jy.REFRESH_TOKEN_GRANT),rm(o),cx(o,this.config.libraryInfo),ux(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!fA(this.config)&&_x(o,this.serverTelemetryManager),U2(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 wA(n.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,n.assertionType)}if(t.authenticationScheme===xo.POP){let n=new ti(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await V(n.generateCnf.bind(n),cm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,r)}else if(t.authenticationScheme===xo.SSH)if(t.sshJwk)vx(o,t.sshJwk);else throw Pt(ix);if((!Do.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&om(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=al(t.ccsCredential.credential);hc(o,n)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Uu(o,t.ccsCredential.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&bc(o,{...t.extraParameters}),Jp(o,t.correlationId,this.performanceClient),rl(o)}};var Rx=class{constructor(t,o){this.config=Sh(t),this.logger=new hn(this.config.loggerOptions,Hu,il),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=ca.NOT_APPLICABLE;if(t.forceRefresh||!Do.isEmptyObj(t.claims))throw this.setCacheOutcome(ca.FORCE_REFRESH_OR_CLAIMS,t.correlationId),J(_h);if(!t.account)throw J(ax);let n=t.account.tenantId||ele(t.authority),r=this.cacheManager.getTokenKeys(),i=this.cacheManager.getAccessToken(t.account,t,r,n);if(i){if(eO(i.cachedAt)||wh(i.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ca.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),J(_h);if(t.resource){if(i.resource!==t.resource)throw this.setCacheOutcome(ca.NO_CACHED_ACCESS_TOKEN,t.correlationId),J(_h)}else i.refreshOn&&wh(i.refreshOn,0)&&(o=ca.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ca.NO_CACHED_ACCESS_TOKEN,t.correlationId),J(_h);let s=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:i,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,r,n),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(s,t.correlationId)};return this.setCacheOutcome(o,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await V(this.generateResultFromCacheRecord.bind(this),uO,this.logger,this.performanceClient,t.correlationId)(a,t),o]}setCacheOutcome(t,o){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},o),t!==ca.NOT_APPLICABLE&&this.logger.info("09ingz",o)}async generateResultFromCacheRecord(t,o){let n;if(t.idToken&&(n=_c(t.idToken.secret,this.config.cryptoInterface.base64Decode)),o.maxAge||o.maxAge===0){let r=n?.auth_time;if(!r)throw J(sx);Tx(r,o.maxAge)}return pa.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,o,this.performanceClient,n)}};var LO={sendGetRequestAsync:()=>Promise.reject(J(ht)),sendPostRequestAsync:()=>Promise.reject(J(ht))};var cl={};Lo(cl,{getAuthorizationCodePayload:()=>Kje,getAuthorizeUrl:()=>Yje,getStandardAuthorizeRequestParameters:()=>Qje,validateAuthorizationResponse:()=>tle});function Qje(e,t,o,n){let r=t.correlationId,i=new Map;em(i,t.embeddedClientId||t.extraQueryParameters?.[nl]||e.clientId);let s=[...t.scopes||[],...t.extraScopesToConsent||[]];if(Xp(i,s,!0,e.authority.options.OIDCOptions?.defaultScopes),xx(i,t.resource),tm(i,t.redirectUri),nm(i,r),M2(i,t.responseMode),rm(i),H2(i),t.prompt&&(N2(i,t.prompt),n?.addFields({prompt:t.prompt},r)),t.domainHint&&(z2(i,t.domainHint),n?.addFields({domainHintFromRequest:!0},r)),t.prompt!==Zy.SELECT_ACCOUNT)if(t.sid&&t.prompt===Zy.NONE)o.verbose("1tvqyx",t.correlationId),mA(i,t.sid),n?.addFields({sidFromRequest:!0},r);else if(t.account){let a=Zje(t.account),l=Jje(t.account);if(l&&t.domainHint&&(o.warning("0wkg3v",t.correlationId),l=null),l){o.verbose("1eyfsw",t.correlationId),yh(i,l),n?.addFields({loginHintFromClaim:!0},r);try{let c=al(t.account.homeAccountId);hc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===Zy.NONE){o.verbose("1rmd8s",t.correlationId),mA(i,a),n?.addFields({sidFromClaim:!0},r);try{let c=al(t.account.homeAccountId);hc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(t.loginHint)o.verbose("0y3007",t.correlationId),yh(i,t.loginHint),Uu(i,t.loginHint),n?.addFields({loginHintFromRequest:!0},r);else if(t.account.username){o.verbose("02f507",t.correlationId),yh(i,t.account.username),n?.addFields({loginHintFromUpn:!0},r);try{let c=al(t.account.homeAccountId);hc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(o.verbose("0g01ey",t.correlationId),yh(i,t.loginHint),Uu(i,t.loginHint),n?.addFields({loginHintFromRequest:!0},r));else o.verbose("169k9v",t.correlationId);return t.nonce&&O2(i,t.nonce),t.state&&dx(i,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&om(i,t.claims,e.clientCapabilities),t.embeddedClientId&&vc(i,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(hh))&&hx(i),i}function Yje(e,t){let o=rl(t);return xt.appendQueryString(e.authorizationEndpoint,o)}function Kje(e,t){if(tle(e,t),!e.code)throw J(P2);return e}function tle(e,t){if(!e.state||!t)throw e.state?J(uA,"Cached State"):J(uA,"Server State");let o,n;try{o=decodeURIComponent(e.state)}catch{throw J(Zp,e.state)}try{n=decodeURIComponent(t)}catch{throw J(Zp,e.state)}if(o!==n)throw J(y2);if(e.error||e.error_description||e.suberror){let r=Wje(e);throw kA(e.error,e.error_description,e.suberror)?new To(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",r):new oi(e.error||"",e.error_description,e.suberror,r)}}function Wje(e){let t="code=",o=e.error_uri?.lastIndexOf(t);return o&&o>=0?e.error_uri?.substring(o+t.length):void 0}function Zje(e){return e.idTokenClaims?.sid||null}function Jje(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Mx(e,t){if(e){if(t.resource&&(ole(t.extraParameters)||ole(t.extraQueryParameters)))throw J(R2);if(!t.resource)throw J(j2)}}function ole(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Gu={};Lo(Gu,{postRequestFailed:()=>eRe,unexpectedError:()=>Xje});var Xje="unexpected_error",eRe="post_request_failed";var nle=",",rle="|";function tRe(e){let{skus:t,libraryName:o,libraryVersion:n,extensionName:r,extensionVersion:i}=e,s=new Map([[0,[o,n]],[2,[r,i]]]),a=[];if(t?.length){if(a=t.split(nle),a.length<4)return t}else a=Array.from({length:4},()=>rle);return s.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&oRe({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(nle)}function oRe(e){let{skuArr:t,index:o,skuName:n,skuVersion:r}=e;o>=t.length||(t[o]=[n,r].join(rle))}var mm=class e{constructor(t,o){this.cacheOutcome=ca.NOT_APPLICABLE,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=Xy+Kp+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Ou}${this.cacheOutcome}`,o=[this.wrapperSKU,this.wrapperVer],n=this.getNativeBrokerErrorCode();n?.length&&o.push(`broker_error=${n}`);let r=o.join(Ou),i=this.getRegionDiscoveryFields(),s=[t,i].join(Ou);return[Z0,s,r].join(J0)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.failedRequests.slice(0,2*o).join(Ou),r=t.errors.slice(0,o).join(Ou),i=t.errors.length,s=o=cN&&(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(pN),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,i=t.errors.length;for(o=0;otypeof e=="number"&&e in Fle?Fle[e]:"unknown",Ge;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Ge||(Ge={}));var UO={scopes:Le.OIDC_DEFAULT_SCOPES},qO="jwk";var RA="msal.db",qle=1,Hle=`${RA}.keys`,Kn={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},Ble=[Kn.Default,Kn.Skip,Kn.RefreshTokenAndNetwork];function zx(e){return encodeURIComponent(Ku(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function ks(e){return Vle(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Ku(e){return Vle(new TextEncoder().encode(e))}function Vle(e){let t=Array.from(e,o=>String.fromCodePoint(o)).join("");return btoa(t)}var HO="pkce_not_created",BO="ear_jwk_empty",Gle="ear_jwe_empty",VO="crypto_nonexistent",Mh="empty_navigate_uri",Qle="hash_empty_error",Dh="no_state_in_hash",Yle="hash_does_not_contain_known_properties",MA="unable_to_parse_state",Kle="state_interaction_type_mismatch",Wle="interaction_in_progress",Zle="interaction_in_progress_cancelled",Jle="popup_window_error",Xle="empty_window_error",Nx="user_cancelled",ece="redirect_bridge_empty_response",tce="redirect_in_iframe",oce="block_iframe_reload",nce="block_nested_popups";var $h="silent_logout_unsupported",rce="no_account_error";var ice="no_token_request_cache_error",sce="unable_to_parse_token_request_cache_error";var DA="non_browser_environment",zh="database_not_open",Ox="no_network_connectivity",ace="post_request_failed",lce="get_request_failed",GO="failed_to_parse_response";var $A="crypto_key_not_found",cce="auth_code_required",uce="auth_code_or_nativeAccountId_required",dce="spa_code_and_nativeAccountId_present",zA="database_unavailable",pce="unable_to_acquire_token_from_native_platform",mce="native_handshake_timeout",gce="native_extension_not_installed",NA="native_connection_not_established",Nh="uninitialized_public_client_application",fce="native_prompt_not_supported",hce="invalid_base64_string",bce="invalid_pop_token_request",vce="failed_to_build_headers",_ce="failed_to_parse_headers",OA="failed_to_decrypt_ear_response",hm="timed_out",yce="empty_response";function In(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(hce)}let o=atob(t);return Uint8Array.from(o,n=>n.codePointAt(0)||0)}var nRe="RSASSA-PKCS1-v1_5",Oh="AES-GCM",kce="HKDF",YO="SHA-256",rRe=2048,iRe=new Uint8Array([1,0,1]),xce="0123456789abcdef",Tce=new Uint32Array(1),KO="raw",Sce="encrypt",WO="decrypt",sRe="deriveKey",aRe="crypto_subtle_undefined",ZO={name:nRe,hash:YO,modulusLength:rRe,publicExponent:iRe};function wce(e){if(!window)throw ue(DA);if(!window.crypto)throw ue(VO);if(!e&&!window.crypto.subtle)throw ue(VO,aRe)}async function JO(e){let o=new TextEncoder().encode(e);return window.crypto.subtle.digest(YO,o)}function Ece(e){return window.crypto.getRandomValues(e)}function QO(){return window.crypto.getRandomValues(Tce),Tce[0]}function Ri(){let e=Date.now(),t=QO()*1024+(QO()&1023),o=new Uint8Array(16),n=Math.trunc(t/2**30),r=t&2**30-1,i=QO();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]=i>>>24,o[13]=i>>>16,o[14]=i>>>8,o[15]=i;let s="";for(let a=0;a>>4),s+=xce.charAt(o[a]&15),(a===3||a===5||a===7||a===9)&&(s+="-");return s}async function Cce(e,t){return window.crypto.subtle.generateKey(ZO,e,t)}async function FA(e){return window.crypto.subtle.exportKey(qO,e)}async function Ace(e,t,o){return window.crypto.subtle.importKey(qO,e,ZO,t,o)}async function Pce(e,t){return window.crypto.subtle.sign(ZO,e,t)}async function Fh(){let e=await XO(),o={alg:"dir",kty:"oct",k:ks(new Uint8Array(e))};return Ku(JSON.stringify(o))}async function lRe(e){let t=In(e),n=JSON.parse(t).k,r=ul(n);return window.crypto.subtle.importKey(KO,r,Oh,!1,[WO])}async function Ice(e,t){let o=t.split(".");if(o.length!==5)throw ue(OA,"jwe_length");let n=await lRe(e).catch(()=>{throw ue(OA,"import_key")});try{let r=new TextEncoder().encode(o[0]),i=ul(o[2]),s=ul(o[3]),a=ul(o[4]),l=a.byteLength*8,c=new Uint8Array(s.length+a.length);c.set(s),c.set(a,s.length);let u=await window.crypto.subtle.decrypt({name:Oh,iv:i,tagLength:l,additionalData:r},n,c);return new TextDecoder().decode(u)}catch{throw ue(OA,"decrypt")}}async function XO(){let e=await window.crypto.subtle.generateKey({name:Oh,length:256},!0,[Sce,WO]);return window.crypto.subtle.exportKey(KO,e)}async function eF(e){return window.crypto.subtle.importKey(KO,e,kce,!1,[sRe])}async function Lce(e,t,o){return window.crypto.subtle.deriveKey({name:kce,salt:t,hash:YO,info:new TextEncoder().encode(o)},e,{name:Oh,length:256},!1,[Sce,WO])}async function jce(e,t,o){let n=new TextEncoder().encode(t),r=window.crypto.getRandomValues(new Uint8Array(16)),i=await Lce(e,r,o),s=await window.crypto.subtle.encrypt({name:Oh,iv:new Uint8Array(12)},i,n);return{data:ks(new Uint8Array(s)),nonce:ks(r)}}async function tF(e,t,o,n){let r=ul(n),i=await Lce(e,ul(t),o),s=await window.crypto.subtle.decrypt({name:Oh,iv:new Uint8Array(12)},i,r);return new TextDecoder().decode(s)}async function Rce(e){let t=await JO(e),o=new Uint8Array(t);return ks(o)}var oF=class e extends ot{constructor(t,o){super(t,o),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function Uh(e){return new oF(e,jh(e))}var UA="storage_not_supported";var Mce="in_mem_redirect_unavailable";function cRe(){let e=window.location.hash,t=window.location.search,o=!1,n=!1,r="",i;if(e&&e.length>1){let u=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(u);p.has("state")&&(o=!0,r=u,i=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(n=!0,r=u,i=p)}if(o&&n){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;r=`${u}${p}`,i=new URLSearchParams(r)}if(!r||!i)throw ue(yce);let s=i.get("state");if(!s)throw ue(Dh);let{libraryState:a}=da.parseRequestState(In,s),{id:l,meta:c}=a;if(!l||!c)throw ue(MA,"missing_library_state");return{params:i,payload:r,urlHash:e,urlQuery:t,hasResponseInHash:o,hasResponseInQuery:n,libraryState:{id:l,meta:c}}}function qA(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function Dce(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function Fx(){return window.parent!==window}function uRe(){if(Fx())return!1;try{let{libraryState:e}=cRe(),{meta:t}=e;return t.interactionType===Ge.Popup}catch{return!1}}var Wu=null;function $ce(e,t){Wu&&(e.verbose("18y01k",t),clearTimeout(Wu.timeoutId),Wu.channel.close(),Wu.reject(ue(Zle)),Wu=null)}async function Zu(e,t,o,n,r,i){return new Promise((s,a)=>{t.verbose("1rf6em",n.correlationId);let l=n.correlationId;r.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:i?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=da.parseRequestState(o.base64Decode,n.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,v=window.setTimeout(()=>{Wu=null,i?.iframeTimeoutTelemetry?(f=r.startMeasurement(Ole,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(ue(hm,"redirect_bridge_timeout"))},e);Wu={timeoutId:v,channel:u,reject:a},u.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),u.close();return}r.addFields({redirectBridgeMessageVersion:x},l),Wu=null,clearTimeout(v),u.close(),p?s(p):a(ue(ece))}})}function Ss(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function zce(){let t=new xt(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function dRe(){if(xs.getDeserializedResponse(window.location.hash)&&Fx())throw ue(oce)}function pRe(e){if(Fx()&&!e)throw ue(tce)}function mRe(){if(uRe())throw ue(nce)}function nF(){if(typeof window>"u")throw ue(DA)}function rF(e){if(!e)throw ue(Nh)}function HA(e){nF(),dRe(),mRe(),rF(e)}function iF(e,t){if(HA(e),pRe(t.system.allowRedirectInIframe),t.cache.cacheLocation===Pn.MemoryStorage)throw Uh(Mce)}function BA(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 Ux(){return Ri()}var Nrt=po.addClientCapabilitiesToClaims;var VA=class{constructor(){this.dbName=RA,this.version=qle,this.tableName=Hle,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 i=r;this.db=i.target.result,this.dbOpen=!0,t()}),n.addEventListener("error",()=>o(ue(zA)))})}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(zh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async setItem(t,o){return await this.validateDbIsOpen(),new Promise((n,r)=>{if(!this.db)return r(ue(zh));let a=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(o,t);a.addEventListener("success",()=>{this.closeConnection(),n()}),a.addEventListener("error",l=>{this.closeConnection(),r(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ue(zh));let s=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);s.addEventListener("success",()=>{this.closeConnection(),o()}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,o)=>{if(!this.db)return o(ue(zh));let i=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();i.addEventListener("success",s=>{let a=s;this.closeConnection(),t(a.target.result)}),i.addEventListener("error",s=>{this.closeConnection(),o(s)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ue(zh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result===1)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,o)=>{let n=window.indexedDB.deleteDatabase(RA),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 wc=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 GA=class{constructor(t){this.inMemoryCache=new wc,this.indexedDBCache=new VA,this.logger=t}handleDatabaseAccessError(t,o){if(t instanceof fm&&t.errorCode===zA)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 dl=class e{constructor(t,o,n){this.logger=t,wce(n??!1),this.cache=new GA(this.logger),this.performanceClient=o}createNewGuid(){return Ri()}base64Encode(t){return Ku(t)}base64Decode(t){return In(t)}base64UrlEncode(t){return zx(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let o=this.performanceClient?.startMeasurement(ule,t.correlationId),n=await Cce(e.EXTRACTABLE,e.POP_KEY_USAGES),r=await FA(n.publicKey),i={e:r.e,kty:r.kty,n:r.n},s=Nce(i),a=await this.hashString(s),l=await FA(n.privateKey),c=await Ace(l,!1,["sign"]);return await this.cache.setItem(a,{privateKey:c,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri},t.correlationId),o&&o.end({success:!0}),a}async removeTokenBindingKey(t,o){if(await this.cache.removeItem(t,o),await this.cache.containsKey(t,o))throw J(gn.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 i=this.performanceClient?.startMeasurement(dle,r),s=await this.cache.getItem(o,r||"");if(!s)throw ue($A);let a=await FA(s.publicKey),l=Nce(a),c=zx(JSON.stringify({kid:o})),u=Dx.getShrHeaderString({...n?.header,alg:a.alg,kid:c}),p=zx(u);t.cnf={jwk:JSON.parse(l)};let m=zx(JSON.stringify(t)),g=`${p}.${m}`,v=new TextEncoder().encode(g),h=await Pce(s.privateKey,v),x=ks(new Uint8Array(h)),_=`${g}.${x}`;return i&&i.end({success:!0}),_}async hashString(t){return Rce(t)}};dl.POP_KEY_USAGES=["sign","verify"];dl.EXTRACTABLE=!0;function Nce(e){return JSON.stringify(e,Object.keys(e).sort())}var Oce="acquireTokenSilent",Fce="acquireTokenByCode",Uce="acquireTokenPopup",qce="acquireTokenPreRedirect",QA="acquireTokenRedirect",Hce="ssoSilent",Bce="initializeClientApplication",Vce="localStorageUpdated";var Zo="msal",YA="browser",sF="|";var Yce=`${Zo}.${YA}.log.level`,Kce=`${Zo}.${YA}.log.pii`,sit=`${Zo}.${YA}.performance.enabled`,Wce=`${Zo}.${YA}.platform.auth.dom`,aF=`${Zo}.version`,Gce="account.keys",Qce="token.keys";function Ec(e=2){return e<1?`${Zo}.${Gce}`:`${Zo}.${e}.${Gce}`}function Cc(e,t=2){return t<1?`${Zo}.${Qce}.${e}`:`${Zo}.${t}.${Qce}.${e}`}var gRe=24*60*60*1e3,KA={Lax:"Lax",None:"None"},qh=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 fRe(e){let t=new Date;return new Date(t.getTime()+e*gRe).toUTCString()}function pl(e,t){let o=e.getItem(Ec(t));return o?JSON.parse(o):[]}function Mi(e,t,o){let n=t.getItem(Cc(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 Hh(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var Zce="msal.cache.encryption",hRe="msal.broadcast.cache",WA=class{constructor(t,o,n){if(!window.localStorage)throw Uh(UA);this.memoryStorage=new wc,this.initialized=!1,this.clientId=t,this.logger=o,this.performanceClient=n,this.broadcast=new BroadcastChannel(hRe)}async initialize(t){let o=new qh,n=o.getItem(Zce),r={key:"",id:""};if(n)try{r=JSON.parse(n)}catch{}if(r.key&&r.id){let i=Wo(ul,Dle,this.logger,this.performanceClient,t)(r.key);this.encryptionCookie={id:r.id,key:await V(eF,NO,this.logger,this.performanceClient,t)(i)}}else{let i=Ri(),s=await V(XO,Mle,this.logger,this.performanceClient,t)(),a=Wo(ks,$le,this.logger,this.performanceClient,t)(new Uint8Array(s));this.encryptionCookie={id:i,key:await V(eF,NO,this.logger,this.performanceClient,t)(s)};let l={id:i,key:a};o.setItem(Zce,JSON.stringify(l),0,!0,KA.None)}await V(this.importExistingCache.bind(this),Ple,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",i=>{this.updateCache(i,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw ue(Nh);return this.memoryStorage.getItem(t)}async decryptData(t,o,n){if(!this.initialized||!this.encryptionCookie)throw ue(Nh);if(o.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null;let r=await V(tF,OO,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,i){if(!this.initialized||!this.encryptionCookie)throw ue(Nh);if(i)this.setItem(t,o);else{let{data:s,nonce:a}=await V(jce,zle,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:s,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(),pl(this).forEach(n=>this.removeItem(n));let o=Mi(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=pl(this);o=await this.importArray(o,t),o.length?this.setItem(Ec(),JSON.stringify(o)):this.removeItem(Ec());let n=Mi(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(Cc(this.clientId),JSON.stringify(n)):this.removeItem(Cc(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 Hh(r)?r.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},o),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},o),V(tF,OO,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(i=>{let s=this.getItemFromEncryptedCache(i,o).then(a=>{a?(this.memoryStorage.setItem(i,a),n.push(i)):this.removeItem(i)});r.push(s)}),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(Vce);n.add({isBackground:!0});let{key:r,value:i,context:s}=t.data;if(!r){this.logger.error("0e10qr",o),n.end({success:!1,errorCode:"noKey"});return}if(s&&s!==this.clientId){this.logger.trace("04rtdy",o),n.end({success:!1,errorCode:"contextMismatch"});return}i?(this.memoryStorage.setItem(r,i),this.logger.verbose("1vzsgt",o)):(this.memoryStorage.removeItem(r),this.logger.verbose("04ypih",o)),n.end({success:!0})}};var ZA=class{constructor(){if(!window.sessionStorage)throw Uh(UA)}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 We={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 Jce="@azure/msal-browser",Di="5.6.3";function Ac(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Bh=class extends lm{constructor(t,o,n,r,i,s,a){super(t,n,r,i,a),this.cacheConfig=o,this.logger=r,this.internalStorage=new wc,this.browserStorage=Xce(t,o.cacheLocation,r,i),this.temporaryCacheStorage=Xce(t,Pn.SessionStorage,r,i),this.cookieStorage=new qh,this.eventHandler=s}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=pl(this.browserStorage),n=Mi(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 i=0;i<2;i++){let s=i;await this.removeStaleAccounts(i,s,t)}for(let i=0;i<2;i++){let s=i;await this.migrateIdTokens(i,s,t)}let r=this.getKMSIValues();for(let i=0;i<2;i++)await this.migrateAccessTokens(i,r,t),await this.migrateRefreshTokens(i,r,t);o=pl(this.browserStorage),n=Mi(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(ei.isCacheExpired(r.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null;let i=Hh(r)?await this.browserStorage.decryptData(t,r,o):r;return!i||!bn.isCredentialEntity(i)?(this.performanceClient.incrementFields({invalidCacheCount:1},o),null):(bn.isAccessTokenEntity(i)||bn.isRefreshTokenEntity(i))&&i.expiresOn&&ei.isTokenExpired(i.expiresOn,Le.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null):i}async removeStaleAccounts(t,o,n){let r=pl(this.browserStorage,t);if(r.length!==0){for(let i of[...r]){this.performanceClient.incrementFields({oldAcntCount:1},n);let s=this.browserStorage.getItem(i),a=this.validateAndParseJson(s||"");if(!a){Ac(r,i);continue}if(a.lastUpdatedAt)ei.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(i,a,o,n),Ac(r,i));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(i,JSON.stringify(a),n);continue}}this.setAccountKeys(r,n,t)}}async removeAccountOldSchema(t,o,n,r){let s=(Hh(o)?await this.browserStorage.decryptData(t,o,r):o)?.homeAccountId;if(s){let a=this.getTokenKeys(n);[...a.idToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ac(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ac(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ac(a.refreshToken,l)}),this.setTokenKeys(a,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 i=JSON.parse(r),s=dr.extractTokenClaims(i.secret,In);s&&(t[i.homeAccountId]=dr.isKmsi(s))}}return t}async migrateIdTokens(t,o,n){let r=Mi(this.clientId,this.browserStorage,t);if(r.idToken.length===0)return;let i=Mi(this.clientId,this.browserStorage,2),s=pl(this.browserStorage),a=pl(this.browserStorage,o);for(let l of[...r.idToken]){this.performanceClient.incrementFields({oldITCount:1},n);let c=await this.updateOldEntry(l,n);if(!c){Ac(r.idToken,l);continue}let u=s.find(_=>_.includes(c.homeAccountId)),p=a.find(_=>_.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,n);else if(p){let _=this.browserStorage.getItem(p),T=this.validateAndParseJson(_||"");m=T&&Hh(T)?await this.browserStorage.decryptData(p,T,n):T}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},n);continue}let g=dr.extractTokenClaims(c.secret,In),f=this.generateCredentialKey(c),v=this.getIdTokenCredential(f,n),h=Object.keys(g).includes("signin_state"),x=v&&Object.keys(dr.extractTokenClaims(v.secret,In)||{}).includes("signin_state");if(!v||c.lastUpdatedAt>v.lastUpdatedAt&&(h||!x)){let _=m.tenantProfiles||[],T=am(g)||m.realm;if(T&&!_.find(B=>B.tenantId===T)){let B=sl(m.homeAccountId,m.localAccountId,T,g);_.push(B)}m.tenantProfiles=_;let P=this.generateAccountKey(Ts.getAccountInfo(m)),E=dr.isKmsi(g);await this.setUserData(P,JSON.stringify(m),n,m.lastUpdatedAt,E),s.includes(P)||s.push(P),await this.setUserData(f,JSON.stringify(c),n,c.lastUpdatedAt,E),this.performanceClient.incrementFields({migratedITCount:1},n),i.idToken.push(f)}}this.setTokenKeys(r,n,t),this.setTokenKeys(i,n),this.setAccountKeys(s,n)}async migrateAccessTokens(t,o,n){let r=Mi(this.clientId,this.browserStorage,t);if(r.accessToken.length===0)return;let i=Mi(this.clientId,this.browserStorage,2);for(let s of[...r.accessToken]){this.performanceClient.incrementFields({oldATCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Ac(r.accessToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipATMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!i.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n),i.accessToken.push(l);else{let u=this.getAccessTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n))}}this.setTokenKeys(r,n,t),this.setTokenKeys(i,n)}async migrateRefreshTokens(t,o,n){let r=Mi(this.clientId,this.browserStorage,t);if(r.refreshToken.length===0)return;let i=Mi(this.clientId,this.browserStorage,2);for(let s of[...r.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Ac(r.refreshToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipRTMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!i.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n),i.refreshToken.push(l);else{let u=this.getRefreshTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n))}}this.setTokenKeys(r,n,t),this.setTokenKeys(i,n)}trackVersionChanges(t){let o=this.browserStorage.getItem(aF);o&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:o},t)),o!==Di&&this.setItem(aF,Di,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),i=[],s=20;for(let a=0;a<=s;a++)try{if(this.browserStorage.setItem(t,o),a>0)for(let l=0;l<=2;l++){let c=r.slice(0,l).reduce((p,m)=>p+m,0);if(c>=a)break;let u=a>c+r[l]?c+r[l]:a;a>c&&r[l]>0&&this.removeAccessTokenKeys(i.slice(c,u),n,l)}break}catch(l){let c=xh(l);if(c.errorCode===Sx.cacheQuotaExceeded&&a0)for(let u=0;u<=2;u++){let p=s.slice(0,u).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+s[u]?p+s[u]:c;c>p&&s[u]>0&&this.removeAccessTokenKeys(a.slice(p,m),n,u)}break}catch(u){let p=xh(u);if(p.errorCode===Sx.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),i=0;if(t.forEach(s=>{let a=r.accessToken.indexOf(s);a>-1&&(r.accessToken.splice(a,1),i++)}),i>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 Mi(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(Cc(this.clientId,n));return}else this.setItem(Cc(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||!bn.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),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys();s.idToken.indexOf(r)===-1&&(this.logger.info("07jy92",o),s.idToken.push(r),this.setTokenKeys(s,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||!bn.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),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys(),a=s.accessToken.indexOf(r);a!==-1&&s.accessToken.splice(a,1),this.logger.trace("1onhey",o),s.accessToken.push(r),this.setTokenKeys(s,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||!bn.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),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys();s.refreshToken.indexOf(r)===-1&&(this.logger.info("0eckjs",o),s.refreshToken.push(r),this.setTokenKeys(s,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||!bn.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=bn.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||!bn.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&&bn.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($x.WRAPPER_SKU,t),this.internalStorage.setItem($x.WRAPPER_VER,o)}getWrapperMetadata(){let t=this.internalStorage.getItem($x.WRAPPER_SKU)||"",o=this.internalStorage.getItem($x.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(We.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||!bn.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,i=this.temporaryCacheStorage.getItem(r);if(!i){if(this.cacheConfig.cacheLocation===Pn.LocalStorage){let s=this.browserStorage.getItem(r);if(s)return this.logger.trace("1yt61y",o),s}return this.logger.trace("1qhy81",o),null}return i}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 Do.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(sF).toLowerCase()}generateAccountKey(t){let o=t.homeAccountId.split(".")[1];return[`${Zo}.${2}`,t.homeAccountId,t.environment,o||t.tenantId||""].join(sF).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(ko.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(ko.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(ko.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(ko.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(ko.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,o,n){this.logger.trace("1tzef5",o);let r=Ku(JSON.stringify(t));if(this.setTemporaryCache(ko.REQUEST_PARAMS,r,!0),n){let i=Ku(n);this.setTemporaryCache(ko.VERIFIER,i,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let o=this.getTemporaryCache(ko.REQUEST_PARAMS,t,!0);if(!o)throw ue(ice);let n=this.getTemporaryCache(ko.VERIFIER,t,!0),r,i="";try{r=JSON.parse(In(o)),n&&(i=In(n))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),ue(sce)}return[r,i]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(ko.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}.${ko.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(""),qA(window),null}}setInteractionInProgress(t,o=ha.SIGNIN,n=!1,r=""){let i=`${Zo}.${ko.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(n)this.logger.warning("1pmscr",r),$ce(this.logger,r),this.removeTemporaryItem(i);else throw ue(Wle);this.setTemporaryCache(i,JSON.stringify({clientId:this.clientId,type:o}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(i)}async hydrateCache(t,o){let n=bn.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),r=bn.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?ei.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?ei.toSecondsFromDate(t.extExpiresOn):0,In,void 0,t.tokenType,void 0,o.sshKid);o.resource&&(r.resource=o.resource);let i={idToken:n,accessToken:r};return this.saveCacheRecord(i,t.correlationId,dr.isKmsi(dr.extractTokenClaims(t.idToken,In)),Tt.hydrateCache)}async saveCacheRecord(t,o,n,r,i){try{await super.saveCacheRecord(t,o,n,r,i)}catch(s){if(s instanceof Vu&&this.performanceClient&&o)try{let a=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:a.refreshToken.length,cacheIdCount:a.idToken.length,cacheAtCount:a.accessToken.length},o)}catch{}throw s}}};function Xce(e,t,o,n){try{switch(t){case Pn.LocalStorage:return new WA(e,o,n);case Pn.SessionStorage:return new ZA;case Pn.MemoryStorage:default:break}}catch(r){o.error(r,"")}return new wc}var eue=(e,t,o,n)=>{let r={cacheLocation:Pn.MemoryStorage,cacheRetentionDays:5};return new Bh(e,r,qu,t,o,n)};function tue(e,t,o,n,r){return e.verbose("1yd030",n),o?t.getAllAccounts(r,n):[]}function oue(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 nue(e,t,o){t.setActiveAccount(e,o)}function rue(e,t){return e.getActiveAccount(t)}var bRe="msal.broadcast.event",JA=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new hn({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(bRe)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,o,n){if(typeof window<"u"){let r=n||Ux();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,i){let s={eventType:t,interactionType:n||null,payload:r||null,error:i||null,correlationId:o,timestamp:Date.now()};switch(t){case We.LOGIN_SUCCESS:case We.LOGOUT_SUCCESS:case We.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(s)}this.invokeCallbacks(s)}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,i,s,a,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=i,this.navigationClient=s,this.platformAuthProvider=c,this.correlationId=l,this.logger=r.clone(_n.MSAL_SKU,Di),this.performanceClient=a}};function bm(e,t,o,n){o.verbose("0bd1la",n);let r=e||t||"";return xt.getAbsoluteUrl(r,Ss())}function Ho(e,t,o,n,r,i){r.verbose("1p12tq",o);let s={clientId:t,correlationId:o,apiId:e,forceRefresh:!1,wrapperSKU:n.getWrapperMetadata()[0],wrapperVer:n.getWrapperMetadata()[1]};return new mm(s,n)}async function ni(e,t,o,n,r,i,s,a,l){let c=a&&a.hasOwnProperty("instance_aware")?a.instance_aware:void 0,u={protocolMode:e.system.protocolMode,OIDCOptions:e.auth.OIDCOptions,knownAuthorities:e.auth.knownAuthorities,cloudDiscoveryMetadata:e.auth.cloudDiscoveryMetadata,authorityMetadata:e.auth.authorityMetadata},p=i||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(xt.getDomainFromUrl(p),l.environment):p,f=kc.generateAuthority(g,s||e.auth.azureCloudOptions),v=await V(IA.createDiscoveredInstance,Sle,r,o,t)(f,e.system.networkClient,n,u,r,t,o);if(l&&!v.isAlias(l.environment))throw Pt(Xr.authorityMismatch);return v}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 qx(e,t,o,n,r){let i=e.authority||t.auth.authority,s=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:i,scopes:s};if(!a.authenticationScheme)a.authenticationScheme=Le.AuthenticationScheme.BEARER,n.verbose("1l4fwv",r);else{if(a.authenticationScheme===Le.AuthenticationScheme.SSH){if(!e.sshJwk)throw Pt(Xr.missingSshJwk);if(!e.sshKid)throw Pt(Xr.missingSshKid)}n.verbose("1ecmns",r)}return a}async function iue(e,t,o,n,r){let i=await V(qx,Ah,r,n,e.correlationId)(e,o,n,r,e.correlationId);return{...e,...i,account:t,forceRefresh:e.forceRefresh||!1}}function XA(e,t){let o,n=e.httpMethod;if(t===lo.EAR){if(n&&n!==Le.HttpMethod.POST)throw Pt(Xr.invalidRequestMethodForEAR);o=Le.HttpMethod.POST}else o=n||Le.HttpMethod.GET;return o}var ri=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=xt.getAbsoluteUrl(t.postLogoutRedirectUri,Ss())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",o.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",o.correlationId),o.postLogoutRedirectUri=xt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Ss())):(this.logger.verbose("17s5rf",o.correlationId),o.postLogoutRedirectUri=xt.getAbsoluteUrl(Ss(),Ss())):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 V(this.getClientConfiguration.bind(this),Qu,this.logger,this.performanceClient,this.correlationId)(t);return new pm(o,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:o,requestAuthority:n,requestAzureCloudOptions:r,requestExtraQueryParameters:i,account:s}=t,a=t.authority||await V(ni,ma,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,s),l=this.config.system.loggerOptions;return{authOptions:{clientId:this.config.auth.clientId,authority:a,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:_n.MSAL_SKU,version:Di,cpu:"",os:""},telemetry:this.config.telemetry}}};async function Ju(e,t,o,n,r,i,s,a){let l=bm(e.redirectUri,o.auth.redirectUri,i,a);new URL(l).origin!==new URL(window.location.href).origin&&(i.warning("08qbvw",a),s.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=da.setRequestState(n,e&&e.state||"",c),m={...await V(qx,Ah,i,s,a)({...e,correlationId:a},o,s,i,a),redirectUri:l,state:u,nonce:e.nonce||Ri(),responseMode:o.auth.OIDCOptions.responseMode},g={...m,httpMethod:XA(m,o.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||r.getActiveAccount(a);return f&&(i.verbose("1eqlb3",a),i.verbosePii("0tf99t",a),g.account=f),g}function sue(e,t){if(!t)return null;try{return da.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw J(gn.invalidState)}}function vm(e,t,o,n){let r=xs.getDeserializedResponse(e);if(!r)throw xs.stripLeadingHashOrQuery(e)?(o.error("13pl0s",n),o.errorPii("1097vx",n),ue(Yle)):(o.error("18h0l1",n),ue(Qle));return r}function aue(e,t,o){if(!e.state)throw ue(Dh);let n=sue(t,e.state);if(!n)throw ue(MA);if(n.interactionType!==o)throw ue(Kle)}var Qh=class{constructor(t,o,n,r,i){this.authModule=t,this.browserStorage=o,this.authCodeRequest=n,this.logger=r,this.performanceClient=i}async handleCodeResponse(t,o,n){let r;try{r=cl.getAuthorizationCodePayload(t,o.state)}catch(i){throw i instanceof oi&&i.subError===Nx?ue(Nx):i}return V(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 s=this.createCcsCredentials(o);s&&(this.authCodeRequest.ccsCredential=s)}return await V(this.authModule.acquireToken.bind(this.authModule),kle,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 lue="ContentError",cue="PageException",uue="user_switch";var due="USER_INTERACTION_REQUIRED",pue="USER_CANCEL",mue="NO_NETWORK",gue="PERSISTENT_ERROR",fue="DISABLED",hue="ACCOUNT_UNAVAILABLE",bue="UX_NOT_ALLOWED";var vRe=-2147186943,ws=class e extends ot{constructor(t,o,n){super(t,o||jh(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=n}};function Xu(e){if(e.ext&&e.ext.status&&(e.ext.status===gue||e.ext.status===fue)||e.ext&&e.ext.error&&e.ext.error===vRe)return!0;switch(e.errorCode){case lue:case cue:return!0;default:return!1}}function _m(e,t,o){if(o&&o.status)switch(o.status){case hue:return um(ll.nativeAccountUnavailable,jh(e));case due:return new To(e,t);case pue:return ue(Nx);case mue:return ue(Ox);case bue:return um(ll.uxNotAllowed)}return new ws(e,t,o)}var Yh=class extends ri{async acquireToken(t){let o=Ho(Tt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),n=await V(this.getClientConfiguration.bind(this),Qu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),r=new Rx(n,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let s=(await V(r.acquireCachedToken.bind(r),yle,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),s}catch(i){throw i instanceof fm&&i.errorCode===$A&&this.logger.verbose("06wena",this.correlationId),i}}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 ed=class extends Vh{constructor(t,o,n,r,i,s,a,l,c,u,p,m){super(t,o,n,r,i,s,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new Yh(t,this.nativeStorageManager,n,r,i,s,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=mm.makeExtraSkuString({libraryName:_n.MSAL_SKU,libraryVersion:Di,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[fc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,o){this.logger.trace("03qeos",this.correlationId);let n=this.performanceClient.startMeasurement(LA,t.correlationId),r=ei.nowSeconds(),i=Ho(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let s=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,s);return n.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(o===Kn.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let a=await this.platformAuthProvider.sendMessage(s);return await this.handleNativeResponse(a,s,r).then(l=>(n.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),i.clearNativeBrokerErrorCode(),l)).catch(l=>{throw n.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(s){throw s instanceof ws&&i.setNativeBrokerErrorCode(s.errorCode),s}}createSilentCacheRequest(t,o){return{authority:t.authority,correlationId:this.correlationId,scopes:fn.fromString(t.scope).asArray(),account:o,forceRefresh:!1}}async acquireTokensFromCache(t,o){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),J(gn.noAccountFound);let n=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},o.correlationId);if(!n)throw J(gn.noAccountFound);try{let r=this.createSilentCacheRequest(o,n),i=await this.silentCacheClient.acquireToken(r),s={...n,idTokenClaims:i?.idTokenClaims,idToken:i?.idToken};return{...i,account:s}}catch(r){throw r}}async acquireTokenRedirect(t,o,n){this.logger.trace("0luikq",this.correlationId);let r=await this.initializeNativeRequest(t),i=n?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(r)}catch(l){if(l instanceof ws&&(Ho(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),Xu(l)))throw l}this.browserStorage.setTemporaryCache(ko.NATIVE_REQUEST,JSON.stringify(r),!0);let s={apiId:Tt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=i?window.location.href:bm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);o.end({success:!0}),await this.navigationClient.navigateExternal(a,s)}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,...i}=n;r&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ko.NATIVE_REQUEST));let s=ei.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(i),l=await this.handleNativeResponse(a,i,s);return Ho(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).clearNativeBrokerErrorCode(),l}catch(a){throw a}}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=dr.extractTokenClaims(t.id_token,In),i=this.createHomeAccountIdentifier(t,r),s=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(i!==s&&t.account.id!==o.accountId)throw _m(uue);let a=await ni(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o.authority),l=SA(this.browserStorage,a,i,In,this.correlationId,r,t.client_info,a.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,a.canonicalAuthority,n);return await this.cacheAccount(l,dr.isKmsi(r)),await this.cacheNativeTokens(t,o,i,r,t.access_token,c.tenantId,n),c}createHomeAccountIdentifier(t,o){return Ts.generateHomeAccountId(t.client_info||"",wr.Default,this.logger,this.browserCrypto,this.correlationId,o)}generateScopes(t,o){return o?fn.fromString(o):fn.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 ti(this.browserCrypto,this.performanceClient),r={resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,shrNonce:o.shrNonce,correlationId:this.correlationId};if(!o.keyId)throw J(gn.keyIdMissing);return n.signPopToken(t.access_token,o.keyId,r)}else return t.access_token}async generateAuthenticationResult(t,o,n,r,i,s){let a=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(o.scope,t.scope),c=t.account.properties||{},u=c.UID||n.oid||n.sub||"",p=c.TenantId||n.tid||"",m=sm(Ts.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:i,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:n,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:ei.toDateFromSeconds(s+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(Ts.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,o,n,r,i,s,a){let l=bn.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,u=a+c,p=this.generateScopes(t.scope,o.scope),m=bn.createAccessTokenEntity(n,o.authority,i,o.clientId,r.tid||s,p.printScopes(),u,0,In,void 0,o.tokenType,void 0,o.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,dr.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,i=new fn(n||[]);i.appendScopes(Le.OIDC_DEFAULT_SCOPES);let s={...r,accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:i.printScopes(),redirectUri:bm(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(s.signPopToken&&t.popKid)throw ue(bce);if(this.handleExtraBrokerParams(s),s.extraParameters=s.extraParameters||{},s.extraParameters.telemetry=Er.MATS_TELEMETRY,t.authenticationScheme===Le.AuthenticationScheme.POP){let a={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new ti(this.browserCrypto,this.performanceClient),c;if(s.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:s.keyId})),s.signPopToken=!1;else{let u=await V(l.generateCnf.bind(l),vn.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,s.keyId=u.kid,s.signPopToken=!0}s.reqCnf=c}return this.addRequestSKUs(s),s}async getCanonicalAuthority(t){let o=t.authority||this.config.auth.authority,{azureCloudOptions:n,account:r}=t;r&&await ni(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o,n,void 0,r);let i=new xt(o);return i.validateAsUri(),i}getPrompt(t){switch(this.apiId){case Tt.ssoSilent:case Tt.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(fce)}}handleExtraBrokerParams(t){let o=t.extraParameters&&t.extraParameters.hasOwnProperty(fc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(fc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(fc.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[fc.BROKER_REDIRECT_URI],n=t.extraParameters[fc.CLIENT_ID]),t.extraParameters={child_client_id:n,child_redirect_uri:r},this.performanceClient?.addFields({embeddedClientId:n,embeddedRedirectUri:r},t.correlationId)}};var _Re=new Map([["e","AAD"],["m","MSA"]]);function yRe(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:_Re.get(n[0]?.trim()||"")||"",error:n[1]?.trim()||"",subError:n[2]?.trim()||"",cloudInstance:n[3]?.trim()||"",callerDataBoundary:n[4]?.trim()||""}}catch{return null}}function vue(e,t,o){let n=yRe(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 cF(e,t,o,n,r){let i=cl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},o,n,r);if(po.addLibraryInfo(i,{sku:_n.MSAL_SKU,version:Di,os:"",cpu:""}),e.system.protocolMode!==lo.OIDC&&po.addApplicationTelemetry(i,e.telemetry.application),o.platformBroker&&(po.addNativeBroker(i),o.authenticationScheme===Le.AuthenticationScheme.POP)){let s=new dl(n,r),a=new ti(s,r),l;o.popKid?l=s.encodeKid(o.popKid):l=(await V(a.generateCnf.bind(a),vn.PopTokenGenerateCnf,n,r,o.correlationId)(o,n)).reqCnfString,po.addPopToken(i,l)}return po.instrumentBrokerParams(i,o.correlationId,r),i}async function Kh(e,t,o,n,r){if(!o.codeChallenge)throw Pt(Xr.pkceParamsMissing);let i=await V(cF,xle,n,r,o.correlationId)(e,t,o,n,r);return po.addResponseType(i,Le.OAuthResponseType.CODE),po.addCodeChallengeParams(i,o.codeChallenge,Le.S256_CODE_CHALLENGE_METHOD),po.addExtraParameters(i,{...o.extraQueryParameters,...o.extraParameters}),cl.getAuthorizeUrl(t,i)}async function Wh(e,t,o,n,r,i){if(!n.earJwk)throw ue(BO);let s=await cF(t,o,n,r,i);po.addResponseType(s,Le.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),po.addEARParameters(s,n.earJwk),po.addCodeChallengeParams(s,n.codeChallenge,Le.S256_CODE_CHALLENGE_METHOD),po.addExtraParameters(s,{...n.extraParameters});let a=new Map;po.addExtraParameters(a,n.extraQueryParameters||{}),po.addCorrelationId(a,n.correlationId);let l=cl.getAuthorizeUrl(o,a);return _ue(e,l,s)}async function Zh(e,t,o,n,r,i){let s=await cF(t,o,n,r,i);po.addResponseType(s,Le.OAuthResponseType.CODE),po.addCodeChallengeParams(s,n.codeChallenge,n.codeChallengeMethod||Le.S256_CODE_CHALLENGE_METHOD),po.addExtraParameters(s,{...n.extraParameters});let a=new Map;po.addExtraParameters(a,n.extraQueryParameters||{}),po.addCorrelationId(a,n.correlationId);let l=cl.getAuthorizeUrl(o,a);return _ue(e,l,s)}function _ue(e,t,o){let n=e.createElement("form");return n.method="post",n.action=t,o.forEach((r,i)=>{let s=e.createElement("input");s.hidden=!0,s.name=i,s.value=r,n.appendChild(s)}),e.body.appendChild(n),n}async function yue(e,t,o,n,r,i,s,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw ue(NA);let u=new dl(a,l),p=new ed(n,r,u,a,s,n.system.navigationClient,o,l,c,t,i,e.correlationId),{userRequestState:m}=da.parseRequestState(u.base64Decode,e.state);return V(p.acquireToken.bind(p),LA,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function Pc(e,t,o,n,r,i,s,a,l,c,u,p){if(Tc.removeThrottle(s,r.auth.clientId,e),vue(t,e.correlationId,u),t.accountId)return V(yue,$O,c,u,e.correlationId)(e,t.accountId,n,r,s,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:o},g=new Qh(i,s,m,c,u);return await V(g.handleCodeResponse.bind(g),Tle,c,u,e.correlationId)(t,e,n)}async function Jh(e,t,o,n,r,i,s,a,l,c,u){if(Tc.removeThrottle(i,n.auth.clientId,e),vue(t,e.correlationId,c),cl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw ue(Gle);if(!e.earJwk)throw ue(BO);let p=JSON.parse(await V(Ice,Nle,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return V(yue,$O,l,c,e.correlationId)(e,p.accountId,o,n,i,s,a,l,c,u);let m=new pa(n.auth.clientId,i,new dl(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 V(m.handleServerTokenResponse.bind(m),vn.HandleServerTokenResponse,l,c,e.correlationId)(p,r,ei.nowSeconds(),e,o,g,void 0,void 0,void 0,void 0)}var xRe=32;async function ba(e,t,o){let n=Wo(TRe,Ile,t,e,o)(e,t,o),r=await V(kRe,Lle,t,e,o)(n,e,t,o);return{verifier:n,challenge:r}}function TRe(e,t,o){try{let n=new Uint8Array(xRe);return Wo(Ece,Rle,t,e,o)(n),ks(n)}catch{throw ue(HO)}}async function kRe(e,t,o,n){try{let r=await V(JO,jle,o,t,n)(e);return ks(new Uint8Array(r))}catch{throw ue(HO)}}var eP=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(hm,"failed_to_redirect"))},o.timeout)})}};var tP=class{async sendGetRequestAsync(t,o){let n,r={},i=0,s=xue(o);try{n=await fetch(t,{method:FO.GET,headers:s})}catch(a){throw dm(ue(window.navigator.onLine?lce:Ox),void 0,void 0,a)}r=Tue(n.headers);try{return i=n.status,{headers:r,body:await n.json(),status:i}}catch(a){throw dm(ue(GO),i,r,a)}}async sendPostRequestAsync(t,o){let n=o&&o.body||"",r=xue(o),i,s=0,a={};try{i=await fetch(t,{method:FO.POST,headers:r,body:n})}catch(l){throw dm(ue(window.navigator.onLine?ace:Ox),void 0,void 0,l)}a=Tue(i.headers);try{return s=i.status,{headers:a,body:await i.json(),status:s}}catch(l){throw dm(ue(GO),s,a,l)}}};function xue(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 dm(ue(vce),void 0,void 0,t)}}function Tue(e){try{let t={};return e.forEach((o,n)=>{t[n]=o}),t}catch{throw ue(_ce)}}var SRe=6e4,wRe=1e4,ERe=3e4,uF=2e3;function kue({auth:e,cache:t,system:o,experimental:n,telemetry:r},i){let s={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:Bu.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:Pn.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:Lt.Info,piiLoggingEnabled:!1},u={...{...gA,loggerOptions:l,networkClient:i?new tP:LO,navigationClient:new eP,popupBridgeTimeout:o?.popupBridgeTimeout||SRe,iframeBridgeTimeout:o?.iframeBridgeTimeout||wRe,redirectNavigationTimeout:ERe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:o?.nativeBrokerHandshakeTimeout||uF,protocolMode:lo.AAD},...o,loggerOptions:o?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new yc},m={iframeTimeoutTelemetry:!1};if(o?.protocolMode!==lo.OIDC&&e?.OIDCOptions&&new hn(u.loggerOptions).warning(JSON.stringify(Pt(Xr.cannotSetOIDCOptions)),""),o?.protocolMode&&o.protocolMode===lo.OIDC&&u?.allowPlatformBroker)throw Pt(Xr.cannotAllowPlatformBroker);return{auth:{...s,...e,OIDCOptions:{...s.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...n},telemetry:{...p,...r}}}var oP=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(Ale),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:Ri(),body:o};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(n);let r=await new Promise((s,a)=>{this.resolvers.set(n.responseId,{resolve:s,reject:a})});return this.validatePlatformBrokerResponse(r)}static async createProvider(t,o,n,r){t.trace("15zfnw",r);try{let i=new e(t,o,n,Er.PREFERRED_EXTENSION_ID);return await i.sendHandshakeRequest(r),i}catch{let s=new e(t,o,n);return await s.sendHandshakeRequest(r),s}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let o={channel:Er.CHANNEL_ID,extensionId:this.extensionId,responseId:Ri(),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(mce)),this.handshakeResolvers.delete(o.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let o=Ux();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(gce))}}onChannelMessage(t){let o=Ux();this.logger.trace("1py8yf",o);let n=t.data,r=this.resolvers.get(n.responseId),i=this.handshakeResolvers.get(n.responseId);try{let s=n.body.method;if(s===Rh.Response){if(!r)return;let a=n.body.response;if(this.logger.trace("19hpgm",o),this.logger.tracePii("179a24",o),a.status!=="Success")r.reject(_m(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?r.reject(_m(a.result.code,a.result.description,a.result.ext)):r.resolve(a.result);else throw bh(Gu.unexpectedError,"Event does not contain result.");this.resolvers.delete(n.responseId)}else if(s===Rh.HandshakeResponse){if(!i){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}),i.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(s){this.logger.error("0xf978",o),this.logger.errorPii("04i99o",o),this.logger.errorPii("0xdvsy",o),r?r.reject(s):i&&i.reject(s)}}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 bh(Gu.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 nP=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:i,redirectUri:s,correlationId:a,state:l,storeInCache:c,embeddedClientId:u,extraParameters:p,...m}=t,g=this.getDOMExtraParams(m,a);return{accountId:o,brokerId:this.getExtensionId(),authority:r,clientId:n,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:s,scope:i,state:l,storeInCache:c,embeddedClientId:u}}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),_m(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 bh(Gu.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,i]of Object.entries(t))i&&(typeof i=="object"?n[r]=JSON.stringify(i):n[r]=String(i));return n}catch{return this.logger.error("0eu9o3",o),this.logger.errorPii("17rpl5",o),{}}}};async function Sue(e,t,o,n){e.trace("134j0v",o);let r=CRe();e.trace("04c81g",o);let i;try{r&&(i=await nP.createProvider(e,t,o)),i||(e.trace("0l3na8",o),i=await oP.createProvider(e,n||uF,t,o))}catch(s){e.trace("0icbd7",s)}return i}function CRe(){let e;try{return e=window[Pn.SessionStorage],e?.getItem(Wce)==="true"}catch{return!1}}function Ic(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 rP=class extends ri{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,a,c,u),this.nativeStorage=l,this.eventHandler=i}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 i={...t,httpMethod:XA(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.acquireTokenPopupAsync(i,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,i=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,i)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(o,n,r,i))}catch(o){return Promise.reject(o)}}async acquireTokenPopupAsync(t,o,n){this.logger.verbose("1g77pg",this.correlationId);let r=await V(Ju,Yu,this.logger,this.performanceClient,this.correlationId)(t,Ge.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.popup&&BA(r.authority);let i=Ic(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return r.platformBroker=i,this.config.system.protocolMode===lo.EAR?this.executeEarFlow(r,o,n):this.executeCodeFlow(r,o,n)}async executeCodeFlow(t,o,n){let r=t.correlationId,i=Ho(Tt.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=n||await V(ba,fa,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),a={...t,codeChallenge:s.challenge};try{let l=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,r)({serverTelemetryManager:i,requestAuthority:a.authority,requestAzureCloudOptions:a.azureCloudOptions,requestExtraQueryParameters:a.extraQueryParameters,account:a.account});if(a.httpMethod===Le.HttpMethod.POST)return await this.executeCodeFlowWithPost(a,o,l,s.verifier);{let c=await V(Kh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,r)(this.config,l.authority,a,this.logger,this.performanceClient),u=this.initiateAuthRequest(c,o);this.eventHandler.emitEvent(We.POPUP_OPENED,r,Ge.Popup,{popupWindow:u},null);let p=await Zu(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=Wo(vm,gm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await V(Pc,Sc,this.logger,this.performanceClient,r)(t,m,s.verifier,Tt.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),i.cacheFailedRequest(l)),l}}async executeEarFlow(t,o,n){let{correlationId:r,authority:i,azureCloudOptions:s,extraQueryParameters:a,account:l}=t,c=await V(ni,ma,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,s,a,l),u=await V(Fh,Lh,this.logger,this.performanceClient,r)(),p=n||await V(ba,fa,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),m={...t,earJwk:u,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 v=await V(Zu,Ph,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=Wo(vm,gm,this.logger,this.performanceClient,this.correlationId)(v,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let x=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,r)({serverTelemetryManager:Ho(Tt.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 V(Pc,Sc,this.logger,this.performanceClient,r)(m,h,p.verifier,Tt.acquireTokenPopup,this.config,x,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return V(Jh,Ih,this.logger,this.performanceClient,r)(m,h,Tt.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,o,n,r){let i=t.correlationId,s=await V(ni,ma,this.logger,this.performanceClient,i)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=o.popup||this.openPopup("about:blank",o);(await Zh(a.document,this.config,s,t,this.logger,this.performanceClient)).submit();let c=await V(Zu,Ph,this.logger,this.performanceClient,i)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=Wo(vm,gm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return V(Pc,Sc,this.logger,this.performanceClient,i)(t,u,r,Tt.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(We.LOGOUT_START,this.correlationId,Ge.Popup,t);let i=Ho(Tt.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 s=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:n,account:t.account||void 0});try{s.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&s.authority.protocolMode===lo.OIDC){if(this.eventHandler.emitEvent(We.LOGOUT_SUCCESS,t.correlationId,Ge.Popup,t),r){let c={apiId:Tt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=xt.getAbsoluteUrl(r,Ss());await this.navigationClient.navigateInternal(u,c)}o.popup?.close();return}}let a=s.getLogoutUri(t);this.eventHandler.emitEvent(We.LOGOUT_SUCCESS,t.correlationId,Ge.Popup,t);let l=this.openPopup(a,o);if(this.eventHandler.emitEvent(We.POPUP_OPENED,t.correlationId,Ge.Popup,{popupWindow:l},null),await Zu(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),r){let c={apiId:Tt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=xt.getAbsoluteUrl(r,Ss());this.logger.verbose("0qcur2",this.correlationId),this.logger.verbosePii("0oj7lk",this.correlationId),await this.navigationClient.navigateInternal(u,c)}else this.logger.verbose("03zgcf",this.correlationId)}catch(s){throw o.popup?.close(),s instanceof ot&&(s.setCorrelationId(this.correlationId),i.cacheFailedRequest(s)),this.eventHandler.emitEvent(We.LOGOUT_FAILURE,this.correlationId,Ge.Popup,null,s),this.eventHandler.emitEvent(We.LOGOUT_END,this.correlationId,Ge.Popup),s}this.eventHandler.emitEvent(We.LOGOUT_END,this.correlationId,Ge.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(Xle);return n.focus&&n.focus(),this.currentWindow=n,n}catch{throw this.logger.error("0dxfb9",this.correlationId),ue(Jle)}}openSizedPopup(t,{popupName:o,popupWindowAttributes:n,popupWindowParent:r}){let i=r.screenLeft?r.screenLeft:r.screenX,s=r.screenTop?r.screenTop:r.screenY,a=r.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=r.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=n.popupSize?.width,u=n.popupSize?.height,p=n.popupPosition?.top,m=n.popupPosition?.left;return(!c||c<0||c>a)&&(this.logger.verbose("08vfmo",this.correlationId),c=_n.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=_n.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-_n.POPUP_HEIGHT/2+s)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-_n.POPUP_WIDTH/2+i)),r.open(t,o,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,o){return`${_n.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${o}.${this.correlationId}`}generateLogoutPopupName(t){let o=t.account&&t.account.homeAccountId;return`${_n.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${o}.${this.correlationId}`}};function ARe(){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 iP=class extends ri{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,a,c,u),this.nativeStorage=l}async acquireToken(t){let o=await V(Ju,Yu,this.logger,this.performanceClient,this.correlationId)(t,Ge.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.platformBroker=Ic(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let n=i=>{i.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(We.RESTORE_FROM_BFCACHE,this.correlationId,Ge.Redirect))},r=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(ko.ORIGIN_URI,r,!0),window.addEventListener("pageshow",n);try{this.config.system.protocolMode===lo.EAR?await this.executeEarFlow(o):await this.executeCodeFlow(o)}catch(i){throw i instanceof ot&&i.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",n),i}}async executeCodeFlow(t){let o=t.correlationId,n=Ho(Tt.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await V(ba,fa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),i={...t,codeChallenge:r.challenge};this.browserStorage.cacheAuthorizeRequest(i,this.correlationId,r.verifier);try{if(i.httpMethod===Le.HttpMethod.POST)return await this.executeCodeFlowWithPost(i);{let s=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:i.authority,requestAzureCloudOptions:i.azureCloudOptions,requestExtraQueryParameters:i.extraQueryParameters,account:i.account}),a=await V(Kh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,s.authority,i,this.logger,this.performanceClient);return await this.initiateAuthRequest(a)}}catch(s){throw s instanceof ot&&(s.setCorrelationId(this.correlationId),n.cacheFailedRequest(s)),s}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:r,extraQueryParameters:i,account:s}=t,a=await V(ni,ma,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,s),l=await V(Fh,Lh,this.logger,this.performanceClient,o)(),c=await V(ba,fa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge};return this.browserStorage.cacheAuthorizeRequest(u,this.correlationId,c.verifier),(await Wh(document,this.config,a,u,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(ue(hm,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let o=t.correlationId,n=await V(ni,ma,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await Zh(document,this.config,n,t,this.logger,this.performanceClient)).submit(),new Promise((i,s)=>{setTimeout(()=>{s(ue(hm,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,o,n,r){let i=Ho(Tt.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=r?.navigateToLoginRequestUrl??!0;try{let[a,l]=this.getRedirectResponse(r?.hash||"");if(!a)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),ARe()!=="back_forward"?n.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(ko.ORIGIN_URI,this.correlationId,!0)||"",u=xs.normalizeUrlForComparison(c),p=xs.normalizeUrlForComparison(window.location.href);if(u===p&&s)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&Dce(c),await this.handleResponse(a,t,o,i);if(s){if(!Fx()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(ko.URL_HASH,l,!0);let m={apiId:Tt.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=zce();this.browserStorage.setTemporaryCache(ko.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(a,t,o,i)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,o,i);return null}catch(a){throw a instanceof ot&&(a.setCorrelationId(this.correlationId),i.cacheFailedRequest(a)),a}}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=xs.getDeserializedResponse(o);if(n){try{aue(n,this.browserCrypto,Ge.Redirect)}catch(i){return i instanceof ot&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return qA(window),this.logger.verbose("00uvho",this.correlationId),[n,o]}let r=this.browserStorage.getTemporaryCache(ko.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ko.URL_HASH)),r&&(n=xs.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:s,azureCloudOptions:a,extraQueryParameters:l,account:c}=o;if(t.ear_jwe){let p=await V(ni,ma,this.logger,this.performanceClient,o.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,a,l,c);return V(Jh,Ih,this.logger,this.performanceClient,o.correlationId)(o,t,Tt.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let u=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:o.authority});return V(Pc,Sc,this.logger,this.performanceClient,o.correlationId)(o,t,n,Tt.acquireTokenRedirect,this.config,u,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:Tt.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=Ho(Tt.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(We.LOGOUT_START,this.correlationId,Ge.Redirect,t),await Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account);let r={apiId:Tt.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},i=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(i.authority.protocolMode===lo.OIDC)try{i.authority.endSessionEndpoint}catch{if(o.account?.homeAccountId){this.eventHandler.emitEvent(We.LOGOUT_SUCCESS,this.correlationId,Ge.Redirect,o);return}}let s=i.getLogoutUri(o);o.account?.homeAccountId&&this.eventHandler.emitEvent(We.LOGOUT_SUCCESS,this.correlationId,Ge.Redirect,o);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(s)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ha.SIGNOUT),await this.navigationClient.navigateExternal(s,r);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ha.SIGNOUT),await this.navigationClient.navigateExternal(s,r);return}}catch(r){throw r instanceof ot&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),this.eventHandler.emitEvent(We.LOGOUT_FAILURE,this.correlationId,Ge.Redirect,null,r),this.eventHandler.emitEvent(We.LOGOUT_END,this.correlationId,Ge.Redirect),r}this.eventHandler.emitEvent(We.LOGOUT_END,this.correlationId,Ge.Redirect)}getRedirectStartPage(t){let o=t||window.location.href;return xt.getAbsoluteUrl(o,Ss())}};async function wue(e,t,o,n){if(!e)throw o.info("1l7hyp",n),ue(Mh);return Wo(PRe,_le,o,t,n)(e)}async function Eue(e,t,o,n,r){let i=dF();if(!i.contentDocument)throw"No document associated with iframe!";return(await Zh(i.contentDocument,e,t,o,n,r)).submit(),i}async function Cue(e,t,o,n,r){let i=dF();if(!i.contentDocument)throw"No document associated with iframe!";return(await Wh(i.contentDocument,e,t,o,n,r)).submit(),i}function PRe(e){let t=dF();return t.src=e,t}function dF(){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 pF(e){document.body===e.parentNode&&document.body.removeChild(e)}var sP=class extends ri{constructor(t,o,n,r,i,s,a,l,c,u,p){super(t,o,n,r,i,s,l,u,p),this.apiId=a,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 V(Ju,Yu,this.logger,this.performanceClient,this.correlationId)(o,Ge.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return n.platformBroker=Ic(this.config,this.logger,this.correlationId,this.platformAuthProvider,n.authenticationScheme),BA(n.authority),this.config.system.protocolMode===lo.EAR?this.executeEarFlow(n):this.executeCodeFlow(n)}async executeCodeFlow(t){let o,n=Ho(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return o=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await V(this.silentTokenHelper.bind(this),DO,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!==_n.INVALID_GRANT_ERROR)throw r;return this.performanceClient.addFields({retryError:r.errorCode},this.correlationId),await V(this.silentTokenHelper.bind(this),DO,this.logger,this.performanceClient,this.correlationId)(o,t)}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:r,extraQueryParameters:i,account:s}=t,a=await V(ni,ma,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,s),l=await V(Fh,Lh,this.logger,this.performanceClient,o)(),c=await V(ba,fa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge},p=await V(Cue,jA,this.logger,this.performanceClient,o)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await V(Zu,Ph,this.logger,this.performanceClient,o)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{Wo(pF,zO,this.logger,this.performanceClient,o)(p)}let f=Wo(vm,gm,this.logger,this.performanceClient,o)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let v=await V(this.createAuthCodeClient.bind(this),ga,this.logger,this.performanceClient,o)({serverTelemetryManager:Ho(this.apiId,this.config.auth.clientId,o,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:a});return V(Pc,Sc,this.logger,this.performanceClient,o)(u,f,c.verifier,this.apiId,this.config,v,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return V(Jh,Ih,this.logger,this.performanceClient,o)(u,f,this.apiId,this.config,a,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 V(ba,fa,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),i={...o,codeChallenge:r.challenge},s;if(o.httpMethod===Le.HttpMethod.POST)s=await V(Eue,jA,this.logger,this.performanceClient,n)(this.config,t.authority,i,this.logger,this.performanceClient);else{let u=await V(Kh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,n)(this.config,t.authority,i,this.logger,this.performanceClient);s=await V(wue,jA,this.logger,this.performanceClient,n)(u,this.performanceClient,this.logger,n)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await V(Zu,Ph,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,o,this.performanceClient,this.config.experimental)}finally{Wo(pF,zO,this.logger,this.performanceClient,n)(s)}let c=Wo(vm,gm,this.logger,this.performanceClient,n)(l,a,this.logger,this.correlationId);return V(Pc,Sc,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 aP=class extends ri{async acquireToken(t){let o=await V(qx,Ah,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),n={...t,...o};t.redirectUri&&(n.redirectUri=bm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let r=Ho(Tt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=await this.createRefreshTokenClient({serverTelemetryManager:r,authorityUrl:n.authority,azureCloudOptions:n.azureCloudOptions,account:n.account});return V(i.acquireTokenByRefreshToken.bind(i),hle,this.logger,this.performanceClient,t.correlationId)(n,Tt.acquireTokenSilent_silentFlow).catch(s=>{throw s.setCorrelationId(this.correlationId),r.cacheFailedRequest(s),s})}logout(){return Promise.reject(ue($h))}async createRefreshTokenClient(t){let o=await V(this.getClientConfiguration.bind(this),Qu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new jx(o,this.performanceClient)}};var lP=class extends pm{constructor(t,o){super(t,o),this.includeRedirectUri=!1}};var cP=class extends ri{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw ue(cce);let o=await V(Ju,Yu,this.logger,this.performanceClient,this.correlationId)(t,Ge.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),n=Ho(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let r={...o,code:t.code},i=await V(this.getClientConfiguration.bind(this),Qu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:o.authority,requestAzureCloudOptions:o.azureCloudOptions,requestExtraQueryParameters:o.extraQueryParameters,account:o.account}),s=new lP(i,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new Qh(s,this.browserStorage,r,this.logger,this.performanceClient);return await V(a.handleCodeResponseFromServer.bind(a),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 Aue(e,t,o,n){let r=window.msal?.clientIds||[],i=r.length,s=r.filter(a=>a===e).length;s>1&&o.warning("1e88vg",n),t.add({msalInstanceCount:i,sameClientIdInstanceCount:s})}function uP(e,t,o,n){try{HA(e),Mx(o.auth.isMcp,n)}catch(r){throw t.end({success:!1},r,n.account),r}}var dP=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 dl(this.logger,this.performanceClient):qu,this.eventHandler=new JA(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)):eue(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(We.INITIALIZE_END,o);return}let n=this.config.system.allowPlatformBroker,r=this.performanceClient.startMeasurement(Bce,o);if(this.eventHandler.emitEvent(We.INITIALIZE_START,o),this.logMultipleInstances(r,o),r.add({isMcp:this.config.auth.isMcp}),await V(this.browserStorage.initialize.bind(this.browserStorage),vle,this.logger,this.performanceClient,o)(o),n)try{this.platformAuthProvider=await Sue(this.logger,this.performanceClient,o,this.config.system.nativeBrokerHandshakeTimeout)}catch(i){this.logger.verbose(i,o)}this.config.cache.cacheLocation===Pn.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(o),this.initialized=!0,this.eventHandler.emitEvent(We.INITIALIZE_END,o),r.end({allowPlatformBroker:n,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),rF(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===ha.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let n=this.getAllAccounts(),r=this.browserStorage.getCachedNativeRequest(),i=r&&this.platformAuthProvider&&!t?.hash,s,a;try{if(i&&this.platformAuthProvider){let l=r?.correlationId||"";this.eventHandler.emitEvent(We.HANDLE_REDIRECT_START,l,Ge.Redirect),s=this.performanceClient.startMeasurement(QA,l),this.logger.trace("12v7is",l);let c=new ed(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Tt.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,r.accountId,this.nativeInternalStorage,r.correlationId);a=V(c.handleRedirectPromise.bind(c),Cle,this.logger,this.performanceClient,s.event.correlationId)(this.performanceClient,s.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),u=l.correlationId;this.eventHandler.emitEvent(We.HANDLE_REDIRECT_START,u,Ge.Redirect),s=this.performanceClient.startMeasurement(QA,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=V(p.handleRedirectPromise.bind(p),Ele,this.logger,this.performanceClient,s.event.correlationId)(l,c,s,t)}}catch(l){throw this.browserStorage.resetRequestCache(""),l}return a.then(l=>(l?(this.browserStorage.resetRequestCache(l.correlationId),this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_SUCCESS,l.correlationId,Ge.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),n.length{this.browserStorage.resetRequestCache(s.event.correlationId);let c=l;throw this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,s.event.correlationId,Ge.Redirect,null,c),this.eventHandler.emitEvent(We.HANDLE_REDIRECT_END,s.event.correlationId,Ge.Redirect),s.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=i=>{let s=typeof r=="function"?r(i):void 0;return n.add({navigateCallbackResult:s!==!1}),n.event=n.end({success:!0},void 0,t.account)||n.event,s};try{iF(this.initialized,this.config),Mx(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,ha.SIGNIN),this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_START,o,Ge.Redirect,t);let i;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?i=new ed(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Tt.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,o).acquireTokenRedirect(t,n).catch(a=>{if(a instanceof ws&&Xu(a))return this.platformAuthProvider=void 0,this.createRedirectClient(o).acquireToken(t);if(a instanceof To)return this.logger.verbose("1ipyz4",o),this.createRedirectClient(o).acquireToken(t);throw a}):i=this.createRedirectClient(o).acquireToken(t),await i}catch(i){throw this.browserStorage.resetRequestCache(o),n.event.status===2?this.performanceClient.startMeasurement(QA,o).end({success:!1},i,t.account):n.end({success:!1},i,t.account),this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,o,Ge.Redirect,null,i),i}}acquireTokenPopup(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Uce,o);n.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",o),uP(this.initialized,n,this.config,t),this.browserStorage.setInteractionInProgress(!0,ha.SIGNIN,t.overrideInteractionInProgress,o)}catch(a){return Promise.reject(a)}let r=this.getAllAccounts();this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_START,o,Ge.Popup,t);let i,s=this.getPreGeneratedPkceCodes(o);return this.canUsePlatformBroker(t)?i=this.acquireTokenNative({...t,correlationId:o},Tt.acquireTokenPopup).then(a=>(n.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof ws&&Xu(a))return this.platformAuthProvider=void 0,this.createPopupClient(o).acquireToken(t,s);if(a instanceof To)return this.logger.verbose("0yy5fw",o),this.createPopupClient(o).acquireToken(t,s);throw a}):i=this.createPopupClient(o).acquireToken(t,s),i.then(a=>{let l=r.length(this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,o,Ge.Popup,null,a),n.end({success:!1},a,t.account),Promise.reject(a))).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(Hce,o),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),uP(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(We.ACQUIRE_TOKEN_START,o,Ge.Silent,n);let i;return this.canUsePlatformBroker(n)?i=this.acquireTokenNative(n,Tt.ssoSilent).catch(s=>{if(s instanceof ws&&Xu(s))return this.platformAuthProvider=void 0,this.createSilentIframeClient(n.correlationId).acquireToken(n);throw s}):i=this.createSilentIframeClient(n.correlationId).acquireToken(n),i.then(s=>{let a=r.length{throw this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,o,Ge.Silent,null,s),this.ssoSilentMeasurement?.end({success:!1},s,t.account),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let o=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",o);let n=this.performanceClient.startMeasurement(Fce,o);uP(this.initialized,n,this.config,t),this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_START,o,Ge.Silent,t),n.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw ue(dce);if(t.code){let r=t.code,i=this.hybridAuthCodeResponses.get(r);return i?(this.logger.verbose("0qgp28",o),n.discard()):(this.logger.verbose("06eh73",o),i=this.acquireTokenByCodeAsync({...t,correlationId:o}).then(s=>(this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_SUCCESS,o,Ge.Silent,s),this.hybridAuthCodeResponses.delete(r),n.end({success:!0,isNativeBroker:s.fromPlatformBroker,accessTokenSize:s.accessToken.length,idTokenSize:s.idToken.length},void 0,s.account),s)).catch(s=>{throw this.hybridAuthCodeResponses.delete(r),this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,o,Ge.Silent,null,s),n.end({success:!1},s),s}),this.hybridAuthCodeResponses.set(r,i)),await i}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let r=await this.acquireTokenNative({...t,correlationId:o},Tt.acquireTokenByCode,t.nativeAccountId).catch(i=>{throw i instanceof ws&&Xu(i)&&(this.platformAuthProvider=void 0),i});return n.end({success:!0},void 0,r.account),r}else throw ue(pce);else throw ue(uce)}catch(r){throw this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,o,Ge.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(wle,o),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(o).acquireToken(t).then(i=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:i.fromCache,isNativeBroker:i.fromPlatformBroker}),i)).catch(i=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},i),i}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,o){switch(o){case Kn.Default:case Kn.AccessToken:case Kn.AccessTokenAndRefreshToken:let n=this.createSilentCacheClient(t.correlationId);return V(n.acquireToken.bind(n),ple,this.logger,this.performanceClient,t.correlationId)(t);default:throw J(gn.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,o){switch(o){case Kn.Default:case Kn.AccessTokenAndRefreshToken:case Kn.RefreshToken:case Kn.RefreshTokenAndNetwork:let n=this.createSilentRefreshClient(t.correlationId);return V(n.acquireToken.bind(n),fle,this.logger,this.performanceClient,t.correlationId)(t);default:throw J(gn.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let o=this.createSilentIframeClient(t.correlationId);return V(o.acquireToken.bind(o),mle,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let o=this.getRequestCorrelationId(t);return iF(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,ha.SIGNOUT),this.createRedirectClient(o).logout(t)}logoutPopup(t){try{let o=this.getRequestCorrelationId(t);return HA(this.initialized),this.browserStorage.setInteractionInProgress(!0,ha.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 tue(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return oue(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){nue(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return rue(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,o){this.logger.verbose("16jycr",t.correlationId);let n=Ts.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(n,t.correlationId,dr.isKmsi(t.idTokenClaims),Tt.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 i=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",i),!this.platformAuthProvider)throw ue(NA);return new ed(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.platformAuthProvider,n||this.getNativeAccountId(t),this.nativeInternalStorage,i).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(!Ic(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 rP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new iP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new sP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Tt.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new Yh(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new aP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new cP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Tt.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,o){return this.eventHandler.addEventCallback(t,o)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return nF(),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?Ri():""}async loginRedirect(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",o),this.acquireTokenRedirect({correlationId:o,...t||UO})}loginPopup(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",o),this.acquireTokenPopup({correlationId:o,...t||UO})}async acquireTokenSilent(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Oce,o);n.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),uP(this.initialized,n,this.config,t),this.logger.verbose("0x1c4s",o);let r=t.account||this.getActiveAccount();if(!r)throw ue(rce);return this.acquireTokenSilentDeduped(t,r,o).then(i=>(n.end({success:!0,fromCache:i.fromCache,isNativeBroker:i.fromPlatformBroker,accessTokenSize:i.accessToken.length,idTokenSize:i.idToken.length},void 0,i.account),{...i,state:t.state,correlationId:o})).catch(i=>{throw i instanceof ot&&i.setCorrelationId(o),n.end({success:!1},i,r),i})}async acquireTokenSilentDeduped(t,o,n){let r=xc(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:n},o.homeAccountId),i=JSON.stringify(r),s=this.activeSilentTokenRequests.get(i);if(typeof s>"u"){this.logger.verbose("0fcjbk",n),this.performanceClient.addFields({deduped:!1},n);let a=V(this.acquireTokenSilentAsync.bind(this),cle,this.logger,this.performanceClient,n)({...t,correlationId:n},o);return this.activeSilentTokenRequests.set(i,a),a.finally(()=>{this.activeSilentTokenRequests.delete(i)})}else return this.logger.verbose("1yq7nb",n),this.performanceClient.addFields({deduped:!0},n),s}async acquireTokenSilentAsync(t,o){let n=a=>this.trackStateChange(t.correlationId,a);this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_START,t.correlationId,Ge.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(n);let r=await V(iue,ble,this.logger,this.performanceClient,t.correlationId)(t,o,this.config,this.performanceClient,this.logger),i=t.cacheLookupPolicy||Kn.Default;return this.acquireTokenSilentNoIframe(r,i).catch(async a=>{if(IRe(a,i)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(i!==Kn.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",r.correlationId);let m=this.performanceClient.startMeasurement(gle,r.correlationId);m.add({awaitIframeCorrelationId:p});let g=await u;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",r.correlationId),this.acquireTokenSilentNoIframe(r,i);throw this.logger.info("17y14q",r.correlationId),a}else return this.logger.warning("1bd4p8",r.correlationId),V(this.acquireTokenBySilentIframe.bind(this),MO,this.logger,this.performanceClient,r.correlationId)(r);else{let u;return this.activeIframeRequest=[new Promise(p=>{u=p}),r.correlationId],this.logger.verbose("0rh08z",r.correlationId),V(this.acquireTokenBySilentIframe.bind(this),MO,this.logger,this.performanceClient,r.correlationId)(r).then(p=>(u(!0),p)).catch(p=>{throw u(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw a}).then(a=>(this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_SUCCESS,t.correlationId,Ge.Silent,a),t.correlationId&&this.performanceClient.addFields({fromCache:a.fromCache,isNativeBroker:a.fromPlatformBroker},t.correlationId),a)).catch(a=>{throw this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_FAILURE,t.correlationId,Ge.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(n)})}async acquireTokenSilentNoIframe(t,o){return Ic(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,Tt.acquireTokenSilent_silentFlow,t.account.nativeAccountId,o).catch(async n=>{throw n instanceof ws&&Xu(n)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,J(gn.tokenRefreshRequired)):n})):(this.logger.verbose("0ox81t",t.correlationId),o===Kn.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),V(this.acquireTokenFromCache.bind(this),ale,this.logger,this.performanceClient,t.correlationId)(t,o).catch(n=>{if(o===Kn.AccessToken)throw n;return this.eventHandler.emitEvent(We.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Ge.Silent,t),V(this.acquireTokenByRefreshToken.bind(this),lle,this.logger,this.performanceClient,t.correlationId)(t,o)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await V(ba,fa,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),Aue(n,t,this.logger,o)}};function IRe(e,t){let o=!(e instanceof To&&e.subError!==ll.badToken),n=e.errorCode===_n.INVALID_GRANT_ERROR||e.errorCode===gn.tokenRefreshRequired,r=o&&n||e.errorCode===ll.noTokensFound||e.errorCode===ll.refreshTokenExpired,i=Ble.includes(t);return r&&i}var pP=class e{static loggerCallback(t,o){switch(t){case Lt.Error:console.error(o);return;case Lt.Info:console.info(o);return;case Lt.Verbose:console.debug(o);return;case Lt.Warning:console.warn(o);return;default:console.log(o);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=kue(t,this.browserEnvironment);let o;try{o=window[Pn.SessionStorage]}catch{}let n=o?.getItem(Yce),r=o?.getItem(Kce)?.toLowerCase(),i=r==="true"?!0:r==="false"?!1:void 0,s={...this.config.system.loggerOptions},a=n&&Object.keys(Lt).includes(n)?Lt[n]:void 0;a&&(s.loggerCallback=e.loggerCallback,s.logLevel=a),i!==void 0&&(s.piiLoggingEnabled=i),this.logger=new hn(s,Jce,Di),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var Xh=class e extends pP{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};Xh.MODULE_NAME="";Xh.ID="StandardOperatingContext";var Hx=class{constructor(t,o){this.controller=o||new dP(new Xh(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 put=Le.AuthenticationScheme,mut=Le.ResponseMode,gut=Le.PromptValue,fut=Le.JsonWebTokenTypes,hut=Le.OIDC_DEFAULT_SCOPES;async function Pue(e){let t={method:"POST",body:JSON.stringify(e)},o=await R(W(z.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var Iue;(function(e){Iue=e()})(function(){let e=function(){let o=0,n={};for(;o"u")return;if(arguments.length>1){if(s=e({path:"/"},n.defaults,s),typeof s.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+s.expires*864e5),s.expires=m}s.expires=s.expires?s.expires.toUTCString():"";try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch{}o.write?i=o.write(i,r):i=encodeURIComponent(String(i)).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 s)s[m]&&(p+="; "+m,s[m]!==!0&&(p+="="+s[m]));return document.cookie=r+"="+i+p}r||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let r=performance.now(),i=setInterval(()=>{let s=ii.get(e);s?(clearInterval(i),n(s)):performance.now()-r>=t&&(clearInterval(i),n(null))},200)})}var jue=!!window.matchMedia,eb=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),Ar=window.matchMedia("screen and (min-width: 1088px)"),Lc=window.matchMedia("screen and (min-width: 768px)"),Rue=window.matchMedia("screen and (max-width: 768px)"),Mue=window.matchMedia("print"),Due=window.matchMedia("(prefers-color-scheme: dark)"),$ue=window.matchMedia("(prefers-contrast: more)");var td="light",mP={light:{documentClass:"theme-light",name:"light",text:BZ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:GY,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:fZ,icon:"docon-clear-night"}},LRe=Object.keys(mP),zue=LRe.map(e=>mP[e].documentClass),ml=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function jRe(e,t,o){e.publish(new ml(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function RRe(e){let t=document.documentElement.classList;for(let o of zue)t.remove(o);t.add(mP[e].documentClass)}function MRe(e){return td=e}function Nue(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 DRe(e){se.setItem("theme",e)}function $Re(e=!1,t=!1){let o=se.getItem("theme");return o&&/^light|dark|high-contrast$/.test(o)?o:t?"high-contrast":e?"dark":"light"}function Oue(e){mF(dt,e)}function mF(e,t){let o=td;MRe(t),RRe(t),o!==t&&jRe(e,t,o)}async function Fue(e){let t=od();mF(e,t),zRe(e),await ke,Nue(t),window.setTheme=Oue}function od(e=Due.matches){let t=te();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let o=t.checkPrefersContrast==="true"&&$ue.matches;return $Re(e,o)}function zRe(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;Nue(n),DRe(n),mF(e,n)})}var Bx,que=new Promise(e=>Bx=e),ym,xm=new Promise(e=>ym=e),Hue,Bue=()=>Hue,Uue=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function Vue(){if(!S.cookieConsent)return;if(S.chromeless){ym(!0),Bx();return}let e=()=>ii.get("MSCC")!==void 0,t=F.WcpConsent;if(t===void 0||typeof t.init!="function"){ym(!1);return}await ke;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,i){if(r!==void 0){ym(!1);return}if(Hue=i,!i.isConsentRequired){ym(!0),Bx();return}let s=document.createElement("button");if(s.setAttribute("data-bi-name","manageCookies"),s.textContent=aJ,n.forEach(a=>{a.appendChild(s.cloneNode(!0)).addEventListener("click",()=>{i.manageConsent()}),a.hidden=!1}),o.hidden=!1,At(),Uue(i.getConsent())){ym(!0),Bx();return}ym(!1)},async function(r){if(Uue(r)){Bx(),Qa();return}if(await Pue({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"),F.location.href=F.location.pathname+F.location.search+F.location.hash;return}Qa()},td)}function Gue(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 Que(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 Yue="3PAdsOptOut";var gF=!1;function Kue(){let e=k.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",k.body.appendChild(e);let t=F.getComputedStyle(e).backgroundColor.toLowerCase();k.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(k.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",gF=!0)}var NRe={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 gP(e){let t=document.querySelectorAll("meta");for(let o=0;oA.isAuthenticated&&(A.authenticationMode==="MSA"||A.tenantId===Zr),pageViewPageTags:fP,pageActionPageTags:fP,contentUpdatePageTags:fP,pageActionContentTags:fP,userConsentDetailsCallback:Jue},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:S.thirdPartyDataSharingConsentFlag?FRe():null}},shareAuthStatus:!0,isLoggedIn:!1};gP(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(o),URe(e)}function fP(){return A.isAuthenticated?{"ext-app-user-id":`c:${A.userId}`}:{}}var nd=new Promise(e=>Wue=e);function FRe(){let e=HRe(),t=qRe(),o=!!navigator.globalPrivacyControl,n=ii.get(Yue)==="1";return!(e||t||o||n)}function URe(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=Jue}function Jue(){return Bue()?.getConsent()||null}function qRe(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function HRe(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var Se={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},So={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"},Vx={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},Tm=e=>{let t=e.closest(`[${So.name}]`);return t?t.getAttribute(So.name):""},Xue=()=>{nd.then(e=>{e.sku.getAuthExtension().signOut()})},ede=(e,t)=>{nd.then(o=>{let n=o.sku.getAuthExtension();if(!t){n.setAuthType(0);return}n.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},tde=e=>{nd.then(t=>t.extendCoreData(e))},Kt=(e,t)=>{nd.then(o=>o.ct.capturePageAction(e,t))},xe=e=>{nd.then(t=>t.ct.captureContentPageAction(e))},ode=e=>{nd.then(t=>t.ct.captureContentUpdate(e))},hP=e=>{nd.then(t=>t.ct.capturePageView(e||{}))};var bP,vP="undefined",TP="constructor",gl="prototype",kP="function",SP="_dynInstFuncs",bF="_isDynProxy",tb="_dynClass",BRe="_dynCls$",vF="_dynInstChk",Gx=vF,ade="_dfOpts",nde="_unknown_",xF="__proto__",_P="_dyn"+xF,rde="__dynProto$Gbl",fF="_dynInstProto",yP="useBaseInst",_F="setInstFuncs",CP=Object,Qx=CP.getPrototypeOf,ide=CP.getOwnPropertyNames;function VRe(){var e;return typeof globalThis!==vP&&(e=globalThis),!e&&typeof self!==vP&&(e=self),!e&&typeof window!==vP&&(e=window),!e&&typeof global!==vP&&(e=global),e||{}}var sde=VRe(),yF=sde[rde]||(sde[rde]={o:(bP={},bP[_F]=!0,bP[yP]=!0,bP),n:1e3});function jc(e,t){return e&&CP[gl].hasOwnProperty.call(e,t)}function xP(e){return e&&(e===CP[gl]||e===Array[gl])}function TF(e){return xP(e)||e===Function[gl]}function km(e){var t;if(e){if(Qx)return Qx(e);var o=e[xF]||e[gl]||(e[TP]?e[TP][gl]:null);t=e[_P]||o,jc(e,_P)||(delete e[fF],t=e[_P]=e[fF]||e[_P],e[fF]=o)}return t}function wP(e,t){var o=[];if(ide)o=ide(e);else for(var n in e)typeof n=="string"&&jc(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 QRe(e,t,o,n){function r(l,c,u){var p=c[u];if(p[bF]&&n){var m=l[SP]||{};m[Gx]!==!1&&(p=(m[c[tb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var i=ob();wP(o,function(l){i[l]=r(t,o,l)});for(var s=km(e),a=[];s&&!TF(s)&&!SF(a,s);)wP(s,function(l){!i[l]&&kF(s,l,!Qx)&&(i[l]=r(t,s,l))}),a.push(s),s=km(s);return i}function YRe(e,t,o,n){var r=null;if(e&&jc(o,tb)){var i=e[SP]||ob();if(r=(i[o[tb]]||ob())[t],r||EP("Missing ["+t+"] "+kP),!r[vF]&&i[Gx]!==!1){for(var s=!jc(e,t),a=km(e),l=[];s&&a&&!TF(a)&&!SF(l,a);){var c=a[t];if(c){s=c===n;break}l.push(a),a=km(a)}try{s&&(e[t]=r),r[vF]=1}catch{i[Gx]=!1}}}return r}function KRe(e,t,o){var n=t[e];return n===o&&(n=km(t)[e]),typeof n!==kP&&EP("["+e+"] is not a "+kP),n}function WRe(e,t,o,n,r){function i(l,c){var u=function(){var p=YRe(this,c,l,u)||KRe(c,l,u);return p.apply(this,arguments)};return u[bF]=1,u}if(!xP(e)){var s=o[SP]=o[SP]||ob();if(!xP(s)){var a=s[t]=s[t]||ob();s[Gx]!==!1&&(s[Gx]=!!r),xP(a)||wP(o,function(l){kF(o,l,!1)&&o[l]!==n[l]&&(a[l]=o[l],delete o[l],(!jc(e,l)||e[l]&&!e[l][bF])&&(e[l]=i(e,l)))})}}}function ZRe(e,t){if(Qx){for(var o=[],n=km(t);n&&!TF(n)&&!SF(o,n);){if(n===e)return!0;o.push(n),n=km(n)}return!1}return!0}function hF(e,t){return jc(e,gl)?e.name||t||nde:((e||{})[TP]||{}).name||t||nde}function ct(e,t,o,n){jc(e,gl)||EP("theClass is an invalid class definition.");var r=e[gl];ZRe(r,t)||EP("["+hF(e)+"] not in hierarchy of ["+hF(t)+"]");var i=null;jc(r,tb)?i=r[tb]:(i=BRe+hF(e,"_")+"$"+yF.n,yF.n++,r[tb]=i);var s=ct[ade],a=!!s[yP];a&&n&&n[yP]!==void 0&&(a=!!n[yP]);var l=GRe(t),c=QRe(r,t,l,a);o(t,c);var u=!!Qx&&!!s[_F];u&&n&&(u=!!n[_F]),WRe(r,i,t,l,u!==!1)}ct[ade]=yF.o;var Es="function",si="object",ai="undefined",wo="prototype",Yx="hasOwnProperty";var $i=Object,nb=$i[wo],rb=$i.assign,AP=$i.create,ib=$i.defineProperty,fl=nb[Yx];var lde=null;function Cs(e){e===void 0&&(e=!0);var t=e===!1?null:lde;return t||(typeof globalThis!==ai&&(t=globalThis),!t&&typeof self!==ai&&(t=self),!t&&typeof window!==ai&&(t=window),!t&&typeof global!==ai&&(t=global),lde=t),t}function sb(e){throw new TypeError(e)}function ab(e){var t=AP;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==si&&o!==Es&&sb("Object prototype may only be an Object:"+e);function n(){}return n[wo]=e,new n}var mdt=(Cs()||{}).Symbol,gdt=(Cs()||{}).Reflect;var XRe=function(e){for(var t,o=1,n=arguments.length;o=n&&!(o=e===t)){for(var i=r-1,s=n-1;s>=0;s--){if(e[i]!=t[s])return!1;i--}o=!0}return o}function xn(e,t){return e&&t?e[sd](t)!==-1:!1}var kt=sMe||pMe;function pMe(e){return!!(e&&yde[yn](e)==="[object Array]")}function Mm(e){return!!(e&&yde[yn](e)==="[object Error]")}function qe(e){return typeof e=="string"}function nT(e){return typeof e=="number"}function Tde(e){return typeof e=="boolean"}function fde(e){var t=!1;if(e&&typeof e=="object"){var o=FP?FP(e):$F(e);o?(o[OP]&&fl[yn](o,OP)&&(o=o[OP]),t=typeof o===Es&&xde[yn](o)===aMe):t=!0}return t}function Fi(e){if(e)return iMe?e[bde]():mMe(e)}function mMe(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 je(e,t,o){var n=e[Xe];try{for(var r=0;r=0?r:n-Math.abs(r),0);i=3)n=arguments[2];else{for(;i0&&Tde(a)&&(c=a,a=s[u]||{},u++),gr(a)||(a={});u=g&&(l[T](_[rd]),n[P]=!0)}else r>=g&&l[T](_[rd]);c(g,_)}},l[oT]=function(g){Ide("warn",g),m("warning",g)},l[NP]=function(g){Ide("error",g),m("error",g)},l.resetInternalMessageCount=function(){o=0,n={}},l[AF]=c;function c(g,f){if(!p()){var v=!0,h=IMe+f[cb];if(n[h]?v=!1:n[h]=!0,v&&(g<=i&&(l.queue[vt](f),o++,m(g===1?"error":"warn",f)),o===s)){var x="Internal events throttle limit per PageView reached for this app.",_=new $c(23,x,!1);l.queue[vt](_),g===1?l[NP](x):l[oT](x)}}}function u(g){r=Ui(g.loggingLevelConsole,0),i=Ui(g.loggingLevelTelemetry,1),s=Ui(g.maxMessageLimit,25),a=Ui(g.enableDebug,Ui(g[CF],!1))}function p(){return o>=s}function m(g,f){var v=tU(t||{});v&&v[As]&&v[As](g,f)}})}return e.__ieDyn=1,e}();function oU(e){return e||new zm}function _e(e,t,o,n,r,i){i===void 0&&(i=!1),oU(e).throwInternal(t,o,n,r,i)}function js(e,t){oU(e)[oT](t)}function nU(e,t,o){oU(e)[AF](t,o)}var kb="ctx",iU="ParentContextKey",rT="ChildrenContextKey",LMe=null,iT=function(){function e(t,o,n){var r=this,i=!1;if(r.start=Mn(),r[mr]=t,r[xa]=n,r[Jx]=function(){return!1},Qe(o)){var s;i=Is(r,"payload",function(){return!s&&Qe(o)&&(s=o(),o=null),s})}r[Lm]=function(a){return a?a===e[iU]||a===e[rT]?r[a]:(r[kb]||{})[a]:null},r[ka]=function(a,l){if(a)if(a===e[iU])r[a]||(r[Jx]=function(){return!0}),r[a]=l;else if(a===e[rT])r[a]=l;else{var c=r[kb]=r[kb]||{};c[a]=l}},r[$P]=function(){var a=0,l=r[Lm](e[rT]);if(kt(l))for(var c=0;c>>=0),sT=123456789+e&Nm,aT=987654321-e&Nm,jde=!0}function RMe(){try{var e=Mn()&2147483647;jMe((Math.random()*Lde^e)+e)}catch{}}function Om(e){var t=0,o=ZF()||JF();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&Nm),t===0&&xb()&&(jde||RMe(),t=lU()&Nm),t===0&&(t=Math.floor(Lde*Math.random()|0)),e||(t>>>=0),t}function lU(e){aT=36969*(aT&65535)+(aT>>16)&Nm,sT=18e3*(sT&65535)+(sT>>16)&Nm;var t=(aT<<16)+(sT&65535)>>>0&Nm|0;return e||(t>>>=0),t}function zc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Om()>>>0,n=0,r=ft;r[Xe]>>=6,n===5&&(o=(Om()<<2&4294967295|o&3)>>>0,n=0);return r}var Rde=ib,Mde="2.8.13",MMe="."+zc(6),DMe=0;function $Me(e,t,o){if(Rde)try{return Rde(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function Dde(e){return e[RP]===1||e[RP]===9||!+e[RP]}function zMe(e,t){var o=t[e.id];if(!o){o={};try{Dde(t)&&($Me(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function Wn(e,t){return t===void 0&&(t=!1),Rm(e+DMe+++(t?"."+Mde:ft)+MMe)}function WP(e){var t={id:Wn("_aiData-"+(e||ft)+"."+Mde),accept:function(o){return Dde(o)},get:function(o,n,r,i){var s=o[t.id];return s?s[Rm(n)]:(i&&(s=zMe(t,o),s[Rm(n)]=r),r)},kill:function(o,n){if(o&&o[n])try{delete o[n]}catch{}}};return t}var $de="toGMTString",zde="toUTCString",mU="cookie",cU="expires",dU="enabled",Nde="isCookieUseDisabled",Ode="disableCookiesUsage",md="_ckMgr",ZP=null,uU=null,Fde=null,lT=Go(),Ude={},XP={};function NMe(e,t){var o=Fm[md]||XP[md];return o||(o=Fm[md]=Fm(e,t),XP[md]=o),o}function JP(e){return e?e.isEnabled():!0}function OMe(e){var t=e[jP]=e[jP]||{};if(Dt(t,"domain",e.cookieDomain,zF,ce),Dt(t,"path",e.cookiePath||"/",null,ce),ce(t[dU])){var o=void 0;mo(e[Nde])||(o=!e[Nde]),mo(e[Ode])||(o=!e[Ode]),t[dU]=o}return t}function Vde(e,t){return t&&e&&kt(e.ignoreCookies)?e.ignoreCookies[sd](t)!==-1:!1}function FMe(e,t){return t&&e&&kt(e.blockedCookies)&&e.blockedCookies[sd](t)!==-1?!0:Vde(e,t)}function Um(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var n=t[jP];n[md]?o=n[md]:o=Fm(t)}return o||(o=NMe(t,(e||{})[jn])),o}function Fm(e,t){var o,n=OMe(e||XP),r=n.path||"/",i=n.domain,s=n[dU]!==!1,a=(o={isEnabled:function(){var l=s&&pU(t),c=XP[md];return l&&c&&a!==c&&(l=JP(c)),l}},o[Zx]=function(l){s=l!==!1},o.set=function(l,c,u,p,m){var g=!1;if(JP(a)&&!FMe(n,l)){var f={},v=Vo(c||ft),h=v[sd](";");if(h!==-1&&(v=Vo(c[db](0,h)),f=Gde(c[db](h+1))),Dt(f,"domain",p||i,bb,mo),!ce(u)){var x=xb();if(mo(f[cU])){var _=Mn(),T=_+u*1e3;if(T>0){var P=new Date;P.setTime(T),Dt(f,cU,qde(P,x?$de:zde)||qde(P,x?$de:zde)||ft,bb)}}x||Dt(f,"max-age",ft+u,null,mo)}var E=ui();E&&E.protocol==="https:"&&(Dt(f,"secure",null,null,mo),uU===null&&(uU=!gU((Pr()||{})[pb])),uU&&Dt(f,"SameSite","None",null,mo)),Dt(f,"path",m||r,null,mo);var B=n.setCookie||Bde;B(l,Hde(v,f)),g=!0}return g},o.get=function(l){var c=ft;return JP(a)&&!Vde(n,l)&&(c=(n.getCookie||UMe)(l)),c},o.del=function(l,c){var u=!1;return JP(a)&&(u=a.purge(l,c)),u},o.purge=function(l,c){var u,p=!1;if(pU(t)){var m=(u={},u.path=c||"/",u[cU]="Thu, 01 Jan 1970 00:00:01 GMT",u);xb()||(m["max-age"]="0");var g=n.delCookie||Bde;g(l,Hde(ft,m)),p=!0}return p},o);return a[md]=a,a}function pU(e){if(ZP===null){ZP=!1;try{var t=lT||{};ZP=t[mU]!==void 0}catch(o){_e(e,2,68,"Cannot access document.cookie - "+bt(o),{exception:Me(o)})}}return ZP}function Gde(e){var t={};if(e&&e[Xe]){var o=Vo(e)[ad](";");je(o,function(n){if(n=Vo(n||ft),n){var r=n[sd]("=");r===-1?t[n]=null:t[Vo(n[db](0,r))]=Vo(n[db](r+1))}})}return t}function qde(e,t){return Qe(e[t])?e[t]():null}function Hde(e,t){var o=e||ft;return St(t,function(n,r){o+="; "+n+(ce(r)?ft:"="+r)}),o}function UMe(e){var t=ft;if(lT){var o=lT[mU]||ft;Fde!==o&&(Ude=Gde(o),Fde=o),t=Vo(Ude[e]||ft)}return t}function Bde(e,t){lT&&(lT[mU]=e+"="+t)}function gU(e){return qe(e)?!!(xn(e,"CPU iPhone OS 12")||xn(e,"iPad; CPU OS 12")||xn(e,"Macintosh; Intel Mac OS X 10_14")&&xn(e,"Version/")&&xn(e,"Safari")||xn(e,"Macintosh; Intel Mac OS X 10_14")&&NF(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||xn(e,"Chrome/5")||xn(e,"Chrome/6")||xn(e,"UnrealEngine")&&!xn(e,"Chrome")||xn(e,"UCBrowser/12")||xn(e,"UCBrowser/11")):!1}var Xde="on",Qde="attachEvent",Yde="addEventListener",Kde="detachEvent",Wde="removeEventListener",fU="events",hU="visibilitychange",nI="pagehide";var epe="unload",tpe="beforeunload",ope=Wn("aiEvtPageHide"),Rpt=Wn("aiEvtPageShow"),qMe=/\.[\.]+/g,HMe=/[\.]+$/,BMe=1,eI=WP("events"),VMe=/^([^.]*)(?:\.(.+)|)/;function Zde(e){return e&&e[Ta]?e[Ta](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,ft):e}function bU(e,t){var o;if(t){var n=ft;kt(t)?(n=ft,je(t,function(i){i=Zde(i),i&&(i[0]!=="."&&(i="."+i),n+=i)})):n=Zde(t),n&&(n[0]!=="."&&(n="."+n),e=(e||ft)+n)}var r=VMe.exec(e||ft)||[];return o={},o[vl]=r[1],o.ns=(r[2]||ft).replace(qMe,".").replace(HMe,ft)[ad](".").sort().join("."),o}function npe(e,t,o){o===void 0&&(o=!0);var n=eI.get(e,fU,{},o),r=n[t];return r||(r=n[t]=[]),r}function rpe(e,t,o,n){e&&t&&t[vl]&&(e[Wde]?e[Wde](t[vl],o,n):e[Kde]&&e[Kde](Xde+t[vl],o))}function GMe(e,t,o,n){var r=!1;return e&&t&&t[vl]&&o&&(e[Yde]?(e[Yde](t[vl],o,n),r=!0):e[Qde]&&(e[Qde](Xde+t[vl],o),r=!0)),r}function Jde(e,t,o,n){for(var r=t[Xe];r--;){var i=t[r];i&&(!o.ns||o.ns===i.evtName.ns)&&(!n||n(i))&&(rpe(e,i.evtName,i[DP],i.capture),t[ya](r,1))}}function QMe(e,t,o){if(t[vl])Jde(e,npe(e,t[vl]),t,o);else{var n=eI.get(e,fU,{});St(n,function(r,i){Jde(e,i,t,o)}),ci(n)[Xe]===0&&eI.kill(e,fU)}}function Hi(e,t){var o;return t?(kt(t)?o=[e].concat(t):o=[e,t],o=bU("xx",o).ns[ad](".")):o=e,o}function Rs(e,t,o,n,r){var i;r===void 0&&(r=!1);var s=!1;if(e)try{var a=bU(t,n);if(s=GMe(e,a,o,r),s&&eI.accept(e)){var l=(i={guid:BMe++,evtName:a},i[DP]=o,i.capture=r,i);npe(e,a.type)[vt](l)}}catch{}return s}function gd(e,t,o,n,r){if(r===void 0&&(r=!1),e)try{var i=bU(t,n),s=!1;QMe(e,i,function(a){return i.ns&&!o||a[DP]===o?(s=!0,!0):!1}),s||rpe(e,i,o,r)}catch{}}function ipe(e,t,o){var n=!1,r=qi();r&&(n=Rs(r,e,t,o),n=Rs(r.body,e,t,o)||n);var i=Go();return i&&(n=Rs(i,e,t,o)||n),n}function spe(e,t,o){var n=qi();n&&(gd(n,e,t,o),gd(n.body,e,t,o));var r=Go();r&&gd(r,e,t,o)}function tI(e,t,o,n){var r=!1;return t&&e&&e[Xe]>0&&je(e,function(i){i&&(!o||Rn(o,i)===-1)&&(r=ipe(i,t,n)||r)}),r}function ape(e,t,o,n){var r=!1;return t&&e&&kt(e)&&(r=tI(e,t,o,n),!r&&o&&o[Xe]>0&&(r=tI(e,t,null,n))),r}function oI(e,t,o){e&&kt(e)&&je(e,function(n){n&&spe(n,t,o)})}function vU(e,t,o){return ape([tpe,epe,nI],e,t,o)}function _U(e,t){oI([tpe,epe,nI],e,t)}function cT(e,t,o){function n(s){var a=Go();e&&a&&a.visibilityState==="hidden"&&e(s)}var r=Hi(ope,o),i=tI([nI],e,t,r);return(!t||Rn(t,hU)===-1)&&(i=tI([hU],n,t,r)||i),!i&&t&&(i=cT(e,null,o)),i}function yU(e,t){var o=Hi(ope,t);oI([nI],e,o),oI([hU],null,o)}function di(){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=Om(),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+(Om()&3)|0];return t[ld](0,8)+t[ld](9,4)+"4"+t[ld](13,3)+r+t[ld](16,3)+t[ld](19,12)}var xU="00",WMe="ff",cpe="00000000000000000000000000000000",upe="0000000000000000";function uT(e,t,o){return e&&e[Xe]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function lpe(e,t,o){return uT(e,t)?e:o}function ZMe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[Xe]<2;)t="0"+t;return t}function dT(e,t,o,n){var r;return r={},r[PF]=uT(n,2,WMe)?n:xU,r[Xx]=qm(e)?e:di(),r.spanId=Hm(t)?t:di()[ld](0,16),r.traceFlags=o>=0&&o<=255?o:1,r}function qm(e){return uT(e,32,cpe)}function Hm(e){return uT(e,16,upe)}function pT(e){if(e){var t=ZMe(e[eT]);uT(t,2)||(t="01");var o=e[PF]||xU;return o!=="00"&&o!=="ff"&&(o=xU),"".concat(o,"-").concat(lpe(e.traceId,32,cpe),"-").concat(lpe(e.spanId,16,upe),"-").concat(t)}return""}var JMe=WP("plugin");function Nc(e){return JMe.get(e,"state",{},!0)}function rI(e,t){for(var o=[],n=null,r=e[Oi](),i;r;){var s=r[Am]();if(s){n&&Qe(n[id])&&Qe(s[li])&&n[id](s);var a=!1;Qe(s[zi])?a=s[zi]():(i=Nc(s),a=i[zi]),a||o[vt](s),n=s,r=r[Oi]()}}je(o,function(l){var c=e[Eo]();l[va](e.getCfg(),c,t,e[Oi]()),i=Nc(l),!l[Eo]&&!i[Eo]&&(i[Eo]=c),i[zi]=!0,delete i[Ni]})}function iI(e){return e.sort(function(t,o){var n=0;if(o){var r=Qe(o[li]);Qe(t[li])?n=r?t[Ps]-o[Ps]:1:r&&(n=-1)}else n=t?1:-1;return n})}function dpe(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),qm(o)&&(t[Xx]=o)},getSpanId:function(){return t[zP]},setSpanId:function(o){e&&e.setSpanId(o),Hm(o)&&(t[zP]=o)},getTraceFlags:function(){return t[eT]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[eT]=o}}}var XMe="TelemetryPluginChain",ppe="_hasRun",mpe="_getTelCtx",gpe=0;function eDe(e,t,o){for(;e;){if(e[Am]()===o)return e;e=e[Oi]()}return yl([o],t[hl]||{},t)}function TU(e,t,o,n){var r=null,i=[];n!==null&&(r=n?eDe(e,o,n):e);var s={_next:l,ctx:{core:function(){return o},diagLog:function(){return wa(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:u,hasNext:function(){return!!r},getNext:function(){return r},setNext:function(m){r=m},iterate:p,onComplete:a}};function a(m,g){for(var f=[],v=2;v0&&(je(g,function(f){try{f.func[yn](f.self,f.args)}catch(v){_e(o[jn],2,73,"Unexpected Exception during onComplete - "+Me(v))}}),i=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var v;if(t){var h=t[mb];h&&m&&(v=h[m])}if(!v)v=g;else if(gr(g)&&f!==0){var x=_b(!0,g,v);t&&f===2&&St(g,function(_){if(ce(x[_])){var T=t[_];ce(T)||(x[_]=T)}}),v=x}return v}function u(m,g,f){f===void 0&&(f=!1);var v,h=c(m,null);return h&&!ce(h[g])?v=h[g]:t&&!ce(t[g])&&(v=t[g]),ce(v)?f:v}function p(m){for(var g;g=s._next();){var f=g[Am]();f&&m(f)}}return s}function Zn(e,t,o,n){var r=TU(e,t,o,n),i=r.ctx;function s(l){var c=r._next();return c&&c[li](l,i),!c}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=yl(l,t,o,c)),Zn(l||i[Oi](),t,o,c)}return i[ro]=s,i[Rc]=a,i}function Sb(e,t,o){var n=t[hl]||{},r=TU(e,n,t,o),i=r.ctx;function s(l){var c=r._next();return c&&c.unload(i,l),!c}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=yl(l,n,t,c)),Sb(l||i[Oi](),t,c)}return i[ro]=s,i[Rc]=a,i}function mT(e,t,o){var n=t[hl]||{},r=TU(e,n,t,o),i=r.ctx;function s(l){return i.iterate(function(c){Qe(c[Pm])&&c[Pm](i,l)})}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=yl(l,n,t,c)),mT(l||i[Oi](),t,c)}return i[ro]=s,i[Rc]=a,i}function yl(e,t,o,n){var r=null,i=!n;if(kt(e)&&e[Xe]>0){var s=null;je(e,function(a){if(!i&&n===a&&(i=!0),i&&a&&Qe(a[li])){var l=tDe(a,t,o);r||(r=l),s&&s._setNext(l),s=l}})}return n&&!r?yl([n],t,o):r}function tDe(e,t,o){var n=null,r=Qe(e[li]),i=Qe(e[id]),s;e?s=e[_a]+"-"+e[Ps]+"-"+gpe++:s="Unknown-0-"+gpe++;var a={getPlugin:function(){return e},getNext:function(){return n},processTelemetry:u,unload:p,update:m,_id:s,_setNext:function(g){n=g}};function l(){var g;return e&&Qe(e[mpe])&&(g=e[mpe]()),g||(g=Zn(a,t,o)),g}function c(g,f,v,h,x){var _=!1,T=e?e[_a]:XMe,P=g[ppe];return P||(P=g[ppe]={}),g.setNext(n),e&&pd(g[Eo](),function(){return T+":"+v},function(){P[s]=!0;try{var E=n?n._id:ft;E&&(P[E]=!1),_=f(g)}catch(N){var B=n?P[n._id]:!0;B&&(_=!0),(!n||!B)&&_e(g[As](),1,73,"Plugin ["+T+"] failed during "+v+" - "+Me(N)+", run flags: "+Me(P))}},h,x),_}function u(g,f){f=f||l();function v(h){if(!e||!r)return!1;var x=Nc(e);return x[Ni]||x[tT]?!1:(i&&e[id](n),e[li](g,h),!0)}c(f,v,"processTelemetry",function(){return{item:g}},!g.sync)||f[ro](g)}function p(g,f){function v(){var h=!1;if(e){var x=Nc(e),_=e[Eo]||x[Eo];e&&(!_||_===g.core())&&!x[Ni]&&(x[Eo]=null,x[Ni]=!0,x[zi]=!1,e[Ni]&&e[Ni](g,f)===!0&&(h=!0))}return h}c(g,v,"unload",function(){},f[xa])||g[ro](f)}function m(g,f){function v(){var h=!1;if(e){var x=Nc(e),_=e[Eo]||x[Eo];e&&(!_||_===g.core())&&!x[Ni]&&e[Pm]&&e[Pm](g,f)===!0&&(h=!0)}return h}c(g,v,"update",function(){},!1)||g[ro](f)}return _l(a)}var gT=500,oDe="Channel has invalid priority - ";function fpe(e,t,o){t&&kt(t)&&t[Xe]>0&&(t=t.sort(function(n,r){return n[Ps]-r[Ps]}),je(t,function(n){n[Ps]0&&je(c,function(v){if(v&&v.queue[Xe]>0){var h=v.chain,x=u[Rc](h);x[Cm](f),p(x)}else g--}),f()}function r(c,u){var p=u||{reason:0};return n(e,c,function(m){m[ro](p)},function(){c[ro](p)}),!0}function i(c,u){var p=u||{reason:0,isAsync:!1};return n(e,c,function(m){m[ro](p)},function(){c[ro](p),a=!1}),!0}function s(c){var u=null;return e&&e[Xe]>0&&je(e,function(p){if(p&&p.queue[Xe]>0&&(je(p.queue,function(m){if(m[_a]===c)return u=m,-1}),u))return-1}),u}var a=!1,l={identifier:"ChannelControllerPlugin",priority:gT,initialize:function(c,u,p,m){a=!0,je(e,function(g){g&&g.queue[Xe]>0&&rI(Zn(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){n(e,u||o(),function(p){p[ro](c)},function(){u[ro](c)})},update:r,pause:function(){n(e,o(),function(c){c.iterate(function(u){u.pause&&u.pause()})},null)},resume:function(){n(e,o(),function(c){c.iterate(function(u){u.resume&&u.resume()})},null)},teardown:i,getChannel:s,flush:function(c,u,p,m){var g=1,f=!1,v=null;m=m||5e3;function h(){g--,f&&g===0&&(v&&(clearTimeout(v),v=null),u&&u(f),u=null)}return n(e,o(),function(x){x.iterate(function(_){if(_[lb]){g++;var T=!1;_[lb](c,function(){T=!0,h()},p)||T||(c&&v==null?v=setTimeout(function(){v=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function bpe(e,t,o){var n=[];if(e&&je(e,function(i){return fpe(n,i,o)}),t){var r=[];je(t,function(i){i[Ps]>gT&&r[vt](i)}),fpe(n,r,o)}return n}function sI(){var e=[];function t(n){n&&e[vt](n)}function o(n,r){je(e,function(i){try{i(n,r)}catch(s){_e(n[As](),2,73,"Unexpected error calling unload handler - "+Me(s))}}),e=[]}return{add:t,run:o}}var fd="getPlugin",Ea=function(){function e(){var t=this,o,n,r,i,s;c(),ct(e,t,function(u){u[va]=function(p,m,g,f){l(p,m,f),o=!0},u[Ni]=function(p,m){var g,f=u[Eo];if(!f||p&&f!==p[Eo]())return;var v,h=!1,x=p||Sb(null,f,r&&r[fd]?r[fd]():r),_=m||(g={reason:0},g[xa]=!1,g);function T(){if(!h){h=!0,i.run(x,m);var P=s;s=[],je(P,function(E){E.rm()}),v===!0&&x[ro](_),c()}}return!u[ub]||u[ub](x,_,T)!==!0?T():v=!0,v},u[Pm]=function(p,m){var g=u[Eo];if(!g||p&&g!==p[Eo]())return;var f,v=!1,h=p||mT(null,g,r&&r[fd]?r[fd]():r),x=m||{reason:0};function _(){v||(v=!0,l(h.getCfg(),h.core(),h[Oi]()))}return!u._doUpdate||u._doUpdate(h,x,_)!==!0?_():f=!0,f},u._addHook=function(p){p&&(kt(p)?s=s.concat(p):s[vt](p))},vb(u,"_addUnloadCb",function(){return i},"add")}),t[As]=function(u){return a(u)[As]()},t[zi]=function(){return o},t.setInitialized=function(u){o=u},t[id]=function(u){r=u},t[ro]=function(u,p){p?p[ro](u):r&&Qe(r[li])&&r[li](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=n||Zn(null,{},t[Eo]);r&&r[fd]?p=m[Rc](null,r[fd]):p=m[Rc](null,r)}return p}function l(u,p,m){u&&Dt(u,mb,[],null,ce),!m&&p&&(m=p[LP]()[Oi]());var g=r;r&&r[fd]&&(g=r[fd]()),t[Eo]=p,n=Zn(m,u,p,g)}function c(){o=!1,t[Eo]=null,n=null,r=null,s=[],i=sI()}}return e.__ieDyn=1,e}();var vpe=function(e){Ln(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var n,r;i(),ct(t,o,function(s,a){s.addTelemetryInitializer=function(l){var c={id:n++,fn:l};r[vt](c);var u={remove:function(){je(r,function(p,m){if(p.id===c.id)return r[ya](m,1),-1})}};return u},s[li]=function(l,c){for(var u=!1,p=r[Xe],m=0;m0){var D=n;n=[],je(D,function(ee){ae()[ro](ee)})}},N.pollInternalLogs=function(D){return h=D||null,B=!1,E&&(clearInterval(E),E=null),de(!0)};function de(D){if(!E&&!B){var ee=D||N[jn]&&N[jn].queue[Xe]>0;if(ee){var fe=Ui(t.diagnosticLogInterval);(!fe||!(fe>0))&&(fe=1e4),E=setInterval(function(){clearInterval(E),E=0,Jt()},fe)}}return E}N[EF]=function(){B=!0,E&&(clearInterval(E),E=0,Jt())},Mc(N,function(){return v},["addTelemetryInitializer"]),N.unload=function(D,ee,fe){var I;D===void 0&&(D=!0),o||Co(nDe),f&&Co(ype);var Q=(I={reason:50},I[xa]=D,I.flushComplete=!1,I),re=Sb(Vt(),N);re[Cm](function(){Ce(),ee&&ee(Q)},N);function he(ze){Q.flushComplete=ze,f=!0,_.run(re,Q),N[EF](),re[ro](Q)}Jt(),bo(D,he,6,fe)||he(!1)},N[Am]=Nt,N.addPlugin=function(D,ee,fe,I){if(!D){I&&I(!1),G(Tpe);return}var Q=Nt(D[_a]);if(Q&&!ee){I&&I(!1),G("Plugin ["+D[_a]+"] is already loaded!");return}var re={reason:16};function he(gt){c[vt](D),re.added=[D],yt(re),I&&I(!0)}if(Q){var ze=[Q.plugin],it={reason:2,isAsync:!!fe};Uo(ze,it,function(gt){gt?(re.removed=ze,re.reason|=32,he(!0)):I&&I(!1)})}else he(!1)},N.evtNamespace=function(){return x},N[lb]=bo,N.getTraceCtx=function(D){return P||(P=dpe()),P},N.setTraceCtx=function(D){P=D||null},vb(N,"addUnloadCb",function(){return _},"add");function Ce(){o=!1,t=_b(!0,{},rDe),N[hl]=t,N[jn]=new zm(t),N[Wx]=[],v=new vpe,n=[],r=null,i=null,s=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,x=Wn("AIBaseCore",!0),_=sI(),P=null}function ae(){var D=Zn(Vt(),t,N);return D[Cm](de),D}function yt(D){var ee=sDe(N[jn],gT,c);u=ee[Eo],l=null;var fe=ee.all;if(g=_l(bpe(m,fe,N)),p){var I=Rn(fe,p);I!==-1&&fe[ya](I,1),I=Rn(u,p),I!==-1&&u[ya](I,1),p._setQueue(g)}else p=hpe(g,N);fe[vt](p),u[vt](p),N[Wx]=iI(fe),p[va](t,N,fe);var Q=ae();rI(Q,fe),N[Wx]=_l(iI(u||[])).slice(),D&&M(D)}function Nt(D){var ee,fe=null,I=null;return je(N[Wx],function(Q){if(Q[_a]===D&&Q!==p&&Q!==v)return I=Q,-1}),!I&&p&&(I=p.getChannel(D)),I&&(fe=(ee={plugin:I},ee[Zx]=function(Q){Nc(I)[tT]=!Q},ee.isEnabled=function(){var Q=Nc(I);return!Q[Ni]&&!Q[tT]},ee.remove=function(Q,re){var he;Q===void 0&&(Q=!0);var ze=[I],it=(he={reason:1},he[xa]=Q,he);Uo(ze,it,function(gt){gt&&yt({reason:32,removed:ze}),re&&re(gt)})},ee)),fe}function Vt(){if(!l){var D=(u||[]).slice();Rn(D,v)===-1&&D[vt](v),l=yl(iI(D),t,N)}return l}function Uo(D,ee,fe){if(D&&D[Xe]>0){var I=yl(D,t,N),Q=Sb(I,N);Q[Cm](function(){var re=!1,he=[];je(c,function(it,gt){xpe(it,D)?re=!0:he[vt](it)}),c=he;var ze=[];m&&(je(m,function(it,gt){var so=[];je(it,function(an){xpe(an,D)?re=!0:so[vt](an)}),ze[vt](so)}),m=ze),fe&&fe(re),de()}),Q[ro](ee)}else fe(!1)}function Jt(){if(N[jn]&&N[jn].queue){var D=N[jn].queue.slice(0);N[jn].queue[Xe]=0,je(D,function(ee){var fe,I=(fe={},fe[mr]=h||"InternalMessageId: "+ee[cb],fe.iKey=Ui(t[IP]),fe.time=Fi(new Date),fe.baseType=$c.dataType,fe.baseData={message:ee[rd]},fe);N.track(I)})}}function bo(D,ee,fe,I){return p?p[lb](D,ee,fe||6,I):(ee&&ee(!1),!0)}function Vn(){var D=Ui(t.disableDbgExt);D===!0&&T&&(r[Em](T),T=null),r&&!T&&D!==!0&&(T=Ade(t),r[wm](T))}function Ot(){var D=Ui(t.enablePerfMgr);!D&&s&&(s=null),D&&$o(t,LF,iDe)}function Re(){var D=$o(t,mb,{});D.NotificationManager=r}function M(D){var ee=mT(Vt(),N);ee[Cm](de),(!N._updateHook||N._updateHook(ee,D)!==!0)&&ee[ro](D)}function G(D){var ee=N[jn];ee?(_e(ee,2,73,D),de()):Co(D)}})}return e.__ieDyn=1,e}();function aI(e,t,o,n){je(e,function(r){if(r&&r[t])if(o)setTimeout(function(){return n(r)},0);else try{n(r)}catch{}})}var Spe=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;ct(e,this,function(n){n[wm]=function(r){n.listeners[vt](r)},n[Em]=function(r){for(var i=Rn(n[Im],r);i>-1;)n.listeners[ya](i,1),i=Rn(n[Im],r)},n[gb]=function(r){aI(n[Im],gb,!0,function(i){i[gb](r)})},n[cd]=function(r,i){aI(n[Im],cd,!0,function(s){s[cd](r,i)})},n[fb]=function(r,i){aI(n[Im],fb,i,function(s){s[fb](r,i)})},n[ud]=function(r){r&&(o||!r[Jx]())&&aI(n[Im],ud,!1,function(i){r[xa]?setTimeout(function(){return i[ud](r)},0):i[ud](r)})}})}return e.__ieDyn=1,e}();var kU=function(e){Ln(t,e);function t(){var o=e.call(this)||this;return ct(t,o,function(n,r){n[va]=function(a,l,c,u){r[va](a,l,c||new zm(a),u||new Spe(a))},n.track=function(a){pd(n[jm](),function(){return"AppInsightsCore:track"},function(){a===null&&(s(a),Co("Invalid telemetry item")),i(a),r.track(a)},function(){return{item:a}},!a.sync)};function i(a){ce(a[mr])&&(s(a),Co("telemetry name required"))}function s(a){var l=n[Kx]();l&&l[cd]([a],2)}}),o}return t.__ieDyn=1,t}(kpe);var wpe="_aiHooks",Epe=["req","rsp","hkErr","fnErr"];function wU(e,t){if(e)for(var o=0;o=0&&r<=2&&wU(e,function(i,s){var a=i.cbks,l=a[Epe[r]];if(l){t.ctx=function(){var p=n[s]=n[s]||{};return p};try{l[bl](t.inst,o)}catch(p){var c=t.err;try{var u=a[Epe[2]];u&&(t.err=p,u[bl](t.inst,o))}catch{}finally{t.err=c}}}})}function lDe(e){return function(){var t,o=this,n=arguments,r=e.h,i=(t={},t[mr]=e.n,t.inst=o,t.ctx=null,t.set=c,t),s=[],a=l([i],n);i.evt=Ao("event");function l(p,m){return wU(m,function(g){p[vt](g)}),p}function c(p,m){n=l([],n),n[p]=m,a=l([i],n)}SU(r,i,a,s,0);var u=e.f;if(u)try{i.rslt=u[bl](o,n)}catch(p){throw i.err=p,SU(r,i,a,s,3),p}return SU(r,i,a,s,1),i.rslt}}function EU(e,t,o,n){var r=null;return e&&(UP(e,t)?r=e:o&&(r=EU($F(e),t,n,!1))),r}function CU(e,t,o){return e?fT(e[wo],t,o,!1):null}function Cpe(e,t,o,n){var r=o&&o[wpe];if(!r){r={i:0,n:t,f:o,h:[]};var i=lDe(r);i[wpe]=r,e[t]=i}var s={id:r.i,cbks:n,rm:function(){var a=this.id;wU(r.h,function(l,c){if(l.id===a)return r.h[ya](c,1),1})}};return r.i++,r.h[vt](s),s}function fT(e,t,o,n,r){if(n===void 0&&(n=!0),e&&t&&o){var i=EU(e,t,n,r);if(i){var s=i[t];if(typeof s===Es)return Cpe(i,t,s,o)}}return null}function wb(e,t,o,n,r){if(e&&t&&o){var i=EU(e,t,n,r)||e;if(i)return Cpe(i,t,i[t],o)}return null}var Ca="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Eb="sampleRate",Cb="ProcessLegacy",hT="http.method",hd="https://dc.services.visualstudio.com",Oc="/v2/track",Qo="not_specified",lI="iKey";function Bm(e){var t=null;if(Qe(Event))t=new Event(e);else{var o=Go();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Fc="split",ut="length",xl="toLowerCase",bT="ingestionendpoint",Aa="toString",cI="removeItem",Jo="name",Uc="message",Ape="count";var vT="stringify",_T="pathname",AU="correlationHeaderExcludePatterns",Ab="indexOf";var Vm="exceptions",Ms="parsedStack",fr="properties",hr="measurements",Gm="sizeInBytes",Tl="typeName",Qm="severityLevel",uI="problemGroup",dI="isManual",PU="CreateFromInterface",Ym="assembly",yT="hasFullStack",xT="level",Km="method",Pb="fileName",Ib="line",Wm="duration",IU="receivedResponse",Zm="substring",Ppe="sanitizeKeyAndAddUniqueness",Ipe="sanitizeException",Lpe="sanitizeProperties",jpe="sanitizeMeasurements";var TT="";function Ds(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[xl]()==="true"}function Bi(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,i=Math.floor(e/(1e3*60*60*24));return t=t[ut]===1?"00"+t:t[ut]===2?"0"+t:t,o=o[ut]<2?"0"+o:o,n=n[ut]<2?"0"+n:n,r=r[ut]<2?"0"+r:r,(i>0?i+".":TT)+r+":"+n+":"+o+"."+t}function LU(e,t,o,n,r){return!r&&qe(e)&&(e==="Script error."||e==="Script error")}var Wt=qF({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 Lb=HP({LocalStorage:0,SessionStorage:1}),yDe=HP({AI:0,AI_AND_W3C:1,W3C:2});var bd=void 0,vd=void 0;function jU(){return kT()?pI(Lb.LocalStorage):null}function pI(e){try{if(ce(Cs()))return null;var t=new Date()[Aa](),o=Ao(e===Lb.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var n=o.getItem(t)!==t;if(o[cI](t),!n)return o}catch{}return null}function RU(){return _d()?pI(Lb.SessionStorage):null}function MU(){bd=!1,vd=!1}function DU(){bd=kT(!0),vd=_d(!0)}function kT(e){return(e||bd===void 0)&&(bd=!!pI(Lb.LocalStorage)),bd}function $U(e,t){var o=jU();if(o!==null)try{return o.getItem(t)}catch(n){bd=!1,_e(e,2,1,"Browser failed read of local storage. "+bt(n),{exception:Me(n)})}return null}function zU(e,t,o){var n=jU();if(n!==null)try{return n.setItem(t,o),!0}catch(r){bd=!1,_e(e,2,3,"Browser failed write to local storage. "+bt(r),{exception:Me(r)})}return!1}function NU(e,t){var o=jU();if(o!==null)try{return o[cI](t),!0}catch(n){bd=!1,_e(e,2,5,"Browser failed removal of local storage item. "+bt(n),{exception:Me(n)})}return!1}function _d(e){return(e||vd===void 0)&&(vd=!!pI(Lb.SessionStorage)),vd}function jb(e,t){var o=RU();if(o!==null)try{return o.getItem(t)}catch(n){vd=!1,_e(e,2,2,"Browser failed read of session storage. "+bt(n),{exception:Me(n)})}return null}function ST(e,t,o){var n=RU();if(n!==null)try{return n.setItem(t,o),!0}catch(r){vd=!1,_e(e,2,4,"Browser failed write to session storage. "+bt(r),{exception:Me(r)})}return!1}function OU(e,t){var o=RU();if(o!==null)try{return o[cI](t),!0}catch(n){vd=!1,_e(e,2,6,"Browser failed removal of session storage item. "+bt(n),{exception:Me(n)})}return!1}var pi;function mI(e,t,o){var n=t[ut],r=FU(e,t);if(r[ut]!==n){for(var i=0,s=r;o[s]!==void 0;)i++,s=r[Zm](0,147)+UU(i);r=s}return r}function FU(e,t){var o;return t&&(t=Vo(t[Aa]()),t[ut]>150&&(o=t[Zm](0,150),_e(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function qt(e,t,o){o===void 0&&(o=1024);var n;return t&&(o=o||1024,t=Vo(t),t.toString()[ut]>o&&(n=t[Aa]()[Zm](0,o),_e(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),n||t}function kl(e,t){return hI(e,t,2048,66)}function Rb(e,t){var o;return t&&t[ut]>32768&&(o=t[Zm](0,32768),_e(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function gI(e,t){var o;if(t){var n=""+t;n[ut]>32768&&(o=n[Zm](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={};St(t,function(n,r){if(gr(r)&&Sa())try{r=Tn()[vT](r)}catch(i){_e(e,2,49,"custom property is not valid",{exception:i},!0)}r=qt(e,r,8192),n=mI(e,n,o),o[n]=r}),t=o}return t}function vr(e,t){if(t){var o={};St(t,function(n,r){n=mI(e,n,o),o[n]=r}),t=o}return t}function fI(e,t){return t&&hI(e,t,128,69)[Aa]()}function hI(e,t,o,n){var r;return t&&(t=Vo(t),t[ut]>o&&(r=t[Zm](0,o),_e(e,2,n,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),r||t}function UU(e){var t="00"+e;return t.substr(t[ut]-3)}var Rpe=(pi={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},pi[Ppe]=mI,pi.sanitizeKey=FU,pi.sanitizeString=qt,pi.sanitizeUrl=kl,pi.sanitizeMessage=Rb,pi[Ipe]=gI,pi[Lpe]=br,pi[jpe]=vr,pi.sanitizeId=fI,pi.sanitizeInput=hI,pi.padNumber=UU,pi.trim=Vo,pi);var Mpe=Go()||{},Dpe=0,xDe=[null,null,null,null,null];function wT(e){var t=Dpe,o=xDe,n=o[t];return Mpe.createElement?o[t]||(n=o[t]=Mpe.createElement("a")):n={host:qU(e,!0)},n.href=e,t++,t>=o[ut]&&(t=0),Dpe=t,n}function bI(e){var t,o=wT(e);return o&&(t=o.href),t}function vI(e,t){return e?e.toUpperCase()+" "+t:t}function qU(e,t){var o=_I(e,t)||"";if(o){var n=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ut]>3&&qe(n[2])&&n[2][ut]>0)return n[2]+(n[3]||"")}return o}function _I(e,t){var o=null;if(e){var n=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ut]>2&&qe(n[2])&&n[2][ut]>0&&(o=n[2]||"",t&&n[ut]>2)){var r=(n[1]||"")[xl](),i=n[3]||"";(r==="http"&&i===":80"||r==="https"&&i===":443")&&(i=""),o+=i}}return o}var kDe=[hd+Oc,"https://breeze.aimon.applicationinsights.io"+Oc,"https://dc-int.services.visualstudio.com"+Oc];function Jm(e){return Rn(kDe,e[xl]())!==-1}var qc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[AU]){for(var n=0;n0},getCorrelationContext:function(e){if(e){var t=qc.getCorrelationContextValue(e,Wt[1]);if(t&&t!==qc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Fc](","),n=0;n0){var a=wT(t);if(r=a.host,!i)if(a[_T]!=null){var l=a.pathname[ut]===0?"/":a[_T];l.charAt(0)!=="/"&&(l="/"+l),s=a[_T],i=qt(e,o?o+" "+l:l)}else i=qt(e,t)}else r=n,i=n;return{target:r,name:i,data:s}}function Mb(){var e=Ls();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return Mn()}function kn(e,t){var o=null;return e!==0&&t!==0&&!ce(e)&&!ce(t)&&(o=t-e),o}function Xm(e,t){var o=e||{};return{getName:function(){return o[Jo]},setName:function(n){t&&t.setName(n),o[Jo]=n},getTraceId:function(){return o.traceID},setTraceId:function(n){t&&t.setTraceId(n),qm(n)&&(o.traceID=n)},getSpanId:function(){return o.parentID},setSpanId:function(n){t&&t.setSpanId(n),Hm(n)&&(o.parentID=n)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(n){t&&t.setTraceFlags(n),o.traceFlags=n}}}var SDe=";",wDe="=";function HU(e){if(!e)return{};var t=e[Fc](SDe),o=OF(t,function(r,i){var s=i[Fc](wDe);if(s[ut]===2){var a=s[0][xl](),l=s[1];r[a]=l}return r},{});if(ci(o)[ut]>0){if(o.endpointsuffix){var n=o.location?o.location+".":"";o[bT]=o[bT]||"https://"+n+"dc."+o.endpointsuffix}o[bT]=o[bT]||hd}return o}var yI=function(){function e(t,o,n){var r=this,i=this;i.ver=1,i.sampleRate=100,i.tags={},i[Jo]=qt(t,n)||Qo,i.data=o,i.time=Fi(new Date),i.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return r.sampleRate===100?4:1},tags:1,data:1}}return e}();var Vi=function(){function e(t,o,n,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var i=this;i.ver=2,i[Jo]=qt(t,o)||Qo,i[fr]=br(t,n),i[hr]=vr(t,r)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var EDe="",Db="error",mi="stack",VU="stackDetails",zpe="errorSrc",GU="message",Fpe="description";function QU(e,t){var o=e;return o&&!qe(o)&&(JSON&&JSON[vT]?(o=JSON[vT](e),t&&(!o||o==="{}")&&(Qe(e[Aa])?o=e[Aa]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function Upe(e,t){var o=e;return e&&(o&&!qe(o)&&(o=e[GU]||e[Fpe]||o),o&&!qe(o)&&(o=QU(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 CDe(e){try{if(gr(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function ADe(e){try{if(gr(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Npe(e){return e&&e.src&&qe(e.src)&&e.obj&&kt(e.obj)}function eg(e){var t=e||"";qe(t)||(qe(t[mi])?t=t[mi]:t=""+t);var o=t[Fc](` `);return{src:t,obj:o}}function PDe(e){for(var t=[],o=e[Fc](` `),n=0;n0){t=[];var n=0,r=0;je(o,function(f){var v=f[Aa]();if(YU.regex.test(v)){var h=new YU(v,n++);r+=h[Gm],t.push(h)}});var i=32*1024;if(r>i)for(var s=0,a=t[ut]-1,l=0,c=s,u=a;si){var g=u-c+1;t.splice(c,g);break}c=s,u=a,s++,a--}}return t}function xI(e){var t="";if(e&&(t=e.typeName||e[Jo]||"",!t))try{var o=/function (.{1,200})\(/,n=o.exec(e.constructor[Aa]());t=n&&n[ut]>1?n[1]:""}catch{}return t}function BU(e){if(e)try{if(!qe(e)){var t=xI(e),o=QU(e,!1);return(!o||o==="{}")&&(e[Db]&&(e=e[Db],t=xI(e)),o=QU(e,!0)),o[Ab](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var Jn=function(){function e(t,o,n,r,i,s){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,ADe(o)?(a[Vm]=o[Vm]||[],a[fr]=o[fr],a[hr]=o[hr],o[Qm]&&(a[Qm]=o[Qm]),o.id&&(a.id=o.id),o[uI]&&(a[uI]=o[uI]),ce(o[dI])||(a[dI]=o[dI])):(n||(n={}),a[Vm]=[new Ope(t,o,n)],a[fr]=br(t,n),a[hr]=vr(t,r),i&&(a[Qm]=i),s&&(a.id=s))}return e.CreateAutoException=function(t,o,n,r,i,s,a,l){var c,u=xI(i||s||t);return c={},c[Uc]=Upe(t,u),c.url=o,c.lineNumber=n,c.columnNumber=r,c.error=BU(i||s||t),c.evt=BU(s||t),c[Tl]=u,c.stackDetails=qpe(a||i||s),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,n,r){var i=o[Vm]&&Dm(o[Vm],function(a){return Ope[PU](t,a)}),s=new e(t,Bo(Bo({},o),{exceptions:i}),n,r);return s},e.prototype.toInterface=function(){var t,o=this,n=o.exceptions,r=o.properties,i=o.measurements,s=o.severityLevel,a=o.problemGroup,l=o.id,c=o.isManual,u=n instanceof Array&&Dm(n,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[Vm]=u,t.severityLevel=s,t.properties=r,t.measurements=i,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,n,r,i,s){var a;return{exceptions:[(a={},a[yT]=!0,a.message=t,a.stack=i,a.typeName=o,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=BU,e}();var Ope=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(CDe(o))r[Tl]=o[Tl],r[Uc]=o[Uc],r[mi]=o[mi],r[Ms]=o[Ms]||[],r[yT]=o[yT];else{var i=o,s=i&&i.evt;Mm(i)||(i=i[Db]||s||i),r[Tl]=qt(t,xI(i))||Qo,r[Uc]=Rb(t,Upe(o||i,r[Tl]))||Qo;var a=o[VU]||qpe(o);r[Ms]=LDe(a),kt(r[Ms])&&Dm(r[Ms],function(l){return l[Ym]=qt(t,l[Ym])}),r[mi]=gI(t,IDe(a)),r.hasFullStack=kt(r.parsedStack)&&r.parsedStack[ut]>0,n&&(n[Tl]=n[Tl]||r[Tl])}}return e.prototype.toInterface=function(){var t,o=this,n=o[Ms]instanceof Array&&Dm(o[Ms],function(i){return i.toInterface()}),r=(t={id:o.id,outerId:o.outerId,typeName:o[Tl],message:o[Uc],hasFullStack:o[yT],stack:o[mi]},t[Ms]=n||void 0,t);return r},e.CreateFromInterface=function(t,o){var n=o[Ms]instanceof Array&&Dm(o[Ms],function(i){return YU[PU](i)})||o[Ms],r=new e(t,Bo(Bo({},o),{parsedStack:n}));return r},e}();var YU=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var n=this;if(n[Gm]=0,typeof t=="string"){var r=t;n[xT]=o,n[Km]=EDe,n[Ym]=Vo(r),n[Pb]="",n[Ib]=0;var i=r.match(e.regex);i&&i[ut]>=5&&(n[Km]=Vo(i[2])||n[Km],n[Pb]=Vo(i[4]),n[Ib]=parseInt(i[5])||0)}else n[xT]=t[xT],n[Km]=t[Km],n[Ym]=t[Ym],n[Pb]=t[Pb],n[Ib]=t[Ib],n[Gm]=0;n.sizeInBytes+=n.method[ut],n.sizeInBytes+=n.fileName[ut],n.sizeInBytes+=n.assembly[ut],n[Gm]+=e.baseSize,n.sizeInBytes+=n.level.toString()[ut],n.sizeInBytes+=n.line.toString()[ut]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[xT],method:t[Km],assembly:t[Ym],fileName:t[Pb],line:t[Ib]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Hpe=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 Gi=function(){function e(t,o,n,r,i,s,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new Hpe;p[Ape]=r>0?r:void 0,p.max=isNaN(s)||s===null?void 0:s,p.min=isNaN(i)||i===null?void 0:i,p[Jo]=qt(t,o)||Qo,p.value=n,p.stdDev=isNaN(a)||a===null?void 0:a,u.metrics=[p],u[fr]=br(t,l),u[hr]=vr(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Ir=function(){function e(t,o,n,r,i,s,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=fI(t,a),l.url=kl(t,n),l[Jo]=qt(t,o)||Qo,isNaN(r)||(l[Wm]=Bi(r)),l[fr]=br(t,i),l[hr]=vr(t,s)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Qi=function(){function e(t,o,n,r,i,s,a,l,c,u,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[Wm]=Bi(i),g.success=s,g.resultCode=a+"",g.type=qt(t,c);var f=$pe(t,n,l,r);g.data=kl(t,r)||f.data,g.target=qt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[Jo]=qt(t,f[Jo]),g[fr]=br(t,p),g[hr]=vr(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var Pa=function(){function e(t,o,n,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var s=this;s.ver=2,o=o||Qo,s[Uc]=Rb(t,o),s[fr]=br(t,r),s[hr]=vr(t,i),n&&(s[Qm]=n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var Ia=function(){function e(t,o,n,r,i,s,a){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=kl(t,n),l[Jo]=qt(t,o)||Qo,l[fr]=br(t,i),l[hr]=vr(t,s),a&&(l.domProcessing=a.domProcessing,l[Wm]=a[Wm],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[IU]=a[IU],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Sl=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function xd(e){var t="ai."+e+".";return function(o){return t+o}}var ET=xd("application"),Sn=xd("device"),TI=xd("location"),$b=xd("operation"),KU=xd("session"),yd=xd("user"),tg=xd("cloud"),CT=xd("internal"),zb=function(e){Ln(t,e);function t(){return e.call(this)||this}return t}(UF({applicationVersion:ET("ver"),applicationBuild:ET("build"),applicationTypeId:ET("typeId"),applicationId:ET("applicationId"),applicationLayer:ET("layer"),deviceId:Sn("id"),deviceIp:Sn("ip"),deviceLanguage:Sn("language"),deviceLocale:Sn("locale"),deviceModel:Sn("model"),deviceFriendlyName:Sn("friendlyName"),deviceNetwork:Sn("network"),deviceNetworkName:Sn("networkName"),deviceOEMName:Sn("oemName"),deviceOS:Sn("os"),deviceOSVersion:Sn("osVersion"),deviceRoleInstance:Sn("roleInstance"),deviceRoleName:Sn("roleName"),deviceScreenResolution:Sn("screenResolution"),deviceType:Sn("type"),deviceMachineName:Sn("machineName"),deviceVMName:Sn("vmName"),deviceBrowser:Sn("browser"),deviceBrowserVersion:Sn("browserVersion"),locationIp:TI("ip"),locationCountry:TI("country"),locationProvince:TI("province"),locationCity:TI("city"),operationId:$b("id"),operationName:$b("name"),operationParentId:$b("parentId"),operationRootId:$b("rootId"),operationSyntheticSource:$b("syntheticSource"),operationCorrelationVector:$b("correlationVector"),sessionId:KU("id"),sessionIsFirst:KU("isFirst"),sessionIsNew:KU("isNew"),userAccountAcquisitionDate:yd("accountAcquisitionDate"),userAccountId:yd("accountId"),userAgent:yd("userAgent"),userId:yd("id"),userStoreRegion:yd("storeRegion"),userAuthUserId:yd("authUserId"),userAnonymousUserAcquisitionDate:yd("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:yd("authUserAcquisitionDate"),cloudName:tg("name"),cloudRole:tg("role"),cloudRoleVer:tg("roleVer"),cloudRoleInstance:tg("roleInstance"),cloudEnvironment:tg("environment"),cloudLocation:tg("location"),cloudDeploymentUnit:tg("deploymentUnit"),internalNodeName:CT("nodeName"),internalSdkVersion:CT("sdkVersion"),internalAgentVersion:CT("agentVersion"),internalSnippet:CT("snippet"),internalSdkSrc:CT("sdkSrc")}));function $s(e,t,o,n,r,i){var s;o=qt(n,o)||Qo,(ce(e)||ce(t)||ce(o))&&Co("Input doesn't contain all required fields");var a="";e[lI]&&(a=e[lI],delete e[lI]);var l=(s={},s[Jo]=o,s.time=Fi(new Date),s.iKey=a,s.ext=i||{},s.tags=[],s.data={},s.baseType=t,s.baseData=e,s);return ce(r)||St(r,function(c,u){l.data[c]=u}),l}var Bpe=function(){function e(){}return e.create=$s,e}();var Xn={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Zt=new zb;var Td="AppInsightsPropertiesPlugin",AT="AppInsightsChannelPlugin",WU="ApplicationInsightsAnalytics";var PT="toString",kI="disableExceptionTracking",IT="autoTrackPageVisitTime",SI="overridePageViewDuration",wI="enableUnhandledPromiseRejectionTracking",LT="samplingPercentage",jT="isStorageUseDisabled",RT="isBrowserLinkTrackingEnabled",EI="enableAutoRouteTracking",CI="namePrefix",AI="disableFlushOnBeforeUnload";var Dn="core",Hc="dataType",kd="envelopeType",gi="diagLog",Sd="track",Nb="trackPageView",MT="trackPreviousPageVisit",Bc="sendPageViewInternal",DT="sendPageViewPerformanceInternal",Ob="populatePageViewPerformanceEvent",wd="href",ZU="sendExceptionInternal",PI="exception",Fb="error",II="_onerror",LI="errorSrc",jI="lineNumber",RI="columnNumber",JU="message",MI="CreateAutoException",$T="addTelemetryInitializer",wl="duration",Ed="length",DI="isPerformanceTimingSupported",$I="getPerformanceTiming",Ub="navigationStart",zT="shouldCollectDuration",zI="isPerformanceTimingDataReady",Vpe="getEntriesByType",qb="responseStart",Gpe="requestStart",NT="loadEventEnd",NI="responseEnd",OT="connectEnd",XU="pageVisitStartTime";var OI=null;function $De(){if(OI==null)try{OI=!!(self&&self instanceof WorkerGlobalScope)}catch{OI=!1}return OI}var Qpe=function(){function e(t,o,n,r){ct(e,this,function(i){var s=null,a=[],l=!1,c;n&&(c=n.logger);function u(g){n&&n.flush(g)}function p(){s||(s=setTimeout(function(){s=null;var g=a.slice(0),f=!1;a=[],je(g,function(v){v()?f=!0:a.push(v)}),a[Ed]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}i[Nb]=function(g,f){var v=g.name;if(ce(v)||typeof v!="string"){var h=Go();v=g.name=h&&h.title||""}var x=g.uri;if(ce(x)||typeof x!="string"){var _=ui();x=g.uri=_&&_[wd]||""}if(!r[DI]()){t[Bc](g,f),u(!0),$De()||_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,P,E=r[$I]()[Ub];E>0&&(P=kn(E,+new Date),r[zT](P)||(P=void 0));var B;!ce(f)&&!ce(f[wl])&&(B=f[wl]),(o||!isNaN(B))&&(isNaN(B)&&(f||(f={}),f[wl]=P),t[Bc](g,f),u(!0),T=!0);var N=6e4;f||(f={}),m(function(){var de=!1;try{if(r[zI]()){de=!0;var Ce={name:v,uri:x};r[Ob](Ce),!Ce.isValid&&!T?(f[wl]=P,t[Bc](g,f)):(T||(f[wl]=Ce.durationMs,t[Bc](g,f)),l||(t[DT](Ce,f),l=!0))}else E>0&&kn(E,+new Date)>N&&(de=!0,T||(f[wl]=N,t[Bc](g,f)))}catch(ae){_e(c,1,38,"trackPageView failed on page load calculation: "+bt(ae),{exception:Me(ae)})}return de})},i.teardown=function(g,f){if(s){clearTimeout(s),s=null;var v=a.slice(0),h=!1;a=[],je(v,function(x){x()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var zDe=36e5,Ype=["googlebot","adsbot-google","apis-google","mediapartners-google"];function Wpe(){var e=Ls();return e&&!!e.timing}function NDe(){var e=Ls();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[Ed]>0}function ODe(){var e=Ls(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[Ub]>0&&t[qb]>0&&t[Gpe]>0&&t[NT]>0&&t[NI]>0&&t[OT]>0&&t.domLoading>0}function Kpe(){return Wpe()?Ls().timing:null}function FDe(){return NDe()?Ls()[Vpe]("navigation")[0]:null}function UDe(){for(var e=[],t=0;t=zDe)return!1;return!0}var Zpe=function(){function e(t){var o=this,n=wa(t);ct(e,this,function(r){r[Ob]=function(i){i.isValid=!1;var s=FDe(),a=Kpe(),l=0,c=0,u=0,p=0,m=0;(s||a)&&(s?(l=s[wl],c=s.startTime===0?s[OT]:kn(s.startTime,s[OT]),u=kn(s.requestStart,s[qb]),p=kn(s[qb],s[NI]),m=kn(s.responseEnd,s[NT])):(l=kn(a[Ub],a[NT]),c=kn(a[Ub],a[OT]),u=kn(a.requestStart,a[qb]),p=kn(a[qb],a[NI]),m=kn(a.responseEnd,a[NT])),l===0?_e(n,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):o[zT](l,c,u,p,m)?l=100)&&(e[LT]=100),e[jT]=Ds(e[jT]),e[RT]=Ds(e[RT]),e[EI]=Ds(e[EI]),e[CI]=e[CI]||"",e.enableDebug=Ds(e.enableDebug),e[AI]=Ds(e[AI]),e.disableFlushOnUnload=Ds(e.disableFlushOnUnload,e[AI]),e}function VDe(e){mo(e[jT])||(e[jT]?MU():DU())}var FI=function(e){Ln(t,e);function t(){var o=e.call(this)||this;o.identifier=WU,o.priority=180,o.autoRoutePVDelay=500;var n,r,i,s,a,l,c,u,p,m,g,f,v,h,x=0,_,T,P;return ct(t,o,function(E,B){var N=B._addHook;Re(),E.getCookieMgr=function(){return Um(E[Dn])},E.processTelemetry=function(M,G){E.processNext(M,G)},E.trackEvent=function(M,G){try{var D=$s(M,Vi[Hc],Vi[kd],E[gi](),G);E[Dn][Sd](D)}catch(ee){Ot(2,39,"trackTrace failed, trace will not be collected: "+bt(ee),{exception:Me(ee)})}},E.startTrackEvent=function(M){try{n.start(M)}catch(G){Ot(1,29,"startTrackEvent failed, event will not be collected: "+bt(G),{exception:Me(G)})}},E.stopTrackEvent=function(M,G,D){try{n.stop(M,void 0,G,D)}catch(ee){Ot(1,30,"stopTrackEvent failed, event will not be collected: "+bt(ee),{exception:Me(ee)})}},E.trackTrace=function(M,G){try{var D=$s(M,Pa[Hc],Pa[kd],E[gi](),G);E[Dn][Sd](D)}catch(ee){Ot(2,39,"trackTrace failed, trace will not be collected: "+bt(ee),{exception:Me(ee)})}},E.trackMetric=function(M,G){try{var D=$s(M,Gi[Hc],Gi[kd],E[gi](),G);E[Dn][Sd](D)}catch(ee){Ot(1,36,"trackMetric failed, metric will not be collected: "+bt(ee),{exception:Me(ee)})}},E[Nb]=function(M,G){try{var D=M||{};i[Nb](D,Bo(Bo(Bo({},D.properties),D.measurements),G)),E.config[IT]&&a[MT](D.name,D.uri)}catch(ee){Ot(1,37,"trackPageView failed, page view will not be collected: "+bt(ee),{exception:Me(ee)})}},E[Bc]=function(M,G,D){var ee=Go();ee&&(M.refUri=M.refUri===void 0?ee.referrer:M.refUri);var fe=$s(M,Ir[Hc],Ir[kd],E[gi](),G,D);E[Dn][Sd](fe),x=0},E[DT]=function(M,G,D){var ee=$s(M,Ia[Hc],Ia[kd],E[gi](),G,D);E[Dn][Sd](ee)},E.trackPageViewPerformance=function(M,G){var D=M||{};try{s[Ob](D),E[DT](D,G)}catch(ee){Ot(1,37,"trackPageViewPerformance failed, page view will not be collected: "+bt(ee),{exception:Me(ee)})}},E.startTrackPage=function(M){try{if(typeof M!="string"){var G=Go();M=G&&G.title||""}r.start(M)}catch(D){Ot(1,31,"startTrackPage failed, page view may not be collected: "+bt(D),{exception:Me(D)})}},E.stopTrackPage=function(M,G,D,ee){try{if(typeof M!="string"){var fe=Go();M=fe&&fe.title||""}if(typeof G!="string"){var I=ui();G=I&&I[wd]||""}r.stop(M,G,D,ee),E.config[IT]&&a[MT](M,G)}catch(Q){Ot(1,32,"stopTrackPage failed, page view will not be collected: "+bt(Q),{exception:Me(Q)})}},E[ZU]=function(M,G,D){var ee=M&&(M[PI]||M[Fb])||Mm(M)&&M||{name:M&&typeof M,message:M||Qo};M=M||{};var fe=new Jn(E[gi](),ee,M.properties||G,M.measurements,M.severityLevel,M.id).toInterface(),I=$s(fe,Jn[Hc],Jn[kd],E[gi](),G,D);E[Dn][Sd](I)},E.trackException=function(M,G){M&&!M[PI]&&M[Fb]&&(M[PI]=M[Fb]);try{E[ZU](M,G)}catch(D){Ot(1,35,"trackException failed, exception will not be collected: "+bt(D),{exception:Me(D)})}},E[II]=function(M){var G=M&&M[Fb],D=M&&M.evt;try{if(!D){var ee=qi();ee&&(D=ee[HDe])}var fe=M&&M.url||(Go()||{}).URL,I=M[LI]||"window.onerror@"+fe+":"+(M[jI]||0)+":"+(M[RI]||0),Q={errorSrc:I,url:fe,lineNumber:M[jI]||0,columnNumber:M[RI]||0,message:M[JU]};LU(M.message,M.url,M.lineNumber,M.columnNumber,M[Fb])?Nt(Jn[MI]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",fe,M[jI]||0,M[RI]||0,G,D,null,I),Q):(M[LI]||(M[LI]=I),E.trackException({exception:M,severityLevel:3},Q))}catch(he){var re=G?G.name+", "+G[JU]:"null";Ot(1,11,"_onError threw exception while logging error, error will not be collected: "+bt(he),{exception:Me(he),errorString:re})}},E[$T]=function(M){if(E[Dn])return E[Dn][$T](M);l||(l=[]),l.push(M)},E.initialize=function(M,G,D,ee){if(!E.isInitialized()){ce(G)&&Co("Error initializing"),B.initialize(M,G,D,ee);try{P=Hi(Wn(E.identifier),G.evtNamespace&&G.evtNamespace()),l&&(je(l,function(I){G[$T](I)}),l=null);var fe=de(M);VDe(fe),s=new Zpe(E[Dn]),i=new Qpe(o,fe[SI],E[Dn],s),a=new Jpe(E[gi](),function(I,Q,re){return ae(I,Q,re)}),Ce(fe,M),n=new eq(E[gi](),"trackEvent"),n.action=function(I,Q,re,he,ze){he||(he={}),ze||(ze={}),he.duration=re[PT](),E.trackEvent({name:I,properties:he,measurements:ze})},r=new eq(E[gi](),"trackPageView"),r.action=function(I,Q,re,he,ze){ce(he)&&(he={}),he.duration=re[PT]();var it={name:I,uri:Q,properties:he,measurements:ze};E[Bc](it,he)},Dc()&&(Vt(fe),Uo(fe))}catch(I){throw E.setInitialized(!1),I}}},E._doTeardown=function(M,G){i&&i.teardown(M,G),gd(window,null,null,P),Re()};function de(M){var G=Zn(null,M,E[Dn]),D=E.identifier,ee=tme(M),fe=E.config=G.getExtCfg(D);return ee!==void 0&&St(ee,function(I,Q){fe[I]=G.getConfig(D,I,Q),fe[I]===void 0&&(fe=Q)}),fe}function Ce(M,G){c=M[RT]||G[RT],yt()}function ae(M,G,D){var ee={PageName:M,PageUrl:G};E.trackMetric({name:"PageVisitTime",average:D,max:D,min:D,sampleCount:1},ee)}function yt(){if(!u&&c){var M=["/browserLinkSignalR/","/__browserLink/"],G=function(D){if(c&&D.baseType===Qi[Hc]){var ee=D.baseData;if(ee){for(var fe=0;fe=0)return!1}}return!0};E[$T](G),u=!0}}function Nt(M,G){var D=$s(M,Jn[Hc],Jn[kd],E[gi](),G);E[Dn][Sd](D)}function Vt(M){var G=qi(),D=ui(!0);g=M[kI],!g&&!f&&!M.autoExceptionInstrumented&&(N(wb(G,"onerror",{ns:P,rsp:function(ee,fe,I,Q,re,he){!g&&ee.rslt!==!0&&E[II](Jn[MI](fe,I,Q,re,he,ee.evt))}},!1)),f=!0),Vn(M,G,D)}function Uo(M){var G=qi(),D=ui(!0);if(p=M[EI]===!0,G&&p&&VP()){var ee=KF();Qe(ee.pushState)&&Qe(ee.replaceState)&&typeof Event!==ai&&bo(M,G,ee,D)}}function Jt(){var M=null;if(E[Dn]&&E[Dn].getTraceCtx&&(M=E[Dn].getTraceCtx(!1)),!M){var G=E[Dn].getPlugin(Td);if(G){var D=G.plugin.context;D&&(M=Xm(D.telemetryTrace))}}return M}function bo(M,G,D,ee){var fe=M[CI]||"";function I(){p&&FT(G,Bm(fe+"locationchange"))}function Q(){if(T?(_=T,T=ee&&ee[wd]||""):T=ee&&ee[wd]||"",p){var re=Jt();if(re){re.setTraceId(di());var he="_unknown_";ee&&ee.pathname&&(he=ee.pathname+(ee.hash||"")),re.setName(qt(E[gi](),he))}setTimeout(function(ze){E[Nb]({refUri:ze,properties:{duration:0}})}.bind(this,_),E.autoRoutePVDelay)}}m||(N(wb(D,"pushState",{ns:P,rsp:function(){p&&(FT(G,Bm(fe+"pushState")),FT(G,Bm(fe+"locationchange")))}},!0)),N(wb(D,"replaceState",{ns:P,rsp:function(){p&&(FT(G,Bm(fe+"replaceState")),FT(G,Bm(fe+"locationchange")))}},!0)),Rs(G,fe+"popstate",I,P),Rs(G,fe+"locationchange",Q,P),m=!0)}function Vn(M,G,D){v=M[wI]===!0,v&&!h&&(N(wb(G,"onunhandledrejection",{ns:P,rsp:function(ee,fe){v&&ee.rslt!==!0&&E[II](Jn[MI](BDe(fe),D?D[wd]:"",0,0,fe,ee.evt))}},!1)),h=!0,M.autoUnhandledPromiseInstrumented=h)}function Ot(M,G,D,ee,fe){E[gi]().throwInternal(M,G,D,ee,fe)}function Re(){n=null,r=null,i=null,s=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,v=!1,h=!1,x=0;var M=ui(!0);_=M&&M[wd]||"",T=null,P=null}Is(E,"_pageViewManager",function(){return i}),Is(E,"_pageViewPerformanceManager",function(){return s}),Is(E,"_pageVisitTimeManager",function(){return a}),Is(E,"_evtNamespace",function(){return"."+P})}),o}return t.Version="2.8.13",t.getDefaultConfig=tme,t}(Ea);var Cd="duration";var Xo="tags",UI="deviceType",fi="data",El="name",og="traceID",_t="length",Ad="stringify",Pd="measurements",zs="dataType",Id="envelopeType",Vc="toString",UT="onLine",qT="isOnline",ng="enqueue",Ld="count",Gc="push",HT="emitLineDelimitedJson",jd="clear",rg="batchPayloads",Rd="markAsSent",ig="clearSent",BT="bufferOverride",Hb="BUFFER_KEY",Md="SENT_BUFFER_KEY",Bb="MAX_BUFFER_SIZE",Qc="namePrefix",qI="maxBatchSizeInBytes",sg="triggerSend",_r="diagLog",tq="onunloadDisableBeacon",HI="isBeaconApiDisabled",Vb="_sender",io="_senderConfig",oq="enableSessionStorageBuffer",Dd="_buffer",nq="samplingPercentage",VT="instrumentationKey",$d="endpointUrl",rq="customHeaders",Gb="disableXhr",iq="onunloadDisableFetch",BI="disableTelemetry",VI="baseType",Qb="sampleRate",sq="convertUndefined",ome="_xhrReadyStateChange",Ns="_onError",GI="_onPartialSuccess",GT="_onSuccess",QT="itemsAccepted",nme="itemsReceived",Yb="isRetryDisabled",QI="setRequestHeader",aq="maxBatchInterval",lq="eventsSendRequest",cq="disableInstrumentationKeyValidation",YI="getSamplingScore",rme="getHashCodeScore";var uq="baseType",go="baseData",$n="properties",ime="true";function en(e,t,o){return Dt(e,t,o,bb)}function GDe(e,t,o){var n=o[Xo]=o[Xo]||{},r=t.ext=t.ext||{},i=t[Xo]=t[Xo]||[],s=r.user;s&&(en(n,Zt.userAuthUserId,s.authId),en(n,Zt.userId,s.id||s.localId));var a=r.app;a&&en(n,Zt.sessionId,a.sesId);var l=r.device;l&&(en(n,Zt.deviceId,l.id||l.localId),en(n,Zt[UI],l.deviceClass),en(n,Zt.deviceIp,l.ip),en(n,Zt.deviceModel,l.model),en(n,Zt[UI],l[UI]));var c=t.ext.web;if(c){en(n,Zt.deviceLanguage,c.browserLang),en(n,Zt.deviceBrowserVersion,c.browserVer),en(n,Zt.deviceBrowser,c.browser);var u=o[fi]=o[fi]||{},p=u[go]=u[go]||{},m=p[$n]=p[$n]||{};en(m,"domain",c.domain),en(m,"isManual",c.isManual?ime:null),en(m,"screenRes",c.screenRes),en(m,"userConsent",c.userConsent?ime:null)}var g=r.os;g&&en(n,Zt.deviceOS,g[El]);var f=r.trace;f&&(en(n,Zt.operationParentId,f.parentID),en(n,Zt.operationName,qt(e,f[El])),en(n,Zt.operationId,f[og]));for(var v={},h=i[_t]-1;h>=0;h--){var x=i[h];St(x,function(T,P){v[T]=P}),i.splice(h,1)}St(i,function(T,P){v[T]=P});var _=Bo(Bo({},n),v);_[Zt.internalSdkVersion]||(_[Zt.internalSdkVersion]="javascript:".concat(QDe.Version)),o[Xo]=qP(_)}function zd(e,t,o){ce(e)||St(e,function(n,r){nT(r)?o[n]=r:qe(r)?t[n]=r:Sa()&&(t[n]=Tn()[Ad](r))})}function ag(e,t){ce(e)||St(e,function(o,n){e[o]=n||t})}function lg(e,t,o,n){var r=new yI(e,n,t);en(r,"sampleRate",o[Eb]),(o[go]||{}).startTime&&(r.time=Fi(o[go].startTime)),r.iKey=o.iKey;var i=o.iKey.replace(/-/g,"");return r[El]=r[El].replace("{0}",i),GDe(e,o,r),o[Xo]=o[Xo]||[],qP(r)}function cg(e,t){ce(t[go])&&_e(e,1,46,"telemetryItem.baseData cannot be null.")}var QDe={Version:"2.8.13"};function sme(e,t,o){cg(e,t);var n=t[go][Pd]||{},r=t[go][$n]||{};zd(t[fi],r,n),ce(o)||ag(r,o);var i=t[go];if(ce(i))return js(e,"Invalid input for dependency data"),null;var s=i[$n]&&i[$n][hT]?i[$n][hT]:"GET",a=new Qi(e,i.id,i.target,i[El],i[Cd],i.success,i.responseCode,s,i.type,i.correlationContext,r,n),l=new Sl(Qi[zs],a);return lg(e,Qi[Id],t,l)}function dq(e,t,o){cg(e,t);var n={},r={};t[uq]!==Vi[zs]&&(n.baseTypeSource=t[uq]),t[uq]===Vi[zs]?(n=t[go][$n]||{},r=t[go][Pd]||{}):t[go]&&zd(t[go],n,r),zd(t[fi],n,r),ce(o)||ag(n,o);var i=t[go][El],s=new Vi(e,i,n,r),a=new Sl(Vi[zs],s);return lg(e,Vi[Id],t,a)}function ame(e,t,o){cg(e,t);var n=t[go][Pd]||{},r=t[go][$n]||{};zd(t[fi],r,n),ce(o)||ag(r,o);var i=t[go],s=Jn.CreateFromInterface(e,i,r,n),a=new Sl(Jn[zs],s);return lg(e,Jn[Id],t,a)}function lme(e,t,o){cg(e,t);var n=t[go],r=n[$n]||{},i=n[Pd]||{};zd(t[fi],r,i),ce(o)||ag(r,o);var s=new Gi(e,n[El],n.average,n.sampleCount,n.min,n.max,n.stdDev,r,i),a=new Sl(Gi[zs],s);return lg(e,Gi[Id],t,a)}function cme(e,t,o){cg(e,t);var n,r=t[go];!ce(r)&&!ce(r[$n])&&!ce(r[$n][Cd])?(n=r[$n][Cd],delete r[$n][Cd]):!ce(t[fi])&&!ce(t[fi][Cd])&&(n=t[fi][Cd],delete t[fi][Cd]);var i=t[go],s;((t.ext||{}).trace||{})[og]&&(s=t.ext.trace[og]);var a=i.id||s,l=i[El],c=i.uri,u=i[$n]||{},p=i[Pd]||{};if(ce(i.refUri)||(u.refUri=i.refUri),ce(i.pageType)||(u.pageType=i.pageType),ce(i.isLoggedIn)||(u.isLoggedIn=i.isLoggedIn[Vc]()),!ce(i[$n])){var m=i[$n];St(m,function(v,h){u[v]=h})}zd(t[fi],u,p),ce(o)||ag(u,o);var g=new Ir(e,l,c,n,u,p,a),f=new Sl(Ir[zs],g);return lg(e,Ir[Id],t,f)}function ume(e,t,o){cg(e,t);var n=t[go],r=n[El],i=n.uri||n.url,s=n[$n]||{},a=n[Pd]||{};zd(t[fi],s,a),ce(o)||ag(s,o);var l=new Ia(e,r,i,void 0,s,a,n),c=new Sl(Ia[zs],l);return lg(e,Ia[Id],t,c)}function dme(e,t,o){cg(e,t);var n=t[go].message,r=t[go].severityLevel,i=t[go][$n]||{},s=t[go][Pd]||{};zd(t[fi],i,s),ce(o)||ag(i,o);var a=new Pa(e,n,r,i,s),l=new Sl(Pa[zs],a);return lg(e,Pa[Id],t,l)}function pme(e,t){gd(e,null,null,t)}function mme(e){var t,o=Go(),n=Pr(),r=!1,i=!0,s=Hi(Wn("OfflineListener"),e);try{if(l(qi())&&(r=!0),o){var a=o.body||o;a.ononline&&l(a)&&(r=!0)}r&&n&&!ce(n[UT])&&(i=n[UT])}catch{r=!1}function l(g){var f=!1;return g&&(f=Rs(g,"online",c,s),f&&Rs(g,"offline",u,s)),f}function c(){i=!0}function u(){i=!1}function p(){var g=!0;return r?g=i:n&&!ce(n[UT])&&(g=n[UT]),g}function m(){var g=qi();if(g&&r){if(pme(g,s),o){var f=o.body||o;mo(f.ononline)||pme(f,s)}r=!1}}return t={},t[qT]=p,t.isListening=function(){return r},t.unload=m,t}var gme=function(){function e(t,o){var n=[],r=!1;this._get=function(){return n},this._set=function(i){return n=i,n},ct(e,this,function(i){i[ng]=function(s){if(i[Ld]()>=o.eventsLimitInMem()){r||(_e(t,2,105,"Maximum in-memory buffer size reached: "+i[Ld](),!0),r=!0);return}n[Gc](s)},i[Ld]=function(){return n[_t]},i.size=function(){for(var s=n[_t],a=0;a0){var a=o[HT]()?s.join(` `):"["+s.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),fme=function(e){Ln(t,e);function t(o,n){var r=e.call(this,o,n)||this;return ct(t,r,function(i,s){i[Rd]=function(a){s[jd]()},i[ig]=function(a){}}),r}return t.__ieDyn=1,t}(gme);var hme=function(e){Ln(t,e);function t(o,n){var r=e.call(this,o,n)||this,i=!1,s=n[BT]()||{getItem:jb,setItem:ST},a=s.getItem,l=s.setItem;return ct(t,r,function(c,u){var p=v(t[Hb]),m=v(t[Md]),g=c._set(p.concat(m));g[_t]>t[Bb]&&(g[_t]=t[Bb]),h(t[Md],[]),h(t[Hb],g),c[ng]=function(x){if(c[Ld]()>=t[Bb]){i||(_e(o,2,67,"Maximum buffer size reached: "+c[Ld](),!0),i=!0);return}u[ng](x),h(t[Hb],c._get())},c[jd]=function(){u[jd](),h(t[Hb],c._get()),h(t[Md],[]),i=!1},c[Rd]=function(x){h(t[Hb],c._set(f(x,c._get())));var _=v(t[Md]);_ instanceof Array&&x instanceof Array&&(_=_.concat(x),_[_t]>t[Bb]&&(_e(o,1,67,"Sent buffer reached its maximum size: "+_[_t],!0),_[_t]=t[Bb]),h(t[Md],_))},c[ig]=function(x){var _=v(t[Md]);_=f(x,_),h(t[Md],_)};function f(x,_){var T=[];return je(_,function(P){!Qe(P)&&Rn(x,P)===-1&&T[Gc](P)}),T}function v(x){var _=x;try{_=n[Qc]&&n[Qc]()?n[Qc]()+"_"+_:_;var T=a(o,_);if(T){var P=Tn().parse(T);if(qe(P)&&(P=Tn().parse(P)),P&&kt(P))return P}}catch(E){_e(o,1,42," storage key: "+_+", "+bt(E),{exception:Me(E)})}return[]}function h(x,_){var T=x;try{T=n[Qc]&&n[Qc]()?n[Qc]()+"_"+T:T;var P=JSON[Ad](_);l(o,T,P)}catch(E){l(o,T,JSON[Ad]([])),_e(o,2,41," storage key: "+T+", "+bt(E)+". Buffer cleared",{exception:Me(E)})}}}),r}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(gme);var bme=function(){function e(t){ct(e,this,function(o){o.serialize=function(s){var a=n(s,"root");try{return Tn()[Ad](a)}catch(l){_e(t,1,48,l&&Qe(l[Vc])?l[Vc]():"Error serializing object",null,!0)}};function n(s,a){var l="__aiCircularRefCheck",c={};if(!s)return _e(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(s[l])return _e(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!s.aiDataContract){if(a==="measurements")c=i(s,"number",a);else if(a==="properties")c=i(s,"string",a);else if(a==="tags")c=i(s,"string",a);else if(kt(s))c=r(s,a);else{_e(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Tn()[Ad](s),c=s}catch(u){_e(t,1,48,u&&Qe(u[Vc])?u[Vc]():"Error serializing object",null,!0)}}return c}return s[l]=!0,St(s.aiDataContract,function(u,p){var m=Qe(p)?p()&1:p&1,g=Qe(p)?p()&4:p&4,f=p&2,v=s[u]!==void 0,h=gr(s[u])&&s[u]!==null;if(m&&!v&&!f)_e(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var x=void 0;h?f?x=r(s[u],u):x=n(s[u],u):x=s[u],x!==void 0&&(c[u]=x)}}),delete s[l],c}function r(s,a){var l;if(s)if(!kt(s))_e(t,1,54,`This field was specified as an array in the contract but the item is not an array.\r `,{name:a},!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[Qb]=t,this.samplingScoreGenerator=new _me}return e.prototype.isSampledIn=function(t){var o=this[Qb],n=!1;return o==null||o>=100||t.baseType===Gi[zs]?!0:(n=this.samplingScoreGenerator[YI](t)h._senderConfig[qI]()&&h[sg](!0,null,10),Jt())},h.flush=function(I,Q,re){if(I===void 0&&(I=!0),!s){bo();try{h[sg](I,null,re||1)}catch(he){_e(h[_r](),1,22,"flush failed, telemetry will not be collected: "+bt(he),{exception:Me(he)})}}},h.onunloadFlush=function(){if(!s)if((h._senderConfig[tq]()===!1||h[io][HI]()===!1)&&dd())try{h[sg](!0,E,2)}catch(I){_e(h[_r](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+bt(I),{exception:Me(I)})}else h.flush()},h.addHeader=function(I,Q){u[I]=Q},h.initialize=function(I,Q,re,he){h.isInitialized()&&_e(h[_r](),1,28,"Sender is already initialized"),x.initialize(I,Q,re,he);var ze=h._getTelCtx(),it=h.identifier;l=new bme(Q.logger),n=0,r=null,i=0,h[Vb]=null,c=0;var gt=h[_r]();v=Hi(Wn("Sender"),Q.evtNamespace&&Q.evtNamespace()),f=mme(v);var so=xme();St(so,function(ie,pe){h[io][ie]=function(){var ye=ze.getConfig(it,ie,pe());return!ye&&ie==="endpointUrl"&&(ye=pe()),ye}});var an=h[io][oq]()&&!!(h._senderConfig[BT]()||_d());h[Dd]=an?new hme(gt,h[io]):new fme(gt,h[io]),h._sample=new yme(h[io][nq](),gt),ee(I)||_e(gt,1,100,"Invalid Instrumentation key "+I[VT]),!Jm(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[_t]>0&&je(h[io][rq](),function(ie){o.addHeader(ie.header,ie.value)});var vo=h[io],q=null;!vo[Gb]()&&QP()?q=Re:!vo[Gb]()&&$m()&&(q=de),!q&&GP()&&(q=ae),m=q||de,!vo[HI]()&&dd()&&(q=N),h[Vb]=q||de,!vo[iq]()&&GP(!0)?g=Ce:dd()?g=N:!vo[Gb]()&&QP()?g=Re:!vo[Gb]()&&$m()?g=de:g=m},h.processTelemetry=function(I,Q){Q=h._getTelCtx(Q);var re=Q[_r]();try{if(h[io][BI]())return;if(!I){_e(re,1,7,"Cannot send empty telemetry");return}if(I.baseData&&!I[VI]){_e(re,1,70,"Cannot send telemetry without baseData and baseType");return}if(I[VI]||(I[VI]="EventData"),!h[Vb]){_e(re,1,28,"Sender was not initialized");return}if(_(I))I[Eb]=h._sample[Qb];else{_e(re,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[Qb]});return}var he=h[io][sq]()||void 0,ze=I.iKey||h[io][VT](),it=t.constructEnvelope(I,ze,re,he);if(!it){_e(re,1,47,"Unable to create an AppInsights envelope");return}var gt=!1;if(I[Xo]&&I[Xo][Cb]&&(je(I[Xo][Cb],function(q){try{q&&q(it)===!1&&(gt=!0,js(re,"Telemetry processor check returns false"))}catch(ie){_e(re,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+bt(ie),{exception:Me(ie)},!0)}}),delete I[Xo][Cb]),gt)return;var so=l.serialize(it),an=h[Dd],vo=an.size();vo+so[_t]>h[io][qI]()&&(!f||f[qT]())&&h[sg](!0,null,10),an[ng](so),Jt()}catch(q){_e(re,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+bt(q),{exception:Me(q)})}h.processNext(I,Q)},h[ome]=function(I,Q,re){I.readyState===4&&T(I.status,Q,I.responseURL,re,Ot(I),KI(I)||I.response)},h[sg]=function(I,Q,re){if(I===void 0&&(I=!0),!s)try{var he=h[Dd];if(h[io][BI]())he[jd]();else{if(he[Ld]()>0){var ze=he.getItems();D(re||0,I),Q?Q.call(o,ze,I):h[Vb](ze,I)}i=+new Date}bo()}catch(gt){var it=Tb();(!it||it>9)&&_e(h[_r](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+bt(gt),{exception:Me(gt)})}},h._doTeardown=function(I,Q){h.onunloadFlush(),f.unload(),fe()},h[Ns]=function(I,Q,re){_e(h[_r](),2,26,"Failed to send telemetry.",{message:Q}),h._buffer[ig](I)},h[GI]=function(I,Q){for(var re=[],he=[],ze=Q.errors.reverse(),it=0,gt=ze;it0&&h[GT](I,Q[QT]),re[_t]>0&&h[Ns](re,Ot(null,["partial success",Q[QT],"of",Q.itemsReceived].join(" "))),he[_t]>0&&(Vt(he),_e(h[_r](),2,40,"Partial success. Delivered: "+I[_t]+", Failed: "+re[_t]+". Will retry to send "+he[_t]+" our of "+Q[nme]+" items"))},h[GT]=function(I,Q){h._buffer[ig](I)},h._xdrOnLoad=function(I,Q){var re=KI(I);if(I&&(re+""=="200"||re===""))n=0,h[GT](Q,0);else{var he=Nt(re);he&&he.itemsReceived&&he.itemsReceived>he[QT]&&!h[io][Yb]()?h[GI](Q,he):h[Ns](Q,M(I))}};function _(I){return h._sample.isSampledIn(I)}function T(I,Q,re,he,ze,it){var gt=null;if(h._appId||(gt=Nt(it),gt&>.appId&&(h._appId=gt.appId)),(I<200||I>=300)&&I!==0){if((I===301||I===307||I===308)&&!P(re)){h[Ns](Q,ze);return}!h[io][Yb]()&&Vn(I)?(Vt(Q),_e(h[_r](),2,40,". Response code "+I+". Will retry to send "+Q[_t]+" items.")):h[Ns](Q,ze)}else if(f&&!f[qT]()){if(!h[io][Yb]()){var so=10;Vt(Q,so),_e(h[_r](),2,40,". Offline - Response Code: ".concat(I,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(Q.length," items."))}}else P(re),I===206?(gt||(gt=Nt(it)),gt&&!h[io][Yb]()?h[GI](Q,gt):h[Ns](Q,ze)):(n=0,h[GT](Q,he))}function P(I){return c>=10?!1:!ce(I)&&I!==""&&I!==h[io][$d]()?(h[io][$d]=function(){return I},++c,!0):!1}function E(I,Q){g?g(I,!1):N(I,Q)}function B(I){var Q=Pr(),re=h[Dd],he=h[io][$d](),ze=h._buffer[rg](I),it=new Blob([ze],{type:"text/plain;charset=UTF-8"}),gt=Q.sendBeacon(he,it);return gt&&(re[Rd](I),h._onSuccess(I,I[_t])),gt}function N(I,Q){if(kt(I)&&I[_t]>0&&!B(I)){for(var re=[],he=0;he0&&(m&&m(re,!0),_e(h[_r](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function de(I,Q){var re=new XMLHttpRequest,he=h[io][$d]();try{re[Ca]=!0}catch{}re.open("POST",he,Q),re[QI]("Content-type","applicationhttps://www.microsoft.com/json"),Jm(he)&&re[QI](Wt[6],Wt[7]),je(ci(u),function(it){re[QI](it,u[it])}),re.onreadystatechange=function(){return h._xhrReadyStateChange(re,I,I[_t])},re.onerror=function(it){return h[Ns](I,Ot(re),it)};var ze=h._buffer[rg](I);re.send(ze),h._buffer[Rd](I)}function Ce(I,Q){if(kt(I)){for(var re=I[_t],he=0;he=Q[QT]&&Q.itemsReceived-Q.itemsAccepted===Q.errors[_t])return Q}}catch(re){_e(h[_r](),1,43,"Cannot parse the response. "+bt(re),{response:I})}return null}function Vt(I,Q){if(Q===void 0&&(Q=1),!(!I||I[_t]===0)){var re=h[Dd];re[ig](I),n++;for(var he=0,ze=I;he=200&&+c[Yi]<400,g.responseCode=+c[Yi],g[Nd]={HttpMethod:c[Al]},g),v=f[Nd];if(c[Od]&&(v[Od]=!0),c[Zc]&&(f[Kc]=new Date,f[Kc].setTime(c[Zc])),ZDe(c,f),p&&ci(c.requestHeaders)[La]>0&&(v[vi]=c[vi]),m){var h=m();if(h){var x=h[Rme];if(x&&(f.correlationContext=x),h[Xb]&&ci(h.headerMap)[La]>0&&(v.responseHeaders=h[Xb]),c[tk])if(c[Yi]>=400){var _=h.type;(_===""||_==="text")&&(v.responseText=h.responseText?h[Wc]+" - "+h[l]:h[Wc]),_==="json"&&(v.responseText=h.response?h[Wc]+" - "+JSON.stringify(h[eL]):h[Wc])}else c[Yi]===0&&(v.responseText=h[Wc]||"")}}return f},c[nk]=function(){var u,p=null,m=c[oL];if(m&&(m[Zb]||m[Jb])){p={};var g=p[Xn.TraceExt]=(u={},u[ja]=m[Zb],u.parentID=m[Jb],u);ce(m[bi])||(g[bi]=m[bi])}return p}})}return e.__ieDyn=1,e}();var Dme="ai.ajxmn.",ak="diagLog",Ki="ajaxData",mg="fetch",ik="Failed to monitor XMLHttpRequest",Hme=", monitoring data for this ajax call ",tv=Hme+"may be incorrect.",$me=Hme+"won't be sent.",zme="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Nme="Failed to add custom defined request context as configured call back may missing a null check.",Ome="Failed to calculate the duration of the ",Fme=0;function XDe(){var e=Cs();return!e||ce(e.Request)||ce(e.Request[wo])||ce(e[mg])?null:e[mg]}var nL=null;function e1e(){if(nL==null)try{nL=!!(self&&self instanceof WorkerGlobalScope)}catch{nL=!1}return nL}function t1e(e){var t=!1;if($m()){var o=XMLHttpRequest[wo];t=!ce(o)&&!ce(o.open)&&!ce(o.send)&&!ce(o.abort)}var n=Tb();if(n&&n<9&&(t=!1),t)try{var r=new XMLHttpRequest;r[Ki]={};var i=XMLHttpRequest[wo].open;XMLHttpRequest[wo].open=i}catch(s){t=!1,lk(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Me(s)})}return t}function iL(e){var t="";try{e&&e[Ki]&&e[Ki][hi]&&(t+="(url: '"+e[Ki][hi]+"')")}catch{}return t}function lk(e,t,o,n,r){_e(e[ak](),1,t,o,n,r)}function ov(e,t,o,n,r){_e(e[ak](),2,t,o,n,r)}function sk(e,t,o){return function(n){lk(e,t,o,{ajaxDiagnosticsMessage:iL(n[Kb]),exception:Me(n.err)})}}function nv(e,t){return e&&t?e.indexOf(t):-1}function Ume(e,t,o){var n={id:t,fn:o};return e.push(n),{remove:function(){je(e,function(r,i){if(r.id===n.id)return e.splice(i,1),-1})}}}function Bme(e,t,o,n){var r=!0;return je(t,function(i,s){try{i.fn.call(null,o)===!1&&(r=!1)}catch(a){_e(e&&e.logger,1,64,"Dependency "+n+" [#"+s+"] failed: "+bt(a),{exception:Me(a)},!0)}}),r}function o1e(e,t,o,n,r,i){var s=e[La];if(s>0){var a={core:t,xhr:n,input:r,init:i,traceId:o[ja],spanId:o[Cl],traceFlags:o[bi],context:o[Wb]||{},aborted:!!o[Od]};Bme(t,e,a,"listener"),o[ja]=a[Zb],o[Cl]=a[Jb],o[bi]=a[bi],o[Wb]=a[Wb]}}var rL="*.blob.core.",Vme=hb([rL+"windows.net",rL+"chinacloudapi.cn",rL+"cloudapi.de",rL+"usgovcloudapi.net"]),n1e=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function _q(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:Vme,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=_q();return St(e,function(t){e[t]=void 0}),e}var yq=function(e){Ln(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var n,r,i,s,a,l,c,u,p,m,g,f,v,h,x,_,T,P,E,B,N,de,Ce;return ct(t,o,function(ae,yt){var Nt=yt._addHook;Vt(),ae.initialize=function(q,ie,pe,ye){ae.isInitialized()||(yt.initialize(q,ie,pe,ye),B=Hi(Wn("ajax"),ie&&ie.evtNamespace&&ie.evtNamespace()),Uo(q),Re(),Vn(),Jt())},ae._doTeardown=function(){Vt()},ae.trackDependencyData=function(q,ie){vo(Ce,ae[Ra],null,q,ie)},ae[WI]=function(q,ie,pe,ye){var we=ae._currentWindowHost||i;if(o1e(de,ae[Ra],q,ye,ie,pe),ie){if(qc[gq](s,q[YT](),we)){pe||(pe={});var Ye=new Headers(pe[Fd]||(ie instanceof Request?ie[Fd]||{}:{}));if(m){var Ke="|"+q[ja]+"."+q[Cl];Ye.set(Wt[3],Ke),a&&(q[vi][Wt[3]]=Ke)}var Mt=s[KT]||u&&u[KT]();if(Mt&&(Ye.set(Wt[0],Wt[2]+Mt),a&&(q[vi][Wt[0]]=Wt[2]+Mt)),p){var nt=q[bi];ce(nt)&&(nt=1);var Ft=pT(dT(q[ja],q[Cl],nt));Ye.set(Wt[4],Ft),a&&(q[vi][Wt[4]]=Ft)}pe[Fd]=Ye}return pe}else if(ye){if(qc[gq](s,q[YT](),we)){if(m){var Ke="|"+q[ja]+"."+q[Cl];ye[ZI](Wt[3],Ke),a&&(q[vi][Wt[3]]=Ke)}var Mt=s[KT]||u&&u[KT]();if(Mt&&(ye[ZI](Wt[0],Wt[2]+Mt),a&&(q[vi][Wt[0]]=Wt[2]+Mt)),p){var nt=q[bi];ce(nt)&&(nt=1);var Ft=pT(dT(q[ja],q[Cl],nt));ye[ZI](Wt[4],Ft),a&&(q[vi][Wt[4]]=Ft)}}return ye}},ae[fq]=function(q,ie,pe){if(v===-1||c5?g=Dme+we.substring(we[La]-5)+".":g=Dme+we+"."}_=!!s[Pme],T=!!s[Ime]}function Jt(){var q=ae[Ra].getPlugin(Td);q&&(u=q.plugin[Wb])}function bo(q){var ie=!0;return(q||s.ignoreHeaders)&&je(s.ignoreHeaders,function(pe){if(pe[ug]()===q[ug]())return ie=!1,-1}),ie}function Vn(){var q=XDe();if(q){var ie=Cs(),pe=q.polyfill;!T&&!n?(Nt(fT(ie,mg,{ns:B,req:function(ye,we,Ye){var Ke;if(!T&&n&&!M(null,we,Ye)&&!(pe&&r)){var Mt=ye.ctx();Ke=it(we,Ye);var nt=ae[WI](Ke,we,Ye);nt!==Ye&&ye.set(1,nt),Mt.data=Ke}},rsp:function(ye,we){if(!T){var Ye=ye.ctx().data;Ye&&(ye.rslt=ye.rslt.then(function(Ke){return so(ye,(Ke||{})[Yi],we,Ke,Ye,function(){var Mt={statusText:(Ke||{})[Wc],headerMap:null,correlationContext:an(Ke)};if(h&&Ke){var nt={};Ke.headers.forEach(function(Ft,Tr){bo(Tr)&&(nt[Tr]=Ft)}),Mt[Xb]=nt}return Mt}),Ke}).catch(function(Ke){throw so(ye,0,we,null,Ye,null,{error:Ke.message||Me(Ke)}),Ke}))}},hkErr:sk(ae,15,"Failed to monitor Window.fetch"+tv)},!0,e1e())),n=!0):pe&&Nt(fT(ie,mg,{ns:B,req:function(ye,we,Ye){M(null,we,Ye)}})),pe&&(ie[mg].polyfill=pe)}}function Ot(q,ie,pe){Nt(CU(q,ie,pe))}function Re(){t1e(ae)&&!_&&!r&&(Ot(XMLHttpRequest,"open",{ns:B,req:function(q,ie,pe,ye){if(!_){var we=q[Kb],Ye=we[Ki];!M(we,pe)&&G(we,!0)&&((!Ye||!Ye.xhrMonitoringState[WT])&&ee(we,ie,pe,ye),fe(we))}},hkErr:sk(ae,15,ik+".open"+tv)}),Ot(XMLHttpRequest,"send",{ns:B,req:function(q,ie){if(!_){var pe=q[Kb],ye=pe[Ki];G(pe)&&!ye.xhrMonitoringState[ZT]&&(he("xhr",ye),ye[Zc]=Mb(),ae[WI](ye,void 0,void 0,pe),ye.xhrMonitoringState[ZT]=!0)}},hkErr:sk(ae,17,ik+tv)}),Ot(XMLHttpRequest,"abort",{ns:B,req:function(q){if(!_){var ie=q[Kb],pe=ie[Ki];G(ie)&&!pe.xhrMonitoringState[JT]&&(pe[Od]=1,pe.xhrMonitoringState[JT]=!0)}},hkErr:sk(ae,13,ik+".abort"+tv)}),Ot(XMLHttpRequest,"setRequestHeader",{ns:B,req:function(q,ie,pe){if(!_&&a){var ye=q[Kb];G(ye)&&bo(ie)&&(ye[Ki][vi][ie]=pe)}},hkErr:sk(ae,71,ik+".setRequestHeader"+tv)}),r=!0)}function M(q,ie,pe){var ye=!1,we=((qe(ie)?ie:(ie||{}).url||"")||"")[ug]();if(je(P,function(Mt){var nt=Mt;qe(Mt)&&(nt=new RegExp(Mt)),ye||(ye=nt.test(we))}),ye)return ye;var Ye=nv(we,"?"),Ke=nv(we,"#");return(Ye===-1||Ke!==-1&&Ke=0;De--){var U=vp[De];if(U){if(U.entryType==="resource")U.initiatorType===q&&(nv(U[Ud],nt)!==-1||nv(nt,U[Ud])!==-1)&&(ir=U);else if(U.entryType==="mark"&&U[Ud]===we[Ud]){ie[rk]=ir;break}if(U[Kc]=Ke||ie.async===!1?(we&&Qe(Ye.clearMarks)&&Ye.clearMarks(we[Ud]),ie.perfAttempts=Ft,pe()):setTimeout(Tr,Mt)}catch(w){ye(w)}})()}function it(q,ie){var pe,ye=D(),we=ye&&ye[XT]()||di(),Ye=di().substr(0,16),Ke=new vq(we,Ye,ae[ak](),(pe=ae.core)===null||pe===void 0?void 0:pe.getTraceCtx());Ke[bi]=ye&&ye[ek](),Ke[Zc]=Mb(),Ke[tk]=l,q instanceof Request?Ke[hi]=q?q.url:"":Ke[hi]=q;var Mt="GET";ie&&ie[Al]?Mt=ie[Al]:q&&q instanceof Request&&(Mt=q[Al]),Ke[Al]=Mt;var nt={};if(a){var Ft=new Headers((ie?ie[Fd]:0)||(q instanceof Request?q[Fd]||{}:{}));Ft.forEach(function(Tr,ir){bo(ir)&&(nt[ir]=Tr)})}return Ke[vi]=nt,he(mg,Ke),Ke}function gt(q){var ie="";try{ce(q)||(typeof q=="string"?ie+="(url: '".concat(q,"')"):ie+="(url: '".concat(q.url,"')"))}catch(pe){lk(ae,15,"Failed to grab failed fetch diagnostics message",{exception:Me(pe)})}return ie}function so(q,ie,pe,ye,we,Ye,Ke){if(!we)return;function Mt(nt,Ft,Tr){var ir=Tr||{};ir.fetchDiagnosticsMessage=gt(pe),Ft&&(ir.exception=Me(Ft)),ov(ae,nt,Ome+"fetch call"+$me,ir)}we[dg]=Mb(),we[Yi]=ie,ze(mg,we,function(){var nt=we[ok]("Fetch",a,Ye),Ft;try{E&&(Ft=E({status:ie,request:pe,response:ye}))}catch{ov(ae,104,Nme)}if(nt){Ft!==void 0&&(nt[Nd]=Bo(Bo({},nt.properties),Ft));var Tr=we[nk]();vo(Ce,ae[Ra],we,nt,null,Tr)}else Mt(14,null,{requestSentTime:we[Zc],responseFinishedTime:we[dg]})},function(nt){Mt(18,nt,null)})}function an(q){if(q&&q[Fd])try{var ie=q[Fd].get(Wt[0]);return qc[bq](ie)}catch(pe){ov(ae,18,zme,{fetchDiagnosticsMessage:gt(q),exception:Me(pe)})}}function vo(q,ie,pe,ye,we,Ye){var Ke=!0,Mt=q[La];if(Mt>0){var nt={item:ye,properties:we,sysProperties:Ye,context:pe?pe[Wb]:null,aborted:pe?!!pe[Od]:!1};Ke=Bme(ie,q,nt,"initializer")}Ke&&ae[fq](ye,we,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=_q,t.getEmptyConfig=qme,t}(Ea);var Gme=function(){function e(){}return e}();var Qme=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var rv="sessionManager",gg="update",iv="isUserCookieSet",sv="isNewUser",sL="getTraceCtx",ck="telemetryTrace",aL="applySessionContext",lL="applyApplicationContext",cL="applyDeviceContext",uL="applyOperationContext",dL="applyUserContext",pL="applyOperatingSystemContxt",mL="applyLocationContext",gL="applyInternalContext",Ma="accountId",av="sdkExtension",lv="getSessionId",Pl="namePrefix",cv="sessionCookiePostfix",uv="userCookiePostfix",Hd="idLength",Bd="getNewId",fg="length",Vd="automaticSession",Gd="authenticatedId",dv="sessionExpirationMs",uk="sessionRenewalMs",Da="config",pv="acquisitionDate",dk="renewalDate",pk="cookieDomain",mv="join",gv="cookieSeparator",fL="authUserCookieName";var r1e="2.8.13",Yme=function(){function e(t){this.sdkVersion=(t[av]&&t[av]()?t[av]()+"_":"")+"javascript:"+r1e}return e}();var Kme=function(){function e(){}return e}();var i1e="ai_session",xq=function(){function e(){}return e}();var Wme=function(){function e(t,o){var n=this,r,i,s=wa(o),a=Um(o);ct(e,n,function(l){t||(t={}),Qe(t[dv])||(t[dv]=function(){return e.acquisitionSpan}),Qe(t[uk])||(t[uk]=function(){return e.renewalSpan}),l[Da]=t;var c=l.config[cv]&&l[Da][cv]()?l.config[cv]():l.config[Pl]&&l[Da][Pl]()?l[Da][Pl]():"";r=function(){return i1e+c},l[Vd]=new xq,l[gg]=function(){var v=Mn(),h=!1,x=l[Vd];x.id||(h=!u(x,v));var _=l.config[dv]();if(!h&&_>0){var T=l.config[uk](),P=v-x[pv],E=v-x[dk];h=P<0||E<0,h=h||P>_,h=h||E>T}h?m(v):(!i||v-i>e.cookieUpdateInterval)&&g(x,v)},l.backup=function(){var v=l[Vd];f(v.id,v[pv],v[dk])};function u(v,h){var x=!1,_=a.get(r());if(_&&Qe(_.split))x=p(v,_);else{var T=$U(s,r());T&&(x=p(v,T))}return x||!!v.id}function p(v,h){var x=!1,_=", session will be reset",T=h.split("|");if(T[fg]>=2)try{var P=+T[1]||0,E=+T[2]||0;isNaN(P)||P<=0?_e(s,2,27,"AI session acquisition date is 0"+_):isNaN(E)||E<=0?_e(s,2,27,"AI session renewal date is 0"+_):T[0]&&(v.id=T[0],v[pv]=P,v[dk]=E,x=!0)}catch(B){_e(s,1,9,"Error parsing ai_session value ["+(h||"")+"]"+_+" - "+bt(B),{exception:Me(B)})}return x}function m(v){var h=l[Da]||{},x=(h[Bd]?h[Bd]():null)||zc;l.automaticSession.id=x(h[Hd]?h[Hd]():22),l[Vd][pv]=v,g(l[Vd],v),kT()||_e(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(v,h){var x=v[pv];v[dk]=h;var _=l[Da],T=_[uk](),P=x+_[dv]()-h,E=[v.id,x,h],B=0;P0?B:null,N),i=h}function f(v,h,x){zU(s,r(),[v,h,x][mv]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var Zme=function(){function e(t,o,n,r){var i=this;i.traceID=t||di(),i.parentID=o;var s=ui();!n&&s&&s.pathname&&(n=s.pathname),i.name=qt(r,n)}return e}();function Jme(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var Xme=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n=wa(o),r=Um(o),i;ct(e,this,function(s){s[Da]=t;var a=s.config[uv]&&s[Da][uv]()?s[Da][uv]():"";i=function(){return e.userCookieName+a};var l=r.get(i());if(l){s[sv]=!1;var c=l.split(e[gv]);c[fg]>0&&(s.id=c[0],s[iv]=!!s.id)}function u(){var x=t||{},_=(x[Bd]?x[Bd]():null)||zc,T=_(x[Hd]?t[Hd]():22);return T}function p(x){var _=Fi(new Date);s.accountAcquisitionDate=_,s[sv]=!0;var T=[x,_];return T}function m(x){var _=31536e3;s[iv]=r.set(i(),x,_)}if(!s.id){s.id=u();var g=p(s.id);m(g[mv](e[gv]));var f=t[Pl]&&t[Pl]()?t[Pl]()+"ai_session":"ai_session";NU(n,f)}s[Ma]=t[Ma]?t[Ma]():void 0;var v=r.get(e[fL]);if(v){v=decodeURI(v);var h=v.split(e[gv]);h[0]&&(s[Gd]=h[0]),h[fg]>1&&h[1]&&(s[Ma]=h[1])}s.setAuthenticatedUserContext=function(x,_,T){T===void 0&&(T=!1);var P=!Jme(x)||_&&!Jme(_);if(P){_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}s[Gd]=x;var E=s[Gd];_&&(s[Ma]=_,E=[s[Gd],s.accountId][mv](e[gv])),T&&r.set(e[fL],encodeURI(E))},s.clearAuthenticatedUserContext=function(){s[Gd]=null,s[Ma]=null,r.del(e[fL])},s[gg]=function(x){if(s.id!==x||!s[iv]){var _=x||u(),T=p(_);m(T[mv](e[gv]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var hL="ext",bL="tags";function fv(e,t){e&&e[t]&&ci(e[t])[fg]===0&&delete e[t]}var ege=function(){function e(t,o,n){var r=this,i=t.logger;this.appId=function(){return null},this[lv]=function(){return null},ct(e,this,function(s){if(s.application=new Gme,s.internal=new Yme(o),Dc()){s[rv]=new Wme(o,t),s.device=new Qme,s.location=new Kme,s.user=new Xme(o,t);var a=void 0,l=void 0,c;n&&(a=n.getTraceId(),l=n.getSpanId(),c=n.getName()),s[ck]=new Zme(a,l,c,i),s.session=new xq}s[lv]=function(){var u=s.session,p=null;if(u&&qe(u.id))p=u.id;else{var m=(s[rv]||{})[Vd];p=m&&qe(m.id)?m.id:null}return p},s[aL]=function(u,p){Dt($o(u.ext,Xn.AppExt),"sesId",s[lv](),qe)},s[pL]=function(u,p){Dt(u.ext,Xn.OSExt,s.os)},s[lL]=function(u,p){var m=s.application;if(m){var g=$o(u,bL);Dt(g,Zt.applicationVersion,m.ver,qe),Dt(g,Zt.applicationBuild,m.build,qe)}},s[cL]=function(u,p){var m=s.device;if(m){var g=$o($o(u,hL),Xn.DeviceExt);Dt(g,"localId",m.id,qe),Dt(g,"ip",m.ip,qe),Dt(g,"model",m.model,qe),Dt(g,"deviceClass",m.deviceClass,qe)}},s[gL]=function(u,p){var m=s.internal;if(m){var g=$o(u,bL);Dt(g,Zt.internalAgentVersion,m.agentVersion,qe),Dt(g,Zt.internalSdkVersion,m.sdkVersion,qe),(u.baseType===$c.dataType||u.baseType===Ir.dataType)&&(Dt(g,Zt.internalSnippet,m.snippetVer,qe),Dt(g,Zt.internalSdkSrc,m.sdkSrc,qe))}},s[mL]=function(u,p){var m=r.location;m&&Dt($o(u,bL,[]),Zt.locationIp,m.ip,qe)},s[uL]=function(u,p){var m=s[ck];if(m){var g=$o($o(u,hL),Xn.TraceExt,{traceID:void 0,parentID:void 0});Dt(g,"traceID",m.traceID,qe,ce),Dt(g,"name",m.name,qe,ce),Dt(g,"parentID",m.parentID,qe,ce)}},s.applyWebContext=function(u,p){var m=r.web;m&&Dt($o(u,hL),Xn.WebExt,m)},s[dL]=function(u,p){var m=s.user;if(m){var g=$o(u,bL,[]);Dt(g,Zt.userAccountId,m[Ma],qe);var f=$o($o(u,hL),Xn.UserExt);Dt(f,"id",m.id,qe),Dt(f,"authId",m[Gd],qe)}},s.cleanUp=function(u,p){var m=u.ext;m&&(fv(m,Xn.DeviceExt),fv(m,Xn.UserExt),fv(m,Xn.WebExt),fv(m,Xn.OSExt),fv(m,Xn.AppExt),fv(m,Xn.TraceExt))}})}return e.__ieDyn=1,e}();var s1e=function(e){Ln(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=Td;var n,r,i;return ct(t,o,function(s,a){l(),s.initialize=function(p,m,g,f){a.initialize(p,m,g,f),c(p)},s.processTelemetry=function(p,m){if(!ce(p)){m=s._getTelCtx(m),p.name===Ir.envelopeType&&m.diagLog().resetInternalMessageCount();var g=s.context||{};g.session&&typeof s.context.session.id!="string"&&g[rv]&&g[rv][gg]();var f=g.user;if(f&&!f[iv]&&f[gg](g.user.id),u(p,m),f&&f[sv]){f[sv]=!1;var v=new $c(72,(Pr()||{}).userAgent||"");nU(m.diagLog(),1,v)}s.processNext(p,m)}},s._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[sL]){var f=g[sL](!1);f===r&&g.setTraceCtx(i)}l()};function l(){n=null,r=null,i=null}function c(p){var m=s.identifier,g=s.core,f=Zn(null,p,g),v=t.getDefaultConfig();n=n||{},St(v,function(h,x){n[h]=function(){return f.getConfig(m,h,x())}}),i=g[sL](!1),s.context=new ege(g,n,i),r=Xm(s.context[ck],i),g.setTraceCtx(r),s.context.appId=function(){var h=g.getPlugin(AT);return h?h.plugin._appId:null},s._extConfig=n}function u(p,m){$o(p,"tags",[]),$o(p,"ext",{});var g=s.context;g[aL](p,m),g[lL](p,m),g[cL](p,m),g[uL](p,m),g[dL](p,m),g[pL](p,m),g.applyWebContext(p,m),g[mL](p,m),g[gL](p,m),g.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,n,r=null,i=(o={instrumentationKey:function(){return n}},o[Ma]=function(){return r},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[pk]=function(){return r},o[av]=function(){return r},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return r},o[lv]=function(){return r},o[Pl]=function(){return n},o[cv]=function(){return n},o[uv]=function(){return n},o[Hd]=function(){return 22},o[Bd]=function(){return r},o);return i},t}(Ea),Tq=s1e;var tge="AuthenticatedUserContext",hv="track";var vL="snippet",oge="getCookieMgr",nge="startTrackPage",rge="stopTrackPage",_L="flush",ige="startTrackEvent",sge="stopTrackEvent",kq="addTelemetryInitializer",E_t=kq+"s",Sq="pollInternalLogs",yL="getPlugin",xL="evtNamespace",age=hv+"Event",lge=hv+"Trace",cge=hv+"Metric",uge=hv+"PageView",dge=hv+"Exception",pge=hv+"DependencyData",mge="set"+tge,gge="clear"+tge;var fge="updateSnippetDefinitions",hge="loadAppInsights",wq="endpointUrl";var mk="diagnosticLogInterval";var bge="disableFlushOnBeforeUnload",vge="disableFlushOnUnload";var Jc="config",Os="context",gk="push",TL="version",Qd="queue",kL="connectionString",Eq="instrumentationKey",fk="appInsights",Cq="disableIkeyDeprecationMessage",Aq="getTransmissionControls",bv="onunloadFlush",Pq="addHousekeepingBeforeUnload",hk="indexOf";var Iq,_ge=[vL,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var Lq=function(){function e(t){var o=this,n,r,i,s,a,l,c;ct(e,this,function(u){x(),s=""+(t.sv||t[TL]||""),t[Qd]=t[Qd]||[],t[TL]=t[TL]||2;var p=t[Jc]||{};if(p[kL]){var m=HU(p[kL]),g=m.ingestionendpoint;p[wq]=g?g+Oc:p[wq],p[Eq]=m.instrumentationkey||p[Eq]}u[fk]=new FI,r=new Tq,n=new yq,i=new pq,c=new kU,u.core=c;var f=ce(p[Cq])?!0:p[Cq];!p[kL]&&!f&&_e(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[vL]=t,u[Jc]=p,v(),u[_L]=function(_){_===void 0&&(_=!0),pd(c,function(){return"AISKU.flush"},function(){je(c[Aq](),function(T){je(T,function(P){P[_L](_)})})},null,_)},u[bv]=function(_){_===void 0&&(_=!0),je(c[Aq](),function(T){je(T,function(P){P[bv]?P[bv]():P[_L](_)})})},u[hge]=function(_,T,P){_===void 0&&(_=!1);function E(B){if(B){var N="";ce(s)||(N+=s),_&&(N+=".lg"),u[Os]&&u[Os].internal&&(u[Os].internal.snippetVer=N||"-"),St(u,function(de,Ce){qe(de)&&!Qe(Ce)&&de&&de[0]!=="_"&&Rn(_ge,de)===-1&&(B[de]=Ce)})}}return _&&u[Jc].extensions&&u[Jc].extensions.length>0&&Co("Extensions not allowed in legacy mode"),pd(u.core,function(){return"AISKU.loadAppInsights"},function(){var B=[];B[gk](i),B[gk](r),B[gk](n),B[gk](u[fk]),c.initialize(u[Jc],B,T,P),u[Os]=r[Os],Iq&&u[Os]&&(u[Os].internal.sdkSrc=Iq),E(u[vL]),u.emptyQueue(),u[Sq](),u[Pq](o)}),u},u[fge]=function(_){FF(_,u,function(T){return T&&Rn(_ge,T)===-1})},u.emptyQueue=function(){try{if(kt(u.snippet[Qd])){for(var _=u.snippet[Qd].length,T=0;T<_;T++){var P=u.snippet[Qd][T];P()}u.snippet[Qd]=void 0,delete u.snippet[Qd]}}catch(B){var E={};B&&Qe(B.toString)&&(E.exception=B.toString())}},u[Pq]=function(_){if(Dc()||BP()){var T=function(){if(_[bv](!1),Qe(o.core[yL])){var B=o.core[yL](Td);if(B){var N=B.plugin;N&&N[Os]&&N[Os]._sessionManager&&N[Os]._sessionManager.backup()}}},P=!1,E=_.appInsights[Jc].disablePageUnloadEvents;l||(l=Hi(a,c[xL]&&c[xL]())),_.appInsights.config[bge]||(vU(T,E,l)&&(P=!0),cT(T,E,l)&&(P=!0),!P&&!XF()&&_e(_[fk].core.logger,1,19,"Could not add handler for beforeunload and pagehide")),!P&&!_.appInsights.config[vge]&&cT(T,E,l)}},u.getSender=function(){return i},u.unload=function(_,T,P){u[bv](_),l&&(_U(null,l),yU(null,l)),c.unload&&c.unload(_,T,P)},Mc(u,u[fk],[oge,age,uge,"trackPageViewPerformance",dge,"_onerror",lge,cge,nge,rge,ige,sge]),Mc(u,h,[pge,"addDependencyListener","addDependencyInitializer"]),Mc(u,c,[kq,Sq,"stopPollingInternalLogs",yL,"addPlugin",xL,"addUnloadCb","getTraceCtx"]),Mc(u,function(){var _=r[Os];return _?_.user:null},[mge,gge]);function v(){u.config[mk]=u.config[mk]&&u[Jc][mk]>0?u[Jc][mk]:1e4}function h(){return n}function x(){a=Wn("AISKU"),l=null,n=null,r=null,i=null,s=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 i="",s=0;s{},trackException:()=>{},trackTrace:()=>{}};function yge(){if(!S.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"}[Z.hostname];if(!e)return;let t=new Lq({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{A.isAuthenticated?t.setAuthenticatedUserContext(A.userId):t.clearAuthenticatedUserContext()};A.subscribe(yo,o),o(),t.trackPageView(),dt.subscribe(_o,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),zn=t}function jq(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 xge(){let e={method:"POST"},t=W(z.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await jq(async()=>{(await R(t)).ok},10)()}C();Ue();var a1e=0;function Ze(){return`ax-${a1e++}`}function Xc(){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 zo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var kge=d`
`;function Rq(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d` `:d``}function Tge(e){return d` `}var l1e="casSignIn",SL=class e{constructor(t,o=!1){this.url=Jr(t),o&&this.url.searchParams.set(l1e,"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=Jr(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 Sge(e,t=!1){let o=null;try{o=new SL(e,t).toString()}catch{o=location.href}return o}var Eyt=new URL("./register",mc()).toString(),wL=j.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`,Cyt=Ege(),Ayt=location.origin,c1e=j.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",u1e="https://login.microsoftonline.com",d1e="common",Lr,wge=async()=>{let e={auth:{clientId:c1e,authority:`${u1e}/${d1e}`,redirectUri:wL},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,o,n)=>{if(!n)switch(t){case Lt.Info:j.reviewFeatures&&console.info(o);return;case Lt.Verbose:j.reviewFeatures&&console.debug(o);return;case Lt.Warning:j.reviewFeatures?console.warn(o):zn.trackTrace({message:o,severityLevel:Lt.Warning,iKey:"learn.msal"});return;case Lt.Error:j.reviewFeatures?console.error(o):zn.trackTrace({message:o,severityLevel:Lt.Error,iKey:"learn.msal"});return}}}}};Lr=new Hx(e),await Lr.initialize()};function Ege(){return j.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 p1e(e,t=null,o=!1){let n=Sge(e,o),r=Ege(),i=encodeURIComponent(n),s=Xc();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:r,nonce:s,redirectUri:wL,state:i}}function Cge(e,t=null,o=!1){return Lr.setActiveAccount(null),Lr.loginRedirect(p1e(e,t,o))}var m1e={scopes:["openid","profile","email"]};function Age(){try{let e=g1e();return e?Lr.acquireTokenSilent(Object.assign({},m1e,{prompt:"none",account:e})).then(t=>($0(t.idToken),!0)).catch(()=>(z0(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function g1e(e=zu()){if(!e)return null;let o=F0(e).preferred_username;return o?Lr.getAccount({username:o}):null}function No(e=location.href,t="select_account",o=!1){Cge(e,t,o)}var f1e=location.origin;async function Wi(e=location.href,t=!1,o=!1){if(h1e(),t&&await R(z.auth.signOut),Xue(),An()&&await xge(),O0(),z0(),!o){let n=Jr(e,f1e);location.href=`${n.origin}${n.pathname}${n.search}`}}function h1e(){localStorage.removeItem("gitHubToken")}async function Mq(e,t,o,n){return xe({behavior:le.SIGNIN,actionType:Se.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:k.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:o,errorMessage:n}})}function Pge({sso:e,loginHint:t}={}){return async function(o=()=>!1){if(e)try{Mq("started",t),Ut({context:"sso",source:e},"replaceState");let n={scopes:["openid","profile","email"]};t&&(n.loginHint=t);let r=await Lr.ssoSilent(n);if(r)return O0(),$0(r.idToken),Mq("completed",t),!0}catch(n){return n instanceof ot&&await Mq("error",t,n.errorCode,n.errorMessage),n instanceof To&&(Wi("",!1,!0),No(window.location.href,"select_account")),o()}return o()}}function Ige(e=te().sso,t=te().login_hint){return(e||t)&&Ut({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function Lge(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 EL=class{},CL=class{constructor(t,o,n=new He){this.stack=t,this.final=o,this.bus=n}async run(){let t=0,o=!0,n=this.final,r=[],i=this.bus.subscribe(EL,()=>o=!1),s=a=>(this.bus.publish(new EL),n=a||n,!1);try{for(;o&&this.stack[t];){let a=await this.stack[t](s);if(a||r[t]!==!1){r[t]=a,t+=a?-1:1;continue}o=!1}t>=0&&n(),i()}catch(a){throw i(),this.final(),a}}};var jge=z.profile.me,b1e=Ige(),mxt=Lge(),v1e=`${jge}?isCPMCalled=true`,Rge=new URL("./register",mc()).toString();async function hg(){let t=location.pathname.split("/").indexOf("edit")!==-1?v1e:jge;try{let n=await fetch(W(t,{credentials:"include"}));if(n.ok&&n.status!==204){let r=await n.json();A.readUserProfile(r)}else A.setAnonymous()}catch{A.setAnonymous()}}async function Mge(e=()=>{A.setAnonymous()}){if(!S.userServices)return A.setAnonymous(),Promise.resolve();await new CL([_1e,y1e,Pge(b1e),Age],e).run()}async function _1e(e=()=>!1){try{let t=An();if(t){let o=Gp(t);return A.readUserFromToken(o),!0}return!1}catch(t){return t instanceof ol?!1:e()}}async function y1e(e=()=>!1){try{let t=zu();if(t){Gp(t);let o=await $z(t);return N0(o),!0}return!1}catch(t){return t instanceof ol?!1:t instanceof Qy?location.pathname.endsWith("/external-sign-in.html")?!1:e(x1e):e()}}function x1e(){if(L("page_kind")!=="register"&&(A.setAnonymous(),!location.href.includes("/answers"))){let o=ne({redirectUrl:location.href});location.href=Jr(`${Rge}?${o}`).href;return}let e=zu();if(!e)return;let t=Gp(e);A.mapIdTokenToProfile(t)}function Dge(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 bk=["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(bk.join(","))}function PL(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let n,r=Array.from(e.querySelectorAll(bk.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&r.reverse();let i=r.length;for(;i--;){let s=r[i],a=getComputedStyle(s);if(!s.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(s.offsetWidth>0||s.offsetHeight>0)){n=s;break}}n=n||e,n.focus()}}}function Dq(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}C();var IL=[];function bg(e){IL.push(e)}function $t(e,t,o,n){e.addEventListener(t,o,n);let r=()=>e.removeEventListener(t,o,n);return bg(r),r}function $ge(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 vv=e=>{let t=e.querySelector("[data-autofocus]");if(t&&AL(t)){t.focus();return}e.focus()},ve=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(k.activeElement&&k.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=k.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(d` ${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=k.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++,k.body.insertAdjacentElement("afterbegin",Dq(k)),k.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=$ge(k.documentElement,k.scrollingElement||k.documentElement,(k.scrollingElement||k.documentElement||k.body).scrollTop),this.container.classList.add("is-active"),k.body.insertAdjacentElement("afterbegin",Dq(k)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=k.activeElement,this.focusHandler=PL(this.wrapper),$t(window,"focus",this.focusHandler,!0),vv(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(k.body.querySelectorAll(".modal-tab-sentinel")).forEach(o=>{k.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"),i=r.querySelector(".modal-slide:first-of-type");if(r===null||i===null)throw new Error(`The ${r===null?"modal-slide-container":"modal-slide"} class is missing!`);r.appendChild(t);let s={forward:at.userDir==="ltr"?"slide-right":"slide-left",backward:at.userDir==="ltr"?"slide-left":"slide-right"},a=n?s.forward:s.backward;o?(setTimeout(()=>{i.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){r.removeChild(i),vv(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),y(d` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),vv(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),y(d` ${this.contentElement} `,this.container),vv(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};C();var LL={setItem(e,t,o){try{let n=o.getTime();if(Date.now()>=n)return;let r={value:t,expiry:n};se.setItem(e,JSON.stringify(r))}catch{}},getItem(e){try{let t=se.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(se.removeItem(e),null):o.value}catch{return null}},removeItem(e){se.removeItem(e)},clear(){se.clear()}};C();var jL=location.pathname.split("/").map(e=>e.toLowerCase()),T1e=jL.length>2?jL[2]:"",zt=T1e==="test";function zge(){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=k1e(),t;return zt?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function k1e(){let e={uid:L("uid")||"",documentId:L("document_id")||"",versionIndependentDocumentId:L("document_version_independent_id")||"",platformId:L("platform_id")||"",contentPath:zge(),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=No){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var _i={Cancel:{text:$e,clickHandler:ah,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:IY,clickHandler:()=>{location.href=RL()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:wn,clickHandler:ah,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:yie,clickHandler:()=>ML(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function S1e(e){return{accountAlreadyRegistered:{title:aie.replace("{account}",e),description:pie,buttons:[_i.Cancel,_i.SelectAccount]},alreadyHasCertProfileConnected:{title:xie,description:Tie,buttons:[_i.ContactCustomerSupport]},alreadyLinked:{title:mie,description:ez,buttons:[_i.Cancel,_i.SelectAccount]},moreThanOneAccountPerTenant:{title:uie,description:`${hie} ${ez}.`,buttons:[_i.Ok]},moreThanOneMSAAccount:{title:bie,description:gie.replace("{account}",e),buttons:[_i.Ok]},needAtLeastOneAccountLinked:{title:fie,description:die,buttons:[_i.Ok]},numberOfAccounts:{title:lie,description:cie,buttons:[_i.Ok]},profileMergeRunning:{title:vie,description:_ie,buttons:[_i.Ok]},profileMergeAlreadyComplete:{title:wie,description:Eie,buttons:[_i.Ok]},profileMergeRecordNotFound:{title:Cie,description:Aie,buttons:[_i.Ok]},previousMergeAttemptPreventsAction:{title:Pie,description:Iie,buttons:[_i.Ok]},unexpectedError:{title:no,buttons:[_i.Ok]}}}function $q(e,t){let o=S1e(e)[t];return d` ${o.title?d`

${o.title}

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

${$(o.description)}

`:null} ${o.buttons?d`
${o.buttons.map(n=>d``)}
`:null} `}var w1e={Complete:{color:"success",icon:"docon-status-success-outline",text:Lie},Failed:{color:"danger",icon:"docon-status-failure-outline",text:jie},Running:{color:"warning",icon:"docon-status-info-outline",text:zie},Terminated:{color:"success",icon:"docon-status-success-outline",text:Nie}};function E1e(){return LL.getItem("check-merge-status")!==null}function C1e(){LL.removeItem("check-merge-status")}async function DL(e=!1){if(!(!e&&!E1e()))try{let t=await Oz();if(t===null||(zq(t),t!=="Running"))return;let o=setInterval(async()=>{t=await Oz(),t!==null&&(zq(t),t!=="Running"&&(clearInterval(o),C1e()))},3e4)}catch{}}async function A1e(){try{await Mae()}catch{}}function P1e(e){return d`
`}async function zq(e){if(e==="Acknowledged")return;if(e==="Locked"){I1e();return}e==="Complete"&&Ii.type==="profile"&&await hg();let t=w1e[e];if(!t)return;let o=Die,n=$ie;if(e==="Failed"){let l=await Rae();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Ve(c)),t.text=t.text.replace("{destinationUser}",Ve(u)),o=o.replace("{terminateMergeText}",oz),n=n.replace("{retryMergeText}",tz)}let r=d`

${Rie}


${Mie}

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

${t.text}

${e==="Failed"?d`${r} ${P1e(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function I1e(){let e=document.createElement("div"),t=new ve(e);y(d` `,e),t.show(),document.querySelector(".modal").addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),Wi(location.origin,!0)})}async function L1e(e){Oge(e,"Terminate")}async function j1e(e){Oge(e,"Retry")}async function Nge(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),n=new ve(o);Fge(n,t),await n.show(),e.disabled=!1}async function Oge(e,t){let o,n;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),n=z.profile.userCancelMerge):(o=e.querySelector("#retry-failed-merge"),n=z.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let r=await R1e(n);if(r.hasError){let i=r.errors[0]||"unexpectedError";await Nge(o,i)}else t==="Terminate"?zq("Terminated"):location.reload()}catch{await Nge(o,"unexpectedError")}}async function R1e(e){let o=await R(W(e,{method:"POST"}));if(ge(o),o.ok)return lh(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 Fge(e,t="unexpectedError",o=""){y(d` `,e.contentElement),e.show()}C();var $L,zL;async function Uge(e){Nq(e)&&await M1e()}function Nq(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)>=Mz),!n}async function M1e(){if(!$L){let e=k.createElement("div");e.classList.add("modal-content"),y(d` `,e),$L=new ve(e),zL=e.querySelector("#consentModal"),qge()}await ke,$L.show()}function qge(){let e=A.userType==="microsoft"?uJ:IC,t=()=>jae(),o=d` `;y(o,zL)}function D1e(){let e=d` `;y(e,zL),$1e(zL)}async function $1e(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 Lae()?($L.hide(),await Wi(location.origin,!0)):t.removeAttribute("hidden")}catch(n){throw t.removeAttribute("hidden"),new Error(`error: ${n.message}`)}finally{o.classList.remove("is-loading")}}}function z1e(e){return e&&e.length!==0||A.userType==="microsoft"?dJ.replace("{email}",e||A.upn):A.authenticationMode==="AAD"||A.userType==="aad"?s9.replace("{email}",A.upn):UY}async function Hge(e,t,o){let n=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());n(),e.subscribe(yo,n),await t,o.setAttribute("data-auth-status-determined","true")}var Ae={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 eu="docs-sign-in",Oq="docs-sign-out",Bge="docs-change-directory";function Vge(e){O1e(e),e.addEventListener("click",N1e)}function N1e(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${eu}, .${Oq}, .${Bge}`);if(!t)return;let o=t.classList.contains(eu);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(Bge))Dge(r);else if(o){let i=b.data.isPermissioned;No(r,"select_account",i)}else Wi(r,!0)}function O1e(e){let t=o=>{if(!(o.target instanceof Element))return;let n=o.target.closest(`.${eu}, .${Oq}`);if(!n)return;let r=n.classList.contains(eu);o.target.setAttribute("data-m",JSON.stringify({cN:r?eu:Oq,bhvr:r?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===Ae.enter&&t(o)},!0)}var Fq,be=new Promise(e=>Fq=e);async function Gge(e){if(!S.userServices){Fq(),ke.then(()=>{let t=k.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await wge(),await Lr.handleRedirectPromise(),Hge(A,be,k.documentElement),Vge(k.documentElement),S.permissionedContent&&ke.then(t=>{k.documentElement.querySelectorAll("[data-permissioned-content]").forEach(o=>o.hidden=!1)}),A.subscribe(yo,async()=>{await Promise.all([e.siteHeaderRendered,ke]),Dz(k.documentElement,A)}),Mge().then(Fq),be.then(async()=>{if(A.userType!=="standard"&&Uge(A),!A.isAuthenticated)return;if(!Nq(A)){await ke,DL();return}let t=new URL("./register",mc(b.data.userLocale));if(location.pathname===t.pathname)return;let o=ne({redirectUrl:location.href});location.href=`${t.toString()}?${o}`})}var Il=j.reviewFeatures===!0&&(j.accessLevel==="local"||j.supportLevel==="development"&&j.accessLevel==="online"||zt),NL=typeof __karma__<"u";var F1e=1e3*60*5,U1e=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),Yge="rollout-status",vk;async function Nn(e){vk===void 0&&(vk=Uq());let t=await vk;if(t&&"failed"in t&&(vk=Uq()),!t||"failed"in t)return Qge("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 q1e(o);return Qge("feature-rollout-activated",{featureName:e,isActive:n}),n}async function q1e(e,t=b.data.userLocale,o=U1e,n=b.data.pageTemplate,r=be.then(()=>A.isAuthenticated)){if(!e.conditions)return!0;let i=e.conditions.find(g=>g.limitTo==="locale");if(!(i?i.locales.includes(t):!0))return!1;let a=e.conditions.find(g=>g.limitTo==="pathname");if(!(a?!!a.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 Kge(){vk=Uq()}async function Uq(e=te()["refresh-rollout"]==="true"){let t=H1e(e);if(t)return t;let n=`/en-us/feature-rollout.json${j.reviewFeatures?"?branch=main":""}`;Il&&(n=`/en-us/test/feature-rollout.json?branch=${pt()}`);try{let r=await R(n,{method:"GET"});if(!r.ok)return{failed:!0};let i=await r.json();return i.expiresAt=new Date(Date.now()+F1e).getTime(),se.setItem(Yge,JSON.stringify(i)),i}catch{return{failed:!0}}}function H1e(e=!1){if(e)return null;let t=se.getItem(Yge);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 Qge(e,t){xe({content:{type:e,content:JSON.stringify(t)}})}async function OL(){if(!(S.collapsibleToc||await Nn("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]"),i=n.querySelector("nav"),s=document.querySelector(".layout");if(!r||!i)return;let a=!0,l=()=>{let c=a?tE:kE,u=r.querySelector(".docon"),p=document.getElementById("ms--collapsible-toc-moniker-slot");r.setAttribute("aria-expanded",String(a)),r.setAttribute("aria-label",c),r.title=c,t.setAttribute("data-toc-collapsed",String(!a)),r.setAttribute("data-bi-name",a?"toc-collapse":"toc-expand"),s?.classList.toggle("layout-menu-collapsed",!a),u?.classList.toggle("docon-panel-left-contract",a),u?.classList.toggle("docon-panel-left-expand",!a),t.classList.toggle("width-full",a),t.classList.toggle("padding-inline-sm",a),t.classList.toggle("padding-inline-xxs",!a),t.classList.toggle("border-right",!a),p&&(p.hidden=!a);for(let m of i.children)m.id!=="ms--collapsible-toc-header"&&(m.hidden=!a)};r.addEventListener("click",()=>{a=!a,l()}),l()}async function Wge(){await OL();let e=k.getElementById("affixed-left-container"),t=k.getElementById("affixed-right-container");if((S.connectedExperiences||S.rightRailSticky)&&t&&B1e(t),e===null)return;let o=k.getElementById("footer"),n=k.querySelector(".layout-body-header"),r=24,i=1;e.style.top=`${r}px`;function s(){if(e==null||e.hasAttribute("disable-affix"))return;let c=F.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let u=o.getBoundingClientRect().height,p=u===0?0:Math.max(0,c-o.getBoundingClientRect().top),m=n.getBoundingClientRect().height,g=m===0?0:Math.max(0,n.getBoundingClientRect().bottom),f=k.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*r+m+u+i)}px`,e.style.height=`calc(100vh - ${2*r+g+p+i}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(s)}F.addEventListener("scroll",l,{passive:!0}),F.addEventListener("resize",l,{passive:!0}),F.addEventListener("content-update",l),F.addEventListener("dismiss-content-update",l),s(),F.addEventListener("load",s,!1),F.addEventListener("pageshow",s,!1),F.addEventListener("DOMContentLoaded",s,!1)}function B1e(e){let o=k.getElementById("footer");e.classList.add("position-sticky"),e.style.top="24px";function n(){let s=24,a=e.offsetHeight;if(a>F.innerHeight){let l=a-F.innerHeight;s=-1*(24/2+Math.min(F.scrollY,l))}if(e.style.top=`${s}px`,S.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${s}px`;let l=k.getElementById("side-doc-outline"),c=k.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let u=o.getBoundingClientRect().height,p=k.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=k.body.scrollHeight;e.style.maxHeight=`${f-(2*24+m+u)}px`;let v=u===0?0:Math.max(0,F.innerHeight-o.getBoundingClientRect().top),h=m===0?0:Math.max(0,p.getBoundingClientRect().bottom);if(e.style.height=`calc(100vh - ${2*24+h+v}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",_=S.referenceRightRailH3?`#main h2:not(${x}), #main h3`:`#main h2:not(${x})`,T=Array.from(k.querySelectorAll(_)).filter(P=>!!P.id&&P.offsetParent!==null);bae(T,e)}}}let r=0;function i(){cancelAnimationFrame(r),r=requestAnimationFrame(n)}F.addEventListener("scroll",i,{passive:!0}),F.addEventListener("resize",i,{passive:!0}),F.addEventListener("content-update",i),n(),F.addEventListener("load",n,!1),F.addEventListener("DOMContentLoaded",n,!1)}function Zge(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 i={year:"numeric",month:"2-digit",day:"2-digit"};n.getAttribute("data-article-date-source")==="ms.date"&&(i.timeZone="UTC");let a=Wr(r,i,t);n.textContent=a})}C();function Jge(){let e=location.pathname.toLowerCase();if(zt&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!zt&&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=k.querySelector(".content a.button"),o=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let n=()=>{k.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=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&n()},i=k.getElementById("consent-checkbox");i.classList.add("margin-block-sm");let s=i.textContent;y(V1e(s),i),n(),F.addEventListener("change",r)}function V1e(e){return d` `}C();function G1e(e,t){let o={};return e.querySelectorAll("li > a").forEach(r=>{if(r.textContent){let i=t?r.textContent="default":r.textContent.trim().slice(1,-1).split("|");if(i.length===2){let s=i[0].trim(),a=i[1].trim(),l=r.href;s&&a&&l&&(o[s]||(o[s]={}),o[s][a]=l)}}}),o}function Xge(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function Q1e(e){let t=window.location.href.toLowerCase(),o=Xge(t);for(let n in e)for(let r in e[n]){let i=e[n][r].toLowerCase();if(Xge(i).localeCompare(o,void 0,{sensitivity:"base"})===0)return[n,r]}return null}function Y1e(e,t,o){function n(u){return[u,u]}function r(u){window.location.href=u}let i=G1e(e,t),s=Q1e(i),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=efe(a,l);if(qq(c,i,n,!1,o),s&&(c.value=s[0]),t)c.addEventListener("change",()=>{c.value&&r(i[c.value].default)});else{let u=e.getAttribute("title2"),p=efe(a,u);c.addEventListener("change",()=>{qq(p,c.value?i[c.value]:{},n,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&r(i[c.value][p.value])}),qq(p,c.value?i[c.value]:{},n,!1,o),s&&(p.value=s[1])}e.insertAdjacentElement("afterend",a)}function tfe(){let e=_V,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&K1e(t),o.forEach(n=>{Y1e(n,!1,e)})}function K1e(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")),i=[];r.map(c=>{let u={title:c.textContent,href:c.href};i.push(u)});let s=n[0].firstElementChild.getAttribute("href")?W1e(i):n.shift().textContent,a=document.createElement("nav");a.classList.add("margin-top-xxs","display-none-print"),a.setAttribute("aria-label",o||"Dropdown menu"),t.replaceChild(a,e);let l=Z1e(s,i,o);y(l,a)}function W1e(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 Z1e(e,t,o){let n=d``,r=[];o&&(n=d`${o}`);let i="padding-xxs";for(let s of t)r.push(d`
  • ${s.title}
  • `);return d` ${n} `}function efe(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let n=Ze(),r=d`
    ${t?d` `:""}
    `;return y(r,o),e.appendChild(o),o.querySelector("select")}function qq(e,t,o,n,r){let i=[];n||i.push(d``);for(let s in t){let a=o(s,t[s]);a&&a.length===2&&i.push(d``)}y(i,e)}var Po={value:null};async function Hq(e,t,o){let n={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await ofe(n,o)}async function ofe(e,t){try{return await Lr.acquireTokenSilent(e)}catch(o){if(zn.trackTrace({message:`Acquire Token Silent Failure - ${A?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),zn.trackException(o),o instanceof To&&t.noInteraction===!1)try{return await Lr.acquireTokenPopup(e)}catch(n){return zn.trackTrace({message:`Acquire Token Popup Failure - ${A?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),zn.trackException(n),null}return null}}async function J1e(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`,s=await(await R(r,{method:"GET"})).json();if("error"in s&&s.error==="invalid_tenant")throw new Error(`${s.error}: ${s.error_description}`);if("issuer"in s)return s.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function X1e(e){return![Eae,Cae,wae].includes(e)}var _k={async tryLoadTokens(e={noInteraction:!0}){if(await be,!A.isAuthenticated)return zn.trackTrace({message:`Try Load Token User Not Authenticated - ${A?.userName}`}),null;try{let t=zu(),n=F0(t).preferred_username,r=Lr.getAccount({username:n});Lr.setActiveAccount(r);let i=L("interactive")?.toLowerCase(),s=i&&(i==="powershell"||i==="bash"),a=L("rest_product")?.toLowerCase()??"",l=r?.tenantId===q0||r?.homeAccountId.split(".")[1]===q0,c=[],u="",p=null;try{u=l?await J1e(r):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:wL},g=await ofe(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",v={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await R(f,v)).json(),!p||!p.value)return c;p.value=p.value.filter(x=>X1e(x.tenantId));for(let x of p.value){if(!x.tenantId)continue;let _={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"},P=await Hq(T[a]??T.arm,x.tenantId,e);if(_.access_token=P?.accessToken,_.access_token_type=P?.tokenType,_.expires_at=P?.expiresOn?.valueOf().toString()??"",s){let E=await Hq("https://vault.azure.net/user_impersonation",x.tenantId,e);_.key_vault_access_token=E?.accessToken,_.key_vault_access_token_type=E?.tokenType,_.key_vault_expires_at=E?.expiresOn.valueOf().toString();let B=await Hq("https://graph.microsoft.com/.default",x.tenantId,e);_.msgraph_access_token=B?.accessToken,_.msgraph_access_token_type=B?.tokenType,_.msgraph_expires_at=B?.expiresOn.valueOf.toString()}c.push(_)}return c}catch(t){return zn.trackTrace({message:`Try Load Token Failure - ${A?.userName} - ${t?.message}`}),zn.trackException(t),null}}};var e$e=5*60*1e3,nfe=0;function ife(){document.addEventListener("visibilitychange",rfe,{passive:!0}),rfe()}function rfe(){document.visibilityState==="visible"?nfe=setInterval(t$e,e$e):clearInterval(nfe)}function t$e(){Po.value&&_k.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===Po.value.default_domain);t&&(Po.value=t)})}function sfe(){return S.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".banner");o&&(o.hidden=n$e(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",o$e)):void 0}function o$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(se.getItem("dismissed-banners"));return n?(n.push(o),se.setItem("dismissed-banners",JSON.stringify(n))):se.setItem("dismissed-banners",JSON.stringify([o]))}function n$e(e){let t=JSON.parse(se.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var Bq;function Vq(){if(Bq===void 0){let e=L("api")||"/en-us/rest/api/rest-products.json";Bq=R(e,{credentials:"include"}).then(t=>t.json())}return Bq}function afe(e){return e==="rest"?Vq().then(t=>a$e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):R(`${z.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>i$e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function lfe(e){return R(`${z.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(s$e(e,o),o)):Promise.reject(null)).then(t=>cfe(t)).catch(()=>Gq(e))}function Gq(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function cfe(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=>r$e(n)).map(n=>({displayName:n.monikerDisplayName,isDefault:n.isDefault,moniker:n.monikerName,versionDisplayName:n.versionDisplayName,isDeprecated:n.isDeprecated,isPrerelease:n.isPrerelease}))}))}}function r$e(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function i$e(e,t){return{platformId:t,families:e.map(cfe)}}function s$e(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 a$e(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 tn(e,t,o=0,n=[]){for(let r of e){n.length=o;let i=t(r,n);if(!i)return 0;if(i!==2&&(n[o]=r,r.children&&!tn(r.children,t,o+1,n)))return 0}return 1}var jr="moniker-changed",Qq="same-moniker-selected",ufe=()=>{let e=te().view;return e===void 0?"":e.toLowerCase()},yk=ufe();function rt(){return yk}function Yd(e){if(e===yk){F.dispatchEvent(new CustomEvent(Qq,{detail:{moniker:yk}}));return}yk=e,F.dispatchEvent(new CustomEvent(jr,{detail:{moniker:yk}}))}F.addEventListener("popstate",()=>Yd(ufe()));var Ll={"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 Kd=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,l$e="MarketplaceSelectedLocale",c$e=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function Yq(e){return!!Ll[e]}function xk(e){let t=Kd.exec(e);return t===null?"en-us":t[1].toLowerCase()}function et(e,t,o=!0){return!e||!Yq(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:Kd.test(e)?o?vg(e,t):e:"/"+t+e}function On(e){return e.replace(Kd,"/")}function vg(e,t){return e.replace(Kd,`/${t}$2`)}async function dfe(){let e=b.data.userLocale,t=b.data.contentLocale,o=at.machineTranslated;b.data.userLocaleName=Ll[e],await ke,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!o&&c$e.indexOf(b.data.pageTemplate)!==-1&&Yt(p$e(b.data.pageTemplate,e)),Kq(e)}function pfe(e){ii.set(l$e,e,{expires:365*10})}function Kq(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>u$e(t,e))}function u$e(e,t){let o=e.querySelector(".local-selector-link-text"),n=Ll[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=LY.replace("{language}",n);e.setAttribute("aria-label",r)}function d$e(e){return ys("localization_scopes").indexOf(e)!==-1}function p$e(e,t){let o=d$e(t),n=Ll[t];return e==="LearningPath"?o?cK.replace("{language}",n):uK.replace("{language}",n):e==="Module"||e==="ModuleUnit"?o?dK.replace("{language}",n):pK.replace("{language}",n):lK}var m$e=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,Tk=/(^|\/)index$/i,g$e=j.accessLevel==="local"&&b.environment===void 0,Wq={};function f$e(e,t){let{origin:o,pathname:n}=Ez(e),r={"/":`/${t}/`},i=n.split("/"),s="";for(;i.length>2;){i.pop();let a=i.join("/")+"/";r[s]=a,r["./"+s]=a,s+="../"}return{origin:o,relMap:r}}var _v=class{constructor(t,o,n,r,i){this.external=t;this.origin=o;this.pathname=n;this.search=r;this.hash=i}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=Z.origin){let[r,i,,,s,a]=e;if(r==="/"&&i==="/"||s===":"||a===":"){let{origin:_,pathname:T,search:P,hash:E}=Ez(e);if(_!==n)return new _v(!0,_,T,P,E);let B=Kd.exec(T);return(!B||!Yq(B[1]))&&(T="/"+o+T),T=decodeURIComponent(T.replace(Tk,"$1")),new _v(!1,_,T,P,E)}Wq[t]===void 0&&(Wq[t]=f$e(t,o));let{origin:l,relMap:c}=Wq[t],u=m$e.exec(e),[,p="",m="",g="",f=""]=u,v=c[p];g$e&&(m=m.replace(/\.html$/i,""));let h=m.replace(Tk,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let x=v+h;return new _v(!1,l,x,g,f)}function Wd({origin:e,pathname:t,search:o,hash:n}=Z){return t=Zq(t),t=decodeURIComponent(t).toLowerCase().replace(Tk,"$1"),new _v(!1,e,t,o,n)}function Zq(e){return e.replace(/\/+/g,"/")}var h$e=Wd(),UL=L("moniker_definition_rel"),FL,Jq=new Map,_g=!!UL&&UL.endsWith(".json");function Xq(){if(!UL)return null;let e=er(UL,h$e.href);return ffe(e.href)}async function gfe(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(ffe(r.href).then(({monikerSet:i})=>mfe(n.nodes,i)))}else o&&t.push(Promise.resolve(mfe(n.nodes,new Set([o]))));await Promise.all(t)}function mfe(e,t){t?.size&&tn(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(i=>t.has(i));o.selectedMoniker=r===void 0?null:r}return!0})}function ffe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return Jq.has(e)?o=Jq.get(e):(o=R(e,{credentials:"include"}).then(n=>n.json()).then(n=>b$e(n)).catch(()=>t),Jq.set(e,o)),o}function b$e(e){let t=null,o=new Set,n=rt(),r=e.products.reduce((i,s)=>{let a=s.familyName;return i[a]=i[a]||[],i[a].push(s),i},{});return Object.keys(r).forEach(i=>{let s="",a=!1,l=r[i];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(s=p.monikerName),p.monikerName===n&&(a=!0,t=v$e(i,l))})});let c=a?n:s;c&&o.add(c)}),{family:t,monikerSet:o}}async function hfe(){if(FL===void 0){let e=rt();if(_g){let t=await Xq();FL=Promise.resolve(t?.family??Gq(e))}else FL=lfe(e)}return FL}function v$e(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 eH;function $a(){return eH===void 0&&(eH=hfe()),eH}function yv(e,t){for(let o of e.products)for(let n of o.packages)if(n.moniker===t)return n;return null}var xv=null;async function bfe(e=b.data.pageTemplate){qL();let t=te(),o=t.viewFallbackFrom,n=t.branchFallbackFrom,r=t.branch;if(o&&e!=="NotFound"){_$e(o);return}n&&r&&y$e(n,r)}async function _$e(e){let t=await $a(),o=yv(t,e);o&&(xv=Yt(hJ.replace("{moniker}",Ve(o.displayName))))}function y$e(e,t){xv=Yt(SV.replace("{branchFallbackFrom}",Ve(e)).replace("{branch}",Ve(t)))}function qL(){if(xv){let e=xv.firstElementChild;if(!e)return;xv.removeChild(e),xv=null,At()}}function vfe(){j.supportLevel==="production"&&j.reviewFeatures&&Yt(aK)}C();var HL=[];var kk="banner-instructions",Sk="banner-instructions-locale",x$e=1e3*60*60;function _fe(e=S.temporaryClientSideEventBanners){if(e){try{oH()}catch{se.removeItem(kk),se.removeItem(Sk)}tH()}}async function tH(e=R,t=new Date){let o=yfe();if(o&&o.date.getTime()+x$e>Date.now())return;let n=j.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",r=new URL(`/${b.data.userLocale}/${n}banners/index.json`,location.origin);if(j.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";r.searchParams.set("branch",a)}let i=await e(r.href),{banners:s=[]}=i.ok?await i.json():{};se.setItem(kk,JSON.stringify({date:t,banners:s})),se.setItem(Sk,b.data.userLocale)}function oH(){let e=yfe();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:i,displayType:s})=>{let[a,l]=i.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=r.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),u="",p="";return i.link&&(u=i.link.title,p=i.link.href.startsWith("/")?`/${t}${On(i.link.href)}`:i.link.href),{id:n,startTime:r.startDate,endTime:r.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:i.imageUrl,displayType:s,displayedEventStartDate:r.displayedEventStartDate,displayedEventEndDate:r.displayedEventEndDate}});HL.push(...o)}function yfe(e=b.data.userLocale){let t=se.getItem(kk),o=se.getItem(Sk);if(o&&o!==e||!t)return se.removeItem(kk),se.removeItem(Sk),null;try{let r=JSON.parse(t);if(r.date=new Date(r.date),isNaN(r.date.getTime()))return null;for(let i of r.banners){if(i.scope.startDate=new Date(i.scope.startDate),i.scope.endDate=new Date(i.scope.endDate),isNaN(i.scope.startDate.getTime())||isNaN(i.scope.endDate.getTime()))return null;i.scope.displayedEventStartDate&&i.scope.displayedEventEndDate&&(i.scope.displayedEventStartDate=new Date(i.scope.displayedEventStartDate),i.scope.displayedEventEndDate=new Date(i.scope.displayedEventEndDate))}return r}catch{se.removeItem(kk),se.removeItem(Sk)}return null}C();var yg=Intl.DateTimeFormat().resolvedOptions().timeZone;function Fn(e){let t=Math.floor(e/60),o=e%60;return t===0?LC.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${xZ}`:kZ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var xfe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),FSt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),USt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),qSt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),k$e=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),HSt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),BSt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),VSt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),GSt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),Fs=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),QSt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Tfe(e=yg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function jl(e=yg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function kfe(e=yg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function Sfe(e=yg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function rH(e=yg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function on(e){return Math.floor(e/1e3)}function wfe(e){return Math.floor(e/1e3/60)}function iH(e){let t=e/1e3,o=Math.floor(t/3600),n=nH(Math.floor(t%3600/60)),r=nH(Math.floor(t%3600%60));return o<1?`${n}:${r}`:`${nH(o)}:${n}:${r}`}function BL(e){let t="",o=0,n="",r=Math.floor(e/168),i=Math.floor(e%168/24),s=e-r*168-i*24;if(r>0&&o++,i>0&&o++,s>0&&o++,o>0&&o--,r>0){let l=r===1?v0:_0;a(),t+=r.toString()+" "+l+n,n=""}if(i>0){let l=i===1?xE:_y;a(),t+=i.toString()+" "+l+n,n=""}if(s>0){let l=s===1?AE:wu;t+=s.toString()+" "+l}return t;function a(){o>0&&(n=", ",o--)}}function xg(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 nH(e){return e<10?`0${e}`:`${e}`}function Efe(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 i=Math.floor(e/1e3);e=e-i*1e3;let s="P";return t>0&&(s+=t.toString()+"D"),o>0&&(s+="T"),n>0&&(s+=n.toString()+"H"),r>0&&(s+=r.toString()+"M"),i>0&&(s+=i.toString()+"S"),s}function Tv(e){let t="h",o="m",n="s",r=0,i=e.indexOf(t)!==-1,s=e.indexOf(o)!==-1,a=e.indexOf(n)!==-1;return r+=i?Number(e.substring(0,e.indexOf(t)))*3600:0,r+=s?i?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,r+=a?Number(s?e.substring(e.indexOf(o)+1,e.indexOf(n)):i?e.substring(e.indexOf(t)+1,e.indexOf(n)):e.substring(0,e.indexOf(n))):0,r}function sH(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)}C();function kv(e,t,o,n){let r=n?d`${n}`:"",i=S.rightRailSticky?"":d``;return d` ${i}
    ${e}
    ${t}
    ${r}
    `}function Sv(e,t){return d`

    ${t}

    `}function wv(e,t,o,n,r,i){let s=n?d`

    ${n}

    `:"",a=o?d`

    ${e}

    `:d`

    ${e}

    `;return d` ${s} ${a} `}function Ev(e,t=!0){return d`

    ${e}

    `}function Cfe(e){return d` `}function Cv(){if(!S.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 S$e(e){let t=rH().format(e.displayedEventStartDate),o=rH().format(e.displayedEventEndDate),n=Sv("docon-special-event",PK),r=e.eventTitle?wv(e.eventTitle,!1,e.linkHref):"",i=e.eventTitle?"margin-top-xs":"",s=d` ${e.displayType==="event-image-card"&&e.imageUrl?Cfe(e.imageUrl):""} ${r}

    ${t} - ${o}

    ${Ev(e.eventDescription,!1)} ${e.linkText} `;return kv(n,s,!1)}async function Afe(){!S.connectedExperiences&&!S.temporaryClientSideEventBanners||(await tH(),oH())}function Pfe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));Cv();for(let o of t)y(S$e(e[0]),o),o.hidden=!1,At()}var w$e=["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"],E$e=["/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=Ii.template){return e=On(e),E$e.includes(e)?!1:w$e.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 Ife(e,t,o,n){let r=P0(),i=r>t.getTime()&&r<=o.getTime(),s=localStorage.getItem(e)==="hide",a=On(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=n.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return i&&!s&&l}C();function C$e({uid:e,startDate:t,endDate:o,cssClass:n,title:r,subtitle:i,description:s,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=On(p),!S.marketing||u=o.getTime()||!VL()||se.getItem(e)==="hide")return!1;let m=GL();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${r}

    ${i?d`

    ${i}

    `:""}
    ${a.title}
    `;return y(g,m),!0}function A$e(e=P0()){return C$e({uid:"2026-03--build",title:ose,description:rse,subtitle:nse,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:ise},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 Lfe(){return A$e()}async function jfe(){if(!VL())return;S.connectedExperiences&&S.temporaryClientSideEventBanners?await Afe():_fe();let e=HL.filter(o=>{let{id:n,startTime:r,endTime:i,bannerPaths:s}=o;return Ife(n,r,i,s)}),t=!1;if(!(Lfe()&&(t=!0,!S.connectedExperiences))&&!(e.length<1)){if(S.connectedExperiences&&e[0].displayType)Pfe(e);else if(!t)for(let o of e){let n=GL();if(!n)return;let{id:r,eventTitle:i,eventDescription:s,linkHref:a,linkText:l}=o,c=P$e(`${r}-banner`,`${r}-event`,i,s,a,l);y(c,n);let u=n.querySelector("[data-dismiss]");u.onclick=()=>se.setItem(r,"hide")}}}function P$e(e,t,o,n,r,i){let s=r&&i?d` ${i} `:"";return d` `}Bp();async function I$e(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function Rfe(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");I$e(e,t);let o={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},n=W(`${z.ocvFeedback}`,o),r=await R(n),i;if(r.ok)return i=await r.json(),i;throw new Error(`ocv api responded with ${r.status} ${r.statusText}`)}C();Ue();var L$e=[Wie,gX,JK,cZ,uZ];function Mfe(e,t,o,n,r,i,s=L$e,a=!1,l="star-rating-control"){let c=document.createElement("fieldset");c.classList.add("star-rating-control"),c.setAttribute("data-bi-name",l);let u=`font-size-${t}`,p=`font-size-${o}`,m=Ze(),g=[],f=n==="display-inline-flex"?"":n;for(let T=0;T<5;T++){let P=Ze();g.push(d` `)}let v=r?d`
    ${_Z}
    `:"",h=d` ${v}
    ${g}
    `,x=n==="display-inline-flex"?d`
    ${h}
    `:h;y(x,c);let _=c.querySelector(".rating-output");if(e!==0){let T=c.querySelector(`input[value="${e}"]`);T.checked=!0,_.textContent=T.nextElementSibling.textContent}return c.onmouseover=T=>{let P=T.target.closest("label");P&&(_.textContent=P.textContent)},c.onmouseleave=()=>{_.textContent=""},c.onchange=T=>{let P=T.target,E=parseInt(P.value),B=c.querySelectorAll(".star-collection input");for(let N=0;N=N?B[N].classList.add("is-selected"):B[N].classList.remove("is-selected");i(E),P.nextElementSibling&&(_.textContent=P.nextElementSibling.textContent)},c}var j$e=2539,R$e=50033,Dfe=j.reviewFeatures?R$e:j$e;var $fe="a6b7c4ac-4c15-426f-b054-42341177dffc";var zfe=[zJ,$J,DJ,MJ,RJ];function Nfe(){Yt(WY,{text:Qie,clickHandler:N$e},void 0,void 0,"mt-csat-banner")}var QL,aH,wk;function M$e(){return d` `}function D$e(){let e=Mfe(0,"m","m","",!1,t=>QL=t,zfe,!0);return d` `}function $$e(){xe({actionType:Se.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:QL,verbatim:aH}})}function z$e(e){if(e.preventDefault(),wk){$$e(),Rfe({manifestType:"Psat",appId:Dfe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:Xc(),survey:{surveyId:$fe},rating:QL,comment:aH||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),y(M$e(),t),wk.pushContent(t)}}function N$e(){let e=document.createElement("div");y(D$e(),e),wk=null,QL=null,wk=new ve(e),wk.show()}var O$e=at.machineTranslated;function Ffe(e){let t=e.toLowerCase(),o=b.data.isEditDisplayable;if(S.translationFeedback){Nfe();return}dn()||t.startsWith("en-")||!O$e||(o?Yt(eK):Yt(tK))}function Ufe(){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(lH()){let r=new URL(document.referrer),i=xk(r.pathname),s=BX.replace("{language}",Ll[i]);o.innerText=s,t.title=s,t.hidden=!1}else b.data.userLocale.includes("en-")||(o.innerText=y$,t.title=y$,t.hidden=!1);Ofe(t),window.addEventListener("popstate",()=>Ofe(t))}}function lH(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),n=new URL(t),r=xk(o.pathname),i=xk(n.pathname),s=vg(n.pathname,"en-us");return!(o.origin!==n.origin||o.pathname!==s||r===i)}function Ofe(e){let t=new URL(location.href);if(lH()){let o=new URL(document.referrer),n=xk(o.pathname);t.pathname=vg(t.pathname,n)}else t.pathname=vg(t.pathname,"en-us");e.href=t.href,F$e(e)}function F$e(e,t=lH()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}C();function U$e(e){let t=te().branch||ii.get("CONTENT_BRANCH")||"",o=e.sort().map(n=>``).join("");return`
    `}function cH(){if(!j.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=U$e(t);let n=o.querySelector("select"),r=te().view||"",i=r?`view=${encodeURIComponent(r)}&`:"";n&&(n.onchange=()=>{let a=n.value;ii.set("CONTENT_BRANCH",a),window.location.search=`?${i}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}C();var uH=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",zt&&(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(){dH(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;y(d` `,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),n=document.querySelectorAll(".has-interactive section.primary-holder"),r=document.getElementById("branch-selector"),i;r&&(i=q$e(n,r)),o&&y(d` ${i} `,o)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let o;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),o=d`${t.title}`):o=d`${t.title}`,d`
  • ${o}
  • `})}};function q$e(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 Zd(e){if(b.data.context.chromeless)return;await ke;let t=e||document.getElementById("article-header-breadcrumbs");return t?new uH(t):void 0}function dH(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 i={name:n.title,position:r+1,"@type":"ListItem"};return n.url&&(i.item=n.url),i});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{i.getBoundingClientRect().width{k.body.removeChild(o)},()=>{k.body.removeChild(o),n=!1}),n}function pH(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(yi(e,t))}var YL=!1;function Hfe(){function e(t){let o=F.getSelection();if(!o)return;let n=o.toString(),r=_ae(n);if(Ek&&n!==r&&!YL){YL=!0,yi(r,t.target);return}Kt(t.target,{actionType:Se.OTHER,behavior:le.COPY,content:{event:"copy",name:Tm(t.target),value:n,unprintable:YL}}),YL=!1}k.addEventListener("copy",e,{passive:!0})}kg();var za={any:!1};function H$e(){let e=ys("monikers");za.any=e.length>0;for(let t of e)za[t]=!0}H$e();function Us(e){return e!==""&&za[e]!==void 0}C();function Rl(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 i=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!i).toString());let s=Array.from(r.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(n)} .expandable .expandable`));s=s.filter(u=>!a.includes(u));for(let u of s)u.classList.toggle("is-expanded");if(o.hasAttribute("data-show-once")){o.remove();let u=r.querySelector("[data-autofocus]");if(u){u.focus();return}let p=r.querySelector(bk.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Iu,hide:o.getAttribute("data-expanded-title")||Vf};if(l.innerText=i?c.show:c.hide,!i){let u=r.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(bk.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function Na(e,t="show-more-btn",o,n,r,i,s,a,l){let c=o||"button button-primary",u=r||Iu;return d` `}C();var Gfe=6,Qfe=4,Yfe=11,Kfe=9,B$e=9,Vfe=!1;function Jd(){let e=k.getElementById("center-doc-outline"),t=k.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=S.referenceRightRailH3?`#main h2:not(${o}), #main h3`:`#main h2:not(${o})`,r=Array.from(k.querySelectorAll(n)),i=[];if(r.forEach(s=>{let a=s.tagName.toLowerCase(),l=s.offsetParent!==null,c=Vp(s).trim();l&&c.length>0&&(s.id||(s.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?i.push({text:c,id:s.id,children:[]}):a==="h3"&&i[i.length-1].children?.push({text:c,id:s.id}))}),i.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,V$e(i,e),G$e(i,t)}function V$e(e,t){let o=b.data.pageTemplate==="Reference",n="content-well-in-this-article-list",r=o?Wfe(e,n,"content-well"):Zfe(e,n,"content-well");y(d`

    ${u$}

    ${r} `,t)}function G$e(e,t,o=b.data.pageTemplate){let n=e.length>B$e,r=o==="Reference",i="right-rail-in-this-article-list",s=r?Wfe(e,i,"right-rail"):Zfe(e,i,"right-rail");y(d`

    ${u$}

    ${s} `,t),n&&!Vfe&&(Rl(t),Vfe=!0)}function Wfe(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",i=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Gfe:Yfe,a=o==="content-well"?Qfe:Kfe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let v=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:_,id:T})=>d`
      3. ${_}
      4. `)}
      `:"",x=l&&f>=a?"expandable":"";return v?d`
    1. ${p} ${v}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${Jfe(e,t,a,o)} `:c}function Zfe(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",i=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Gfe:Yfe,a=o==="content-well"?Qfe:Kfe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m},g)=>{let v=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${Jfe(e,t,a,o)} `:c}function Jfe(e,t,o,n){let r=e.length-o,i=c0.replace("{number}",r.toString());return Na(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,i,!0)}var Ml,Dl;function hH(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?Ml=e:(Ml=document.createElement("div"),Ml.setAttribute("role","alert"),Ml.setAttribute("aria-live","assertive"),Ml.setAttribute("aria-relevant","additions"),Ml.setAttribute("aria-atomic","true"),Ml.classList.add("visually-hidden"),Ml.setAttribute("id","assertive-live-region"),document.body.appendChild(Ml)),t?Dl=t:(Dl=document.createElement("div"),Dl.setAttribute("role","status"),Dl.setAttribute("aria-live","polite"),Dl.setAttribute("aria-relevant","additions"),Dl.setAttribute("aria-atomic","true"),Dl.classList.add("visually-hidden"),Dl.setAttribute("id","polite-live-region"),document.body.appendChild(Dl))}function Q$e(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 Y$e(e){hH();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?Ml:Dl;let{contextualAssertiveRegion:o,contextualPoliteRegion:n}=Q$e(t);return e==="assertive"?o:n}function Ct(e,t="polite",o=5e3){let n=Y$e(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}},bH={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},vH;function _H(e,t){vH=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]"),i=ehe();o.add("ap-layout"),e==="animate"&&o.add("ap-layout-animates"),setTimeout(()=>o.add("ap-layout-in"),20);let s=()=>{n.removeEventListener("transitionend",s),o.remove("ap-layout-animates"),o.add("ap-layout-finished"),K$e(n),At(),i(r),n?.setAttribute("aria-expanded","true"),n?.focus(),dt.publish(new WL(!0))};return n.addEventListener("transitionend",s),n}function K$e(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 Xfe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=ehe(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),At(),t(document.documentElement),vH&&vH.focus(),o?.setAttribute("aria-expanded","false"),dt.publish(new WL(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function ehe(){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 i=n.clientWidth;return s=>{n.scrollIntoView(!0),s.scrollTop-=r*i/n.clientWidth}}}return()=>{}}function the(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${bH.expandButton}, .${bH.collapseButton}`);t&&(t.classList.contains(bH.expandButton)?_H("animate",t):Xfe())}),Rue.addListener(Xfe)}function ohe(){if(window.scrollTo(0,0),!S.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}kg();C();var W$e=0,rhe="code-try-",Z$e=(()=>{let e=location.hash.split(rhe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),J$e=()=>W$e++,X$e=e=>e===Z$e,nhe=!1;function yH(){nhe||(nhe=!0,k.addEventListener("click",e=>{let o=e.target.closest("[data-code-header-copy-button]");o&&(e.preventDefault(),eze(o))}))}function eze(e){if(!Ek||!e||!sze(e))return;let t=e.closest("[data-code-block-header]"),o=tze(t);if(!o)return;let n=o.getAttribute("data-language")||"",r=o.firstElementChild||o;ize(r,n),e.focus()}function tze(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function oze(e,t){return t==="rtl"?Ve(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function ihe(e,t){yH();let o=k.createElement("div"),n=J$e(),r=`${rhe}${n}`;o.classList.add("code-block-header","margin-top-sm"),o.setAttribute("data-code-block-header",""),o.setAttribute("id",r),o.setAttribute(So.name,"code-header"),e.monikers&&o.setAttribute("data-moniker",e.monikers);let i=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),s=Ek?xH():"",a=i&&e.interactiveType?nze(e.interactiveType):"",l=d` ${$(oze(e.displayName,t))}
    ${s} ${a}
    `;y(l,o),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(i){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,v=!1)=>{v!==!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 _=k.getElementById("interactive-container");x=fH(c,_)}else{let _=_H("animate",p);x=fH(c,_)}x.setCode(h,u).then(()=>x.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),X$e(n)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}function xH(){return d` `}function nze(e){let t=e.activateButtonConfig;return d` `}var Av=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),rze={powershell:e=>Av(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:Av,azurepowershell:Av,"azurepowershell-interactive":Av,"cloudshell-powershell":Av,ps:Av};function ize(e,t){let n=(rze[t]||(r=>r))(e.textContent?.trim()||"");return yi(n,e)}function sze(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"),Ct(bE,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var Ht=class extends Error{constructor(t){let{status:o,statusText:n,url:r}=t,i=TH(t.headers);super(`Unexpected response status ${o}: ${n} from "${r}". Headers: ${JSON.stringify(i,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=i}};function TH(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 Pv(e,t=b.data.userLocale){let o=`${z.taxonomy}?${ne({name:e,locale:t})}`,n=await R(o);if(n.ok)return(await n.json())[e].map(i=>({value:i.slug,displayName:i.styleGuideLabel||i.label,level:i.level?+i.level:i.level,parent:i?.parentSlug}));throw new Ht(n)}var kH=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]=Pv(t)),n=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(n,o)}},Ck=new kH;var she="proglang",Iv={getDisplayNames:()=>Ck.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:aze(),get preferred(){return(se.getItem(she)||Iv.unset).substr(5)},set preferred(e){se.setItem(she,"lang-"+e)}};function aze(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var ZL,lze=0,ahe={};function JL(e){ZL===void 0&&cze();let t={id:lze++,instructions:e};return ZL.postMessage(t),new Promise(o=>ahe[t.id]=o)}function cze(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${uze.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);ZL=new Worker(o),ZL.onmessage=n=>{let r=n.data;ahe[r.id](r.results)}}function uze(e){function t(l,c){let u=[];if(c===null)return u;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 v=+f[1]-1;if(isNaN(v)||v>=m)continue;let h=f[2]===void 0?v:+f[2]-1;isNaN(h)||h.*<\/rgn>/gi,n=/RGNPLACEHOLDER/g,r="RGNPLACEHOLDER";function i(l,c){return l.replace(o,u=>(c.push(u),r))}function s(l,c){return l.replace(n,()=>c.shift())}function a(l){let{id:c,instructions:u}=l.data,p=[];for(let{language:g,code:f,highlightLines:v}of u){let h={code:f,html:"",success:!1};try{let x=[],_=i(f,x),T=[],P=t(f,v);if(P.length){let N=_.split(` `),de=0;P.forEach(Ce=>{Ce.start>de&&T.push({highlight:!1,lines:N.slice(de,Ce.start).join(` `)}),T.push({highlight:!0,lines:N.slice(Ce.start,Ce.end+1).join(` `)}),de=Ce.end+1}),de<=N.length&&T.push({highlight:!1,lines:N.slice(de).join(` `)})}else T.push({highlight:!1,lines:_});let E=null,B="";do{let N=T.shift(),{value:de,top:Ce}=hljs.highlight(g,N.lines,!0,E);E=Ce,B+=N.highlight?`${de}`:`${de}`,T.length&&(B+=` `)}while(T.length);h.html=s(B,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=>{a(l)})}function dze(e,t){for(let o=0;o code, span[class*="lang-"]'),i=[],s;if(r.length>0){let a=await t.getDisplayNames();for(let l=0;l({language:r.syntaxLanguage,code:r.code,highlightLines:r.highlightLines}));return o.forEach(r=>{ihe(r,t)}),JL(n).then(r=>{for(let i=0;i{n.element.hidden=!r,n.header&&(n.header.hidden=!r)};for(let n of e){let r=!1;for(let i of n.members){let s=i.visibilityLanguage===t||i.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(i,s),r=r||s}r||o(n.default,!0)}At()}function mze(e,t,o=location.search){let n=fze(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 gze=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function XL(){k.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=rt(),t=k.querySelectorAll(".cdlHolder");Us(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 Ak(e){if(gze.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(k.querySelectorAll(".lang-title")),o=Array.from(k.querySelectorAll(".language-selector button")),n=[];if(o.length>0){let c=await Iv.getDisplayNames();o.forEach(u=>{if(b.data.userDir==="rtl"?u.classList.add("justify-content-flex-end"):u.classList.add("justify-content-flex-start"),u.dataset.biName){let p=u.dataset.biName.substr(5);u.textContent=c[p],n.push(p)}})}let r=o!==null&&n.length>0,i=await pze(e??k.body,Iv,n);if(r){let c=mze(n,Iv),u=k.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),che(i,c),XL(),o.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),$t(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);Iv.preferred=m,che(i,m)}XL(),Jd(),lhe(i,b.data.contentDir)})})}let s=i.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>uhe(s))}return window.addEventListener("resize",l,{passive:!0}),uhe(s),lhe(i,b.data.contentDir)}function uhe(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",bZ),n.tabIndex=0):(n.removeAttribute("role"),n.removeAttribute("aria-label"),n.removeAttribute("tabindex"))})}function fze(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}Ue();var Pk={401:Dp,403:K$,404:Dp,422:Dp,429:K$,500:Dp};async function dhe(e){let t={payload:{platformId:e}};try{let o=await R(W(z.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),n=o.status.toString();if(n in Pk)try{return{message:(await o.json())?.message||Pk[n],errorCode:n}}catch{return{message:Pk[n],errorCode:n}}if(o.ok)try{let r=await o.json();return"errorCode"in r||r?.message?r:{message:Z$,errorCode:"500"}}catch{return{message:Z$,errorCode:"500"}}return{message:W$,errorCode:o.status.toString()}}catch{return{message:W$,errorCode:"500"}}}var Je=class{},Sg=class{};var $l="ms--ai-summary-body",phe="ms--ai-summary",tu="ms--ai-summary-header",mhe="ms--ai-summary-cta",ghe="ms--ai-summary-feedback",Xd="ai-summary",fhe="ms--ai-summary-feedback-buttons",hhe="ms--ai-summary-feedback-thanks";Ue();C();function bhe(e){switch(e.state){case"ready":case"loading":return yze(e);case"loaded":return hze(e);case"errored":return xze(e);default:return d``}}function SH(e,t){return d`

    ${t}

    `}function hze(e){let t=d``;if(e.response){let{message:o}=e.response;o?t=d`${bze(o)} ${vze(e)} `:t=d`

    ${m0}

    `}return d`
    ${SH(e,Gf)}
    ${t}
    `}function bze(e){return d`
    ${$(e)}
    `}function vze(e){return d`
    ${Lu} ${$(mre)} ${_ze(e)}
    `}function _ze(e){return d`
    ${Yf}
    `}function yze(e){return d`
    ${SH(e,Gf)}

    ${p0}

    `}function xze(e){let{errorCode:t}=e.response,n=Pk[t]??Dp;return d`
    ${SH(e,Gf)}
    ${n}
    `}function vhe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var zl,Ik,Lk,Lv,jv,Rv,Mv,Dv,$v,ej=class extends He{constructor(o){super();this.state="ready";Xt(this,zl,null);Xt(this,Ik);Xt(this,Lk);Xt(this,Lv,!1);Xt(this,jv,null);Xt(this,Rv,null);Xt(this,Mv,!1);Xt(this,Dv,!0);Xt(this,$v,!0);Et(this,Lk,L("platform_id")??""),Et(this,Ik,o)}set sessionId(o){Et(this,jv,o)}get sessionId(){return Ee(this,jv)}set interactionId(o){Et(this,Rv,o)}get interactionId(){return Ee(this,Rv)}get response(){return Ee(this,zl)}set response(o){Et(this,zl,o)}get visible(){return Ee(this,Lv)}set visible(o){Ee(this,Lv)!==o&&(Et(this,Lv,o),this.notifyStateChanged())}get showFeedbackThanks(){return Ee(this,Mv)}set showFeedbackThanks(o){Ee(this,Mv)!==o&&(Et(this,Mv,o),this.notifyStateChanged())}get showHeader(){return Ee(this,Dv)}set showHeader(o){Ee(this,Dv)!==o&&(Et(this,Dv,o),this.notifyStateChanged())}get showCta(){return Ee(this,$v)}set showCta(o){Ee(this,$v)!==o&&(Et(this,$v,o),this.notifyStateChanged())}async fetch(){try{if(!this.response||vhe(this.response)===!0){this.state="loading",this.notifyStateChanged();let o=new Date().toISOString(),n=await Ee(this,Ik).call(this,Ee(this,Lk));if(vhe(n)){this.state="errored",Et(this,zl,n),this.notifyStateChanged();return}else{Et(this,zl,n),Et(this,jv,n?.sessionId??null),Et(this,Rv,n?.interactionId??null);let r=new Date().toISOString();this.timeToContentTelemetry(o,r);try{let s=new DOMParser().parseFromString(Ee(this,zl).message??"","text/html");s.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),Ee(this,zl).message=s.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(o){this.state="errored",Et(this,zl,{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:Xd,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:Xd,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:o,returnedTimestamp:n}})}notifyStateChanged(){this.publish(new Je)}};zl=new WeakMap,Ik=new WeakMap,Lk=new WeakMap,Lv=new WeakMap,jv=new WeakMap,Rv=new WeakMap,Mv=new WeakMap,Dv=new WeakMap,$v=new WeakMap;async function _he(){let e=S.aiSummary&&await Nn("ai-summary")||Be("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),o=document.getElementById(phe),n=document.getElementById(tu),r=document.getElementById(mhe);if(!e||!t||!o||!n||!r)return;t.hidden=!1;let i=new ej(dhe),s=!1;o.addEventListener("click",async()=>{i.showHeader=!0,i.showCta=!1,i.visible=!0;let a=document.getElementById(tu);if(!a)return;let l=()=>{n.hidden=!i.showHeader,r.hidden=!i.showCta,y(bhe(i),a)};s||(i.subscribe(Je,l),s=!0),l(),i.state==="ready"&&await i.fetch()})}C();function wH(e){return new Promise((t,o)=>{let n=k.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()},k.body.appendChild(n)})}function jk(e){let t=k.createElement("link");t.rel="preload",t.as="image",t.href=e,k.head.appendChild(t)}function yhe(e,t,o,n=500){let r=0,i=(...s)=>{t(r),r=e.apply(null,[o.bind(null,...s),n])};return i.cancel=()=>t(r),i}var zv={timeout:yhe.bind(null,setTimeout,clearTimeout),animationFrame:yhe.bind(null,F.requestAnimationFrame,F.cancelAnimationFrame)};function xhe(){Tze()}var EH=!1;function CH(e,t,o=()=>{}){window.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest(e)&&o(()=>t.show())})}function AH(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(()=>{wg(r,o)})})}async function The(e,t,o,n=()=>{}){window.addEventListener("click",i=>{let s=i.target instanceof HTMLElement&&i.target.closest(e);s&&(i.preventDefault(),n(()=>{Ar.matches?o(s,!0):t()}))}),await ke;let r=document.querySelector(e);r&&(r.hidden=!1)}function wg(e,t=!1){let o=document.querySelector(".layout-body-flyout");if(!o)return;EH=!EH;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),At()}if(t||n==="add"){e.dataset.flyoutReturnFocus="true";let r=o.querySelector('button[data-flyout-button="close"]');r&&r.focus()}}function Tze(){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 i=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');i&&(i.focus(),i.removeAttribute("data-flyout-return-focus"),i.hasAttribute("aria-expanded")&&i.setAttribute("aria-expanded","false"),i.classList.remove("is-selected")),EH=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),At()})}function khe(e,t){if(localStorage.getItem("playwrightActive"))return;let o=document.querySelector(t);if(!o)return;let n=Ar.matches,r=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),i=()=>document.documentElement.classList.contains("layout-flyout-active"),s=()=>{document.documentElement.classList.remove("layout-flyout-active"),o.classList.remove("is-selected")},a=()=>{let l=Ar.matches;!n&&l&&r()?(e.hide(),wg(o,!0)):n&&!l&&i()&&(e.show(),s()),n=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var PH="[data-ask-learn-modal-entry]",Rk="[data-ask-learn-flyout-entry]",tj="[data-ask-learn-modal-entry-feedback]",oj="[data-ask-learn-flyout-entry-show-only]",She="[data-skip-to-ask-learn]",whe=[PH,Rk];function Che(){Ehe(),dt.subscribe(_o,Ehe)}async function Ehe(){await ke,Array.from(document.querySelectorAll(whe.join(","))).forEach(o=>o.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(o=>o.hidden=!0)}C();C();function Ahe(e){let{text:t,biName:o,biTn:n,alignment:r,action:i}=e;return d` `}function kze(e,t){let o=[];for(let r=0;r`)}let n=qre.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${n}

    `}function Sze(e){return d` `}function IH(e,t,o){let n=Sze(e.imageSrc);return d` `}function Phe(e,t,o){e0&&Lhe(e-1,t,o)}var wze='[data-focus-on-button-click="true"]';function Lhe(e,t,o){let n=document.createElement("div"),r=IH(t[e],e,t.length);y(r,n),o.pushContent(n);let i=n.querySelector(wze);i&&i.focus()}function jhe(e){e.hide()}function Rhe(e,t){e.hide(),localStorage.setItem(t,"2")}function Mhe(e,t,o,n,r,i,s,a){return{fetch:e,maxMessages:t,getContextIdType:o,getContextId:n,validate:r,errorMapping:i,starterPrompts:s,suggestionPills:a}}var nj="/en-us/media/ask-learn/meet-ask-learn-base.png",rj="/en-us/media/ask-learn/check-for-accuracy-base.png",ij="ask-learn-history",ep="ask-learn-history-last-interaction-time",ou="ask-learn-open-status";function Eze(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function Cze(e){return Eze(e)?"non_unicode_characters":null}var Mk={"validation-failure":Xw,"session-not-found":ac,"interaction-not-found":ac,open_ai_content_filter:k1,copilot_content_filter:k1,knowledge_index_no_results:dy,copilot_invalid_urls:dy,open_ai_empty_message:dy,failed_to_parse_open_ai_message:dy,non_unicode_characters:q7,open_ai_too_many_requests:O7},Aze=[{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: "}],Pze=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],$he={like:{[h7]:"01-ai-positive-accurate-relevant",[b7]:"02-ai-positive-complete-clear",[v7]:"03-ai-positive-fast",[T1]:"00-ai-positive-other"},dislike:{[_7]:"01-ai-negative-inaccurate-irrelevant",[y7]:"02-ai-negative-incomplete-unclear",[T7]:"03-ai-negative-slow",[x7]:"04-ai-negative-offensive-inappropriate",[T1]:"00-ai-negative-other"}},Ize=120*1e3;async function Lze(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 R(W(z.copilot.chatAssistant,t,!0),{},Ize);if(o.status===401)return ge(o),{message:Zw,isError:!0};if(!o.ok)try{let r=await o.json();return{message:r.errorCode&&r.errorCode in Mk?Mk[r.errorCode]:ac,interactionId:r.additionalData?.interactionId,isError:!0}}catch{return{message:ac,isError:!0}}let n=await o.json();return"errorCode"in n?{message:n.errorCode&&n.errorCode in Mk?Mk[n.errorCode]:ac,interactionId:n?.additionalData?.interactionId,isError:!0}:{sessionId:n.sessionId,interactionId:n.interactionId,message:n.message,responseCount:n.assistantMessageCount,citations:n.citations}}catch{return{message:ac,isError:!0}}}var jze=10;function Dhe(){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:zt?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 Rze(){return Mhe(Lze,jze,()=>Dhe().contextIdType||"",()=>Dhe().uid||"",Cze,Mk,Aze,Pze)}var zhe=Rze();var Eg="ask-learn-assistant";function Mze(e,t){let o=[{title:w7,imageSrc:nj,descriptions:[Ww],buttonLeft:{text:S7,biName:"01-not-now",biTn:Eg,alignment:"left",action:()=>{jhe(e),t?.()}},buttonRight:{text:vs,biName:"01-next",biTn:Eg,alignment:"right",action:()=>Phe(0,o,e)}},{title:E7,imageSrc:rj,descriptions:[C7,A7],buttonLeft:{text:Ja,biName:"02-previous",biTn:Eg,alignment:"left",action:()=>Ihe(1,o,e)},buttonRight:{text:P7,biName:"try-cta",biTn:Eg,alignment:"right",action:()=>{Rhe(e,Eg),t?.()}}}];return o}function LH(){let e=localStorage.getItem(Eg);return e?Number(e):0}function Cg(e){let t=LH();if(t>=2||document.documentElement.classList.contains("layout-flyout-active")){e?.();return}else t++,localStorage.setItem(Eg,t.toString());let o=document.createElement("div");document.body.appendChild(o);let n=new ve(o,""),r=Mze(n,e),i=IH(r[0],0,r.length);y(i,o),n.show()}function Dze(e,t,o){return`
    ${e}
    ${e}. ${t}
    `}function Nhe(e){return e?Object.entries(e).map(([t,o])=>{let n=parseInt(t),{title:r,url:i}=o;return Dze(n,r,i)}):[]}function jH(e,t){if(!e||!t.length)return;let o=n=>{if(!n.open)return;let r=n.querySelector(".popover-content"),i=n.querySelector(".tag-summary");if(!r||!i)return;n.classList.add("popover-left"),r.offsetHeight;let s=e.getBoundingClientRect(),a=i.getBoundingClientRect(),l=r.getBoundingClientRect();a.left+a.width/2-l.width/2>=s.left&&(n.classList.remove("popover-left"),r.offsetHeight)};t.forEach(n=>{n.querySelectorAll("details.popover.tag-popover").forEach(i=>{i.addEventListener("toggle",s=>{let a=s.target;a.open&&o(a)})})})}C();C();function nu(){return d`
    ${p7}
    `}C();C();function $ze(e,t,o,n,r,i){let s=`${e}-${t}-msg${r}`,a=`${e}-${t}-msg${r}-choice${i}`;return d` `}function zze(e,t,o){return Object.entries($he[o]).map(([i,s],a)=>$ze(t,o,i,s,e.index,a))}function Nze(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 i=`${r}-disclaimer`,s=document.getElementById(i);if(!s)return;let a=En(Ohe(!n),d``);y(a,s),o.textContent=n?Pu:$y}}async function Ohe(e){return await be,A&&A.authenticationMode==="AAD"?$(e?wE:Ty):$(SE)}function Oze(e,t,o,n,r=Ohe(!1)){let i=Na(n,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",Nze(e),Pu,!0,!1,`ask-learn-show-more-${e.index}-${o}`),s=`${t}-feedback-payload-${e.index}-${o}`;return d`
    ${En(r,d``)}
    ${Fze(e,s)}
    ${i}
    `}function Fze(e,t){return d` `}function Uze(e,t,o){let n=`${t}-feedback-textarea-${e.index}-${o}`,r=`${t}-see-more-${e.index}-${o}`;return d`
    e.handleSubmit(e,i)}>
    ${N7}
    ${zze(e,t,o)}

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

    `}function Fhe(e,t){let o;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?o=d` ${nu()}
    ${k7}
    `:(e.state==="like"||e.state==="dislike")&&(o=Uze(e,t,e.state)),d`
    ${o}
    `)}var kj={};Lo(kj,{default:()=>Tj});var UH={};Lo(UH,{arrayReplaceAt:()=>FH,assign:()=>Ov,escapeHtml:()=>iu,escapeRE:()=>SNe,fromCodePoint:()=>zk,has:()=>mNe,isMdAsciiPunct:()=>Ig,isPunctChar:()=>Pg,isSpace:()=>It,isString:()=>fj,isValidEntityCode:()=>hj,isWhiteSpace:()=>Ag,lib:()=>wNe,normalizeReference:()=>Lg,unescapeAll:()=>ru,unescapeMd:()=>vNe});var uj={};Lo(uj,{decode:()=>Dk,encode:()=>lj,format:()=>Nv,parse:()=>$k});var Uhe={};function qze(e){let t=Uhe[e];if(t)return t;t=Uhe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);t.push(n)}for(let o=0;o=55296&&u<=57343?r+="\uFFFD\uFFFD\uFFFD":r+=String.fromCharCode(u),i+=6;continue}}if((a&248)===240&&i+91114111?r+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,r+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),i+=9;continue}}r+="\uFFFD"}return r})}sj.defaultChars=";/?:@&=+$,#";sj.componentChars="";var Dk=sj;var qhe={};function Hze(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=Hze(t),r="";for(let i=0,s=e.length;i=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&l<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}aj.defaultChars=";/?:@&=+$,-_.!~*'()#";aj.componentChars="-_.!~*'()";var lj=aj;function Nv(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 cj(){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 Bze=/^([a-z0-9.+-]+:)/i,Vze=/:[0-9]*$/,Gze=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Qze=["<",">",'"',"`"," ","\r",` `," "],Yze=["{","}","|","\\","^","`"].concat(Qze),Kze=["'"].concat(Yze),Hhe=["%","/","?",";","#"].concat(Kze),Bhe=["/","?","#"],Wze=255,Vhe=/^[+a-z0-9A-Z_-]{0,63}$/,Zze=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ghe={javascript:!0,"javascript:":!0},Qhe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Jze(e,t){if(e&&e instanceof cj)return e;let o=new cj;return o.parse(e,t),o}cj.prototype.parse=function(e,t){let o,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){let c=Gze.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let s=Bze.exec(i);if(s&&(s=s[0],o=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(s&&Ghe[s])&&(i=i.substr(2),this.slashes=!0)),!Ghe[s]&&(r||s&&!Qhe[s])){let c=-1;for(let f=0;f127?_+="x":_+=x[T];if(!_.match(Vhe)){let T=f.slice(0,v),P=f.slice(v+1),E=x.match(Zze);E&&(T.push(E[1]),P.unshift(E[2])),P.length&&(i=P.join(".")+i),this.hostname=T.join(".");break}}}}this.hostname.length>Wze&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=i.indexOf("#");a!==-1&&(this.hash=i.substr(a),i=i.slice(0,a));let l=i.indexOf("?");return l!==-1&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),Qhe[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};cj.prototype.parseHost=function(e){let t=Vze.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 $k=Jze;var RH={};Lo(RH,{Any:()=>Yhe,Cc:()=>Khe,Cf:()=>Whe,P:()=>dj,S:()=>pj,Z:()=>Zhe});var Yhe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var Khe=/[\0-\x1F\x7F-\x9F]/;var Whe=/[\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 dj=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 pj=/[\$\+<->\^`\|~\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 Zhe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Jhe=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 Xhe=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var MH,Xze=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]]),DH=(MH=String.fromCodePoint)!==null&&MH!==void 0?MH: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 $H(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Xze.get(e))!==null&&t!==void 0?t:e}var qn;(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"})(qn||(qn={}));var eNe=32,tp;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(tp||(tp={}));function zH(e){return e>=qn.ZERO&&e<=qn.NINE}function tNe(e){return e>=qn.UPPER_A&&e<=qn.UPPER_F||e>=qn.LOWER_A&&e<=qn.LOWER_F}function oNe(e){return e>=qn.UPPER_A&&e<=qn.UPPER_Z||e>=qn.LOWER_A&&e<=qn.LOWER_Z||zH(e)}function nNe(e){return e===qn.EQUALS||oNe(e)}var Un;(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"})(Un||(Un={}));var Nl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Nl||(Nl={}));var mj=class{constructor(t,o,n){this.decodeTree=t,this.emitCodePoint=o,this.errors=n,this.state=Un.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Nl.Strict}startEntity(t){this.decodeMode=t,this.state=Un.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,o){switch(this.state){case Un.EntityStart:return t.charCodeAt(o)===qn.NUM?(this.state=Un.NumericStart,this.consumed+=1,this.stateNumericStart(t,o+1)):(this.state=Un.NamedEntity,this.stateNamedEntity(t,o));case Un.NumericStart:return this.stateNumericStart(t,o);case Un.NumericDecimal:return this.stateNumericDecimal(t,o);case Un.NumericHex:return this.stateNumericHex(t,o);case Un.NamedEntity:return this.stateNamedEntity(t,o)}}stateNumericStart(t,o){return o>=t.length?-1:(t.charCodeAt(o)|eNe)===qn.LOWER_X?(this.state=Un.NumericHex,this.consumed+=1,this.stateNumericHex(t,o+1)):(this.state=Un.NumericDecimal,this.stateNumericDecimal(t,o))}addToNumericResult(t,o,n,r){if(o!==n){let i=n-o;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(o,i),r),this.consumed+=i}}stateNumericHex(t,o){let n=o;for(;o>14;for(;o>14,i!==0){if(s===qn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Nl.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]&tp.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]&~tp.VALUE_LENGTH:r[t+1],n),o===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Un.NamedEntity:return this.result!==0&&(this.decodeMode!==Nl.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Un.NumericDecimal:return this.emitNumericEntity(0,2);case Un.NumericHex:return this.emitNumericEntity(0,3);case Un.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Un.EntityStart:return 0}}};function ebe(e){let t="",o=new mj(e,n=>t+=DH(n));return function(r,i){let s=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(s,a),o.startEntity(i);let c=o.write(r,a+1);if(c<0){s=a+o.end();break}s=a+c,a=c===0?s+1:s}let l=t+r.slice(s);return t="",l}}function rNe(e,t,o,n){let r=(t&tp.BRANCH_LENGTH)>>7,i=t&tp.JUMP_TABLE;if(r===0)return i!==0&&n===i?o:-1;if(i){let l=n-i;return l<0||l>=r?-1:e[o+l]-1}let s=o,a=s+r-1;for(;s<=a;){let l=s+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+r]}return-1}var iNe=ebe(Jhe),BAt=ebe(Xhe);function op(e,t=Nl.Legacy){return iNe(e,t)}function gj(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 NH(e,t){return function(n){let r,i=0,s="";for(;r=e.exec(n);)i!==r.index&&(s+=n.substring(i,r.index)),s+=t.get(r[0].charCodeAt(0)),i=r.index+1;return s+n.substring(i)}}var tbe=NH(/[&<>'"]/g,aNe),obe=NH(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),nbe=NH(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var rbe;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(rbe||(rbe={}));var ibe;(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"})(ibe||(ibe={}));function dNe(e){return Object.prototype.toString.call(e)}function fj(e){return dNe(e)==="[object String]"}var pNe=Object.prototype.hasOwnProperty;function mNe(e,t){return pNe.call(e,t)}function Ov(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 FH(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function hj(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 zk(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 lbe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,gNe=/&([a-z#][a-z0-9]{1,31});/gi,fNe=new RegExp(lbe.source+"|"+gNe.source,"gi"),hNe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function bNe(e,t){if(t.charCodeAt(0)===35&&hNe.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return hj(n)?zk(n):e}let o=op(e);return o!==e?o:e}function vNe(e){return e.indexOf("\\")<0?e:e.replace(lbe,"$1")}function ru(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(fNe,function(t,o,n){return o||bNe(t,n)})}var _Ne=/[&<>"]/,yNe=/[&<>"]/g,xNe={"&":"&","<":"<",">":">",'"':"""};function TNe(e){return xNe[e]}function iu(e){return _Ne.test(e)?e.replace(yNe,TNe):e}var kNe=/[.?*+^$[\]\\(){}|-]/g;function SNe(e){return e.replace(kNe,"\\$&")}function It(e){switch(e){case 9:case 32:return!0}return!1}function Ag(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 Pg(e){return dj.test(e)||pj.test(e)}function Ig(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 Lg(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var wNe={mdurl:uj,ucmicro:RH};var VH={};Lo(VH,{parseLinkDestination:()=>HH,parseLinkLabel:()=>qH,parseLinkTitle:()=>BH});function qH(e,t,o){let n,r,i,s,a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return i;if(n===41){if(s===0)break;s--}r++}return t===r||s!==0||(i.str=ru(e.slice(t,r)),i.pos=r,i.ok=!0),i}function BH(e,t,o,n){let r,i=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(i>=o)return s;let a=e.charCodeAt(i);if(a!==34&&a!==39&&a!==40)return s;t++,i++,a===40&&(a=41),s.marker=a}for(;i"+iu(i.content)+""};Ol.code_block=function(e,t,o,n,r){let i=e[t];return""+iu(e[t].content)+` `};Ol.fence=function(e,t,o,n,r){let i=e[t],s=i.info?ru(i.info).trim():"",a="",l="";if(s){let u=s.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(o.highlight?c=o.highlight(i.content,a,l)||iu(i.content):c=iu(i.content),c.indexOf("${c} `}return`
    ${c}
    `};Ol.image=function(e,t,o,n,r){let i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,o,n),r.renderToken(e,t,o)};Ol.hardbreak=function(e,t,o){return o.xhtmlOut?`
    `:`
    `};Ol.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
    `:`
    `:` `};Ol.text=function(e,t){return iu(e[t].content)};Ol.html_block=function(e,t){return e[t].content};Ol.html_inline=function(e,t){return e[t].content};function Fv(){this.rules=Ov({},Ol)}Fv.prototype.renderAttrs=function(t){let o,n,r;if(!t.attrs)return"";for(r="",o=0,n=t.attrs.length;o `:">",i};Fv.prototype.renderInline=function(e,t,o){let n="",r=this.rules;for(let i=0,s=e.length;i=0&&(n=this.attrs[o][1]),n};Uv.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 su=Uv;function ube(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}ube.prototype.Token=su;var dbe=ube;var ENe=/\r\n?|\n/g,CNe=/\0/g;function GH(e){let t;t=e.src.replace(ENe,` `),t=t.replace(CNe,"\uFFFD"),e.src=t}function QH(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 YH(e){let t=e.tokens;for(let o=0,n=t.length;o\s]/i.test(e)}function PNe(e){return/^<\/a\s*>/i.test(e)}function KH(e){let t=e.tokens;if(e.md.options.linkify)for(let o=0,n=t.length;o=0;s--){let a=r[s];if(a.type==="link_close"){for(s--;r[s].level!==a.level&&r[s].type!=="link_open";)s--;continue}if(a.type==="html_inline"&&(ANe(a.content)&&i>0&&i--,PNe(a.content)&&i++),!(i>0)&&a.type==="text"&&e.md.linkify.test(a.content)){let l=a.content,c=e.md.linkify.match(l),u=[],p=a.level,m=0;c.length>0&&c[0].index===0&&s>0&&r[s-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let E=new e.Token("text","",0);E.content=l.slice(m,x),E.level=p,u.push(E)}let _=new e.Token("link_open","a",1);_.attrs=[["href",v]],_.level=p++,_.markup="linkify",_.info="auto",u.push(_);let T=new e.Token("text","",0);T.content=h,T.level=p,u.push(T);let P=new e.Token("link_close","a",-1);P.level=--p,P.markup="linkify",P.info="auto",u.push(P),m=c[g].lastIndex}if(m=0;o--){let n=e[o];n.type==="text"&&!t&&(n.content=n.content.replace(LNe,RNe)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function DNe(e){let t=0;for(let o=e.length-1;o>=0;o--){let n=e[o];n.type==="text"&&!t&&pbe.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 WH(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(INe.test(e.tokens[t].content)&&MNe(e.tokens[t].children),pbe.test(e.tokens[t].content)&&DNe(e.tokens[t].children))}var $Ne=/['"]/,mbe=/['"]/g,gbe="\u2019";function bj(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function zNe(e,t){let o,n=[];for(let r=0;r=0&&!(n[o].level<=s);o--);if(n.length=o+1,i.type!=="text")continue;let a=i.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.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 v=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=x),!p&&!m){g&&(i.content=bj(i.content,u.index,gbe));continue}if(m)for(o=n.length-1;o>=0;o--){let P=n[o];if(n[o].level=0;t--)e.tokens[t].type!=="inline"||!$Ne.test(e.tokens[t].content)||zNe(e.tokens[t].children,e)}function JH(e){let t,o,n=e.tokens,r=n.length;for(let i=0;i0&&this.level++,this.tokens.push(n),n};Fl.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Fl.prototype.skipEmptyLines=function(t){for(let o=this.lineMax;to;)if(!It(this.src.charCodeAt(--t)))return t+1;return t};Fl.prototype.skipChars=function(t,o){for(let n=this.src.length;tn;)if(o!==this.src.charCodeAt(--t))return t+1;return t};Fl.prototype.getLines=function(t,o,n,r){if(t>=o)return"";let i=new Array(o-t);for(let s=0,a=t;an?i[s]=new Array(l-n+1).join(" ")+this.src.slice(u,p):i[s]=this.src.slice(u,p)}return i.join("")};Fl.prototype.Token=su;var hbe=Fl;var NNe=65536;function tB(e,t){let o=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(o,n)}function bbe(e){let t=[],o=e.length,n=0,r=e.charCodeAt(n),i=!1,s=0,a="";for(;no)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;let s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58||i>=e.eMarks[r])return!1;let a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58&&!It(a)||s===45&&It(a))return!1;for(;i=4)return!1;c=bbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();let p=c.length;if(p===0||p!==u.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),v=[t,0];f.map=v;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 P=0;P=4||(c=bbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),T+=p-c.length,T>NNe))break;if(r===t+2){let B=e.push("tbody_open","tbody",1);B.map=_=[t+2,0]}let E=e.push("tr_open","tr",1);E.map=[r,r+1];for(let B=0;B=4){n++,r=n;continue}break}e.line=r;let i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+` `,i.map=[t,e.line],!0}function rB(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;let s=e.src.charCodeAt(r);if(s!==126&&s!==96)return!1;let a=r;r=e.skipChars(r,s);let l=r-a;if(l<3)return!1;let c=e.src.slice(a,r),u=e.src.slice(r,i);if(s===96&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;let p=t,m=!1;for(;p++,!(p>=o||(r=a=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r=4)&&(r=e.skipChars(r,s),!(r-a=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;let a=[],l=[],c=[],u=[],p=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f=i)break;if(e.src.charCodeAt(r++)===62&&!T){let E=e.sCount[f]+1,B,N;e.src.charCodeAt(r)===32?(r++,E++,N=!1,B=!0):e.src.charCodeAt(r)===9?(B=!0,(e.bsCount[f]+E)%4===3?(r++,E++,N=!1):N=!0):B=!1;let de=E;for(a.push(e.bMarks[f]),e.bMarks[f]=r;r=i,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(B?1:0),c.push(e.sCount[f]),e.sCount[f]=de-E,u.push(e.tShift[f]),e.tShift[f]=r-e.bMarks[f];continue}if(g)break;let P=!1;for(let E=0,B=p.length;E";let x=[t,0];h.map=x,e.md.block.tokenize(e,t,f);let _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=s,e.parentType=m,x[1]=e.line;for(let T=0;T=4)return!1;let i=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(i++);if(s!==42&&s!==45&&s!==95)return!1;let a=1;for(;i=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-o>=10)return-1;continue}if(i===41||i===46)break;return-1}return r=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let p,m,g;if((g=_be(e,l))>=0){if(p=!0,s=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(s,g-1)),u&&m!==1)return!1}else if((g=vbe(e,l))>=0)p=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(n)return!0;let f=e.src.charCodeAt(g-1),v=e.tokens.length;p?(a=e.push("ordered_list_open","ol",1),m!==1&&(a.attrs=[["start",m]])):a=e.push("bullet_list_open","ul",1);let h=[l,0];a.map=h,a.markup=String.fromCharCode(f);let x=!1,_=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";l=r?N=1:N=E-P,N>4&&(N=1);let de=P+N;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let Ce=[l,0];a.map=Ce,p&&(a.info=e.src.slice(s,g-1));let ae=e.tight,yt=e.tShift[l],Nt=e.sCount[l],Vt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=de,e.tight=!0,e.tShift[l]=B-e.bMarks[l],e.sCount[l]=E,B>=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]=yt,e.sCount[l]=Nt,e.tight=ae,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,Ce[1]=l,l>=o||e.sCount[l]=4)break;let Uo=!1;for(let Jt=0,bo=_.length;Jt=4||e.src.charCodeAt(r)!==91)return!1;function a(_){let T=e.lineMax;if(_>=T||e.isEmpty(_))return null;let P=!1;if(e.sCount[_]-e.blkIndent>3&&(P=!0),e.sCount[_]<0&&(P=!0),!P){let N=e.md.block.ruler.getRules("reference"),de=e.parentType;e.parentType="reference";let Ce=!1;for(let ae=0,yt=N.length;ae"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:h,href:p}),e.line=s),!0):!1}var ybe=["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 FNe="[a-zA-Z_:][a-zA-Z0-9:._-]*",UNe="[^\"'=<>`\\x00-\\x20]+",qNe="'[^']*'",HNe='"[^"]*"',BNe="(?:"+UNe+"|"+qNe+"|"+HNe+")",VNe="(?:\\s+"+FNe+"(?:\\s*=\\s*"+BNe+")?)",xbe="<[A-Za-z][A-Za-z0-9\\-]*"+VNe+"*\\s*\\/?>",Tbe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",GNe="",QNe="<[?][\\s\\S]*?[?]>",YNe="]*>",KNe="",kbe=new RegExp("^(?:"+xbe+"|"+Tbe+"|"+GNe+"|"+QNe+"|"+YNe+"|"+KNe+")"),Sbe=new RegExp("^(?:"+xbe+"|"+Tbe+")");var qv=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Sbe.source+"\\s*$"),/^$/,!1]];function cB(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let s=e.src.slice(r,i),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(r);if(s!==35||r>=i)return!1;let a=1;for(s=e.src.charCodeAt(++r);s===35&&r6||rr&&It(e.src.charCodeAt(l-1))&&(i=l),e.line=t+1;let c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];let u=e.push("inline","",0);u.content=e.src.slice(r,i).trim(),u.map=[t,e.line],u.children=[];let p=e.push("heading_close","h"+String(a),-1);return p.markup="########".slice(0,a),!0}function dB(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 i=0,s,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a],f=e.eMarks[a];if(g=f))){i=s===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=n.length;g3||e.sCount[i]<0)continue;let c=!1;for(let u=0,p=n.length;u=o||e.sCount[s]=i){e.line=o;break}let l=e.line,c=!1;for(let u=0;u=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=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s0&&(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};Nk.prototype.scanDelims=function(e,t){let o=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32,i=e;for(;i0)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(ZNe);if(!r)return!1;let i=r[1],s=e.md.linkify.matchAtStart(e.src.slice(o-i.length));if(!s)return!1;let a=s.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");let l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-i.length,!0}function fB(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 i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),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){hB[e.charCodeAt(0)]=1});function bB(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&&a<=57343&&(i+=e.src[o+1],o++)}let s="\\"+i;if(!t){let a=e.push("text_special","",0);r<256&&hB[r]!==0?a.content=i:a.content=s,a.markup=s,a.info="escape"}return e.pos=o+1,!0}function vB(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==96)return!1;let r=o;o++;let i=e.posMax;for(;o=0;n--){let r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;let i=t[r.end],s=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===i.token+1,a=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?a+a:a,l.content="";let c=e.tokens[i.token];c.type=s?"strong_close":"em_close",c.tag=s?"strong":"em",c.nesting=-1,c.markup=s?a+a:a,c.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function t2e(e){let t=e.tokens_meta,o=e.tokens_meta.length;Abe(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(s=e.md.normalizeLink(r.str),e.md.validateLink(s)?f=r.pos:s="",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)),i=e.env.references[Lg(n)],!i)return e.pos=u,!1;s=i.href,a=i.title}if(!t){e.pos=m,e.posMax=g;let v=e.push("link_open","a",1),h=[["href",s]];v.attrs=h,a&&h.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}function TB(e,t){let o,n,r,i,s,a,l,c,u="",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(i=f+1,i=m)return!1;for(c=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?i=a.pos:u=""),c=i;i=m||e.src.charCodeAt(i)!==41)return e.pos=p,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i=0?r=e.src.slice(c,i++):i=f+1):i=f+1,r||(r=e.src.slice(g,f)),s=e.env.references[Lg(r)],!s)return e.pos=p,!1;u=s.href,l=s.title}if(!t){n=e.src.slice(g,f);let v=[];e.md.inline.parse(n,e.md,e.env,v);let h=e.push("image","img",0),x=[["src",u],["alt",""]];h.attrs=x,h.children=v,h.content=n,l&&x.push(["title",l])}return e.pos=i,e.posMax=m,!0}var o2e=/^([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])?)*)$/,n2e=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function kB(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 s=e.src.charCodeAt(o);if(s===60)return!1;if(s===62)break}let i=e.src.slice(n+1,o);if(n2e.test(i)){let s=e.md.normalizeLink(i);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}if(o2e.test(i)){let s=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}return!1}function r2e(e){return/^\s]/i.test(e)}function i2e(e){return/^<\/a\s*>/i.test(e)}function s2e(e){let t=e|32;return t>=97&&t<=122}function SB(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&&!s2e(r))return!1;let i=e.src.slice(n).match(kbe);if(!i)return!1;if(!t){let s=e.push("html_inline","",0);s.content=i[0],r2e(s.content)&&e.linkLevel++,i2e(s.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}var a2e=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l2e=/^&([a-z][a-z0-9]{1,31});/i;function wB(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 i=e.src.slice(o).match(a2e);if(i){if(!t){let s=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=hj(s)?zk(s):zk(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{let i=e.src.slice(o).match(l2e);if(i){let s=op(i[0]);if(s!==i[0]){if(!t){let a=e.push("text_special","",0);a.content=s,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Pbe(e){let t={},o=e.length;if(!o)return;let n=0,r=-2,i=[];for(let s=0;sl;c-=i[c]+1){let p=e[c];if(p.marker===a.marker&&p.open&&p.end<0){let m=!1;if((p.close||a.open)&&(p.length+a.length)%3===0&&(p.length%3!==0||a.length%3!==0)&&(m=!0),!m){let g=c>0&&!e[c-1].open?i[c-1]+1:0;i[s]=s-c+g,i[c]=g,a.open=!1,p.end=s,p.close=!1,u=-1,r=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function EB(e){let t=e.tokens_meta,o=e.tokens_meta.length;Pbe(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;s||e.pos++,i[t]=e.pos};Ok.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(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Ok.prototype.parse=function(e,t,o,n){let r=new this.State(e,t,o,n);this.tokenize(r);let i=this.ruler2.getRules(""),s=i.length;for(let a=0;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jB=35,Ul=Math.floor,RB=String.fromCharCode;function np(e){throw new RangeError(k2e[e])}function S2e(e,t){let o=[],n=e.length;for(;n--;)o[n]=t(e[n]);return o}function Ybe(e,t){let o=e.split("@"),n="";o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(T2e,".");let r=e.split("."),i=S2e(r,t).join(".");return n+i}function Kbe(e){let t=[],o=0,n=e.length;for(;o=55296&&r<=56319&&oString.fromCodePoint(...e),E2e=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Gbe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Wbe=function(e,t,o){let n=0;for(e=o?Ul(e/700):e>>1,e+=Ul(e/t);e>jB*26>>1;n+=36)e=Ul(e/jB);return Ul(n+(jB+1)*e/(e+38))},Zbe=function(e){let t=[],o=e.length,n=0,r=128,i=72,s=e.lastIndexOf(Qbe);s<0&&(s=0);for(let a=0;a=128&&np("not-basic"),t.push(e.charCodeAt(a));for(let a=s>0?s+1:0;a=o&&np("invalid-input");let m=E2e(e.charCodeAt(a++));m>=36&&np("invalid-input"),m>Ul((2147483647-n)/u)&&np("overflow"),n+=m*u;let g=p<=i?1:p>=i+26?26:p-i;if(mUl(2147483647/f)&&np("overflow"),u*=f}let c=t.length+1;i=Wbe(n-l,c,l==0),Ul(n/c)>2147483647-r&&np("overflow"),r+=Ul(n/c),n%=c,t.splice(n++,0,r)}return String.fromCodePoint(...t)},Jbe=function(e){let t=[];e=Kbe(e);let o=e.length,n=128,r=0,i=72;for(let l of e)l<128&&t.push(RB(l));let s=t.length,a=s;for(s&&t.push(Qbe);a=n&&uUl((2147483647-r)/c)&&np("overflow"),r+=(l-n)*c,n=l;for(let u of e)if(u2147483647&&np("overflow"),u===n){let p=r;for(let m=36;;m+=36){let g=m<=i?1:m>=i+26?26:m-i;if(p=0))try{t.hostname=MB.toASCII(t.hostname)}catch{}return lj(Nv(t))}function D2e(e){let t=$k(e,!0);if(t.hostname&&(!t.protocol||nve.indexOf(t.protocol)>=0))try{t.hostname=MB.toUnicode(t.hostname)}catch{}return Dk(Nv(t),Dk.defaultChars+"%")}function qs(e,t){if(!(this instanceof qs))return new qs(e,t);t||fj(e)||(t=e||{},e="default"),this.inline=new Ibe,this.block=new wbe,this.core=new fbe,this.renderer=new cbe,this.linkify=new ove.default,this.validateLink=R2e,this.normalizeLink=M2e,this.normalizeLinkText=D2e,this.utils=UH,this.helpers=Ov({},VH),this.options={},this.configure(e),t&&this.set(t)}qs.prototype.set=function(e){return Ov(this.options,e),this};qs.prototype.configure=function(e){let t=this;if(fj(e)){let o=e;if(e=I2e[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};qs.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};qs.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};qs.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};qs.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};qs.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};qs.prototype.parseInline=function(e,t){let o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};qs.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Tj=qs;var rp=Hv();rp.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 Hv(e="default",t){return"default"in kj?Tj(e,t):new kj(e,t)}var $2e=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(o,n,r,i)=>`${n} aria-label="link, ${r}">${r}${i}`)},rve=e=>{let t=Hv("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 $2e(r);let i=r.replace(/

    /g,'

    ').replace(/<\/p>/g,"
    "),s=/]*?>(\^(\d+)\^)<\/a>/g;return i=i.replace(s,(a,l,c)=>{let u=parseInt(String(c));return u>0&&u<=e.length?e[u-1]:a}),i},t.renderer.rules.fence=function(n,r,i,s,a){let l=n[r],c=l.info?l.info.trim().split(/\s+/g)[0]:"",u=c?`class="lang-${c}"`:"",p=t.utils.escapeHtml(l.content||"");return`
    ${p}
    `},t};function ive(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":"",i=t?"":"is-hidden",s=t?"":"skeleton",a=d``;return d`
    ${t?B7.replace("{count}",t.toString()).replace("{total}",o.toString()):a}
    `}function z2e(){return d`
    ${nu()}
    ${f7}
    `}function N2e(e){return d`
    ${e}
    `}function ave(e,t,o){return d`
    ${t?z2e():nu()}
    ${e}
    `}function O2e(e,t){let o=e.contentIsHTML?"content first-p-top-margin-reset":"";return ave(t,!0,o)}function F2e(e){let t=d`

    ${I7}

    `;return ave(t,!1)}function sve(e){return d`
    `}function U2e(e){return d`
    `}function q2e(e){return!e.citations||Object.keys(e.citations).length===0?"":d`
    ${GX}
      ${Object.entries(e.citations).map(([t,o])=>d`
    1. ${o.title}
    2. `)}
    `}function H2e(e){return e.loaded?d` ${q2e(e)}
    ${sve(e)} ${ive(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${sve(e)}
    `:e.cancelled?d`
    ${ive(e,e.responseCount,e.maxMessages)}
    `:""}function B2e(e,t){if(e.allowLoadingView&&e.loading)return V2e(e,t);let n=Nhe(e.citations),r=rve(n),i=e.cancelled?d`${Kw} ${e.content}`:e.type==="ai"&&e.contentIsHTML?$(r.render(e.content??"")):e.content,s=e.type==="ai"?H2e(e):"",a=e.cancelled?U2e(e):"",l=e.feedbackViewModel?Fhe(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?F2e(e):"",u=d`
    ${i} ${s}
    `;return d`
    ${e.type==="user"?N2e(u):O2e(e,u)}
    ${a} ${l} ${c} `}function V2e(e,t){return d`
    ${nu()}

    ${eE}

    `}function lve(e,t){return B2e(e,t)}C();C();function G2e(e){return d` `}function cve(e){return!e.suggestionPills||e.suggestionPills.length===0||!e.canSubmit?"":d` ${e.suggestionPills.filter(t=>!t.clicked).map(t=>G2e(t))} `}function dve(e,t){return!e.starterPrompts||e.starterPrompts.length===0?"":d`
    ${e.starterPrompts.map(({icon:o,header:n,description:r,prompt:i})=>{let s=n.charAt(0).toLowerCase()+n.slice(1);return d`

    ${r}

    `})}
    `}function uve(){return b.data.pageTemplate!=="ModuleUnit"}function pve(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let n=!uve()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(r=>r.clicked)?C1:"";return d`
    ${uve()?cve(e):""}
    ${n}

    ${M7}

    ${e.starterPrompts.map(({icon:r,header:i,prompt:s})=>{let a=i.toLowerCase();return d` `})}
    `}C();function mve(e,t){return d` `}function Q2e(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 Y2e(e,t){return d`
    ${e.starterPrompts?dve(e,t):""} ${Mo(e.messages,o=>o.index,o=>lve(o,t))}
    `}function gve(){return d` `}function DB(e,t,o=!1){return d`

    ${nu()}

    ${S1}
    ${gve()}
    ${Y2e(e,t)} ${W2e(e,t)}
    `}function K2e(e){return e?d` ${e} `:d``}function W2e(e,t){return d`
    ${e.starterPrompts?pve(e,t):""}
    ${mve(e,t)}
    ${K2e(e.currentValidationMessage)}
    `}function fve(e,t=!1){return d`

    ${nu()}

    ${S1}
    ${gve()}

    ${Ww}

    ${Zw}

    `}var Bv=class{constructor(t={}){this.detail=t}},ql=class{constructor(t={}){this.detail=t}},Vv=class{constructor(t={}){this.detail=t}},Gv=class{constructor(t={}){this.detail=t}},Hl=class{constructor(t={}){this.detail=t}},au=class{constructor(t={}){this.detail=t}},Qv=class{constructor(t={}){this.detail=t}},Yv=class{constructor(t={}){this.detail=t}};var Sj=class extends He{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"),i=this.getSelectedOption(r),s=this.getVerbatimText(r);i&&(this.userRadioSelection=i.value,this.verbatim=s),this.publish(new au({refresh:n,msgIndex:this.index}))}handleSubmit(o,n){n.preventDefault();let r=n.target.closest("form"),i=this.getSelectedOption(r),s=this.getVerbatimText(r);i&&(this.userRadioSelection=i.value,this.verbatim=s,this.state="submitted",o.notifyPropertyChanged(),this.publish(new Hl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(n=>{n.querySelectorAll('input[type="radio"]').forEach(i=>{i.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 ql({scroll:!1}))}};var Z2e={contentIsHTML:!1,type:"user"},xi,wj=class extends He{constructor(o,n={},r,i,s,a){super();Xt(this,xi,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...Z2e,...n};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=r,this.maxMessages=i,this.errorMapping=s||{},this.sessionId=a,o instanceof Promise)this.fetchInternal=o;else{let u=o;this.content=u.content,this.citations=u.citations,this.type=u.type,this.interactionId=u.interactionId,this.rating=u.rating,Et(this,xi,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(Ct(eE,"assertive"),this.feedbackViewModel=new Sj(r),this.feedbackViewModel.subscribe(ql,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Hl,u=>this.publish(new Hl(u.detail))),this.feedbackViewModel.subscribe(au,u=>this.publish(new au({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&Ct(j7),this.notifyPropertyChanged()})}get loading(){return Ee(this,xi)==="loading"}get cancelled(){return Ee(this,xi)==="cancelled"}get loaded(){return Ee(this,xi)==="loaded"}get errored(){return Ee(this,xi)==="errored"}get allowLoadingView(){return Ee(this,xi)==="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 Yv),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(o=>{this.cancel=o}).then(o=>{this.contentIsHTML=!1,Et(this,xi,"cancelled"),Ct(Kw,"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 i=document.querySelector(`[data-focus-on-cancel="${r}"]`);i&&i.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?Et(this,xi,"errored"):this.loading&&Et(this,xi,"loaded")}resetChat(){this.publish(new Gv)}chatSetBusy(){this.publish(new Vv)}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 Hl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(Et(this,xi,"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 ql({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"?Ee(this,xi):void 0,rating:this.rating}}};xi=new WeakMap;var Ej=class extends He{constructor(t,o,n){super(),this.name=t,this.description=o,this.prompt=n,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new Qv({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var Cj={empty:H7,short:Xw,exceeded:E1},J2e=8*60*60*1e3,Fk,Uk,qk,Fa,Hk,Bk,Aj=class extends He{constructor(o){super();this.textarea=null;Xt(this,Fk,"");Xt(this,Uk,"");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");Xt(this,qk);Xt(this,Fa,[]);Xt(this,Hk);Xt(this,Bk);this.initialized=new Promise(o=>{this.initialize=o});this._busy=!1;Et(this,qk,o.fetch),Et(this,Hk,o.getContextIdType),Et(this,Bk,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 Ee(this,Fk)}set sessionId(o){Et(this,Fk,o||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Ee(this,Uk)||""}set currentMessage(o){Et(this,Uk,o)}get messages(){return Ee(this,Fa)}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 Ej(n.name,n.description,n.prompt))||[],this.suggestionPills.forEach(n=>{n.subscribe(Qv,r=>{r.detail.prompt&&this.submitWithPrompt(r.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(o=>o.resetSuggestionPill())}notifyPropertyChanged(o){this.publish(new Bv({...o}))}populateForTest(o){Et(this,Fa,o),this.notifyPropertyChanged()}getActiveTextArea(o){if(o){let i=document.querySelector(`[data-chat-textarea-container-name="${o}"]`);if(i)return i}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 i=document.querySelector(`[data-chat-container-name="${o}"]`);if(i)return i}let n=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(n.length===0)return null;let r=n.find(i=>getComputedStyle(i).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=Cj.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=Cj.exceeded,Ct(E1)),this.notifyPropertyChanged()}handleKeyDown(o){o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),this.submit(o),xe({behavior:le.OTHER,actionType:Se.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(o=!1){Et(this,Fa,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.notifyPropertyChanged(),Ct(g7),o||this.broadcastChannel.postMessage({type:"reset"})}scrollToActiveMessage(o,n="smooth"){let r=this.getActiveContainer(o);if(!r)return;let i=`[data-scroll-into-view="${this.scrollHandle}"]`,s=r.querySelector(i);if(!s)throw new Error("No active scroll handle found for chat.");s.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 ql({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(Vv,()=>this.setBusy()),l.subscribe(Gv,()=>{this.reset()}),l.subscribe(Hl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(au,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(Yv,()=>{this.saveChat()}),Ee(this,Fa).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=ac;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(){Il&&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 i=r[n+1];if(!i||!i.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),se.setItem(ij,n),se.setItem(ep,Date.now().toString())}deleteChatHistory(){se.removeItem(ij),se.removeItem(ep)}getChatHistory(){let o=se.getItem(ij);return o?JSON.parse(o):null}restoreChatHistory(o,n=!1){o&&(this.sessionId=o.sessionId,Et(this,Fa,[]),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=se.getItem(ep);if(!o)return;let n=parseInt(o);Date.now()-n>J2e&&(this.deleteChatHistory(),this.reset(),se.removeItem(ou))}handleInitialChatHistory(){NL||(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),se.getItem(ou)==="true"&&this.handleFlyoutOpenStateChange(!0))}initBroadcastChannel(){NL||(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(){NL||(window.addEventListener("focusin",()=>{se.setItem(ep,Date.now().toString())}),window.addEventListener("flyout-show",()=>{se.setItem(ou,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{se.setItem(ou,"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)wg(n);else{let i=document.querySelector('button[data-flyout-button="close"]');i&&i.click()}}initialize(){}};Fk=new WeakMap,Uk=new WeakMap,qk=new WeakMap,Fa=new WeakMap,Hk=new WeakMap,Bk=new WeakMap;var X2e=(()=>{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 eOe(e){return e.map(t=>jk(t))}function tOe(e,t,o,n){return!!(e||t||o||n)}async function hve(){if(!S.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=Be("chat-tutor",{require:!0}),[t,o,n]=await Promise.all([Nn("ask-learn"),Nn("ask-learn-on-articles"),Nn("ask-learn-on-reference"),be,ke]);if(!tOe(e,t,o,n))return;Pv("devlang");let i=A.isAuthenticated;LH()<2&&eOe([nj,rj]);let{chatContainer:a,chatModal:l}=oOe();if(!a||!l)return;let c=[],u=document.getElementById("ask-learn-flyout");u&&c.push({element:u,name:"ask-learn-flyout",sticky:!0}),CH(PH,l,Cg),CH(tj,l,Cg),AH(Rk,Cg),AH(oj,Cg,!0),The(She,()=>l.show(),wg,Cg),khe(l,Rk),Che();let p=[{element:a,name:"ask-learn-modal"},...c];if(i)nOe(await zhe,p);else{for(let m of p)y(fve(m.name,!!m.sticky),m.element);window.addEventListener("flyout-show",()=>{localStorage.setItem(ep,Date.now().toString()),localStorage.setItem(ou,"true")}),window.addEventListener("flyout-hide",()=>{localStorage.setItem(ep,Date.now().toString()),localStorage.setItem(ou,"false")})}X2e&&localStorage.getItem(ou)!=="true"&&Cg(()=>{if(Ar.matches){let g=document.querySelector(Rk);g&&wg(g,!0)}else l.show()})}function oOe(){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 ve(e);return{chatContainer:e,chatModal:t}}var tr;async function nOe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");tr=new Aj(e),tr.subscribe(Bv,async o=>{for(let n of t){y(DB(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 i of r)Ak(i);jH(n.element,r),o.detail.scroll&&tr.scrollToActiveMessage(n.name)}}),await tr.initialized,window.addEventListener("resize",zv.timeout(()=>{for(let o of t){let n=Array.from(o.element.querySelectorAll("[data-interaction-id]"));jH(o.element,n)}},250));for(let o of t)y(DB(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 bve(){i9(),dt.subscribe(_o,Qa),window.addEventListener("content-update",Qa);let e=["[data-dismissable]"];window.addEventListener("click",rOe(e))}function rOe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Qa()}}var yve="focus-mode",$B,iOe="article-header-page-actions",sOe="article-header-page-actions-overflow",vve="[data-page-action-item]";function NB(e=Array.from(document.querySelectorAll(vve))){let t=document.getElementById(iOe);if(!t)return;$B&&$B.disconnect(),_ve(e);let o=new MutationObserver(()=>{_ve(Array.from(t.querySelectorAll(vve)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),$B=o,t.classList.remove("opacity-none")}function aOe(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 _ve(e){let t=document.getElementById(sOe);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,i=t.querySelector('[data-list-type="plan"]');i&&(i.hidden=!1);for(let s of e)if(s.dataset.pageActionItem){let a=s.dataset.pageActionItem;if(!a)continue;let l=s.dataset?.checkHidden==="true",c=s.hidden,u=aOe(a);if(u==="overflow-all"&&(!l||!c)){n=!0;break}if(u==="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 xve(){let e=pc.getItem(yve)==="true",t=document.documentElement.classList.contains("layout-focus-mode");e!==t&&zB(),document.addEventListener("click",o=>{o.target instanceof Element&&o.target.closest("[data-focus-mode]")&&zB()}),window.addEventListener("resize",()=>{window.innerWidth>=1088||!document.documentElement.classList.contains("layout-focus-mode")||zB()},{passive:!0})}function zB(){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 i=r.getAttribute("aria-expanded")==="true";if(n===i){let s=n?"toc-collapse-focus":"toc-expand-focus";r.setAttribute("data-bi-name",s),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"),pc.setItem(yve,String(n)),Ct(n?YW:KW,"assertive"),At()}function lOe(){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 Vk(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var cOe=uOe();function uOe(){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 Gk=lOe(),Tve="preferred-platform";function dOe(){let e=se.getItem(Tve);return e!==null&&Vk(e)?e:null}var Pj=dOe();function Ij(e){se.setItem(Tve,e)}var OB=["button-primary","is-selected"],Sve=["previous-versions","archive"],pOe=({location:e,allowedPaths:t})=>{let o=Wd(e).pathname.split("/"),n=t.includes(o[2])?4:3;return o.slice(0,n).join("/")},FB=pOe({location:Z,allowedPaths:Sve});function UB(){let e=qB();if(!e.length)return Promise.resolve();let t={get(o){return se.getItem(`zone-pivot${FB}/${o}`)},set(o,n){se.setItem(`zone-pivot${FB}/${o}`,n)}};return Promise.all([vOe(),ke]).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"]'),i=[n,r].filter(a=>a!==null);if(i.length===0)return;let s=i.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);fOe(s,e,o,t)})}function qB(){return(L("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function mOe(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(r=>wve(r))})}var gOe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(i=>{i.id=i.getAttribute("data-id"),i.removeAttribute("data-id")});let n=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(i=>i.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(i=>{n.includes(i.id)&&wve(i)})})};function wve(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function fOe(e,t,o,n){let r=te().pivots,i=r?r.split(",").map(f=>f.trim().toLowerCase()):[],s=bOe(o,t,i,n,Pj||Gk),a=document.createElement("style");document.head.appendChild(a),kve(a,s);let l=t.map(f=>o.find(v=>v.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=hOe(e,l,s),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{kve(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:v})=>{f.checked?(v.classList.add(...OB),v.querySelector(".icon").classList.remove("is-hidden")):(v.classList.remove(...OB),v.querySelector(".icon").classList.add("is-hidden"))})},m=()=>u.forEach(({input:f,button:v})=>{let h=f.matches(":focus-visible")?"add":"remove";v.classList[h]("is-focused")}),g=f=>{let{name:v,value:h}=f.target;n.set(v,h),Vk(h)&&Ij(h)};$t(c,"change",p),$t(c,"blur",m,!0),$t(c,"focus",m,!0),$t(c,"change",g),bg(()=>a.remove())}function kve(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,mOe(t),gOe(t),Jd(),At(),Ut({pivots:t.join()},"replaceState")}function hOe(e,t,o){let{userDir:n,userLocale:r}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(i=>`
    ${i.prompt}
    ${i.pivots.map(s=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function bOe(e,t,o,n,r){let i=[];for(let s of t){let a=e.find(f=>f.id===s);if(!a)continue;let l=n.get(s),c=a.pivots,u,p,m,g;for(let f of c)g||(g=f.id),!u&&o.indexOf(f.id)!==-1&&(u=f.id),!p&&f.id===l&&(p=f.id),!m&&f.id===r&&(m=f.id);i.push(u||p||m||g)}return i}function vOe(){let e=_Oe();return R(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function _Oe(){let{branch:e}=te(),t=L("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+ne({branch:e}):"",n=["nb-no"],r=FB,i=r.split("/")[1],s=n.includes(i);s&&(r=r.replace(i,"en-us"));let a=`${r}/${t}${o}`,l=L("zone_pivot_groups_path");l&&(l=Zq(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=Sve.filter(f=>Z.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${s?"en-us":i}${m??""}${u?"":"/"}${l}`;return c?g:a}function Eve(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=On(new URL(t.href)?.pathname)}catch{return[]}for(let r of o){let i;try{i=new URL(r.src)}catch{continue}i.searchParams.set("locale",b.data.userLocale),i.searchParams.set("embedUrl",n),r.src=i.toString(),r.title||(r.title=jf)}return o??[]}function Cve(){if(qB().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")})}C();var Ave="h1,h2,h3,h4,h5,h6",jj=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...n)=>{o||(o=!0,F.requestAnimationFrame(()=>{e.apply(t,n),o=!1}))}},Lj={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function yOe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...Lj.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(Ave))return Vp(n).trim();if(n.matches(".heading-wrapper")){let i=n.querySelector(Ave);if(i)return Vp(i).trim()}n=n.previousElementSibling,r++}return eie.replace("{index}",(t+1).toString())})()}function Ive(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 i=Array.from(r.children);if(TOe(n,i)){for(let s of i){let l=s.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=k.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}n.forEach(s=>{if(s.textContent==="")return;s.setAttribute("scope","col");let a=Array.from(o.querySelectorAll("thead tr > th"));if(!a.length||a[0].innerHTML!=="")return;Array.from(o.querySelectorAll("tbody tr > td:first-child > strong")).forEach(c=>{let u=c.parentElement.parentElement.innerHTML.replace("",'').replace("","");c.parentElement.parentElement.innerHTML=u}),a.forEach(c=>{c.innerHTML!==""&&c.setAttribute("scope","col")})})}})}function TOe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let n of t){let i=n.firstElementChild,s=i.firstElementChild,a=i.lastElementChild;if(i.nodeName!=="TD"||!s||!(i.querySelector(".sxs-lookup")?kOe(s):s===a&&i.textContent.trim()===s.textContent.trim()&&s.nodeName==="STRONG"))return!1}return!0}function kOe(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 SOe(e){let t=k.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 u=c.getAttribute("data-moniker");u&&t.setAttribute("data-moniker",u)}}let o=d` `,n=d` `,r=c=>d` `,i,s,a;function l(){if(!i||!s){i=k.createElement("div"),a=e.cloneNode(!0);let c=r(a);y(c,i),s=new ve(i),a&&$t(F,"resize",Pve(()=>jj([a])),{passive:!0})}s.show(),jj([a])}return y(o,t),t}function HB(e=!1,t){let o=Array.from((t??k).querySelectorAll(".content table"));if(!o.length)return;let n=o.map((i,s)=>{if(s<50&&!i.matches("[aria-label], [aria-labelledby]")&&!i.querySelector("caption")){let l=xOe(i,s);i.setAttribute("aria-label",l)}i.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&i.classList.add("table-sm","margin-top-none"),i.classList.length!==1&&yOe(i);let a;if(i.classList.contains("nameValue"))return null;if(i.parentElement.classList.contains("table-wrapper"))a=i.parentElement;else if(a=k.createElement("div"),a.classList.add("table-wrapper","inner-focus"),a.tabIndex=0,a.setAttribute("role","group"),a.setAttribute("aria-label",c$),i.parentElement.insertBefore(a,i),a.appendChild(i),!e){let l=SOe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(i=>i!==null),r=Pve(()=>jj(n));$t(F,"resize",r,{passive:!0}),$t(F,"content-update",r,{passive:!0}),jj(n)}function wOe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function EOe(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 COe(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 Lve(){let t=wOe(document.body);for(let o of t){let n=EOe(b.data.userLocale,o.src,!0);o.src!==n&&(o.src=n),o.title=o.title||jf}t.length&&COe(xe)}function VB(){AOe(),POe(),IOe(document.body),Cve(),Ive(document.body),Lve(),Eve(document.body,Z)}function AOe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:sse},NOTE:{class:"is-info",docon:"status-error-outline",title:PJ},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:SZ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Ise},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:PV}};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 POe(){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 IOe(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,i=Cn(o.textContent.replace(//g,">"),r);o.innerHTML=i})}function jve(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>LOe(e))})}async function LOe(e){if(e.dataset.copyState!=="idle")return;Qk(e,"loading");let t=new URL(Z.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 pH(n,e)?(Qk(e,"success"),Ct(bE,"assertive",1e3),setTimeout(()=>Qk(e,"idle"),1e3)):Qk(e,"idle")}catch{Qk(e,"idle")}}function Qk(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(o=>{o.hidden=o.dataset.showWhen!==t})}function Rve(){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")||Rj(o))},{passive:!0})}async function Rj(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),At()}function Mve(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 i;if(r&&n){n.classList.contains("has-centered-menu")||jOe(n);let s=u=>{u.target instanceof Element&&(!n.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(i(),u.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},a=u=>{if(u instanceof KeyboardEvent&&u.keyCode===Ae.escape){u.stopImmediatePropagation();let m=Array.from(k.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{k.activeElement?.nodeName?.toLowerCase()==="iframe"&&i()};i=()=>{e.removeEventListener("focus",s),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",a),F.removeEventListener("blur",l),o&&o.setAttribute("aria-expanded","false")},e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),i()}),F.addEventListener("blur",l)}})}function GB(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function jOe(e){let t=f=>F.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"),i=e.closest(".dropdown-menu")!==null,s=r.classList.contains("is-vertically-scrollable");r.style.left="",r.style.right="",r.style.maxHeight="";let{left:a,right:l}=o.getBoundingClientRect(),{left:c,right:u,top:p,bottom:m}=n.getBoundingClientRect(),g=r.getBoundingClientRect().width;i?(r.style.top="-1px",b.data.userDir==="ltr"?u+g<=l?(r.style.right="0",r.style.transform="translateX(100%)"):(r.style.left="0",r.style.transform="translateX(-100%)"):u-g>=a?(r.style.left="0",r.style.transform="translateX(-100%)"):(r.style.right="0",r.style.transform="translateX(100%)"),s&&(r.style.maxHeight=`${F.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?r.style.left="0":r.style.right="0":u-g>=a?r.style.right="0":r.style.left="0",s&&(r.style.maxHeight=`${F.innerHeight-m-8}px`))}Ue();var $ve=xw(KB(),1);var lu=class extends Error{constructor(o,n,r){super(o,{cause:r.cause});Qt(this,"name");Qt(this,"status");Qt(this,"request");Qt(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 i=Object.assign({},r.request);r.request.headers.authorization&&(i.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,i=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,r,i)}throw o}async function MOe(e,t,o,n){let r=new $ve.default;return r.on("failed",function(i,s){let a=~~i.request.request.retries,l=~~i.request.request.retryAfter;if(n.request.retryCount=s.retryCount+1,a>s.retryCount)return l*e.retryAfterBaseValue}),r.schedule(DOe.bind(null,e,t,o),n)}async function DOe(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 i=new lu(r.data.errors[0].message,500,{request:n,response:r});return Dve(e,t,i,n)}return r}function WB(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",Dve.bind(null,o,e)),e.hook.wrap("request",MOe.bind(null,o,e))),{retry:{retryRequest:(n,r,i)=>(n.request.request=Object.assign({},n.request.request,{retries:r,retryAfter:i}),n)}}}WB.VERSION=ROe;var Nve=xw(KB(),1),$Oe="0.0.0-development",ZB=()=>Promise.resolve();function zOe(e,t,o){return e.retryLimiter.schedule(NOe,e,t,o)}async function NOe(e,t,o){let{pathname:n}=new URL(o.url,"http://github.test"),r=OOe(o.method,n),i=!r&&o.method!=="GET"&&o.method!=="HEAD",s=o.method==="GET"&&n.startsWith("/search/"),a=n.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(i||a)&&await e.write.key(e.id).schedule(c,ZB),i&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(c,ZB),s&&await e.search.key(e.id).schedule(c,ZB);let u=(r?e.auth:e.global).key(e.id).schedule(c,t,o);if(a){let p=await u;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 u}function OOe(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 FOe=["/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 UOe(e){let o=`^(?:${e.map(n=>n.split("/").map(r=>r.startsWith("{")?"(?:.+?)":r).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var zve=UOe(FOe),Ove=zve.test.bind(zve),Rg={},qOe=function(e,t){Rg.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),Rg.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),Rg.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),Rg.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),Rg.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function Mj(e,t){let{enabled:o=!0,Bottleneck:n=Nve.default,id:r="no-id",timeout:i=1e3*60*2,connection:s}=t.throttle||{};if(!o)return{};let a={timeout:i};typeof s<"u"&&(a.connection=s),Rg.global==null&&qOe(n,a);let l=Object.assign({clustering:s!=null,triggersNotification:Ove,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:r,...Rg},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={},u=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,v]=m.args,{pathname:h}=new URL(v.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let _=~~f.retryCount;f.retryCount=_,v.request.retryCount=_;let{wantRetry:T,retryAfter:P=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let E=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",E,v,e,_),retryAfter:E}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(E=>E.type==="RATE_LIMITED")){let E=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),B=Math.max(Math.ceil((E-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",B,v,e,_),retryAfter:B}}return{}}();if(T)return f.retryCount++,P*g.retryAfterBaseValue}),e.hook.wrap("request",zOe.bind(null,l)),{}}Mj.VERSION=$Oe;Mj.triggersNotification=Ove;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 Dj(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,i)=>Dj.bind(null,e,i,r,n),o)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((r,i)=>i.hook.bind(null,r,n),o)():o(n))}function Fve(e,t,o,n){let r=n;e.registry[o]||(e.registry[o]=[]),t==="before"&&(n=(i,s)=>Promise.resolve().then(r.bind(null,s)).then(i.bind(null,s))),t==="after"&&(n=(i,s)=>{let a;return Promise.resolve().then(i.bind(null,s)).then(l=>(a=l,r(a,s))).then(()=>a)}),t==="error"&&(n=(i,s)=>Promise.resolve().then(i.bind(null,s)).catch(a=>r(a,s))),e.registry[o].push({hook:n,orig:r})}function Uve(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 qve=Function.bind,Hve=qve.bind(qve);function Bve(e,t,o){let n=Hve(Uve,null).apply(null,o?[t,o]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(r=>{let i=o?[t,r,o]:[t,r];e[r]=e.api[r]=Hve(Fve,null).apply(null,i)})}function HOe(){let e=Symbol("Singular"),t={registry:{}},o=Dj.bind(null,t,e);return Bve(o,t,e),o}function BOe(){let e={registry:{}},t=Dj.bind(null,e);return Bve(t,e),t}var Vve={Singular:HOe,Collection:BOe};var VOe="0.0.0-development",GOe=`octokit-endpoint.js/${VOe} ${ip()}`,QOe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":GOe},mediaType:{format:""}};function YOe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function KOe(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 Yve(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(n=>{KOe(t[n])?n in e?o[n]=Yve(e[n],t[n]):Object.assign(o,{[n]:t[n]}):Object.assign(o,{[n]:t[n]})}),o}function Gve(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function XB(e,t,o){if(typeof t=="string"){let[r,i]=t.split(" ");o=Object.assign(i?{method:r,url:i}:{url:r},o)}else o=Object.assign({},t);o.headers=YOe(o.headers),Gve(o),Gve(o.headers);let n=Yve(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 WOe(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 ZOe=/\{[^{}}]+\}/g;function JOe(e){return e.replace(/(?:^\W+)|(?:(?o.concat(n),[]):[]}function Qve(e,t){let o={__proto__:null};for(let n of Object.keys(e))t.indexOf(n)===-1&&(o[n]=e[n]);return o}function Kve(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 Wv(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Yk(e,t,o){return t=e==="+"||e==="#"?Kve(t):Wv(t),o?Wv(o)+"="+t:t}function Kv(e){return e!=null}function JB(e){return e===";"||e==="&"||e==="?"}function eFe(e,t,o,n){var r=e[o],i=[];if(Kv(r)&&r!=="")if(typeof r=="string"||typeof r=="number"||typeof r=="boolean")r=r.toString(),n&&n!=="*"&&(r=r.substring(0,parseInt(n,10))),i.push(Yk(t,r,JB(t)?o:""));else if(n==="*")Array.isArray(r)?r.filter(Kv).forEach(function(s){i.push(Yk(t,s,JB(t)?o:""))}):Object.keys(r).forEach(function(s){Kv(r[s])&&i.push(Yk(t,r[s],s))});else{let s=[];Array.isArray(r)?r.filter(Kv).forEach(function(a){s.push(Yk(t,a))}):Object.keys(r).forEach(function(a){Kv(r[a])&&(s.push(Wv(a)),s.push(Yk(t,r[a].toString())))}),JB(t)?i.push(Wv(o)+"="+s.join(",")):s.length!==0&&i.push(s.join(","))}else t===";"?Kv(r)&&i.push(Wv(o)):r===""&&(t==="&"||t==="?")?i.push(Wv(o)+"="):r===""&&i.push("");return i}function tFe(e){return{expand:oFe.bind(null,e)}}function oFe(e,t){var o=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,r,i){if(r){let a="",l=[];if(o.indexOf(r.charAt(0))!==-1&&(a=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(c){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(eFe(t,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var s=",";return a==="?"?s="&":a!=="#"&&(s=a),(l.length!==0?a:"")+l.join(s)}else return l.join(",")}else return Kve(i)}),e==="/"?e:e.replace(/\/$/,"")}function Wve(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),r,i=Qve(e,["method","baseUrl","url","headers","request","mediaType"]),s=XOe(o);o=tFe(o).expand(i),/^http/.test(o)||(o=e.baseUrl+o);let a=Object.keys(e).filter(u=>s.includes(u)).concat("baseUrl"),l=Qve(i,a);if(!/application\/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),o.endsWith("/graphql")&&e.mediaType.previews?.length)){let u=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=WOe(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 nFe(e,t,o){return Wve(XB(e,t,o))}function Zve(e,t){let o=XB(e,t),n=nFe.bind(null,o);return Object.assign(n,{DEFAULTS:o,defaults:Zve.bind(null,o),merge:XB.bind(null,o),parse:Wve})}var Jve=Zve(null,QOe);var i_e=xw(o_e(),1);var rFe="10.0.7",iFe={headers:{"user-agent":`octokit-request.js/${rFe} ${ip()}`}};function sFe(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 n_e=()=>"";async function r_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=sFe(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body,i=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),s;try{s=await t(e.url,{method:e.method,body:r,redirect:e.request?.redirect,headers:i,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 lu(m,500,{request:e});throw g.cause=p,g}let a=s.status,l=s.url,c={};for(let[p,m]of s.headers)c[p]=m;let u={url:l,status:a,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(a===204||a===205)return u;if(e.method==="HEAD"){if(a<400)return u;throw new lu(s.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await e3(s),new lu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await e3(s),new lu(lFe(u.data),a,{response:u,request:e});return u.data=n?await e3(s):s.body,u}async function e3(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(n_e);let o=(0,i_e.safeParse)(t);if(aFe(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(n_e):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function aFe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function lFe(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 t3(e,t){let o=e.defaults(t);return Object.assign(function(r,i){let s=o.merge(r,i);if(!s.request||!s.request.hook)return r_e(o.parse(s));let a=(l,c)=>r_e(o.parse(o.merge(l,c)));return Object.assign(a,{endpoint:o,defaults:t3.bind(null,o)}),s.request.hook(a,s)},{endpoint:o,defaults:t3.bind(null,o)})}var Wk=t3(Jve,iFe);var cFe="0.0.0-development";function uFe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var dFe=class extends Error{constructor(t,o,n){super(uFe(n));Qt(this,"name","GraphqlResponseError");Qt(this,"errors");Qt(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)}},pFe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],mFe=["query","method","url"],s_e=/\/api\/v3\/?$/;function gFe(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 s in o)if(mFe.includes(s))return Promise.reject(new Error(`[@octokit/graphql] "${s}" cannot be used as variable name`))}let n=typeof t=="string"?Object.assign({query:t},o):t,r=Object.keys(n).reduce((s,a)=>pFe.includes(a)?(s[a]=n[a],s):(s.variables||(s.variables={}),s.variables[a]=n[a],s),{}),i=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return s_e.test(i)&&(r.url=i.replace(s_e,"/api/graphql")),e(r).then(s=>{if(s.data.errors){let a={};for(let l of Object.keys(s.headers))a[l]=s.headers[l];throw new dFe(r,a,s.data)}return s.data.data})}function o3(e,t){let o=e.defaults(t);return Object.assign((r,i)=>gFe(o,r,i),{defaults:o3.bind(null,o),endpoint:o.endpoint})}var GMt=o3(Wk,{headers:{"user-agent":`octokit-graphql.js/${cFe} ${ip()}`},method:"POST",url:"/graphql"});function a_e(e){return o3(e,{method:"POST",url:"/graphql"})}var n3="(?:[a-zA-Z0-9_-]+)",l_e="\\.",c_e=new RegExp(`^${n3}${l_e}${n3}${l_e}${n3}$`),fFe=c_e.test.bind(c_e);async function hFe(e){let t=fFe(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 bFe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function vFe(e,t,o,n){let r=t.endpoint.merge(o,n);return r.headers.authorization=bFe(e),t(r)}var u_e=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(hFe.bind(null,t),{hook:vFe.bind(null,t)})};var r3="7.0.6";var d_e=()=>{},_Fe=console.warn.bind(console),yFe=console.error.bind(console);function xFe(e={}){return typeof e.debug!="function"&&(e.debug=d_e),typeof e.info!="function"&&(e.info=d_e),typeof e.warn!="function"&&(e.warn=_Fe),typeof e.error!="function"&&(e.error=yFe),e}var p_e=`octokit-core.js/${r3} ${ip()}`,Zv=class{constructor(t={}){Qt(this,"request");Qt(this,"graphql");Qt(this,"log");Qt(this,"hook");Qt(this,"auth");let o=new Vve.Collection,n={baseUrl:Wk.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} ${p_e}`:p_e,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=Wk.defaults(n),this.graphql=a_e(this.request).defaults(n),this.log=xFe(t.log),this.hook=o,t.authStrategy){let{authStrategy:i,...s}=t,a=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},t.auth));o.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=u_e(t.auth);o.wrap("request",i.hook),this.auth=i}let r=this.constructor;for(let i=0;i!o.includes(i)))),r}};Qt(Zv,"VERSION",r3),Qt(Zv,"plugins",[]);var m_e="6.0.0";function i3(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let n=Date.now(),r=e.request.endpoint.parse(o),i=r.url.replace(o.baseUrl,"");return t(o).then(s=>{let a=s.headers["x-github-request-id"];return e.log.info(`${r.method} ${i} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s}).catch(s=>{let a=s.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${r.method} ${i} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s})})}i3.VERSION=m_e;var TFe="0.0.0-development";function kFe(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,i=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 s=Object.keys(e.data)[0],a=e.data[s];return e.data=a,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=i,e}function s3(e,t,o){let n=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),r=typeof t=="function"?t:e.request,i=n.method,s=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await r({method:i,url:a,headers:s}),c=kFe(l);if(a=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in c.data){let u=new URL(c.url),p=u.searchParams,m=parseInt(p.get("page")||"1",10),g=parseInt(p.get("per_page")||"250",10);m*g{if(r.done)return t;let i=!1;function s(){i=!0}return t=t.concat(n?n(r.value,s):r.value.data),i?t:f_e(e,t,o,n)})}var dDt=Object.assign(g_e,{iterator:s3});function a3(e){return{paginate:Object.assign(g_e.bind(null,e),{iterator:s3.bind(null,e)})}}a3.VERSION=TFe;var l3="16.1.1";var SFe={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"]}},h_e=SFe;var Dg=new Map;for(let[e,t]of Object.entries(h_e))for(let[o,n]of Object.entries(t)){let[r,i,s]=n,[a,l]=r.split(/ /),c=Object.assign({method:a,url:l},i);Dg.has(e)||Dg.set(e,new Map),Dg.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:s})}var wFe={has({scope:e},t){return Dg.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[...Dg.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=Dg.get(t).get(n);if(!r)return;let{endpointDefaults:i,decorations:s}=r;return s?o[n]=EFe(e,t,n,i,s):o[n]=e.request.defaults(i),o[n]}};function c3(e){let t={};for(let o of Dg.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},wFe);return t}function EFe(e,t,o,n,r){let i=e.request.defaults(n);function s(...a){let l=i.endpoint.merge(...a);if(r.mapToData)return l=Object.assign({},l,{data:l[r.mapToData],[r.mapToData]:void 0}),i(l);if(r.renamed){let[c,u]=r.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${u}()`)}if(r.deprecated&&e.log.warn(r.deprecated),r.renamedParameters){let c=i.endpoint.merge(...a);for(let[u,p]of Object.entries(r.renamedParameters))u in c&&(e.log.warn(`"${u}" parameter is deprecated for "octokit.${t}.${o}()". Use "${p}" instead`),p in c||(c[p]=c[u]),delete c[u]);return i(c)}return i(...a)}return Object.assign(s,i)}function CFe(e){return{rest:c3(e)}}CFe.VERSION=l3;function u3(e){let t=c3(e);return{...t,rest:t}}u3.VERSION=l3;var b_e="22.0.0";var v_e=Zv.plugin(i3,u3,a3).defaults({userAgent:`octokit-rest.js/${b_e}`});var cu=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{}}}();cu.trustedTypes===void 0&&(cu.trustedTypes={createPolicy:(e,t)=>t});var __e={configurable:!1,enumerable:!1,writable:!1};cu.FAST===void 0&&Reflect.defineProperty(cu,"FAST",Object.assign({value:Object.create(null)},__e));var $g=cu.FAST;if($g.getById===void 0){let e=Object.create(null);Reflect.defineProperty($g,"getById",Object.assign({value(t,o){let n=e[t];return n===void 0&&(n=o?e[t]=o():null),n}},__e))}var Oj=Object.freeze([]);function Fj(){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 d3=cu.FAST.getById(1,()=>{let e=[],t=[];function o(){if(t.length)throw t.shift()}function n(s){try{s.call()}catch(a){t.push(a),setTimeout(o,0)}}function r(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),p3=y_e,Zk=`fast-${Math.random().toString(36).substring(2,8)}`,m3=`${Zk}{`,Uj=`}${Zk}`,wt=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(p3!==y_e)throw new Error("The HTML policy can only be set once.");p3=e},createHTML(e){return p3.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(Zk)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${Zk}:`,""))},createInterpolationPlaceholder(e){return`${m3}${e}${Uj}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:d3.enqueue,processUpdates:d3.process,nextUpdate(){return new Promise(d3.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 sp=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,i=this.sub2;r!==void 0&&r.handleChange(n,t),i!==void 0&&i.handleChange(n,t)}else for(let r=0,i=o.length;r{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=wt.queueUpdate,n,r=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function i(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=r(c):t.set(c,u=new Jv(c))),u}let s=Fj();class a{constructor(u){this.name=u,this.field=`_${u}`,this.callback=`${u}Changed`}getValue(u){return n!==void 0&&n.watch(u,this.name),u[this.field]}setValue(u,p){let m=this.field,g=u[m];if(g!==p){u[m]=p;let f=u[this.callback];typeof f=="function"&&f.call(u,g,p),i(u).notify(this.name)}}}class l extends sp{constructor(u,p,m=!1){super(u,p),this.binding=u,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(u,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(u,p);return n=m,g}disconnect(){if(this.last!==null){let u=this.first;for(;u!==void 0;)u.notifier.unsubscribe(this,u.propertyName),u=u.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(u,p){let m=this.last,g=i(u),f=m===null?this.first:{};if(f.propertySource=u,f.propertyName=p,f.notifier=g,g.subscribe(this,p),m!==null){if(!this.needsRefresh){let v;n=void 0,v=m.propertySource[m.propertyName],n=this,u===v&&(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 u=this.first;return{next:()=>{let p=u;return p===void 0?{value:void 0,done:!0}:(u=u.next,{value:p,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(c){r=c},getNotifier:i,track(c,u){n!==void 0&&n.watch(c,u)},trackVolatile(){n!==void 0&&(n.needsRefresh=!0)},notify(c,u){i(c).notify(u)},defineProperty(c,u){typeof u=="string"&&(u=new a(u)),s(c).push(u),Reflect.defineProperty(c,u.name,{enumerable:!0,get:function(){return u.getValue(this)},set:function(p){u.setValue(this,p)}})},getAccessors:s,binding(c,u,p=this.isVolatileBinding(c)){return new l(c,u,p)},isVolatileBinding(c){return e.test(c.toString())}})});function H(e,t){eo.defineProperty(e,t)}var x_e=$g.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),ap=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return x_e.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){x_e.set(t)}};eo.defineProperty(ap.prototype,"index");eo.defineProperty(ap.prototype,"length");var Ji=Object.seal(new ap);var Bl=class{constructor(){this.targetIndex=0}},Xv=class extends Bl{constructor(){super(...arguments),this.createPlaceholder=wt.createInterpolationPlaceholder}},qj=class extends Bl{constructor(t,o,n){super(),this.name=t,this.behavior=o,this.options=n}createPlaceholder(t){return wt.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function AFe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=eo.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function PFe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function IFe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function LFe(){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 jFe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function RFe(e){wt.setAttribute(this.target,this.targetName,e)}function MFe(e){wt.setBooleanAttribute(this.target,this.targetName,e)}function DFe(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 $Fe(e){this.target[this.targetName]=e}function zFe(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 i=0,s=r.length;iwt.createHTML(o(n,r))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=MFe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=PFe,this.unbind=jFe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=zFe);break}}targetAtContent(){this.updateTarget=DFe,this.unbind=LFe}createBehavior(t){return new g3(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},g3=class{constructor(t,o,n,r,i,s,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=n,this.bind=r,this.unbind=i,this.updateTarget=s,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){ap.setEvent(t);let o=this.binding(this.source,this.context);ap.setEvent(null),o!==!0&&t.preventDefault()}};var f3=null,h3=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(){f3=this}static borrow(t){let o=f3||new e;return o.directives=t,o.reset(),f3=null,o}};function NFe(e){if(e.length===1)return e[0];let t,o=e.length,n=e.map(s=>typeof s=="string"?()=>s:(t=s.targetName||t,s.binding)),r=(s,a)=>{let l="";for(let c=0;ca),c.targetName=s.name):c=NFe(l),c!==null&&(t.removeAttributeNode(s),r--,i--,e.addFactory(c))}}function FFe(e,t,o){let n=k_e(e,t.textContent);if(n!==null){let r=t;for(let i=0,s=n.length;i0}let o=this.fragment.cloneNode(!0),n=this.viewBehaviorFactories,r=new Array(this.behaviorCount),i=wt.createTemplateWalker(o),s=0,a=this.targetOffset,l=i.nextNode();for(let c=n.length;s=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function K(e,...t){let o=[],n="";for(let r=0,i=e.length-1;rl}if(typeof a=="function"&&(a=new zg(a)),a instanceof Xv){let l=UFe.exec(s);l!==null&&(a.targetName=l[2])}a instanceof Bl?(n+=a.createPlaceholder(o.length),o.push(a)):n+=a}return n+=e[e.length-1],new Hj(n,o)}var Ti=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}};Ti.create=(()=>{if(wt.supportsAdoptedStyleSheets){let e=new Map;return t=>new v3(t,e)}return e=>new _3(e)})();function y3(e){return e.map(t=>t instanceof Ti?y3(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function w_e(e){return e.map(t=>t instanceof Ti?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var E_e=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},C_e=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(wt.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),E_e=(e,t)=>{e.adoptedStyleSheets.push(...t)},C_e=(e,t)=>{for(let o of t){let n=e.adoptedStyleSheets.indexOf(o);n!==-1&&e.adoptedStyleSheets.splice(n,1)}}}catch{}var v3=class extends Ti{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=w_e(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=y3(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){E_e(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){C_e(t,this.styleSheets),super.removeStylesFrom(t)}},qFe=0;function HFe(){return`fast-style-class-${++qFe}`}var _3=class extends Ti{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=w_e(t),this.styleSheets=y3(t),this.styleClass=HFe()}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 i=this.converter;wt.setAttribute(t,this.attribute,i!==void 0?i.toView(r):r);break;case"boolean":wt.setBooleanAttribute(t,this.attribute,r);break}n.delete(t)})}static collect(t,...o){let n=[];o.push(A_e.locate(t));for(let r=0,i=o.length;r1&&(o.property=i),A_e.locate(r.constructor).push(o)}if(arguments.length>1){o={},n(e,t);return}return o=e===void 0?{}:e,n}var P_e={mode:"open"},I_e={},x3=$g.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)}})}),Ng=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=Bj.collect(t,o.attributes),r=new Array(n.length),i={},s={};for(let a=0,l=n.length;a0){let i=this.boundObservables=Object.create(null);for(let s=0,a=r.length;s0||o>0;){if(t===0){r.push(S3),o--;continue}if(o===0){r.push(w3),t--;continue}let i=e[t-1][o-1],s=e[t-1][o],a=e[t][o-1],l;s=0){e.splice(a,1),a--,s-=l.addedCount-l.removed.length,r.addedCount+=l.addedCount-c;let u=r.removed.length+l.removed.length-c;if(!r.addedCount&&!u)i=!0;else{let p=l.removed;if(r.indexl.index+l.addedCount){let m=r.removed.slice(l.index+l.addedCount-r.index);M_e.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 A3=class extends sp{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,wt.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,wt.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?z_e(this.source,t):E3(this.source,0,this.source.length,o,0,o.length);this.notify(n)}};function O_e(){if(N_e)return;N_e=!0,eo.setArrayObserverFactory(l=>new A3(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,i=e.sort,s=e.splice,a=e.unshift;e.pop=function(){let l=this.length>0,c=t.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Hs(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(C3(Hs(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 u=n.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.shift=function(){let l=this.length>0,c=r.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Hs(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=i.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=s.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(C3(Hs(+arguments[0],l,arguments.length>2?arguments.length-2:0),this)),l},e.unshift=function(){let l=a.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(C3(Hs(0,[],arguments.length),this)),l}}var P3=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Og(e){return new qj("fast-ref",P3,e)}var I3=e=>typeof e=="function";var eUe=()=>null;function F_e(e){return e===void 0?eUe:I3(e)?e:()=>e}function Pe(e,t,o){let n=I3(e)?e:()=>e,r=F_e(t),i=F_e(o);return(s,a)=>n(s,a)?r(s,a):i(s,a)}var U_e=Object.freeze({positioning:!1,recycle:!0});function tUe(e,t,o,n){e.bind(t[o],n)}function oUe(e,t,o,n){let r=Object.create(n);r.index=o,r.length=t.length,e.bind(t[o],r)}var L3=class{constructor(t,o,n,r,i,s){this.location=t,this.itemsBinding=o,this.templateBinding=r,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=tUe,this.itemsBindingObserver=eo.binding(o,this,n),this.templateBindingObserver=eo.binding(r,this,i),s.positioning&&(this.bindView=oUe)}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=Oj;return}let o=this.itemsObserver,n=this.itemsObserver=eo.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,i=this.items,s=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(v<=T&&_.length>0?(B=_[v],v++):(B=l[c],c++),u--):B=s.create(),n.splice(h,0,B),r(B,i,h,o),B.insertBefore(E)}_[v]&&l.push(..._.slice(v))}for(let p=c,m=l.length;pt;return new j3(e,n,Object.assign(Object.assign({},U_e),o))}var nUe=k3` .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 q_e(e,t,o,n){let r=["default-focus","button","font-weight-semibold","modal-close"],i=typeof t=="function"?t(e):t;i.classes&&r.push("button-filled");let s=new Set([...i.classes??[],...r]);if(i.url)return K` ${i.label} `;let a=i.object?`${i.action} - ${i.object}`:`${i.action}`;return K` `}function rUe({message:e,title:t,confirmButton:o,cancelButton:n,align:r}){let i=s=>({action:$e,label:$e,...typeof n=="function"?n(s):n});return K` ${Pe(s=>s.visible,K``)} `}var Qj=class extends R_e{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(){wt.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 i=r.querySelectorAll(n),s=i[0],a=i[i.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===s||i.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||i.length===1)&&(s.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};O([H],Qj.prototype,"visible",2);var Yj=class extends Qj{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 H_e(e,t,o){return Yj.define(class extends Yj{},{name:e,template:rUe(o),styles:nUe,shadowOptions:null,attributes:t??[]})}var R3=0;function Kj(e,t){if(typeof e!="string"){let r=e;e="";for(let i in r)e+=r[i]+"
    "}let o=document.getElementById("error-modal");o&&document.body.removeChild(o),H_e(`error-modal-${R3}`,[],{message:K`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let n=document.createElement(`error-modal-${R3}`);n.id="error-modal",document.body.appendChild(n),n.showModal(),R3++}function Wj(...e){let t=a=>[...a].join("/"),o=(a,...l)=>{let c=new URLSearchParams;for(let u of l)a.searchParams.has(u)&&c.set(u,a.searchParams.get(u)??"");return c},n=new URL(location.href),r=o(n,"branch","themebranch","branchFallbackFrom","pr"),i=r.toString()!==""?"?"+r.toString():"",s=`/${b.data.userLocale}/editor/`+t(e)+i;return new URL(s,n)}function B_e(e){e||(e=Wj());let t="";return j.supportLevel==="development"&&j.accessLevel==="online"&&location.hostname.startsWith("pr")?t="630f400e5ecc44019564":j.supportLevel==="development"&&j.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${z.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var iUe=v_e.plugin(WB,Mj),sUe={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.")}},aUe={doNotRetry:[429,409,404]};function M3(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var lUe=()=>{localStorage.removeItem("gitHubToken"),location.href=B_e()};async function D3(e){let t=new iUe({auth:e,retry:aUe,throttle:sUe});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw Kj({message:u9},{label:g9,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",r=>lUe()),cUe({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function V_e(){let e={method:"GET"},t=await R(W(`${z.buildAuthAdmin}/opensource/link/github`,e,!0));return ge(t),t.ok?await t.json():null}var Zj=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,$3=`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 } ${Zj} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,z3=`rateLimit { cost limit nodeCount remaining resetAt used }`,Z$t=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${$3} ${Zj} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${z3} }`,J$t=`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, ${$3} ${Zj} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${z3} }`,X$t=`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 ${$3} ${Zj} } ${z3} }`;function cUe(e){xe({actionType:Se.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}Ue();Bp();var uUe=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function G_e(e,t=uUe){let o="",n="",r="",i="";try{let s=t.exec(e);s&&s.length>1&&(o=s[1]??""),s&&s.length>2&&(n=s[2]??""),s&&s.length>3&&(i=s[4]??""),s&&s.length>4&&(r=s[5]??"")}catch(s){Kj(c9),xe({actionType:Se.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:s}})}return{owner:o,repo:n,path:r,branch:i}}async function N3(e){let t=await R(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 Jj(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let n=(o.name||o?.getAttribute("property"))??"";return t[n]=o.content,t},{})}var O3={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function Q_e(e){let t="",o="",n="",r="",i="",a=Jj(e)?.original_content_git_url??"";({branch:r,path:i,repo:n,owner:o}=G_e(a)),O3={template:"",forkUrl:"",branch:r,path:i,repo:n,owner:o,originalContent:a};let l=e.querySelector("a[data-contenteditbtn]");if(l){let c=l?.getAttribute("data-original_content_git_url_template")??"";if(c){let u=l?.getAttribute("data-pr_repo")??"",p=l?.getAttribute("data-pr_branch")??"";u&&p&&(t=c.replace("{repo}",u).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")??""),O3={template:c,forkUrl:t,branch:r,path:m,repo:n,owner:o,originalContent:a}}}return O3}function Y_e(e,t,o,n){return d` `}function K_e(e,t){let o=p9,n=m9,r="",i=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:o=o.replace("{name}",$p),n=n.replace("{name}",$p).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:o=o.replace("{name}",$p),n=n.replace("{name}",$p).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:o=o.replace("{name}",$p),n=n.replace("{name}",$p).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),r=d9;break;case 3:o=o.replace("{name}",PC),n=n.replace("{name}",PC).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),i=dUe().toString();break}return{title:o,description:n,link:i,moreInfo:r}}function dUe(){let e=Jj(document),t=e.platform_id||"",o=e.monikers??"",{owner:n,repo:r,branch:i,path:s}=Q_e(document);return Wj(`${n}/${r}/${encodeURIComponent(s)}/${encodeURIComponent(i)}${t?`/${t}/${o??""}`:""}`)}Ue();var Fg=class e extends Error{constructor(t,o,{errorCode:n,message:r},...i){super(...i),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 Jk(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return te()["skip-verification"];if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=te()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function Xk(){let e="live";if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=te()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function W_e(){let e="false";if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=te()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function Z_e(){let{accommodationRequested:e}=te();if(S.stayCurrentAllowParam){let t=te()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function J_e(){let e=!1;if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=te()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function Xi(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var F3=class{constructor(t,o,n){let i=ch(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=i.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=i.isCorrect,this.locale=n,this.questionId=o,this.questionnaireId=i.questionnaireId,this.text=i.text,this.textHtml=i.textHTML}},eS=class{constructor(t,o,n){this.choices=H0(t.map(r=>new F3(r,o,n)))}},U3=class{constructor(t,o){let r=ch(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),i=["createdAtUTC"],s=ch(r.activityLog,i);this.id=r.id,this.createdAtUTC=s.createdAtUTC,this.choices=new eS(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 q3=class{constructor(t,o){let r=ch(t,["correctChoice","question","userChoice"]),i=new U3(r.question,o);this.correctChoice=new eS(r.correctChoice,i.id,o).choices,this.question=i,this.userChoice=new eS(r.userChoice,i.id,o).choices}},Xj=class{constructor(t,o){this.items=H0(t.map(n=>new q3(n,o)))}};var LNt=pt(),jNt=b.data.userLocale;function Bs(e){return JSON.parse(JSON.stringify(e))}function eR(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 fUe(){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 uu={createSession:async e=>eR(e),getSessionAnswerSummary:async()=>fUe(),getSessionResult:async()=>eR(),getPreviousAttemptsByParentId:async()=>[eR()],getRenewalEligibility:async()=>{},submitSession:async()=>eR()};var d2t=pt(),p2t=b.data.userLocale;var t_={getStatus(e){let t=`${z.achievements}/xp/${e}`;return R(W(t,{mode:"cors"},!0)).then(ge).then(n=>{if(n.ok)return n.json();throw new Ht(n)})},getAchievements(e,t){let o={locale:t},n=`${z.achievements}/user/${e}?${ne(o,!1)}`;return R(W(n,{mode:"cors"},!0)).then(ge).then(i=>{if(i.ok)return i.json();throw new Ht(i)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${z.achievements}/redeem/${e}`,n={branch:j.supportLevel==="production"?"main":void 0},r=`${o}?${ne(n,!1)}`,i=W(r,t,!0);return fetch(i,t).then(ge).then(s=>s.json())},requestCode(e,t,o){let n={achievementCategory:e,courseId:t,useCount:o};e===6&&S.learningPathIlt&&(n.courseId=void 0,n.learningPathId=t);let i=`${z.achievements}/code`,s={branch:j.supportLevel==="production"?"main":void 0},a=`${i}?${ne(s,!1)}`,l={mode:"cors",body:JSON.stringify(n),method:"put",credentials:"include"};return R(W(a,l,!0)).then(ge).then(c=>c.json())}};Ue();function X_e(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:on(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.freezeTimeAfterReplay??0,r=e.secondsNormalSpeedAfterReplay??0,i=e.secondsDiffSpeedAfterReplay??0,s=e.reStartTime!==void 0?on(e.eventTime-e.reStartTime)-n-r+i:e.startTime===e.eventTime||e.startTime===void 0?0:on(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=on(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(o/l*100);xe({behavior:e.behaviorCode,actionType:Se.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:u,vidwt:t,viddur:l,vidtimeseconds:s,sessiontimeseconds:o,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function eye(e,t,o,n,r){return e!==0&&t&&(o+=ee?ie?i{n&&setTimeout(()=>{s(`${e} load timeout`)},n);let a=document.createElement("script");a.src=e,r&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=i,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{s(`Failed to load ${e}`)},(document.body||document.head).appendChild(a)}).then(()=>{if(o!==void 0){if(window[o]===void 0)throw new Error(`${e} loaded successfully but ${o} is undefined.`);return window[o]}})}var nye="2.3.11.2",M2t=`/static/third-party/azure-media-player/${nye}/azuremediaplayer.min.js`,D2t=`/static/third-party/azure-media-player/${nye}/azuremediaplayer.min.css`;var o_,B3;function hUe(){let e=location.href,t="#time=";if(e.includes(t)){let o=e.substring(e.indexOf(t)+t.length);return Tv(o)}return Tv("0s")}function bUe(){if(!location.hash.startsWith("#time="))return;let e=o_.paused(),t=hUe();t>0&&t{o_!==void 0&&bUe()});function tS(e){let t=new URL(e,location.origin),o=decodeURIComponent(t.pathname).toLowerCase().replace(Tk,"$1").replace(Kd,"/"),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 rye(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=tS(e.data.url))}function yr(e){e.items?.forEach(rye),e.sections?.forEach(t=>t.items?.forEach(rye))}var lt={baseUrl:z.lists,async getAllLists(e=!1){let t=W(`${this.baseUrl}${e?`?${ne({ignoreEmptyLists:!0})}`:""}`,{}),o=await R(t);if(ge(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(i=>{t.push(tS(i))});let o=JSON.stringify(t),n=W(`${this.baseUrl}/by-url`,{method:"POST",body:o}),r=await R(n);if(ge(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=W(o,{},!0),r=await R(n);if(ge(r),r.ok){let i=await r.json();return yr(i),{hasError:!1,data:i}}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:j.supportLevel==="production"&&j.reviewFeatures?o:null},r={credentials:j.supportLevel==="production"&&j.reviewFeatures?"include":void 0},i=`${this.baseUrl}/studyguide/${e}/${t}?${ne(n)}`,s=W(i,r,!0),a=await R(s);if(ge(a),a.ok){let l=await a.json();return yr(l),l}throw a.status===404?new Oe(a,"NotFoundError"):new Oe(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),o=W(this.baseUrl,{method:"POST",body:t},!0),n=await R(o);if(ge(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=W(this.baseUrl+"/"+e,{method:"DELETE"},!0),o=await R(t);if(ge(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=W(`${this.baseUrl}/copy/${e}`,{method:"POST",body:n},!0),i=await R(r);if(ge(i),i.ok){let s=await i.json();return yr(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Oe(i,"UnexpectedError")},async submitForLocalize(e){let o=W(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),n=await R(o);if(ge(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=W(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),n=await R(o);if(ge(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=W(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:o},!0),r=await R(n);if(ge(r),r.ok){let i=await r.json();return yr(i),{hasError:!1,data:i}}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=W(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:o},!0),r=await R(n);if(ge(r),r.ok){let i=await r.json();return yr(i),{hasError:!1,data:i}}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=W(`${this.baseUrl}/${e}?${ne(n)}`,{method:"PATCH",body:o},!0),i=await R(r);if(ge(i),i.ok){let s=await i.json();return yr(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Oe(i,"UnexpectedError")},async sortList(e,t){let o={locale:b.data.userLocale},n=`${this.baseUrl}/${e}?${ne(o)}`,r=JSON.stringify(t),i=W(n,{method:"PUT",body:r},!0),s=await R(i);if(ge(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 addItem(e,t){let o=JSON.stringify(t),n=W(this.baseUrl+"/"+e,{method:"POST",body:o},!0),r=await R(n);if(ge(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=W(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),n=await R(o);if(ge(n),!(n.ok||n.status===204))throw new Oe(n,"UnexpectedError")},async updateItem(e,t,o){let n=JSON.stringify(o),r=W(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:n},!0),i=await R(r);if(ge(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400||i.status===403)return{hasError:!0,error:await i.json()};throw new Oe(i,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},o=W(`${this.baseUrl}/items/?${ne(t)}`,{}),n=await R(o);if(ge(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}),i=W(`${this.baseUrl}/${e}/section`,{method:"POST",body:r},!0),s=await R(i);if(ge(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async updateSection(e,t,o,n,r){let i=JSON.stringify({name:o,description:n,daysToComplete:r}),s=W(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:i},!0),a=await R(s);if(ge(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 deleteSection(e,t){let o=W(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),n=await R(o);if(ge(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=W(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),o=await R(t);return o.ok?(await o.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=W(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),o=await R(t);return o.ok?await o.json():"Unknown"}};async function n_(e=F.document,t=!1){let o;if(typeof e=="string")if(!t&&new URL(et(e,b.data.userLocale),F.location.origin).href===F.location.href)e=F.document,o=new URL(F.location.href);else{let c=await N3(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||"",i=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),s;o.pathname.match(i)?s="qa":s="docs";let a=o.toString(),l=null;return(o.pathname.indexOf("/learn/challenges")!==-1||o.pathname.indexOf("/training/challenges")!==-1)&&(l=cr().id),{type:s,data:{url:tS(a),rawUrl:a,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:B3||null,showId:n.showId||""}}}function iye(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=`${z.lists}/skillingPlan/${e}?${ne(t)}`,r=W(o,{method:"GET"}),i=await R(r);if(ge(i),i.ok){let s=await i.json();return await lp(s),s}throw new Error(`${i.status}: ${i.statusText}`)},async completeSkillingPlan(e){let t=`${z.lists}/completeSkillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await R(W(t,n));if(ge(r),r.ok){let i=await r.json();return await lp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async createSkillingPlan(e){let t=`${z.lists}/skillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await R(W(t,n));if(ge(r),r.ok){let i=await r.json();return await lp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async updateSkillingPlan(e,t){let o=`${z.lists}/skillingPlan/${e}`,r={method:"PUT",body:JSON.stringify(t)},i=await R(W(o,r));if(ge(i),i.ok){let s=await i.json();return await lp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async modifySkillingPlan(e,t){let o=`${z.lists}/skillingPlan/${e}`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(W(o,r));if(ge(i),i.ok){let s=await i.json();return await lp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async modifyPlanList(e,t){let o=`${z.lists}/skillingPlan/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(W(o,r));if(ge(i),i.ok){let s=await i.json();return await lp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async deleteSkillingPlan(e){let t=`${z.lists}/skillingPlan/${e}`,n=await R(W(t,{method:"DELETE"}));if(ge(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,o){let n=`${z.lists}/skillingPlan/joined/${o}?${ne({page:e+1,pageSize:t})}`,r=W(n,{},!0),i=await R(r);if(ge(i),i.ok)return await i.json();throw new Error(`${i.status}:${i.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let o=t===-1?"":"?"+ne({page:e+1,pageSize:t}),n=`${z.lists}/skillingPlan/created${o}`,r=W(n,{},!0),i=await R(r);if(ge(i),i.ok)return await i.json();throw new Error(`${i.status}:${i.statusText}`)},async joinSkillingPlan(e){let o=te(location.search).learnerGroupId,n=`${z.lists}/skillingPlan/${e}/join?${ne({registrationType:1,learnerGroupId:o||""})}`,r=W(n,{method:"POST"},!0,!1),i=await R(r);if(ge(i),i.ok){let s=await i.json();return lp(s),{hasError:!1,data:s}}throw new Error(`${i.status}:${i.statusText}`)},async leaveSkillingPlan(e){let t=`${z.lists}/skillingPlan/${e}/leave`,o=W(t,{method:"POST"},!0,!1),n=await R(o);if(ge(n),n.ok){let r=await n.json();return lp(r),{hasError:!1,data:r}}throw new Error(`${n.status}:${n.statusText}`)},async trackClick(e,t){let o=`${z.lists}/skillingPlan/${e}/trackClick/${t}`,n=W(o,{method:"POST"},!0,!1),r=await R(n);if(ge(r),r.ok)return{};throw new Error(`${r.status}:${r.statusText}`)},async getPlanStatistics(e){let t=`${z.lists}/skillingPlan/${e}/statistics`,o=W(t,{},!0),n=await R(o);if(ge(n),n.ok)return await n.json();throw new Error(`${n.status}:${n.statusText}`)},async createLearnerGroup(e,t,o=""){let n=`${z.lists}/skillingPlan/${e}/learnerGroup`,i={method:"POST",body:JSON.stringify({name:t,description:o})},s=await R(W(n,i));if(ge(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}:${s.statusText}`)},async updateLearnerGroup(e,t,o,n=""){let r=`${z.lists}/skillingPlan/${e}/learnerGroup/${t}`,s={method:"PATCH",body:JSON.stringify({name:o,description:n})},a=await R(W(r,s));return ge(a),a.ok?{hasError:!1,data:await a.json()}:{hasError:!0,error:await a.json()}},async deleteLearnerGroup(e,t){let o=`${z.lists}/skillingPlan/${e}/learnerGroup/${t}`,r=await R(W(o,{method:"DELETE"}));return ge(r),r.ok?{hasError:!1}:{hasError:!0,error:await r.json()}}};async function lp(e){e.lastModified&&(e.publishedOn=e.lastModified),yr(e.contentList)}function vUe(e){return e.type==="bookmarks"&&(e.name=uE),e}var oS=null;async function aye(e=()=>!0,t=!1){if(!oS)try{oS=(await lt.getAllLists(t)).map(vUe)}catch{oS=null}return oS?.filter(e)??null}async function lye(){return A.isAuthenticated===!1?[]:(await or.getCreatedSkillingPlans(0,-1)).skillingPlans}function cye(e){return oS=null,lt.createList(e)}async function tR(){let e=An()||"",t=await Yy(e),o=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(n=>o.includes(n)):!1}function _Ue(e,t=!1){switch(e){case"MicrosoftEmployee":return b9;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return v9;case"MicrosoftIntern":return _9;case"RegionalDirector":return y9;case"Mvp":return t?Oie:h9;case"StudentAmbassador":return t?Fie:x9;default:return""}}function oR(e){let t=e?e[0]:"";return _Ue(t)}function V3(e,t){e=decodeURIComponent(e);let o=yi(e,t.target),n=d``,r=d``;if(o){let i=document.createElement("div");y(r,i),new ve(i).show()}}async function uye(e){if(!j.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let o of t){Be("edit-in-editor",{require:!0})||(o.hidden=!1);let n=o.dataset.original_content_git_url,r=o.dataset.original_content_git_url_template,i=o.dataset.pr_repo,s=o.dataset.pr_branch;r&&r.length&&i&&i.length&&s&&s.length?o.setAttribute("href",r.replace("{repo}",i).replace("{branch}",s)):n&&n.length&&o.setAttribute("href",n)}xUe(t)}async function yUe(e){let t=document.createElement("div");t.classList.add("modal-content");let o=new ve(t);return y(e,t),o.show()}async function xUe(e){if(!Be("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await TUe();for(let o of e){let{title:n,description:r,link:i,moreInfo:s}=K_e(t,o);o.addEventListener("click",function(a){a.preventDefault(),yUe(Y_e(n,r,i,s))}),o.hidden=!1}}async function TUe(){if(!A.isAuthenticated||!await tR())return 0;if(!kUe())return 1;let e=M3();return await SUe(e)?3:2}function kUe(){let e=A0(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function SUe(e){if(!e)return!1;let t=e?await D3(e.access_token):null,o=await V_e();return t&&o&&o.login&&o.login.toLowerCase()===t.toLowerCase()}async function dye(e){let t={method:"POST",body:e,credentials:"same-origin"},o=new Request(z.siteFeedback,t),n=await R(o);if(!n.ok)throw new Error(`Error fetching ${o.url}`);return n}var wUe=["jpeg","jpg","png","gif"],EUe=1024*1024*5;function pye(e){let t=[];return Array.from(e).forEach(o=>{(o.type.split("/")[0]!=="image"||wUe.indexOf(o.type.split("/")[1])===-1)&&t.push(rie.replace("{fileName}",o.name)),o.size>=EUe&&t.push(iie.replace("{fileName}",o.name))}),t}C();C();var uo={"functionality-other":gW,"learn-content-other":hW,"feature-request":mW,"category-general":fW,"tutorial-content-quality":cW,"learn-credit-problem":vW,"sandbox-problem":xW,"registration-problem":yW,"problem-with-cloudshell":sW,"problem-with-install":lW,"problem-with-dotnet-editor":aW,"content-mistake":pW,"content-question":bW,"translation-quality":TW,"category-other":_W},CUe=[{icon:"docon-developer-tools",value:"Microsoft Learn/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Microsoft Learn/Customer Feedback/Engineering/Gamification",text:uo["learn-credit-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Interactivity",text:uo["sandbox-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Profile",text:uo["registration-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering",text:uo["category-other"]}],text:uo["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:uo["content-mistake"]},{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:uo["content-question"]},{value:"Microsoft Learn/Customer Feedback/Localization/{{REPO-AREA}}",text:uo["translation-quality"]},{value:"Microsoft Learn/Customer Feedback/Content",text:uo["category-other"]}],text:uo["learn-content-other"]},{icon:"docon-web-components",value:"Microsoft Learn/Customer Feedback/Engineering/Experience",text:uo["feature-request"]},{icon:"docon-feedback",value:"Microsoft Learn/Customer Feedback",text:uo["category-general"]}],AUe={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:CUe},PUe=[{icon:"docon-developer-tools",value:"Tutorial Feedback/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:uo["problem-with-cloudshell"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:uo["problem-with-install"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:uo["problem-with-dotnet-editor"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Profile",text:uo["registration-problem"]},{value:"Tutorial Feedback/Customer Feedback/Engineering",text:uo["category-other"]}],text:uo["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:uo["content-mistake"]},{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:uo["content-question"]},{value:"Tutorial Feedback/Customer Feedback/Localization/{{REPO-AREA}}",text:uo["translation-quality"]},{value:"Tutorial Feedback/Customer Feedback/Content",text:uo["category-other"]}],text:uo["tutorial-content-quality"]},{icon:"docon-web-components",value:"Tutorial Feedback/Customer Feedback/Engineering/Experience",text:uo["feature-request"]},{icon:"docon-feedback",value:"Tutorial Feedback/Customer Feedback",text:uo["category-general"]}],IUe={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:PUe};function mye(e,t){let o=LUe(t),n=jUe(o);y(n,e)}function LUe(e){return e==="reportIssue"?AUe:IUe}function jUe(e){return d`

    ${oW}

    ${SW}
    ${e.categories.map(t=>d``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>d` `)}
    `}var G3=!1;dt.subscribe(_o,()=>{K3("reportIssue")});var gye=e=>{e.disabled=!1,e.classList.remove("is-loading")},Y3=e=>e.querySelector("input:checked"),RUe=(e,t)=>{let o=!1,n=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let r in t){let i=n!==r,s=t[r].closest("div.field");t[r].disabled=i,s.hidden=i;let a=Array.from(s.querySelectorAll(".radio"));i?a.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(o=!0,a.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return o},fye=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),MUe=(e,t,o)=>{RUe(e,t)||fye(o)},DUe=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(o=>{o.querySelector("input").setAttribute("required","")}),fye(e)},$Ue=e=>{e.hidden=!1},zUe=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let o=document.querySelector("#attachment-validation"),n=pye(t.files),r=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(n.length){let s=n.map(a=>d`

    ${a}

    `);y(d`${s}`,o),o.hidden=!1,y(d``,r);return}let i=Array.from(t.files).map(s=>s.name).join(", ");y(d`${i}`,r),y(d``,o),o.hidden=!0},NUe=e=>{e.disabled=!0,e.classList.add("is-loading")},Q3=e=>e.hidden=!0,OUe=()=>{let e=document.getElementById("feedback-report-category"),t=Y3(e),o=t.value,n=t.parentElement.textContent.trim();return{value:o,text:n}},FUe=e=>{let t=document.getElementById("feedback-report-category"),o=Y3(t);if(o===null||!o.dataset.subCategory)return{valueSub:null,textSub:null};let r=Array.from(e[o.dataset.subCategory].querySelectorAll(".radio input")).filter(a=>a.checked)[0],i=r.value,s=r.parentElement.textContent.trim();return{valueSub:i,textSub:s}},UUe=e=>new FormData(e),hye=e=>e.hidden=!1,qUe=(e,t,o,n)=>{e.classList.remove("is-hidden"),n.classList.add("is-hidden"),t.classList.add("is-hidden"),o.classList.add("is-hidden")},bye=(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 i=r.querySelector("input");i.setAttribute("required",""),i.checked=!1});for(let r in t){let i=t[r].closest("div.field"),s=e.querySelector("#feedback-form-info");i.hidden=!0,s.hidden=!0}y(d``,o)},HUe=async(e,t,{successMessage:o})=>{let{value:n,text:r}=OUe(),{valueSub:i,textSub:s}=FUe(t);e.feedbackCategory&&(e.feedbackCategory.value=r),e.category.value=i||n,e.issueType&&(e.issueType.value=s),j.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),dye(UUe(e)),hye(o),bye(e,t)},BUe=(e,t,o,n,{successMessage:r})=>{e.classList.add("is-hidden"),Q3(r),n.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,o.classList.remove("is-hidden")};async function K3(e,t,o=!1){let n=document.querySelector(".feedback-report");if((!S.feedbackReport||!n)&&!o)return;mye(n,e);let r=document.querySelector("#feedback-report-form");if(r===null||G3)return;G3=!0,bg(()=>{G3=!1});let i=r.querySelector("#feedback-report-error-message"),s=r.querySelector("#feedback-report-category"),a={"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)"),u=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"),v=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=ii.get("ai_session");r.aiSessionId.value=x!==void 0?x.split("|")[0]:"";let{uid:_,documentId:T,versionIndependentDocumentId:P,platformId:E,contentPath:B,url:N,author:de}=te(t);r.uid.value=_,r.documentId.value=T,r.versionIndependentDocumentId.value=P,r.platformId.value=E,r.contentPath.value=B,r.url.value=N,r.author.value=de;let Ce=()=>{if(!r.checkValidity()){u.disabled=!0;return}gye(u)};$t(s,"change",()=>{let yt=Y3(s);yt?yt.dispatchEvent(new CustomEvent("selected")):yt=null}),$t(m,"input",()=>{Ce()}),$t(g,"input",()=>{Ce()});let ae=Array.from(s.querySelectorAll("input"));Array.from(ae).forEach(yt=>$t(yt,"selected",()=>MUe(yt,a,r))),Object.keys(a).forEach(yt=>$t(a[yt],"change",()=>{DUe(r)})),$t(r,"opened",()=>$Ue(c)),$t(l,"change",zUe),$t(r,"submit",async yt=>{if(yt.preventDefault(),!u.disabled){NUe(u),Q3(i),Q3(p);try{await HUe(r,a,{successMessage:p}),qUe(f,u,v,h)}catch{hye(i)}gye(u)}}),$t(v,"click",()=>{bye(r,a)}),$t(f,"click",()=>{BUe(f,u,v,h,{successMessage:p})})}C();C();var VUe={"01-yes-content-easy":wW,"02-yes-problem-solved":AW,"03-yes-information-easy":IW,"04-yes-learned-smth-new":PW,...b.data.userLocale!=="en-us"?{"05-yes-localization":e$}:{},"00-yes-other":ra},GUe={"01-no-content-hard":EW,"02-no-example-problem":qW,"03-no-discovery-issue":CW,"04-no-outdated-content":LW,...b.data.userLocale!=="en-us"?{"05-no-localization":e$}:{},"00-no-other":ra},yye={"ask-the-community":fV,"get-product-support":lZ,"get-help-at-qna":aZ};function xye(){let e=S.usingStandardFeedback||S.openSourceFeedback;return d` `}function vye(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in yye&&b.data.feedbackHelpLinkUrl)}function Tye(){return d`

    ${Zie}

    ${Wre}

    `}function W3(e,t,o,n,r){return d` `}function _ye(e,t){let o=[];for(let n in e)o.push(d` `);return o}function kye(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(Z3(e.detail.form,e.detail.errors),QUe(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;r_(t)})}function Z3(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 i=ky,s=o.querySelector('input[type="checkbox"]');Fr(s,i),Sye(t,s,i);let a=`${un} ${JW}`;Ct(a,"assertive")}}function QUe(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(a=>{a.classList.add("button-danger"),a.querySelector(".icon")?.classList.add("color-danger")});let i=Af;Fr(n[0],i),Sye(t,n[0],i);let s=`${un} ${XW}`;Ct(s,"assertive")}}function Sye(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function r_(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(a=>a.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(a=>{a.classList.remove("button-danger"),a.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 YUe(e){return e.querySelector("[data-feedback-suggestions]")}function nR(e){let t=YUe(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var rR=!1;function iR(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function sR(e){let t=document.getElementById("user-feedback"),o=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(rR=!1),!t&&!o)return;if(b.data.isArchived){let r=document.querySelector("[data-hide-on-archived]");r&&(r.hidden=!0);return}WUe(),wye(),KUe(),kye(),nqe();let n=ZUe();eqe(n,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await XUe(n)}function wye(e=localStorage){let t=e.getItem(`binary-rating-${iR()}`);t!=="rating-yes"&&t!=="rating-no"||(nS(t),Ug(t))}function nS(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!rR)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 KUe(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let n=localStorage.getItem(`binary-rating-${iR()}`);!n||n!=="rating-no"&&n!=="rating-yes"||(nS(n),Ug(n))};window.addEventListener("click",e)}function WUe(){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")||r_(o),nS(n),Ug(n),rR||localStorage.setItem(`binary-rating-${iR()}`,n))};window.addEventListener("click",e)}function ZUe(){let e=document.createElement("div"),t=xye();return y(t,e),wye(),new ve(e)}async function JUe(){let[e,t,o,n]=await Promise.all([Nn("ask-learn-on-articles"),Nn("ask-learn-on-reference"),Nn("ask-learn"),be.then(()=>A.isAuthenticated)]);return Be("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:n}:Be("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:n}:{enabled:e||t||o,userAuthenticated:n}}async function XUe(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:i,userAuthenticated:s}=await JUe(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(i&&s&&a&&r){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${iR()}`);u&&(nS(u),Ug(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;oqe(c),m==="feedback-suggest"?(e.show(),nS("rating-no"),Ug("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(tj+","+oj));i&&(rqe(),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 eqe(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;tqe(o,n,t),rR=!0;let r=document.createElement("div");r.classList.add("modal-slide"),y(Tye(),r),e.updateContent(r,!1,!1)})}function tqe(e,t,o){if(!e)return;let n=nR(t),r=t.querySelector("#user-feedback-textarea"),i=r?r.value:"",s=t.querySelector(".thumb-rating-button.button-selected"),a=s&&s.dataset.binaryRatingResponse==="rating-yes"?1:0,l=n.map(c=>c.value);e.target&&Kt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:o,sat:a,vtbm:i,reasons:l}})}function oqe(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Kt(t,{actionType:Se.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 Ug(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 nqe(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function rqe(){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")}}C();var J3="v9",iqe=.03,aR=Be("survey-popover",{require:!0}),sqe=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),aqe=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),Eye=0,Cye=!1;function lqe(e=S.surveyPopover,t=b.data.pageTemplate,o=b.data.userLocale){return e&&sqe.has(t)&&aqe.has(o)}function lR(e,t=0){try{let o=se.getItem(e);if(o===null)return t;let n=Number(o);return isNaN(n)?t:n}catch{return t}}function cqe(e=j.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",Z.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let o=lR("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",o.toString());let n=lR("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",n.toString());let r=Aye().slice(0,30);return t.searchParams.set("pageTemplatesVisited",r?r.join(","):""),t.href}function X3(){uqe(J3);let e=se.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){cR(),se.setItem("hats_survey-version",J3);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${Kie}

    ${rX}

    `;return y(t,e),e.addEventListener("click",o=>{o.target instanceof HTMLElement&&o.target.closest("[data-dismiss]")&&se.setItem("hats_survey-interacted",new Date().toISOString())}),e}function Iye(){let e=document.querySelectorAll(".ccpa-privacy-link");S.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var ki={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 Lye(e){let t=`${e} --- #### ${fK} \u26A0 *${hK}* `,o=location.href,{documentId:n,versionIndependentDocumentId:r,platformId:i,documentSourceUrl:s,contentTitle:a}=ki,l=s.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${n} * Version Independent ID: ${r} * Platform ID: ${i} * Content: [${a}](${o}) * Content Source: [${l}](${s})`;let{service:c,subservice:u,product:p,technology:m}=ki;c!==void 0&&(t+=` * Service: **${c.toLowerCase()}**`),u!==void 0&&(t+=` * Sub-service: **${u.toLowerCase()}**`),p!==void 0&&(t+=` * Product: **${p.toLowerCase()}**`),m!==void 0&&(t+=` * Technology: **${m.toLowerCase()}**`);let{author:g,msAuthor:f}=ki;return g!==void 0&&(/github\.com/.test(s)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function jye(e,t,o,n,r,i,s,a,l,c,u,p,m,g,f="",v){let h=e.querySelector("[data-github-link]"),x=e.querySelector("[data-open-source-image-light]"),_=e.querySelector("[data-open-source-image-dark]"),T=e.querySelector("[data-open-source-image-container]"),P=e.querySelector("[data-open-source-product-title]"),E=e.querySelector("[data-open-source-product-description]");if(!h||!t||!o||!r||!c||!g)return;let B=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",N=gqe(n,r,i,s,a,l),de=/github\.com/.test(c)?`@${g}`:g,Ce=new URL(t),ae=new URLSearchParams;ae.set("pageUrl",m.href),ae.set("pageQueryParams",m.search),ae.set("contentSourceUrl",c),ae.set("documentVersionIndependentId",o),ae.set("platformId",r),ae.set("feedback",`${B} ${tW} `),ae.set("author",de),ae.set("metadata",N),f&&ae.set("title",f),v&&ae.set("labels",v),Ce.search+=`&${ae.toString()}`,h.href=Ce.toString(),fqe(P,E),x&&_&&T&&hqe(x,_,T),e.hidden=!1}function gqe(e,t,o,n,r,i){let s=`* ID: ${e} * PlatformId: ${t} ${n!==void 0?` * Service: **${n.toLowerCase()}**`:""}${r!==void 0?` * Sub-service: **${r.toLowerCase()}**`:""}${o!==void 0?` * Product: **${o.toLowerCase()}**`:""}${i!==void 0?` * Technology: **${i.toLowerCase()}**`:""}`;return s=s.replace(//g,">"),s}function fqe(e,t){if(!e)return;let o=e.textContent;e.textContent=qJ.replace("{productName}",o),t&&(t.textContent=HJ.replace("{productName}",o))}async function hqe(e,t,o){let[n,r]=await Promise.all([wH(e.src).then(()=>!0).catch(()=>!1),wH(t.src).then(()=>!0).catch(()=>!1)]);n&&r&&(o.hidden=!1)}function Rye(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){S.moduleUnitFeedbackReport||bqe(e);return}if(S.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&jye(t,b.data.openSourceFeedbackIssueUrl,ki.versionIndependentDocumentId,ki.documentId,ki.platformId,ki.product,ki.service,ki.subservice,ki.technology,ki.documentSourceUrl,j.supportLevel,j.reviewFeatures,Z,ki.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:o,ctrlKey:n})=>{t===71&&o&&n&&yi(Lye(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function bqe(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}C();var vqe=L("uhfHeaderId"),_qe=vqe,jt=yqe({brand:b.data.brand,pathnameSegments:jL,page_kind:L("page_kind"),page_type:L("page_type"),headerId:_qe,isAdmin:L("is_admin"),isEditor:L("is_editor")??"false"});function yqe(e){let{brand:t,pathnameSegments:o,page_kind:n,page_type:r,headerId:i,isAdmin:s,isEditor:a}=e;if(s==="true")return"Admin";if(a==="true")return"Editor";if(i==="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 S.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"&&j.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!i&&j.siteName==="learn")return"Learn";switch(i){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return S.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:Oo}=b.data,Mye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Oo}/`,biName:"learn"},navLinks:[{title:oa,href:`/${Oo}/docs/`,biName:"documentation"},{title:Qr,href:`/${Oo}/training/`,biName:"training"},{title:S.previewCredentialsL1?cn:Ka,href:S.previewCredentialsL1?`/${Oo}/credentials/`:`/${Oo}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Oo}/answers/`,biName:"qna"},{title:A1,href:`/${Oo}/samples/browse/`,biName:"code-samples"},{title:Dw,href:`/${Oo}/assessments/`,biName:"assessments"},{title:kr,href:`/${Oo}/shows/`,biName:"shows"}]},Dye={type:"static-header",brandLink:{displayName:"Developer",href:`/${Oo}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Oo}/`,biName:"learn"},{title:oa,href:`https://learn.microsoft.com/${Oo}/docs/`,biName:"documentation"},{title:Qr,href:`https://learn.microsoft.com/${Oo}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Oo}/answers/`,biName:"qna"},{title:A1,href:`https://learn.microsoft.com/${Oo}/samples/browse/`,biName:"code-samples"},{title:kr,href:`https://learn.microsoft.com/${Oo}/shows/`,biName:"shows"}]},$ye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Oo}/`,biName:"learn"},navLinks:[{title:Qr,href:`https://learn.microsoft.com/${Oo}/training/`,biName:"training"},{title:S.previewCredentialsL1?cn:Ka,href:S.previewCredentialsL1?`https://learn.microsoft.com/${Oo}/credentials/`:`https://learn.microsoft.com/${Oo}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:Xre,href:`https://support.azure.cn/${Oo}/support/contact/`,biName:"support"},{title:kr,href:`https://learn.microsoft.com/${Oo}/shows/`,biName:"shows"}]};async function Nye(e=b.data.userLocale){let t=Tqe();if(t==="developer-header"||t==="mooncake-header")return zye(t);let o=j.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 i=await R(r.href,{credentials:"include"});if(!i?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await i.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),zye(t)}}function Tqe(){return j.siteName==="mooncake"?"mooncake-header":jt==="Developer"?"developer-header":"site-header"}function zye(e){switch(e){case"mooncake-header":return $ye;case"developer-header":return Dye;default:return Mye}}var i_,Oye,s_=new Promise(e=>Oye=e);async function Fye(){i_=await Nye(),Oye()}function Uye(){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",i=>{i.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",i=>{i.target instanceof Element&&i.type==="click"&&!o.contains(i.target)&&!e.classList.contains("overflow-x-hidden")&&(i.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var uR=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}};C();Ue();var a_=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&&Rj(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{At()},10),setTimeout(()=>{Rj(this.container)},3500)}};Ue();C();function dR(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?cX:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}C();async function nn(e,t=!1,o){let n=k.createElement("form");if(n.action="javascript:",e instanceof el){if(y(e,n),t){let c=n.querySelectorAll("input.loc-checkbox"),u=0,p=n.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?u++:u--,u===2?p.disabled=!1:p.disabled=!0}))}}else n.appendChild(e);kqe(n);let r=k.createElement("div");r.classList.add("modal-content"),r.appendChild(n);let i=new ve(r),s=!1,a={hasError:!1,data:null};return n.addEventListener("submit",async c=>{c.preventDefault(),a=o?await o(n):{hasError:!1,data:null},a.hasError===!1&&(s=!0,i.hide())}),dR(n),await i.show(),{submitted:s,form:n,data:a.hasError?null:a.data}}function kqe(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function cp(e,t,o=wn,n=!1,r=ZQ,i,s){return d` `}C();Ue();Ue();Ue();C();C();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:oee,value:nr[13]},{reason:KX,value:nr[3]},{reason:iee,value:nr[4]},{reason:XX,value:nr[4]},{reason:WX,value:nr[6]},{reason:eee,value:nr[7]},{reason:JX,value:nr[8]},{reason:YX,value:nr[9]},{reason:ree,value:nr[10]},{reason:ZX,value:nr[11]},{reason:nee,value:nr[15]},{reason:see,value:nr[16]},{reason:aee,value:nr[17]},{reason:tee,value:nr[14]}];function Hye(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 Bye(e){if(!e||jt!=="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 pR=S.userServices&&j.siteName!=="mooncake"&&jt!=="Developer"&&jt!=="Regional Directors",l_=jt==="Third-Party"||jt==="Admin"||jt==="Developer"||jt==="Assessments"||jt==="Certifications"||jt==="Credentials"||jt==="Learn"||jt==="Shows"||jt==="Mooncake"||jt==="Q&A"||jt==="Training"||jt==="Legal";function Vye(e){let t=Lqe();if(!(!t||t==="exclude"))for(let o of e){let n=o?.id===t;if(n){o.current=n;break}}}var Aqe={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"}}}},Pqe={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"}}}}}}},Iqe={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 Lqe(e=L,t=jt){let o;switch(t){case"Learn":case"Training":o=Pqe;break;case"Q&A":o=Aqe;break;case"Certifications":case"Credentials":o=Iqe;break;default:return e("activeMenuId")}return jqe(o)}function jqe(e,t=Z.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 Rqe="DEV_Homeheader";function Gye(){let e=L("uhfHeaderId"),t=e&&e!==Rqe?e:"";return(j.reviewFeatures?te()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function Qye(e,t=b.data.userLocale){let o={branch:pt(["contentnav-branch"],"main")},r=`${z.contentNav}/${t}/content-nav/${e}.json?${ne(o)}`,i;try{i=await R(r,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!i.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let s=await i.json();return s.items.push({kind:"menu",title:Ay,biName:"more",items:[]}),s}var es,mR,c_=new Promise(e=>mR=e);async function Yye(){if(!l_){es=null,mR();return}let e=Gye();if(!e){es=null,mR();return}es=await Qye(e),es&&(Bye(es.callToAction),Hye(es.callToAction),Vye(es.items)),mR()}C();C();function Mqe(e,t,o,n){let r;return o&&(r=[],r.push("font-weight-semibold","font-size-md")),e.kind==="link"?gR(e,`secondary-nav-link-${n+1}`,!1,r,o):Dqe(e,t,r,n)}function gR({href:e,title:t,biName:o},n,r=!1,i=[],s=!1,a=!1){let l=r?"has-text-primary":"",c=s?"":"has-external-link-indicator",u;a?u=o?`secondary-nav-link-category-${o}-mobile`:"secondary-nav-link-category-mobile":u=o?`secondary-nav-link-${o}-mobile`:"secondary-nav-link-mobile",r&&(u=o?`${n}-${o}-mobile`:`${n}-mobile`);let p=et(e,b.data.userLocale);return d`
  • ${t}
  • `}function Dqe(e,t,o=[],n){let r=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",i=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${n+1}`,s=e.biName?`secondary-nav-btn-${e.biName}-mobile`:"secondary-nav-btn-mobile",a=e.biName?`secondary-nav-menu-${e.biName}-mobile`:"secondary-nav-menu-mobile";return d`
  • `}function Kye(e,t){return d` `}function Wye(e,t,o,n,r,i,s,a,l,c,u){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=o?"secondary-nav":"primary-nav";return d` ${Fqe(s,o)&&n>=2&&u?d`
    `:null} ${s?d`
    `:null} `}function Zye(e,t){if(!e)throw new Error("Site header data is unavailable.");return $qe(e,t)}function $qe(e,t){if(e.type==="static-header")return zqe(e);if(!t)throw new Error("Menu handler is not available");return Nqe(e,t)}function zqe(e){let t=e.navLinks.map(o=>{let n=et(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d` `}function Nqe(e,t){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",n=e.navCategories.map(r=>{let i=`site-header-btn-${r.biName}-mobile`,s=`ms--${i}`;return d`
  • `});return d` `}function Jye(e,t,o,n,r,i){let s=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",a=b.data.userLocale,l=d`
    `,c=d`
    `,u="";if(e.panelLink){let g=e.panelLink,f=et(g.href,a);u=d` ${g.title} `}let p="";if(i){let g=i.map(f=>{let v=et(f.href,a);return d` `});p=d`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=et(g.href,a),v=d`
  • `;m.push(v)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=et(g.href,a),v=d`
  • ${g.title}
  • `;m.push(v)}),d` ${l}
    ${c} ${u}
    ${p}
    `}function Xye(){let e="#",t=A.isAuthenticated?"button-clear inner-focus":"auth-status-determined not-authenticated button-filled button-primary";t=`docs-sign-${A.isAuthenticated?"out":"in"} `+t;let o=d`

    ${$(Mse)}

    `,n=d` ${A.isAuthenticated?Oqe():o}
    ${A.isAuthenticated?d` ${zy} `:""} ${A.isAuthenticated?Mp:Gr}
    `;return d`
    ${pR?n:o}
    `}function Oqe(){return d` `}function Fqe(e,t){return t||jt!=="Docs_Home"&&e}async function txe(e,t){if(await s_,!t)throw new Error("Site header data is unavailable.");let o=k.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 uR;o.paint=()=>{y(d` ${Kye(e,t.brandLink.displayName)} ${Xye()} `,o)};function r(de){o.paint();let Ce=o.querySelector("#modal-body");if(de){let ae=Ce.querySelector(`#${de}`);if(ae){ae.focus();return}}Uqe(Ce)}function i(de){let Ce=de.target instanceof HTMLElement&&de.target.closest("button");if(!Ce||!Ce.classList.contains("pop-content"))return;let ae=Ce.getAttribute("data-back-id");n.pop(),r(ae)}let s=e.subscribe(Je,o.paint);o.dispose=()=>{n.dispose(),s(),o.removeEventListener("click",i)};let a=exe(e.items),l,c,u,p,m,g,f,v,h,x,_;function T(de,Ce,ae){a=de.items,l=de.title,g=Ce,f=ae,c=null,u=null,p=null,m=n.getTitle(),E(!0),r()}function P(de,Ce,ae,yt,Nt,Vt){h=de,x=Ce,_=Vt,g=ae,f=yt,v=Nt,E(!1,!0),r()}function E(de=!1,Ce=!1){let ae;!de&&!Ce&&t?ae=Zye(t,P):Ce?ae=Jye(h,x,g,v,Ep,_):ae=Wye(a,T,de,n.stackLength,g,f,l,c,u,p,m),n.push(ae),n.pushTitle(l)}function B(){E(),o.paint()}function N(){if(!(n.stackLength<=1)){for(;n.stackLength>1;)n.stackLength===2&&(e.secondaryNav=!1),n.pop();r()}}if(B(),o.addEventListener("click",i),l_){await c_;let de=es;de&&(c=de.category,u=de.callToAction,p=de.preview,l=de.category?de.category.title:null,a=exe(de.items),E(!0),r(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=N)}return o}function Uqe(e){let t=e.querySelector("[data-autofocus]");if(t&&AL(t)){t.focus();return}e.focus()}function exe(e){return e.slice(0,e.length-1)}var u_=class extends He{constructor(){super();this._items=[{title:Ay,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:Ay,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Bs(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 Je)}};function oxe(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new u_;e.addEventListener("click",()=>qqe(t))}async function qqe(e){await s_;let t=await txe(e,i_),o=new ve(t),n=window.outerWidth;function r(){t.dispose(),window.removeEventListener("resize",i),e.mobileNavExpanded=!1}function i(){o.hide(),r()}window.addEventListener("resize",()=>{window.outerWidth!==n&&i()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}C();var e4;function nxe(){return e4===void 0&&(e4=(async()=>Be("user-analytics",{require:!0})?!0:Nn("user-analytics-dashboard"))()),e4}C();var Ua="autocomplete-change-event",rS="autocomplete-displayed-event";function Si(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=Re=>typeof Re?.toString=="function"?Re.toString():Re,itemTemplate:n=o,noResultsTemplate:r=null,initialValue:i=null,input:{biName:s},exclude:a=Re=>!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 u=Ze(),p=`${u}-listbox`,m=Re=>Re===-1?"":`${u}-option-${Re}`,g=[],f=-1,v=i?o(i):"",h="",x=i,_=0,T=!1,P=!1,E="";e.input.size&&(E=e.input.size==="small"?"input-sm":"input-lg");let B=()=>{let Re=c.querySelector(`#${p}`),M=Re.children.item(f===-1?0:f);M?M.offsetTop+M.offsetHeight>Re.offsetHeight?Re.scrollTop=M.offsetTop-Re.offsetHeight+M.offsetHeight+4:M.offsetTop{y(Ot(),c);let Re=c.querySelector("input");Re&&(Re.value=v||h),B()},de=()=>{g=[],f=-1,N()},Ce=(Re,M)=>{let G=h;if(x=Re,v=Re?o(Re):"",h=v,de(),M&&Re){let D=new CustomEvent(Ua,{detail:{suggestion:Re,term:G},bubbles:!0});c.dispatchEvent(D)}};Object.defineProperty(c,"value",{get(){return x},set(Re){Ce(Re,!1)}});let ae=async()=>{if(h===""){T=!1,x=null,de();return}g=await t(h),g=g.filter(M=>!a(M));let Re=new CustomEvent(rS,{detail:g,bubbles:!0});c.dispatchEvent(Re),g.length||Ct(EJ,"assertive",2e3),f=-1,T=!1,N()},yt=Re=>{let G=Re?.url;G&&G.href&&window.open(G.href,"_blank")},Nt=Re=>{let M=Re.target instanceof Element&&Re.target.closest('[role="option"]');if(!M)return;Re.preventDefault();let G=M.parentElement,D=0;for(;D{clearTimeout(_),_=setTimeout(ae,250);let M=Re.target;h=M.value,v="",!T&&M.value!==""&&!P&&(T=!0,N())},Uo=()=>{P=!0},Jt=()=>{P=!1},bo=()=>de(),Vn=Re=>{let{keyCode:M,shiftKey:G,altKey:D,ctrlKey:ee}=Re;if(!(G||D||ee)){if(M===Ae.down){Re.preventDefault(),f0?(f--,v=o(g[f])):(f=-1,v=h),N();return}if(M===Ae.escape){Re.preventDefault(),Ce(x,!1);return}if(M===Ae.enter){if(f>=0){let fe=g[f];Ce(fe,!0)}return}}};function Ot(){let Re=e.input.docon?d` `:"";return d`
    ${Re} ${l?d` `:""}
      M.preventDefault()} @click=${Nt} @keyup=${M=>(M.key==="Enter"||M.key==="Spacebar")&&Nt} ?hidden=${!h.length||T||!r&&!g.length||v===h} > ${g.map((M,G)=>d`
    • ${n(M)}
    • `)} ${!g.length&&r?d`
    • ${r}
    • `:""}
    `}return N(),c.addEventListener("compositionstart",Uo),c.addEventListener("compositionend",Jt),c}var fR=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function rxe(e,t=b.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let n=`${z.siteSearch}/autocomplete?${ne({locale:t,query:e})}`,r={mode:"cors",credentials:j.supportLevel==="production"&&j.reviewFeatures?"include":"same-origin"},i=await R(n,r);if(i.ok)return i.json();if(i.status===403)return{query:e,suggestions:[]};throw new Ht(i)}function iS(e){let t=new URLSearchParams(e),o=t.get("category")||"All",n=fR.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")}}C();function ixe(){let e=b.data.context.searchScope||L("scope");if(b.data.pageTemplate==="SearchPage"&&(e=iS(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 t4(e=Z.pathname,t={}){let o=decodeURI(On(e)).toLowerCase().split("/").slice(1),[n="",r=""]=o;return{parts:o,firstPart:n,secondPart:r,pageKind:Ii.kind,pageType:Ii.type,msTopic:L("ms.topic"),...t}}function hR(e,t=t4()){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 sxe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${z.siteSearch}/user?${ne({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,n={mode:"cors",credentials:j.supportLevel==="production"&&j.reviewFeatures?"include":"same-origin"},r=await R(o,n);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new Ht(r)}var d_=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 Hqe=1e4,Bqe=4e3,axe=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:Xf.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:k.visibilityState==="hidden",wentOffline:!Xf.onLine,supportedBrowser:d_,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,axe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),Hqe)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=k.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!Xf.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:Vqe(o),r.endConnection=Xf.connection?.effectiveType??"unknown",r.resources=Array.from(performance.getEntriesByType("resource")).filter(i=>i.startTime>=n).map(i=>i.toJSON()).filter(i=>i.initiatorType==="fetch"&&i.name.startsWith(location.origin)).map(i=>(i.connectEnd=Math.floor(i.connectEnd),i.connectStart=Math.floor(i.connectStart),i.domainLookupEnd=Math.floor(i.domainLookupEnd),i.domainLookupStart=Math.floor(i.domainLookupStart),i.duration=Math.floor(i.duration),i.fetchStart=Math.floor(i.fetchStart),i.redirectEnd=Math.floor(i.redirectEnd),i.redirectStart=Math.floor(i.redirectStart),i.requestStart=Math.floor(i.requestStart),i.responseEnd=Math.floor(i.responseEnd),i.responseStart=Math.floor(i.responseStart),i.secureConnectionStart=Math.floor(i.secureConnectionStart),i.startTime=Math.floor(i.startTime),i.workerStart=Math.floor(i.workerStart),i)),xe({actionType:Se.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(),Bqe);let n=async(r,i)=>{let s=performance.now();try{await this.fetch.call(window,i,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[r]={response:!0,duration:Math.floor(performance.now()-s)}}catch{this._diagnostics.pings[r]={response:!1,duration:Math.floor(performance.now()-s)}}};return Promise.all([n("docs",`${location.origin}/robots.txt`)])}};function Vqe(e){return e===axe?{type:"scenario-timeout"}:e instanceof Response||e instanceof Ht?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?TH(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 m_(e){if(S.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 rxe(e,b.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function lxe(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 sxe(e);t.succeed();let n=[],r=[];for(let i of o.suggestions)i.displayName.toLowerCase().startsWith(e)?n.push(i):r.push(i);return n.sort((i,s)=>i.displayName.localeCompare(s.displayName)),r.sort((i,s)=>i.displayName.localeCompare(s.displayName)),o.suggestions=n.concat(r),o.suggestions}catch(o){return t.fail(o),[]}}function uxe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};o4(t)}function bR(e){let t=e.detail.map(o=>({title:o}));n4(t)}function o4({suggestion:e,term:t}){xe({behavior:le.SEARCHAUTOCOMPLETE,actionType:Se.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function n4(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 cxe=!1;function dxe(e,t,o,n,r,i,s,a){cxe?hP():cxe=!0,xe({behavior:le.OTHER,actionType:Se.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||a||"",scoringProfileName:e.scoringProfile||"",experimentId:L("experiment_id"),hideCompleted:e.hideCompleted||"",count:o,scopeRemoved:r,spellingCorrection:i,semanticCaptions:s}})}function pxe(e,t,o,n,r){let i=n===!0?1:0;xe({behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:i,searchTerm:e,question:t,answer:o,authType:r.toString()}})}function vR(e,t,o,n,r,i,s,a){!t||!o||(xe({behavior:le.OTHER,actionType:Se.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:o,authType:n.toString()}}),a&&xe({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:r,returnedTimestamp:i,answerType:s}}))}function mxe(e,t,o,n,r){xe({behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:n??"",verbatim:r??"",isEmptyResponse:0,authType:o.toString()}})}var Gqe="https://www.azure.cn/searchresults/";function r4(){let e;return b.data.brand==="mooncake"?e=Gqe:!j.systemContent&&j.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${zt?"test/docs/search/search":"search/"}`,e}function i4(){let e=ixe(),t=Qqe(),o=Yqe();return{scope:e,category:t,dataSource:dn()?"previousVersions":"",preview:o}}function Qqe(){let e=iS(Z.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=hR("site",t4());return t&&t!=="All"?t:""}function Yqe(){return iS(Z.search).preview||""}function s4(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};o4(t)}function a4(e){let t=e.detail.map(o=>({title:o}));n4(t)}function _R(e,t,o,n){if(!e)return;let r=k.getElementById(o),i=r.placeholder,s=r.value,a=e.parentElement;if(!a)return;let l=n?`${n}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:i,size:"large",label:oo,isFullWidth:!0,name:"terms",biName:l},initialValue:s,getSuggestions:m_,itemTemplate:x=>d` ${x} `,showLoader:!S.disableSiteSearchSuggestions},u=Si(c),{scope:p,category:m,dataSource:g,preview:f}=i4(),v=n?`${n}-search-form`:void 0,h=n?`${n}-search-submit`:void 0;y(d` `,a)}C();var up="display-block font-size-sm padding-inline-xxs",yR;function xR(e,t){if(yR===void 0){let c=(L("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);yR=c.length?c[c.length-1]:""}let o="";yR&&t&&(o=yR);let n=dn()?"previousVersions":"",r=zt?"/test/docs/search/search":"/search/",i=hR("toc"),s=`${r}?${ne({search:e,scope:o,dataSource:n,category:i==="All"?void 0:i})}`;return{title:o?SJ.replace("{term}",e).replace("{searchScope}",o):wJ.replace("{term}",e),url:s}}function sS(e){return e.indexOf("/search/?search")!==-1||zt&&e.indexOf("/search/search?search")!==-1}async function TR(e,t,o){Kt(e,{behavior:le.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function gxe(e=!1){let{category:t,dataSource:o,preview:n}=i4(),r=jt==="Search"?"":t,i=r4(),s=b.data.brand==="mooncake"?"q":"terms",a={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:dn()?Dy:oo,label:oo,isFullWidth:!0,name:s,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:m_,itemTemplate:p=>d` ${p} `,showLoader:!S.disableSiteSearchSuggestions};e||(a.input.size="small");let l=Si(a),c=e?"ms--site-header-search-form-mobile":"ms--site-header-search-form",u=e?"site-header-search-form-mobile":"site-header-search-form";return d` `}function fxe(e){return e?d` ${bxe()}
    ${vxe(e.brandLink)}
    ${Jqe(e)} ${_xe()}
    ${yxe()} `:""}function hxe(e){return e?d`
    ${vxe(e.brandLink,!0)} ${bxe(!0)} ${_xe(!0)} ${yxe(!0)} `:""}function bxe(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=d` `;return d` `}function vxe(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 d` `}function _xe(e=!1){let t=gxe(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",i=e?"site-header-search-mobile":"site-header-search",s=e?"ms--site-header-search-mobile":"ms--site-header-search";return d` `}function yxe(e=!1){if(!pR)return"";let n=d` `,r=e?"site-header-user-mobile":"site-header-user",i=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-sign-out-mobile":"site-header-sign-out",a=e?"site-header-user-sign-out-mobile":"site-header-user-sign-out",l=e?"ms--user-display-name-mobile":"ms--user-display-name",u=d`

    `;return d`${n} ${u}`}function Kqe(e,t){if(!e)return"";let o="";if(t){let r=t.map(i=>{let s=et(i.href,b.data.userLocale);return d` `});o=d` `}let n=e.map((r,i)=>{let s=`ms--panel-${i+1}`;return d`
  • `});return d`
      ${n}
    `}function Wqe(e,t){if(!e)return"";let o=b.data.userLocale,n="";if(e.panelLink){let s=e.panelLink,a=et(s.href,o);n=d` ${s.title} `}let r=[],i="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(s=>{i="site-header-panel-cards";let a=et(s.href,o),l=d`
  • `;r.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(s=>{let a=et(s.href,o),l=d`
  • ${s.title}
  • `;r.push(l)}),d`
      ${r}
    ${n}
    ${t} `}function Zqe(e){if(!e)return"";let t=e.map((o,n)=>{let r=et(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d`
      ${t}
    `}function Jqe(e){let t=e.type==="static-header"?Zqe(e.navLinks):Kqe(e.navCategories,e.featuredContent),o=b.data.userDir==="ltr"?"left":"right",n=b.data.userDir==="ltr"?"right":"left";return d` `}Ue();sh();C();C();function l4(e,t){let{leftTemplate:o,rightTemplate:n}=e;return d` ${o()} ${n(t)} `}function kxe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new u_;return t.paint=()=>wxe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:n=>o.items=n}),o.desktop=Ar.matches,o.mobile=!Lc.matches,Ar.addListener(()=>{o.desktop=Ar.matches}),Lc.addListener(()=>{o.mobile=!Lc.matches}),window.addEventListener("resize",()=>{Lc.matches&&Xqe(t,o,e)},{passive:!0}),t.paint(),ke.then(()=>{let n=new MutationObserver(r=>{for(let i of r)for(let s=0;st.paint()),window.addEventListener("content-update",()=>t.paint()),t}var Sxe=0;function wxe(e,t,o){if(Sxe=Date.now(),t.resetItemVisibility(),y(l4(o,t),e),t.mobile)return;let n=e.querySelector(".nav-bar-spacer"),{more:r,items:i}=t,s=i.length-1;for(;s>0&&n.getBoundingClientRect().width===0;)s--,r.hidden=!1,i[s].hidden=!0,r.items[s].hidden=!1,y(l4(o,t),e)}var xxe=0,Txe=50;function Xqe(e,t,o){clearTimeout(xxe),Date.now()-Sxe>Txe?e.paint():xxe=setTimeout(wxe,Txe,e,t,o)}async function Cxe(){if(await c_,!es)return null;let e=kxe(eHe(es));return e.items=es.items,e}function eHe(e){let{category:t,callToAction:o,preview:n}=e,r="";return o&&(r=tHe(o)),{leftTemplate:()=>oHe(t,n),rightTemplate:a=>d` ${rHe(a,Jne)} ${r} ${nHe()} `}}function tHe(e){if(!e)return"";let{primary:t,secondary:o}=e,n="";return o&&(n=Exe(o,!0)),d`
    ${n} ${Exe(t)}
    `}function Exe(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",d` ${n} `}function oHe(e,t){let{href:o,title:n,biName:r}=e,i=et(o,b.data.userLocale),s=Pxe(i),a=r?`secondary-nav-link-category-${r}`:"secondary-nav-link-category";return d` `}function nHe(){return jt!=="Learn"&&jt!=="Training"?"":d` `}function rHe(e,t){let{items:o}=e;return d` `}function Axe(e,t){return e.kind==="link"?iHe(e,t):sHe(e,t)}function iHe(e,t){let o=e.current?"is-active":"",n=et(e.href,b.data.userLocale),r=Pxe(n,!!o),i=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function sHe(e,t){let o=yp(),n=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",r=t?"":"expanded-indicator",i=e.current?"is-active":"",s=e.current?"true":void 0,a=e.biName?`secondary-nav-btn-${e.biName}`:"secondary-nav-btn",l=e.biName?`secondary-nav-menu-${e.biName}`:"secondary-nav-menu";return d` `}function aHe(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function Pxe(e,t){let o=new URL(e,window.location.origin);if(aHe(o)&&t)return"page";if(t)return"true"}var g_,kR=new Promise(e=>g_=e);async function Ixe(){Fye(),Yye(),lHe()}async function lHe(){await s_;let e=fxe(i_),t=hxe(i_);await ke;let o=k.querySelector("#ms--site-header");if(!o){g_();return}let n=o.querySelector("#ms--primary-nav");if(!n){g_();return}let r=o.querySelector("#ms--mobile-nav");if(!r){g_();return}y(e,n),y(t,r),Uye(),oxe();let i=o.querySelector("#ms--secondary-nav");if(!i){g_();return}if(l_){await c_;let s=await Cxe();i.classList.contains("site-header")&&s?(i.classList.remove("site-header"),y(s,i)):i.remove()}else i.remove();g_()}var cHe=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function f_(e){if(!e||!cHe.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 i=r.tagName.toLowerCase(),s=document.createElement("div");s.classList.add("heading-wrapper"),s.setAttribute("data-heading-level",i);let a=Vp(r).trim(),l=r.id||zo(a);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",Bne.replace("{title}",a)),s.appendChild(c),r.insertAdjacentElement("beforebegin",s),s.insertAdjacentElement("beforeend",r)}})}C();var uHe=["Conceptual","Episode","Module","Reference"],Lxe={Conceptual:{"ai-generated":RY,"ai-assisted":jY,"human-only":MY},Episode:{"ai-generated":DY,"ai-assisted":$Y},Module:{"ai-generated":zY,"ai-assisted":NY},Reference:{"ai-generated":OY,"ai-assisted":FY}};function jxe(){let e=ys("ai-usage"),t=b.data.pageTemplate;!uHe.includes(t)||e.length===0||dHe(t,e)}function dHe(e,t){let o=document.getElementById("ms--inline-notifications"),n=pHe(e,t);if(!o||!n)return;let r=gHe(n);y(r,o)}function pHe(e,t){let o=new Set(t),n=[];for(let r of o)if(Lxe[e].hasOwnProperty(r)){let i=Lxe[e][r];i&&n.push(i)}return n}function mHe(e){return d`
    ${$(e)}
    `}function gHe(e){return d` ${Mo(e,t=>mHe(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function Mxe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function Dxe(){window.addEventListener("unhandledrejection",e=>{let t=Rxe(e.type,Mxe(),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 i=Rxe(e,t,o,n,r);xe({behavior:le.OTHER,content:i})}}function Rxe(e,t,o,n,r){let s=new Date().toString();return{type:"learn-client-error",event:e,source:t||Mxe(),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:s,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:d_,pageTemplate:b.data.pageTemplate}}var dp,lS,Qxe,wR,p4,b_=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},cS=function(e){if(document.readyState==="loading")return"loading";var t=b_();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},Yxe=-1,Kxe=function(){return Yxe},qg=function(e){addEventListener("pageshow",function(t){t.persisted&&(Yxe=t.timeStamp,e(t))},!0)},AR=function(){var e=b_();return e&&e.activationStart||0},Gs=function(e,t){var o=b_(),n="navigate";return Kxe()>=0?n="back-forward-cache":o&&(n=document.prerendering||AR()>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}},v_=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{}},Qs=function(e,t,o,n){var r,i;return function(s){t.value>=0&&(s||n)&&((i=t.value-(r||0))||r===void 0)&&(r=t.value,t.delta=i,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,o),e(t))}},m4=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},PR=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},g4=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},h_=-1,$xe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},ER=function(e){document.visibilityState==="hidden"&&h_>-1&&(h_=e.type==="visibilitychange"?e.timeStamp:0,hHe())},zxe=function(){addEventListener("visibilitychange",ER,!0),addEventListener("prerenderingchange",ER,!0)},hHe=function(){removeEventListener("visibilitychange",ER,!0),removeEventListener("prerenderingchange",ER,!0)},f4=function(){return h_<0&&(h_=$xe(),zxe(),qg(function(){setTimeout(function(){h_=$xe(),zxe()},0)})),{get firstHiddenTime(){return h_}}},uS=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Nxe=[1800,3e3],Wxe=function(e,t){t=t||{},uS(function(){var o,n=f4(),r=Gs("FCP"),i=v_("paint",function(s){s.forEach(function(a){a.name==="first-contentful-paint"&&(i.disconnect(),a.startTimei.value&&(i.value=s,i.entries=a,r())},c=v_("layout-shift",l);c&&(r=Qs(o,i,Oxe,n.reportAllChanges),PR(function(){l(c.takeRecords()),r(!0)}),qg(function(){s=0,i=Gs("CLS",0),r=Qs(o,i,Oxe,n.reportAllChanges),m4(function(){return r()})}),setTimeout(r,0))}))})(function(o){(function(n){if(n.entries.length){var r=n.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(r&&r.sources&&r.sources.length){var i=(s=r.sources).find(function(a){return a.node&&a.node.nodeType===1})||s[0];if(i)return void(n.attribution={largestShiftTarget:CR(i.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:i,largestShiftEntry:r,loadState:cS(r.startTime)})}}var s;n.attribution={}})(o),e(o)},t)},Jxe=function(e,t){Wxe(function(o){(function(n){if(n.entries.length){var r=b_(),i=n.entries[n.entries.length-1];if(r){var s=r.activationStart||0,a=Math.max(0,r.responseStart-s);return void(n.attribution={timeToFirstByte:a,firstByteToFCP:n.value-a,loadState:cS(n.entries[0].startTime),navigationEntry:r,fcpEntry:i})}}n.attribution={timeToFirstByte:0,firstByteToFCP:n.value,loadState:cS(Kxe())}})(o),e(o)},t)},aS={passive:!0,capture:!0},bHe=new Date,Fxe=function(e,t){dp||(dp=t,lS=e,Qxe=new Date,eTe(removeEventListener),Xxe())},Xxe=function(){if(lS>=0&&lS1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(o,n){var r=function(){Fxe(o,n),s()},i=function(){s()},s=function(){removeEventListener("pointerup",r,aS),removeEventListener("pointercancel",i,aS)};addEventListener("pointerup",r,aS),addEventListener("pointercancel",i,aS)}(t,e):Fxe(t,e)}},eTe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,vHe,aS)})},Uxe=[100,300],_He=function(e,t){t=t||{},uS(function(){var o,n=f4(),r=Gs("FID"),i=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]};u4[n.id]=n,Vl.push(n)}Vl.sort(function(r,i){return i.latency-r.latency}),Vl.splice(10).forEach(function(r){delete u4[r.id]})}},THe=function(e,t){t=t||{},uS(function(){xHe();var o,n=Gs("INP"),r=function(s){s.forEach(function(c){c.interactionId&&Bxe(c),c.entryType==="first-input"&&!Vl.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&Bxe(c)});var a,l=(a=Math.min(Vl.length-1,Math.floor(Hxe()/50)),Vl[a]);l&&l.latency!==n.value&&(n.value=l.latency,n.entries=l.entries,o())},i=v_("event",r,{durationThreshold:t.durationThreshold||40});o=Qs(e,n,qxe,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),PR(function(){r(i.takeRecords()),n.value<0&&Hxe()>0&&(n.value=0,n.entries=[]),o(!0)}),qg(function(){Vl=[],rTe=nTe(),n=Gs("INP"),o=Qs(e,n,qxe,t.reportAllChanges)}))})},iTe=function(e,t){THe(function(o){(function(n){if(n.entries.length){var r=n.entries.sort(function(i,s){return s.duration-i.duration||s.processingEnd-s.processingStart-(i.processingEnd-i.processingStart)})[0];n.attribution={eventTarget:CR(r.target),eventType:r.name,eventTime:r.startTime,eventEntry:r,loadState:cS(r.startTime)}}else n.attribution={}})(o),e(o)},t)},Vxe=[2500,4e3],d4={},sTe=function(e,t){(function(o,n){n=n||{},uS(function(){var r,i=f4(),s=Gs("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;o.value=Math.max(i-AR(),0),o.entries=[r],n(!0),qg(function(){o=Gs("TTFB",0),(n=Qs(e,o,Gxe,t.reportAllChanges))(!0)})}})},aTe=function(e,t){SHe(function(o){(function(n){if(n.entries.length){var r=n.entries[0],i=r.activationStart||0,s=Math.max(r.domainLookupStart-i,0),a=Math.max(r.connectStart-i,0),l=Math.max(r.requestStart-i,0);n.attribution={waitingTime:s,dnsTime:a-s,connectionTime:l-a,requestTime:n.value-l,navigationEntry:r}}else n.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(o),e(o)},t)};var dS=L("learn-experiments")==="true"&&j.siteName!=="developer"&&j.siteName!=="mooncake",b4=dS?5*1e3:0,wHe="assignmentserviceapi.wus2.dogfood.portalrp.azure-test.net",EHe="assignmentserviceapi.production.portalrp.azure.com",CHe=j.supportLevel==="development"?`https://${wHe}/api/mslearn/variants?api-version=1.0`:`https://${EHe}/api/mslearn/variants?api-version=1.0`;function AHe(){return CHe}var PHe=Lue("MC1",b4),lTe={},IR,h4,cTe=mTe(),uTe=gTe(),dTe,v4=new Promise(e=>{dTe=e});async function LR(e){return!dS||!await xm?!1:(await v4,e in lTe)}async function pTe(){if(!dS||!await xm)return;let t=await PHe,o=t?IHe(t):null;if(!o){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await be;let n={mc1:o,audience:{environment:"prod",isAuthenticated:!1,locale:A.locale,referer:document.referrer}};A.isAuthenticated&&(n.userId=A.userId,n.audience.isAuthenticated=!0);let r=JSON.stringify(n),i=W(AHe(),{method:"POST",body:r},!1,!0),s=await R(i,{},b4);if(!s.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 ${s.status}`}}}),new Error(`Experiment API failed: ${s.status}`);let a=await s.json(),l=Object.keys(a.variants);return xe({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:r,data:a,dataVersion:a.dataVersion}}}),{assignments:l,rawResponse:a}}function mTe(){return pTe().then(e=>(IR!==void 0&&(clearTimeout(IR),IR=void 0),e!==void 0&&(F.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function gTe(){return new Promise(e=>{IR=setTimeout(()=>{e(void 0)},b4)})}async function jR(){fTe();let e=xm;if(dS){if(!await e){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}F.learnExperiments={...F.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([cTe,uTe]);t===void 0&&xe({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&(lTe=t.assignments.reduce((o,n)=>(o[n]=!0,o),{}),h4=t.rawResponse),dTe?.(),h4&&bTe("client-side",h4.assignmentContext)}catch(t){xe({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}function fTe(){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}bTe("server-side",o.assignmentContext)}dt.subscribe(_o,async()=>await hTe());dt.subscribe(yo,async()=>await hTe());async function hTe(){!dS||!await xm||(cTe=mTe(),uTe=gTe(),jR())}function bTe(e,t){if(!t)return;let o={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments"}};ode(o),xe({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:o}})}Il&&(F.__learnExperimentsTestHooks={emitServerExperimentContext:fTe,loadExperimentAssignments:pTe,instrumentExperiments:jR});function IHe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}var LHe=S.reportWebVitalsAlways?1:.1,RR=new Set;function Hg(e){RR.add(e)}function vTe(){if(RR.size>0){let e=Array.from(RR);RHe(e),RR.clear()}}function jHe(e){let t={};for(let o of e){let{name:n,value:r}=o;t[n]=r}return t}function RHe(e){let t=jHe(e);xe({content:{type:"web-vitals",version:"1",metrics:t}})}function _Te(){let e=S.reportWebVitalsAlways||Math.random()<=LHe;!d_||!e||(Zxe(Hg),Jxe(Hg),iTe(Hg),sTe(Hg),aTe(Hg),tTe(Hg),MHe(Hg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&vTe()}),document.addEventListener("pagehide",vTe))}async function MHe(e){if(window.learnExperiments===void 0||(await v4,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 yTe(){DHe(),$He(),zHe(),NHe(),OHe(),FHe(),UHe(),qHe(),BHe(),VHe(),_Te()}async function DHe(){let e=()=>ede(A.authenticationMode,A.isAuthenticated);A.subscribe(yo,e),e(),await A.whenAuthenticated(),xe({content:{event:"user-is-signed-in"}})}function $He(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(So.name)||Kt(t.target,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:Tm(t.target),value:t.target.value}})}k.addEventListener("change",e,{passive:!0})}function zHe(){let e="";function t(r){!r.isTrusted||e===r.type||(e=r.type,xe({actionType:Se.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)}F.addEventListener("focus",n,{passive:!0}),F.addEventListener("blur",n,{passive:!0})}function NHe(){function e(){xe({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"page-visibility-changed",value:k.hidden?"hidden":"visible"}})}function t(){k.addEventListener("visibilitychange",e,{passive:!0})}k.readyState==="interactive"||k.readyState==="complete"?t():k.addEventListener("DOMContentLoaded",t)}function OHe(){jue&&Mue.addListener(e=>{e.matches&&xe({actionType:Se.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function FHe(){function e(o){if(!o.isTrusted||!(o.target instanceof HTMLElement))return;let{width:n,height:r}=o.target.getBoundingClientRect(),{scrollLeft:i,scrollTop:s,scrollWidth:a,scrollHeight:l}=o.target;Kt(o.target,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:Tm(o.target),viewPortWidth:Math.floor(n),viewPortHeight:Math.floor(r),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(i),verticalOffset:Math.floor(s)}})}function t(o){if(o.target===k)return;let n=o.target;clearTimeout(n.reportScrollTimeout),n.reportScrollTimeout=setTimeout(()=>e(o),100)}F.addEventListener("scroll",t,{passive:!0,capture:!0})}function UHe(){let e=!1;function t(){xe({actionType:Se.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))}F.addEventListener("keydown",n,{capture:!0,passive:!0}),F.addEventListener("click",o,{capture:!0,passive:!0}),F.addEventListener("beforeunload",t,{passive:!0})}function qHe(){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;HHe(o.id);let r=Array.from(o.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,i=k.activeElement&&k.activeElement instanceof HTMLButtonElement&&k.activeElement.type==="submit"&&!!o.querySelector(`#${k.activeElement.id}`);Kt(o,{actionType:Se.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:r,submitButton:i}})}F.addEventListener("submit",e,{passive:!0,capture:!0})}function HHe(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:Se.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:o}})}function BHe(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&xe({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}F.addEventListener("keydown",e,{passive:!0})}function VHe(){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:{}};gP(o.pageTags),tde(o),hP()}dt.subscribe(_o,e)}C();var xTe="azure-auth-complete";function GHe(){let e=te(location.search);return e[xTe]==="true"?(e[xTe]=null,Ut(e,"replaceState"),!0):!1}GHe()&&_k.tryLoadTokens().then(e=>{e&&JHe()});var QHe=d`

    ${Ve(Wne)}

    ${kge}`;async function MR(e){let t=d`
    ${QHe}
    `;y(t,e);let o=e.firstElementChild.firstElementChild,n=i=>new Promise(s=>{let a=l=>{e.innerHTML="",Po.value=l,s(l)};i===null?(Po.value=null,DR(o)):i.length===0?KHe(o):YHe(o,a,i)});zn.trackEvent({name:"oauth-login-try-load-tokens"});let r=await _k.tryLoadTokens({noInteraction:!1});return n(r)}var _4={light:"light",dark:"dark","high-contrast":"high-contrast"};function TTe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${_4[e]}.svg?branch=live`);let o=document.getElementById("log-in-media");o&&(o.src=`/en-us/media/illustrations/lock-and-key-${_4[e]}.svg?branch=live`);let n=document.getElementById("profile-icon"),r=A.authenticationMode==="AAD"?"org":"personal";n&&(n.src=`/en-us/media/profile/${r}-account${_4[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function DR(e){ZHe(),dt.subscribe(ml,s=>TTe(s.currentTheme));let o=`/en-us/media/illustrations/lock-and-key-${od()}.svg?branch=live`,r=d` `;y(r,e);let i=document.getElementById("try-it-sign-in");i&&i.addEventListener("click",()=>{let s=te();s.tryIt="true",Ut(s,"replaceState"),Wi(null,!1,!0)})}function YHe(e,t,o){dt.subscribe(ml,c=>TTe(c.currentTheme));let n=od(),r=`/en-us/media/illustrations/multiple-accounts-${n}.svg?branch=live`,s=`/en-us/media/profile/${A.authenticationMode==="AAD"?"org":"personal"}-account${n==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=d`
    ${cse}

    ${lse}


    ${A.upn}

    ${u0}


    `;y(l,e)}function KHe(e){let o=d`
    ${mse}

    ${gse.replace("{email}",A.upn)}

    `;y(o,e)}function WHe(e,t,o){if(o.length===1)t(o[0]);else{let n=()=>{},i=d`
    ${dse}

    ${ase.replace("{email}",A.upn)}

      `;y(i,e);let s=e.firstElementChild.firstElementChild.querySelector("#token-list-container").querySelector("ul.azure-auth-tokens");for(let l of o){let c=`
      `;s.insertAdjacentHTML("beforeend",`
    • ${c}
    • `)}s.lastElementChild.querySelector("hr").hidden=!0;let a=s.querySelectorAll('input[name="tenant-name"]');a[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!==$R||t!=="portalConsole"||o!=="getToken"||(this.messageReceived||(zn.trackEvent({name:"cloud-shell-message-received"}),this.messageReceived=!0),clearTimeout(this.messageHandlerTimeout),this.replyToken(n))};this.instrumentMessageHandler=()=>{!this.consoleFrame||!this.consoleFrame.contentWindow||(zn.trackEvent({name:"cloud-shell-not-responsive"}),this.showTroubleshootingMessage())};this.showTroubleshootingMessage=()=>{this.element.innerHTML=`

      ${X7}

      `};F.addEventListener("message",this.messageHandler),this.element=k.createElement("div"),this.element.classList.add("cloud-shell"),this.element.setAttribute(So.name,"azure-cli"),this.messageHandlerTimeout=0,this.interactiveType=t?"powershell":"bash",MR(this.element).then(()=>(this.element.classList.add(`has-text-${this.interactiveType}-invert`,`has-background-${this.interactiveType}`),Promise.resolve())).then(()=>this.whenPageVisible()).then(()=>{let o=eBe(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,XHe)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},$R)}dispose(){F.removeEventListener("message",this.messageHandler)}replyToken(t){let o;switch(t){case"":o=Po.value.access_token;break;case"microsoft.graph":o=Po.value.msgraph_access_token,xe({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":o=Po.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}`},$R)}whenPageVisible(){return k.visibilityState==="visible"?Promise.resolve():new Promise(t=>k.addEventListener("visibilitychange",()=>{k.visibilityState==="visible"&&t()}))}},kTe={name:BJ,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Tg({name:"bash",activateButtonConfig:kTe,create:()=>new zR(!1)});Tg({name:"powershell",activateButtonConfig:kTe,create:()=>new zR(!0)});function eBe(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 pS=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 i={},s=o===void 0?0:setTimeout(l,o,i),a=this.subscribe(l,t);function l(c){clearTimeout(s),a(),c===i?r("timeout"):n(c)}})}unsubscribe(t){let o=this.subscriptions.indexOf(t);o!==-1&&this.subscriptions.splice(o,1)}};kg();var NR=j.supportLevel==="production"&&j.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function tBe(e){let t=oBe(e);if(!t)return[];let o=nBe(t);return rBe(o)}function oBe(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function nBe(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 rBe(e){return Array.from(e.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th,td")).map(n=>n.textContent.trim()))}var iBe={name:Wf,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Tg({name:"msgraph",activateButtonConfig:iBe,create:()=>{let e=new URL(NR),t=location.origin,o=document.getElementById("main"),n=tBe(o),r={type:"init",locale:b.data.userLocale,theme:td,code:"",permissions:n};e.searchParams.set("locale",r.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",r.theme);let i=document.createElement("iframe");i.classList.add("msgraph","is-full-height"),i.title=pJ,i.src=e.toString();let s=new pS(i,NR),a,l=c=>{c.origin!==NR&&c.data.type!=="ready"||(i.contentWindow.postMessage(r,NR),a||(a=dt.subscribe(ml,u=>{s.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:i,setCode:c=>(r.code=c,r.theme=td,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});Ue();async function STe(e,t,o){Kt(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 wTe(e,t){xe({behavior:le.COMPLETEPROCESS,actionType:Se.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function OR(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(i=>{i.value!==""&&r.headers.set(i.name,i.value)}),r}function ETe(e){return fetch(e).then(t=>(wTe(e,t),t))}function CTe(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 ATe(e,t,o=window){let n=o instanceof Window?window.pageYOffset:o.scrollTop,r=e-n,i;function s(a){i||(i=a);let l=a-i,c=Math.min(l/t,1);o instanceof Window?o.scrollTo(0,n+r*c):o.scrollTop=n+r*c,l
      ${o}
      ${a}
      ${n}
      `}function x_(e,t){let o=e.querySelector(t);if(o&&yH(),o?.textContent){let n=o.getAttribute("data-language")||"";JL([{code:o.textContent,language:n,highlightLines:""}]).then(r=>{r[0]&&(o.innerHTML=r[0].html)})}}C();function ITe(e,t,o,n){let r=PTe(o,n),i=d`

      ${lee}

      ${FR({language:"http",code:r,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,s=document.createElement("div");y(i,s),e.appendChild(s),x_(s,'pre[name="http-request"]');let a=s.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new ts(c));let u=PTe(c,n);a.textContent=u,x_(s,'pre[name="http-request"]')};t.subscribe(wi,l)}function PTe(e,t){let o=OR(e,t),n=`${o.method} ${o.url} `;return o.headers.forEach((r,i)=>{n+=`${i[0].toUpperCase()}${i.substring(1)}: ${r} `}),n}var sBe="https://management.azure.com/subscriptions?api-version=2016-06-01",aBe=e=>{e.publish(new gS);let t=new Request(sBe,{mode:"cors"});if(Po.value===null)throw e.publish(new Vg([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Po.value.access_token}`),fetch(t).then(o=>o.ok?o.json().then(({value:n})=>(e.publish(new Vg(n)),!0)):(o.text().then(n=>{throw new Error(`error fetching subscriptions: ${n}`)}),e.publish(new Vg([])),!1),()=>!1)};function y4(e,t,o,n=!0,r={}){let i=document.createElement("div");i.classList.add("columns","field");let s=document.createElement("div");s.classList.add("column","is-5","param-name","field-label","margin-bottom-none","align-self-center");let a=document.createElement("div");a.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,a.appendChild(l),s.appendChild(a),i.appendChild(s);let c=document.createElement("div");c.classList.add("column","is-5","param-value","field-body","margin-top-none","align-self-center");let u=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 v=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=P=>{let E=P.restTryItRequest,B=o.type==="boolean"||o.type==="azure-subscriptions"||o.type==="enum"?v.value:m.value;n?E.headers.push({name:o.name,value:B,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1}):E.params.push({name:o.name,value:B,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 P=document.createElement("option");P.value="",P.selected=!0,P.disabled=!0,P.hidden=!0,P.text="Select",v.appendChild(P)}g.forEach(P=>{let E=document.createElement("option");E.value=P,E.text=P,v.appendChild(E)}),o.isRequired&&v.setAttribute("required","true"),v.setAttribute("aria-label","select parameter value option for "+o.name),v.onchange=()=>{t.publish(new wi),v.textContent!==v.value&&(h.textContent=v.value)},o.name==="subscriptionId"&&(v.disabled=!0,v.innerHTML=''),f.appendChild(v),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 wi)},p.appendChild(m),u.appendChild(p),c.appendChild(u);break}o.isRequired&&l.insertAdjacentHTML("beforeend",''),i.appendChild(c);let _=document.createElement("div");_.classList.add("column"),_.classList.add("is-2"),_.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",YY),T.setAttribute("type","button"),_.appendChild(T),i.appendChild(_),T.onclick=P=>{i.parentElement.removeChild(i),t.unsubscribe(ts,x),t.publish(new wi),P.preventDefault()},e.appendChild(i),t.subscribe(ts,x),n||o.name==="subscriptionId"&&(t.subscribe(gS,()=>{v.innerHTML='',v.disabled=!1}),t.subscribe(Vg,P=>{let E=P.subscriptions;E.length===0?(v.innerHTML='',v.value=null):(v.innerHTML=E.map(({displayName:B,subscriptionId:N})=>``).join(` `),v.value=E[0].subscriptionId,v.hidden=!1,v.disabled=!1),h.textContent=E[0].subscriptionId,t.publish(new wi)})),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 wi)),o.name==="subscriptionId"&&aBe(t),{nameInput:l,valueInput:m,delButton:T,columnContainer:i}}function x4(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 i=document.createElement("div");i.classList.add("field-body");let s=document.createElement("p");s.classList.add("control");let a=document.createElement("input");a.classList.add("input"),a.setAttribute("placeholder","name"),a.setAttribute("aria-label","add new parameter name"),s.appendChild(a),i.appendChild(s),r.appendChild(i);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),r.appendChild(l),n.appendChild(r),a.onblur=()=>{a.value!==""&&l.textContent!==""&&r.removeChild(l)};let c=document.createElement("div");c.classList.add("column","is-5","param-value");let u=document.createElement("div");u.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),u.appendChild(p),c.appendChild(u),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",S9),g.appendChild(f),n.appendChild(g),e.appendChild(n);let v=h=>{let x=a.value,_=m.value;if(x===""){l.textContent=xK,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 __({name:x,value:_,type:"string",in:T,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{v(h)},{nameInput:a,valueInput:m,addButton:f,columnContainer:n}}function T4(e,t,o,n=!0,r={}){let i=document.createElement("div"),s=document.createElement("div");s.classList.add("columns");let a=document.createElement("div");a.classList.add("column","is-5","param-heading");let l=document.createElement("h3");n?l.textContent=CE:l.textContent=sX,a.appendChild(l),s.appendChild(a),i.appendChild(s);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of o)y4(c,t,p,n,r);x4(c,t,n),i.appendChild(c),e.appendChild(i);let u=p=>{(p.param.in==="header"&&n||p.param.in!=="header"&&!n)&&(y4(c,t,p.param,n),x4(c,t,n),t.publish(new wi))};return t.subscribe(__,u),c}var k4="";function jTe(e,t,o,n){let{url:r,urlParams:i}=lBe(o.url);k4=r;let s=document.createElement("div");s.classList.add("request-section"),cBe(s,t,r,o.httpVerb),T4(s,t,o.params,!1,i),T4(s,t,o.headers,!0),o.body!==null&&dBe(s,t,o.body),ITe(s,t,o,n);let a=document.createElement("div");a.classList.add("request-section"),s.appendChild(a);let l=pBe(a,t);return e.appendChild(s),l}function lBe(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 cBe(e,t,o,n){let r=document.createElement("div");r.classList.add("field");let i=document.createElement("h3");i.classList.add("field-label","margin-bottom-none"),i.textContent=k$,r.appendChild(i);let s=document.createElement("div");s.classList.add("field-body","url-group","margin-top-none");let a=document.createElement("div");a.classList.add("http-verb");let l=document.createElement("span");l.textContent=n,a.appendChild(l);let c=document.createElement("input");c.setAttribute("name","url"),c.readOnly=!0,c.classList.add("url-input","input"),c.setAttribute("aria-label",k$),c.setAttribute("value",o),s.appendChild(a),s.appendChild(c),r.appendChild(s),e.appendChild(r),t.subscribe(ts,p=>{let m=p.restTryItRequest;m.url=o,m.httpVerb=l.textContent});let u=()=>{let p={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new ts(p)),o=k4;let m=k4;p.params.forEach(g=>{o=LTe(o,g),m=LTe(m,g)}),c.value=m};return t.subscribe(wi,u),{inputUrl:c}}function LTe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",uBe(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 uBe(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function dBe(e,t,o){let n=document.createElement("div"),r=document.createElement("h3");r.textContent=kf,n.appendChild(r);let i=document.createElement("textarea");return i.setAttribute("name",kf),i.textContent=o,i.classList.add("textarea","request-body","tall","small"),i.setAttribute("aria-label",kf),n.appendChild(i),e.appendChild(n),t.subscribe(ts,s=>{let a=s.restTryItRequest;a.body=i.value}),{bodyText:i}}function pBe(e,t){let o=d` `;y(o,e);let n=e.querySelector('button[type="submit"]');return t.subscribe(Bg,()=>{n.classList.remove("is-loading")}),n}C();var RTe;function DTe(e,t){RTe=e,t.subscribe(y_,o=>{mBe(RTe,o.response)})}function mBe(e,t){let o=e.querySelector(".response-section");o&&o.remove();let n=d` ${gBe(t.statusCode)} ${MTe(CE,t.header,"http","response-header")} ${t.body!==null?MTe(kf,t.body,"json","response-body"):""} `,r=document.createElement("div");r.classList.add("response-section"),y(n,r),e.appendChild(r),x_(r,".response-header"),t.body!==null&&x_(r,".response-body")}function gBe(e){return d`

      ${uee}: ${e}

      `}function MTe(e,t,o,n){return d`

      ${e}

      ${FR({language:o,code:t,cssClasses:n})}
      `}var $Te={prompt:Gr,type:"oauth2",login:async e=>{await MR(e)},transform:e=>(Po.value!==null&&e.headers.set("Authorization",`Bearer ${Po.value.access_token}`),e)},fBe={prompt:R9,type:"APIKey",login:async()=>{},transform:e=>e};function zTe(e){return{oauth2:$Te,apiKey:fBe}[e]||$Te}var OTe=null,UR,pp;function FTe(){return pp=k.createElement("div"),pp.style.height="100%",pp.setAttribute("aria-live","polite"),pp.setAttribute("aria-atomic","true"),pp.tabIndex=-1,OTe=vBe(b.data.restAPIData),UR=zTe("oauth2"),hBe(pp),pp}async function hBe(e){e.contains(k.activeElement)&&e.focus(),await UR.login(e),bBe(e)}function bBe(e){let t=k.createElement("form");t.classList.add("rest-tryit-form");let o=k.createElement("div");o.classList.add("signin-section"),yBe(o),t.appendChild(o),e.insertAdjacentElement("afterbegin",t);let n=new He;xBe(t,n,OTe),DTe(t,n),setTimeout(()=>{pp.setAttribute("aria-live","off")},0)}function vBe(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 NTe={light:"light",dark:"dark","high-contrast":"high-contrast"};function _Be(e){let t=A.authenticationMode==="AAD"?"org":"personal",o=k.getElementById("profile-icon");o&&(o.src=`/en-us/media/profile/${t}-account${NTe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let n=k.getElementById("exit-icon");n&&(n.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${NTe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function yBe(e){dt.subscribe(ml,s=>_Be(s.currentTheme));let t=od(),n=`/en-us/media/profile/${A.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`,i=d`

      REST API ${Wf}

      ${bse}


      ${A.upn}

      ${u0}

      ${Po.value.display_name}

      `;y(i,e)}function xBe(e,t,o){let n=jTe(e,t,o,UR);dR(e),e.onsubmit=i=>{TBe(n,t,UR),i.preventDefault()};let r=i=>{let s=i.restTryItRequest,a=i.security,l=OR(s,a);ETe(l).then(c=>{CTe(c).then(u=>{t.publish(new y_(u)),t.publish(new Bg)}).then(()=>{let u=k.querySelector(".rest-tryit-form"),{scrollTop:p}=u,{height:m}=k.querySelector(".request-section").getBoundingClientRect();p>=m||ATe(m,500,u)})}).catch(c=>{let u=e.querySelector('.request-section button[type="submit"]'),p=k.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=vse,u&&u.parentElement.append(p),t.publish(new Bg),c})};t.subscribe(mS,r)}function TBe(e,t,o){e.classList.add("is-loading");let n={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new ts(n)),STe(e,o.type,kBe(n)),t.publish(new mS(n,o))}function kBe(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}kg();Tg({name:"http",activateButtonConfig:{name:Wf,iconClass:"docon docon-play",attributes:[]},create:()=>({element:FTe(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function SBe(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),F.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function wBe(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return k.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),Vs(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function S4(){(L("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&ke.then(SBe).then(wBe)}function UTe(){let e=j.reviewFeatures===!0&&(j.accessLevel==="local"||j.supportLevel==="development"&&j.accessLevel==="online"||zt),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}UTe();C();var KVt=new He,qTe,HTe=!1,BTe,VTe,GTe,HR=0,qR=0,fS=0,w4=.125,E4=!1,EBe=d` 1% `;async function QTe(){if(!S.gamification||S.chromeless)return;await kR;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(y(EBe,t),ke.then(()=>{A.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(),BTe=document.querySelector("#level-status-text"),VTe=document.querySelector("#level-status-progress"),GTe=document.querySelector("#level-status-points");let n=t.querySelector("a");n!==null&&n.setAttribute("href",ao(A.userName)),o?.updateProgress("Fetching game status"),t_.getStatus(A.userId).then(r=>{o?.updateProgress("Fetched game status"),KTe(r),HTe=!0,e.classList.remove("is-hidden"),o?.succeed()}).catch(r=>{o?.fail(r)})})}))}function CBe(e,t,o,n){e.currentLevel>qTe&&(E4=!0),qTe=e.currentLevel,ABe(t,e.currentLevel),PBe(o,e,HTe),LBe(n,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function ABe(e,t){e&&(e.textContent=`${UZ.replace("{number}",t.toString())}`)}function PBe(e,t,o){if(e){if(qR=jBe(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${qR}%`,!o){F.cancelAnimationFrame(HR),e.value=fS=qR;return}IBe(e)}}function IBe(e){HR||(HR=YTe(e))}function YTe(e){return E4||e.value=100&&(E4=!1),fS=fS+w4,e.value=Math.floor(fS+w4)%100,F.requestAnimationFrame(()=>{HR=YTe(e)})):0}function LBe(e,t,o){if(!e)return;let n=d` ${o} /${sz.replace("{totalXP}",t.toString())}`;y(n,e)}function jBe(e,t,o){let n=e-t,r=o/n;return Math.floor(r*100)}function KTe(e){S.chromeless||CBe(e,BTe,VTe,GTe)}Ue();async function WTe(){if(!b.data.isPermissioned)return;let e=RBe();e&&Yt(e)}function RBe(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?oK:null}function MBe(e,t){return d` `}async function Gg(e,t){let o=document.createElement("div");o.classList.add("modal-content");let n=new ve(o);return y(MBe(e,t),o),n.show()}function ZTe(e,t,o){b.data.isPermissioned&&e.addEventListener("click",function(n){n.preventDefault(),Gg(t,o)})}function JTe(){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 Gl,C4={},A4={},P4={},I4={},L4={},vS={};async function DBe(){let e=j.supportLevel==="production"&&!zt?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await R(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function bS(e,t,o){let n={};return e.forEach(r=>{let i=r[t],s=r[o];n[i]=s}),n}function $Be(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 XTe(){if(!(Gl&&Gl.length>0)&&(Gl=await DBe(),!!Gl))return C4=bS(Gl,"ISOAlpha2Code","displayName"),A4=bS(Gl,"ISOAlpha2Code","phoneCountryCode"),P4=bS(Gl,"ISOAlpha3Code","displayName"),I4=bS(Gl,"ISOAlpha3Code","ISOAlpha2Code"),L4=bS(Gl,"ISOAlpha2Code","ISOAlpha3Code"),vS=$Be(Gl),Promise.resolve()}C();var j4,eke=()=>(j4===void 0&&(j4=hg()),j4);C();function R4(e){return e.slice(-2).toUpperCase()}function NBe(e,t){let o=R4(e);return t.length===2?o===t:t.length===3?o===I4[t]:!1}function T_(e,t,o){let n=[],r=b.data.userLocale;for(let i in e){let s=NBe(r,i),a=i,l=e[i];t==="phone"&&o&&(a=e[i],l=`${o[i]} (+${e[i]})`),n.push(d``)}return n.length===0&&n.push(d``),n}C();function tke(){window.addEventListener("form-validating",e=>{let t=_S(e.detail.form),o=VR(t);e.detail.errors?.length>=0&&($4(e.detail.form,e.detail.errors),OBe(e.detail.form,e.detail.errors),FBe(e.detail.form,e.detail.errors),YBe(e.detail.form,e.detail.errors),QBe(e.detail.form,e.detail.errors),WBe(e.detail.form,e.detail.errors),ZBe(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&BR(t),o&&M4(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yS(t)}),window.addEventListener("submission-error",e=>{let t=_S(e.detail.form);BBe(e.detail.request,e.detail.response,e.detail.form),VBe(e.detail.request,e.detail.response,e.detail.form),BR(t),KBe(e.detail.request,e.detail.response,e.detail.form)})}function OBe(e,t){let o=e.querySelector("[data-tag-input]");if(o&&t.filter(n=>n.input===o).length===0){let n=UBe(o),r=ar(o).querySelector("[data-tag-input-holder]");n&&(du(e,t,o,n,r),Fr(r,n));let i=qBe(o);i&&i.length>0&&i.forEach(s=>{du(e,t,o,s,r),Fr(r,s)})}}function FBe(e,t){let o=e.querySelector("#attachment-count");if(o&&t.filter(n=>n.input===o).length===0){let n=HBe(o),r=ar(o);if(n){let i=r.querySelector('[data-id="docs-markdown-editor"]'),s=r.querySelector("#markdown-editor");du(e,t,o,n,i??void 0,s?.id??void 0),nke(o,n)}}}function BR(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 M4(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function UBe(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=n1(e);return`${Fse.replace("{min}",t).replace("{max}",o).replace("{tagLabel}",r.toLocaleLowerCase())}`}return null}function qBe(e){let t=e.value.split(","),o=[];for(let n of t){let r=document.getElementById(n);if(!r)continue;let i=r.innerText;r.getAttribute("active")!=="false"||o.push(`${Use.replace("{tagLabel}",i)}`)}return o.length>0?o:null}function HBe(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),o=Number(e.value);if(t&&o&&o>Number(t))return EX.replace("{maximumCount}",t)}return null}async function BBe(e,t,o){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){D4(o);let n=[],r=o.querySelector("#attachment-count"),i=o.querySelector('textarea[name="body"]');Fr(i,o$),du(o,n,r,o$,ar(r).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function VBe(e,t,o){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){D4(o);let n=[],r=o.querySelector('textarea[name="body"]'),i=CX.replace("{maximumCount}","10");Fr(r,i),du(o,n,r,i,o.querySelector("#markdown-editor")??void 0)}}catch{}}function _S(e){return e.querySelector("[data-form-error-alert]")??null}function VR(e){return e.querySelector("ul")??null}function D4(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function du(e,t,o,n,r,i,s){if(t.find(m=>m.message===n))return;let a=oke(e),c=o.hasAttribute("data-tag-input")?o.parentElement?.querySelector("input.autocomplete-input")?.id:o.id;ar(o).classList.add("errored");let p=document.createElement("a");p.href=`${s?"":"#"}${i||c}`,p.textContent=n,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),a.append(p),r?.classList.add("border","border-color-danger"),t.push({input:o,message:n})}function oke(e){let t=_S(e),o=VR(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 nke(e,t){let n=ar(e).querySelector("[data-field-error-custom]")||GBe(e);n.textContent=t}function GBe(e){let t=document.createElement("p");return t.id=Ze(),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 yS(e){if(e instanceof HTMLInputElement){let t=ar(e),o=e.hasAttribute("data-tag-input"),n=t.querySelector("docs-markdown-editor"),r=e.getAttribute("type")==="email";if(o){let i=t.querySelector("[data-tag-input-holder]");i&&i.classList.remove("border","border-color-danger")}if(n){let i=t.querySelector('[data-id="docs-markdown-editor"]');i&&i.classList.remove("border","border-color-danger")}r&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),nke(n??e,""),t.classList.remove("errored")}}function QBe(e,t){let o=e.querySelector("#question-body"),n=document.querySelector("docs-markdown-editor")?.parentElement,r=t.filter(i=>i.input===o);if(r&&r.length>0&&n){let i=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(i){i.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",n.focus()},0)});let s=e.querySelector('[data-id="docs-markdown-editor"]');s&&s.classList.add("border","border-color-danger")}}}function YBe(e,t){let o=e.querySelector('textarea[name="body"]');if(!o)return;let n=o.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!n)return;let r=!1,i=[],s=[".microsoft.com/",".githubusercontent.com/",".github.com/","azure.net/",".azureedge.net/",".windows.net/",".office.net/",".visualstudio.com/",".linkedin.com/",".imgur.com/",".giphy.com/"],a=new RegExp("https?://.*.(?:png|jpg|jpeg|gif|svg|webp)","gi");if(n.forEach(l=>{let c=l.match(a);c&&!s.some(u=>c[0].includes(u))&&(r=!0,i.push(c[0]))}),r){let l=ar(o);du(e,t,o,nie.replace("{urls}",i.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 KBe(e,t,o){if(o&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){D4(o);let n=e.url.includes("/suspend")?AX:PX,r=oke(o);r.innerText=n}}catch{}}async function WBe(e,t){if(!e?.getAttribute("data-suspended"))return;let n=e.querySelector('textarea[name="body"]');du(e,t,n,IX,void 0,"https://aka.ms/msftqacodeconduct",!0)}function $4(e,t){let o=e.querySelector("input[type=email]");o&&o.validity.typeMismatch&&(Fr(o,n$),du(e,t,o,n$,o))}function ZBe(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)&&(Fr(o,r$),du(e,t,o,r$,o))}C();function JBe(e){let t=e.metadata.map(o=>d``);return d`${t}`}function rke(e){let t=d`
      ${JBe(e)}
      `,o=document.createElement("div");y(t,o),document.body.appendChild(o),document.getElementById("pearson-vue-hidden-redirect-form").submit()}C();function qa(e){return document.getElementById(e).value}function k_(e,t,o,n,r="text",i=50,s=0){return d`
      `}function z4(e,t,o){return d`
      `}function N4(e){return d`
      ${e}
      `}var XBe=()=>{let o=new URL(window.location.href).searchParams.get("examUrl")||"";o?location.href=Jr(o).toString():window.history.back()};function ike(){let e=R4(b.data.userLocale),t=L4[e],o=vS[t];return d`

      ${IV}

      ${LV}

      ${ia}

      ${k_("address1",zV,f1,!0,"text",40)}
      ${k_("address2",NV,f1,!1,"text",40)}
      ${k_("city",OV,HV,!0,"text",32)}
      ${z4("state",FV,T_(o,"country"))}
      ${z4("countryRegion",hy,T_(P4,"country"))}
      ${k_("postalCode",UV,BV,!0,"text")}

      ${$(jV)}

      ${z4("phoneCountryCode",qV,T_(A4,"phone",C4))}
      ${k_("phoneNumber",lX,VV,!0,"tel")}
      ${k_("contactEmail",N1,GV,!0,"email",255,6)}

      ${RV}

      ${MV}

      ${DV}


      ${$($V)}

      `}function e3e(e){return d`
      ${e}
      `}function O4(e,t){t&&y(e3e(e),t)}var ske=!0;function ake(e){window.addEventListener("form-validating",n=>{d3e(n.detail.errors),ske=n.detail.errors.length===0}),e.addEventListener("beforesubmit",async n=>{if(!ske){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 o3e(n)}catch{let s=n.detail.form.querySelector("#ms--error-container");O4(Br,s)}finally{r?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",n=>{let r=n.detail.target;yS(r)});let t=document.getElementById("countryRegion"),o=document.getElementById("state");t.addEventListener("change",()=>{let n=qa("countryRegion"),r=vS[n];y(T_(r,"country"),o)})}function t3e(e){let t=/^exam\.(.+)$|^(.+)$/,o=e.match(t);return o?o[1]||o[2]:""}async function o3e(e){let o=new URL(window.location.href).searchParams,n=o.get("examUrl")||"",r=o.get("examUid")||"",i=o.get("locale")||L("locale")||"en-us",s=o.get("action")||"",a={address1:qa("address1"),address2:qa("address2"),city:qa("city"),state:qa("state"),countryRegion:qa("countryRegion"),postalCode:qa("postalCode"),phoneCountryCode:qa("phoneCountryCode"),phoneNumber:qa("phoneNumber"),contactEmail:qa("contactEmail")},l=s?{addressInfo:a,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:a,returnUrl:n,locale:i,examUid:t3e(r)},c=An(),u=z.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=Br;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=oZ),O4(g,m);else{let v=await f.json();rke(v)}}catch{O4(g,m)}}var n3e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),r3e=new RegExp("^[0-9]{5}([0-9]{4})?$"),i3e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),s3e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),a3e=new RegExp("^(?!0*$)[0-9]*$"),l3e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),c3e=new RegExp("^[^.].*[^.]$|^$");function u3e(e,t){return e?t.test(e):!0}function xS(e,t,o,n,r){if(!u3e(e,o)){let s=`${n.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Fr(t,s),p3e(r,t,s)}let i=`${un} ${n}`;Ct(i,"assertive")}function d3e(e){let t=document.getElementById("address1"),o=document.getElementById("address2"),n=document.getElementById("city"),r=document.getElementById("postalCode"),i=document.getElementById("phoneNumber"),s=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,o,n].forEach(p=>xS(p.value,p,n3e,tZ,e)),xS(i.value,i,a.value==="1"?l3e:a3e,iZ,e),xS(r.value,r,l.value==="USA"?r3e:l.value==="CAN"?i3e:/.*/,l.value==="USA"?nZ:l.value==="CAN"?rZ:"",e),xS(s.value,s,s3e,ZW,e),[t,o,n,r,i,s].forEach(p=>xS(p.value,p,c3e,EE,e))}function p3e(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function m3e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function g3e(e,t){let o=t.get("examUid"),n=t.get("examUrl");return!!(o&&n&&m3e(e))}function f3e(e,t){return!!t.get("action")}function lke(e=new URL(location.href)){let t=new URLSearchParams(e.search);return g3e(e,t)||f3e(e,t)}function cke(e,t){let o=new URL(ao("me","settings")),n=L("locale")||"en-us",r=te(o.search),i=new URLSearchParams({examUrl:e,examUid:t,locale:n,context:"exam",...r});return o.search=i.toString(),o.toString()}async function h3e(){if(await eke(),!A.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",o=e.get("examUrl")||"";return location.href=cke(o,t),!0}return!1}async function b3e(){return be.then(async()=>A.isAuthenticated?await h3e()?Promise.reject():N4(ike()):(No(location.href),Promise.reject()))}async function uke(){if(!L("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await XTe();let o=window.location.origin;if(!lke()){location.href=`${o}/credentials`;return}let n=En(await b3e(),N4(d`${Bt}`));y(n,t);let r=document.getElementById("pearson-vue-registration");r&&ake(r)}var GR="image-browser-close-event";function dke(e,t){let n={horizontal:0,vertical:0};t.addEventListener("keypress",r=>{r.which===Ae.enter&&(r.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",r=>{let i=r.which||r.keyCode;switch(i){case Ae.left:r.preventDefault(),n.horizontal=1;break;case Ae.right:r.preventDefault(),n.horizontal=-1;break;case Ae.up:r.preventDefault(),n.vertical=1;break;case Ae.down:r.preventDefault(),n.vertical=-1;break}[Ae.left,Ae.right,Ae.up,Ae.down].indexOf(i)>-1&&e.panViewport(5*n.horizontal,5*n.vertical)}),t.addEventListener("keyup",r=>{switch(r.which||r.keyCode){case Ae.left:r.preventDefault(),n.horizontal=0;break;case Ae.right:r.preventDefault(),n.horizontal=0;break;case Ae.up:r.preventDefault(),n.vertical=0;break;case Ae.down:r.preventDefault(),n.vertical=0;break}})}var Ha={dragging:!1,prevX:0,prevY:0},QR=null;function pke(e,t){QR=QR||(o=>{if(e.state.expanded)if(o.buttons%2){o.preventDefault(),Ha.dragging=!0;let n=o.movementX||!isNaN(Ha.prevX)?o.screenX-Ha.prevX:0,r=o.movementY||!isNaN(Ha.prevY)?o.screenY-Ha.prevY:0;e.panViewport(n,r)}else Ha.dragging&&setTimeout(()=>{Ha.dragging=!1},0);else Ha.dragging=!1;Ha.prevX=o.screenX,Ha.prevY=o.screenY}),k.removeEventListener("mousemove",QR),k.addEventListener("mousemove",QR),t.addEventListener("dragstart",o=>{o.preventDefault()}),t.addEventListener("click",o=>{Ha.dragging||(o.preventDefault(),e.toggleExpand(o.offsetX,o.offsetY))})}var mke=`
      `;function gke(e,t){let o={touches:[]};t.addEventListener("touchstart",n=>{e.state.expanded&&(n.preventDefault(),Array.from(n.changedTouches).forEach(({identifier:r,screenX:i,screenY:s})=>{o.touches.push(Object.assign({},{identifier:r,screenX:i,screenY:s}))}))}),t.addEventListener("touchmove",n=>{if(e.state.expanded){n.preventDefault();let r=o.touches.map(l=>l.identifier),i=Array.from(n.changedTouches).filter(l=>l.identifier===o.touches[0].identifier);if(!i[0])return;let s=i[0].screenX-o.touches[0].screenX,a=i[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(s,a)}}),t.addEventListener("touchend",n=>{let r=o.touches.map(i=>i.identifier);Array.from(n.changedTouches).forEach(({identifier:i})=>{o.touches.splice(r.indexOf(i),1)})})}function fke(e,t,o){let n=Math.max(e,t);return Math.min(o,n)}var YR=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:o,alt:n}){return new Promise(i=>{t.innerHTML=mke,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&&(dke(this,this.imageElement.parentElement),pke(this,this.imageElement.parentElement),gke(this,this.imageElement.parentElement)),F.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),i(null))}),this.imageElement.src=o,this.imageElement.alt=n)})}close(){F.dispatchEvent(new CustomEvent(GR,{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:i,naturalHeight:s}=this.imageElement,a=Math.round(n*i),l=Math.round(r*s);this.state.expanded=!0,this.imageElement.classList.add("image-browser-pannable"),this.imageElement.classList.remove("image-browser-expandable");let c=a-this.imageContainer.clientWidth/2,u=l-this.imageContainer.clientHeight/2,p=fke(0,c,i-this.imageContainer.clientWidth),m=fke(0,u,s-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 hke(){F.addEventListener(GR,e=>{let t=e.detail;xe({behavior:le.REDUCE,actionType:Se.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function F4(e){hke();let t="lightbox-enabled",o=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),n=new YR;o.forEach(r=>{r.classList.add(t),r.setAttribute("data-bi-name","lightbox"),r.setAttribute("aria-haspopup","dialog"),$t(r,"click",i=>{i.preventDefault();let s=document.createElement("div");s.classList.add("modal-content"),n.open(s,{url:r.href,alt:r.querySelector("img")?.alt??""}),new ve(s).show().then(()=>n.close()),s.insertAdjacentHTML("afterend",``)})})}C();var _3e=()=>`/${b.data.userLocale}${j.reviewFeatures?"/test/challenges":"/challenges"}`;function rn(e,t,o,n){let r=new URL(location.href),i=new URLSearchParams(r.search),s=r;if(s.pathname=`${_3e()}/${e}${t?`/${t}`:""}`,o){let a=new URLSearchParams(o);for(let[l,c]of a)s.searchParams.set(l,c)}return n&&(s.hash=n),i.has("preview")&&s.searchParams.set("preview",i.get("preview")??""),s.href}function bke(){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 U4(e=!0){let{startDate:t,endDate:o}=bke()||{};if(!(t&&o))return;let n=new Date(t.value);o.min=n.toISOString().split("T")[0],t.value&&o.value&&o.valued` `)}var vke=b.data.userLocale,x3e=pt(),Qg={async getChallenges(e,t,o=0,n=6){let r=`${z.lists}/challenge/${e}/${t}?${ne({page:o+1,pageSize:n,locale:vke})}`,s=W(r,{method:"GET"}),a=await R(s);return ge(a),a.ok?await a.json():null},async getChallenge(e){let t=`${z.lists}/challenge/${e}`,n=W(t,{method:"GET"}),r=await R(n);return ge(r),r.ok?await r.json():null},async getChallengeStatistics(e){let t=`${z.lists}/challenge/${e}/statistics`,n=W(t,{method:"GET"}),r=await R(n);return ge(r),r.ok?await r.json():null},async getChallengeLeaderboard(e,t=0,o=5){let n=`${z.lists}/challenge/${e}/leaderboard?${ne({page:t+1,pageSize:o})}`,i=W(n,{method:"GET"}),s=await R(i);return ge(s),s.ok?await s.json():null},getChallengeCsv(e){return`${z.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${z.lists}/challenge`,n={method:"POST",body:JSON.stringify(e)},r=await R(W(t,n));if(ge(r),r.ok){let i=await r.json();return yr(i.contentList),{hasError:!1,data:i}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallenge(e,t){let o=`${z.lists}/challenge/${e}`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(W(o,r));if(ge(i),i.ok){let s=await i.json();return yr(s.contentList),{hasError:!1,data:s}}return i.status===400?{hasError:!0,error:await i.json()}:null},async updateChallengeList(e,t){let o=`${z.lists}/challenge/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(W(o,r));if(ge(i),i.ok){let s=await i.json();return yr(s.contentList),{hasError:!1,data:s}}return i.status===400?{hasError:!0,error:await i.json()}:null},async deleteChallenge(e){let t=`${z.lists}/challenge/${e}`,o=await R(W(t,{method:"DELETE"}));if(ge(o),!o.ok)throw new Error(`${o.status}: ${o.statusText}`)},async joinOrLeaveChallenge(e,t){let o=`${z.lists}/challenge/${e}/${t}`,n=W(o,{method:"POST"},!0,!1),r=await R(n);return ge(r),r.ok?{}:null},async getFacetProducts(){let e={branch:x3e,locale:vke,facet:"products"},t=`${z.browse.learn}?${ne(e,!0)}`,n=await R(W(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}};C();C();C();C();var rr=lr(e=>t=>{t.setValue(e)});function H4({origin:e,protocol:t,hostname:o,port:n}){return e||(t&&o?`${t}//${o}${n&&n!=="443"&&n!=="80"?":"+n:""}`:location.origin)}C();var eJt=6*60*60*1e3,k3e,tJt=new Promise(e=>k3e=e);function _ke(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),n=!!o&&H4(o)===Z.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(eu)||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 yke(){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 V4=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:o,anchor:n}=_ke(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(Z.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(Z.href)){this.delegate=t,this.currentUrl=o,F.addEventListener("click",this.handleClick,!0),F.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,F.removeEventListener("click",this.handleClick,!0),F.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!==Z.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){(j.supportLevel==="production"&&j.reviewFeatures||j.supportLevel==="development"&&j.accessLevel==="online")&&B4(["branch","themebranch","api-branch"],t,o),B4(["preview"],t,o),B4(["variant"],t,o)}navigateInternal(t,o){let n=async()=>{IL.splice(0,IL.length).forEach(a=>a()),dt.publish(new C0(t));let i=yke(),s=await this.delegate.handle(t);k.title=s.title,o?(Yn.pushState(void 0,s.title,s.url.href),this.referrerStack.push(s.url)):Yn.replaceState(void 0,s.title,s.url.href),F.scrollTo(0,0),TS(t.hash),dt.publish(new _o(s.title,s.url,this.currentUrl)),i.remove(),this.currentUrl=t},r=this.finished.then(n);return this.finished=r.catch(()=>{}),r}},Ei=new V4;function B4(e,t,o){for(let n of e){let r=t.searchParams.get(n);r&&o.searchParams.set(n,r)}}function TS(e){if(e.length<2)return;let t=k.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Ys(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Io(e,t){let o=e.querySelector(`[data-label="${t}"]`);o!==null&&(o.hidden=!1)}function Fo(e,t,o,n=F.location,r=b.data.userLocale,i){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 s=new URL(n.origin+n.pathname+n.search).searchParams;s.delete("id");let a=s.toString();a=a.length?"?"+a:"";let l;return t&&t!=="activity"?l=new URL(`/${r}/users/${e}/${t}${o?`/${o}`:""}${i?`/${i}`:""}${a}`,n.origin):l=new URL(`/${r}/users/${e}/${a}`,n.origin),l}function pu(e){if(!e)throw new Error("The Collection ID does not exist and no linking URL will be created.");let t=new URL(Z.origin+Z.pathname+Z.search).searchParams,o=`/${b.data.userLocale}/${j.reviewFeatures?"test/":""}collections/${e}`;return new URL(o+"?"+t.toString(),Z.origin)}function G4(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(Z.origin+Z.pathname+Z.search).searchParams,o=`/${b.data.userLocale}/${j.reviewFeatures?"test/":""}plans/${e}`;return new URL(o+"?"+t.toString(),Z.origin)}function Q4(){return d`

      ${Ru}

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

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

      `}function kke(e){return WR(e?y1:TJ,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Il?"/test":""}/training/browse/`}})}C();async function ZR(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"),Ys(e);try{let i=await cye({type:"collection",name:o,description:n,items:t,isPrivate:r});return Ske(i,e)}catch(i){let s=i;return Ske({hasError:!0,error:{errorCode:await Qp(s)||"UnexpectedError",message:s.message||""}},e)}}function Ske(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"?Io(t,"somethingWentWrong"):w3e(n,t),{hasError:!0}}return{hasError:!1,data:e.data}}function w3e(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(Tu),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 kS(e,t,o,n,r,i=dc,s=!0,a=!1,l="",c=""){return d`

      ${e}

      ${kY}

      ${Vr}
      `}var JR=[],Yg={};function wke(e,t,o,n="collection",r=()=>{}){return Yg={},d` `}async function E3e(e,t,o){let n=document.createElement("div");n.classList.add("modal-content");let r=DQ.replace("{userDisplayName}",A.displayName).replace("{index}",(o+1).toString()),s=d` `;return y(s,n),n.querySelector("button[type=submit]").onclick=async()=>{await C3e(e,t)},n}async function Y4(e,t,o){let n=[],r="",i=[];if(o==="plan"){try{i=await lye()}catch{i=[]}n=i?.map(m=>m.contentList)??[],r=zne}else if(o==="challenge")n=(await Qg.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],r=zG;else{let m=await aye(g=>g.type==="collection"||g.type==="bookmarks");m===null?r=Ru:(n=m??[],r=Ose)}let s=n.length===0,a=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),s){let m=d`

      ${r}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(o==="plan"||o==="challenge")&&l.setAttribute("disabled","disabled")),y(m,a),[]}let c;try{let m=await lt.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let u=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)):[];JR=u;let p=d` ${n.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(y(p,a),n.length===1&&n[0].id==="bookmarks"&&JR.length===0){let m=await n_(t);await lt.addItem("bookmarks",m)}return JR}async function C3e(e,t,o="collection"){event.preventDefault();let n=event.target;n.classList.add("is-loading");let r=n_(t),i=document.getElementById("save-to-collection");await ZR(i).then(async s=>{s.hasError?n.classList.remove("is-loading"):(s=s,Yg[s.data.id]=r,Eke(e),JR=await Y4(document.querySelector(".modal-card"),t,o))})}async function A3e(e,t,o){let n=event.target;if(n.checked){let r=n_(e);o[n.id]=r}else{let r=t.find(i=>i.listId===n.id);r?o[n.id]=r.id:o[n.id]&&delete o[n.id]}}function P3e(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 I3e(e,t,o){e.pushContent(await E3e(e,t,o))}function Eke(e){e.popContent()}C();C();var L3e=new Intl.NumberFormat(b.data.userLocale);function Mr(e){return L3e.format(e)}var SS=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),wS=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),j3e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var Kg="Applied Skills";function Yo(e){return e.replace("{AppliedSkills}",Kg)}var Cke={module:Sr,"learning path":p$,certification:sc,examination:KK},XR={"applied skills":Kg,certification:sc,examination:Hr,course:Ip};var K4=!1,Ake={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"}},R3e={bookmarks:{pressed:TV,unpressed:kV},collection:{pressed:xY,unpressed:TY},challenge:{pressed:UG,unpressed:qG},plan:{pressed:vee,unpressed:_ee},studyguide:{pressed:Hre,unpressed:Bre}};function eM(e,t){return`docon-${t?Ake[e].pressed:Ake[e].unpressed}`}function M3e(e,t,o){return R3e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,o)}function D3e(e,t,o){let n=e?.querySelector("summary"),r=n?.querySelector(".add-to-collection-status");n?.querySelector(".docon")?.classList.remove(eM(o,!t)),n?.querySelector(".docon")?.classList.add(eM(o,t)),r&&(r.textContent=t?ww:rc)}function $3e(e,t,o,n){e.setAttribute("data-pressed",n.toString()),e.setAttribute("title",M3e(t,n,o));let r=e.querySelector(".docon");if(!r)throw new Error("Expected list button to contain a docon");if(r.classList.remove(eM(t,!n)),r.classList.add(eM(t,n)),e.closest(".popover")!==null){if(t==="collection"){let i=e.querySelector(".popover .collection-status");i&&(i.textContent=n?j1:R1)}else if(t==="plan"){let i=e.querySelector(".plan-status");i&&(i.textContent=n?C$:E$)}else if(t==="challenge"){let i=e.querySelector(".challenge-status");i&&(i.textContent=n?Bw:_1)}}else{let i=e.querySelector(".collection-status:not(.popover *)");if(i){i.textContent=n?ww:rc;return}let s=e.querySelector(".popover .add-to-collection-status");s&&(s.textContent=n?ww:rc)}}async function Dr(e){if(!e)return;if(!S.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(i=>i.hidden=!0);return}let o=On(Z.pathname).indexOf("/training")!==-1||Z.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(r=>{z3e(r,o)}),CS(e),e.querySelectorAll("button[data-list-type]").forEach(r=>{r.addEventListener("click",F3e)})}function z3e(e,t){let o=Z4(e);if(o===null)return;let n=e.closest("#article-header"),r=t&&(o.resourceType==="learning path"||o.resourceType==="module"),i=k.createElement("details");i.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&i.classList.remove("popover-right");let s=r?d` `:"",a=d`
      ${s}
      `;y(a,i),e.replaceWith(i)}var mp=[];async function CS(e,t=A.isAuthenticated){let o=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>Z4(a)).filter(a=>a!==null);if(o.length===0)return;let n=o.map(a=>a.url).filter((a,l,c)=>a&&c.indexOf(a)===l);if(t&&!mp?.length)try{let a=await lt.getAllListsByUrl(n);a.hasError===!1&&(mp=a.data)}catch{mp=void 0}let r=N3e(mp),i=a=>{a==="collection"?mp=Array.from(r.collectionAssociations):a==="plan"?mp=Array.from(r.planAssociations):a==="challenge"&&(mp=Array.from(r.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of o){i(l);let p=O3e(c,mp);$3e(a,l,u,p)}Array.from(e.querySelectorAll(".add-item-popover")).forEach(a=>{let l=a.querySelector(".popover-content .collection-status"),c=a.querySelector(".popover-content .plan-status"),u=a.querySelector(".popover-content .challenge-status"),p=l?.textContent===j1||c?.textContent===C$||u?.textContent===Bw;D3e(a,p,"collection")})}function N3e(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 O3e(e,t){return t.findIndex(o=>o.url===e&&o.lists.length>0)!==-1}async function F3e(e,t=A.isAuthenticated){let o=Z4(e.target);if(o!==null){if(e.preventDefault(),b.data.isPermissioned){Gg(oE,pY);return}if(!t){let n=o.type==="plan"?$ne:o.type==="challenge"?i7:z1;U3e(n);return}q3e(o)}}function Z4(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")||Z.href,r=t.getAttribute("data-list-item-title")||k.title,i=tS(n),s=t.getAttribute("data-pressed")==="true",a=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:o,url:i,title:r,pressed:s,source:a,resourceType:l}}async function U3e(e=z1){let o=cp(e,null,Gr);(await nn(o)).submitted&&No()}async function q3e({button:e,url:t,title:o,type:n}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),H3e(t,o,n).catch().finally(()=>{e.classList.remove("is-loading")}))}function ES(e="added",t=[],o="collection"){let n=k.querySelectorAll("#collections input:checked"),r=f=>e==="removed"&&t.length===1?t[0]:Ve(n.item(0).getAttribute(f)),i;o==="plan"?n.length===1&&e==="added"?i=G4(r("data-plan-id")).href:e==="removed"&&t.length!==0?i=G4(t[0]).href:i=Fo(A.userName,"plans").href:o==="challenge"?n.length===1?i=rn(r("data-challenge-id"),"details"):e==="removed"&&t.length!==0?i=rn(t[0],"details"):i=rn("home"):n.length===1?i=pu(r("id")).href:i=Fo(A.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":n.length===1?Ve(n.item(0).getAttribute("id")??""):"").href;let s=mY,a=gY,l=uY,c=dY;o==="plan"?(s=See,a=wee,l=Cee,c=Aee):o==="challenge"&&(s=n7,a=r7,l=s7,c=a7);let u={"is-hidden":!1},p;if(e==="added")p=(n.length!==1?a:s.replace("{collectionName}",Ve(n.item(0).getAttribute("name")))).replace("{url}",i);else if(e==="removed"){let f=(k?.querySelector(`#collections input[${o==="plan"?"data-plan-":o==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",Ve(f))).replace("{url}",i)}else p=o==="plan"?coe.replace("{url}",i):o==="challenge"?Bw.replace("{url}",i):LQ.replace("{url}",i);let m=d`
      ${$(p)}
      `,g=k.createElement("div");y(m,g),new a_(g).show(),CS(k.body)}async function H3e(e,t,o){let n=k.querySelector(".modal");if(K4||n&&!n.querySelector(".page-actions-menu"))return!1;K4=!0;let r=k.createElement("div");r.classList.add("modal-content");let i=new ve(r),s=[];return y(wke(i,t,e,o,()=>{B3e(s.map(a=>o==="plan"?a.skillingPlanId:o==="challenge"?a.learnChallengeId:a.listId),o)}),r),s=await Y4(r,e,o),K4=!1,i.show()}function B3e(e,t){CS(k.body);let o=Array.from(k.querySelectorAll("#collections input:checked")).map(i=>t==="plan"?i.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?i.attributes.getNamedItem("data-challenge-id")?.value:i.id),n=o.filter(i=>!e.includes(i)),r=e.filter(i=>!o.includes(i));n.length>0&&r.length===0?ES("added",void 0,t):n.length===0&&r.length>0?ES("removed",r,t):n.length>0&&r.length>0&&ES("updated",void 0,t),Dr(k.body)}C();function Ike(e){$a().then(t=>{let o=[],n=0;for(let i of t.products){let s=[];for(let{moniker:l,versionDisplayName:c}of i.packages)Us(l)&&za[l]&&s.push(`${Cn(Ve(c))}`);if(s.length===0)continue;let a=n===0?"propertyInfoTitle":"propertyInfoTitle stack";o.push(d`

      ${Ve(i.displayName)}

      ${$(s.join(" "))}
      `),n++}let r=document.createElement("div");y(o,r),e.insertAdjacentElement("afterend",r)})}function Lke(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||$a().then(o=>{if(e){let n=e.parentElement?.parentElement?.getAttribute("data-moniker");(!n||n.trim()==="")&&(n=ys("monikers").join(" "));let r="",i=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");i&&i.length>0&&i.forEach(s=>{let a=s.getAttribute("data-moniker");a!==null&&a!==""&&(r+=a)}),Pke(e,o,n,r)}if(t.length!==0)for(let n of t){let r=n.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),i=n.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),s="";i.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(s+=l)}),Pke(n,o,r,s)}})}function Pke(e,t,o,n){if(!e)return;let r=e.parentElement.querySelector("summary"),i=e.querySelector("thead"),s=[],a="",l="",c=0,u=!1;for(let f of t.products){let v=[],h=[],x="";for(let{moniker:_,versionDisplayName:T}of f.packages){let P=Cn(Ve(T));n&&n.split(" ").indexOf(_)>0&&(h.push(P),u=!0),o&&o.split(" ").indexOf(_)>=0&&(c++,c===1?a=Ve(f.displayName)+" "+P:c===2&&(l=Ve(f.displayName)+" "+P),h.includes(P)||v.push(P))}v.length===0&&h.length===0||(v.length>0&&(v.reverse(),x=v.join(", ")+" "),h.length>0&&(h.reverse(),x=x+"("+h.join(", ")+")"),s.push(d` ${Ve(f.displayName)} ${$(x)} `))}if(s.length===0)return;r&&(c===1?r.textContent=a:c===2?r.textContent=cV.replace("{version1}",a).replace("{version2}",l):c>=3&&(r.textContent=lV.replace("{version}",a)));let p=Ese;u&&(p=p+" "+aV+"");let m=d` ${zf} ${$(p)} `;y(m,i);let g=document.createElement("tbody");y(s,g),i.insertAdjacentElement("afterend",g)}function jke(){let e=rt();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&$a().then(o=>{for(let n of o.products)for(let{moniker:r,isPrerelease:i}of n.packages)if(e===r&&Us(r)&&za[r]&&i){t.classList.remove("is-hidden");return}})}function tM(){let e=rt();if(!Us(e))return!1;V3e(e);let t=G3e(k.body);return Q3e(t,e),Jd(),At(),!0}var Rke=k.createElement("style");k.head.appendChild(Rke);function V3e(e){Rke.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=k.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let n=0;nK3e(e)),F.addEventListener(Qq,W3e)}var $r={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:Pw,allApisLabel:Cw,resultsHeadingTemplate:Iw,selectLabel:s0},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:Pw,allApisLabel:Cw,resultsHeadingTemplate:Iw,selectLabel:s0},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:MC,allApisLabel:Aw,resultsHeadingTemplate:f$,selectLabel:i0},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:MC,allApisLabel:Aw,resultsHeadingTemplate:fJ,selectLabel:i0},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:MC,allApisLabel:Aw,resultsHeadingTemplate:f$,selectLabel:i0},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:Pw,allApisLabel:Cw,resultsHeadingTemplate:Iw,selectLabel:s0}};var Rt=L("platform")||L("apiPlatform")||null,J4;function Ql(){return J4===void 0&&(J4=afe(Rt).then(Z3e)),J4}function Z3e(e){let{platformId:t,families:o}=e,n=[],r={},i=[];for(let s of o)for(let a of s.products){i.push(a);for(let l of a.packages){let{moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,v={platform:e,family:s,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};n.push(v),r[v.moniker]=v}}return{platformId:t,families:o,products:i,packages:n,packagesByMoniker:r}}var AS=$r[Rt],PS=!1;function Oke(e){let{element:t,button:o,buttonDisplayedValue:n,productList:r}=J3e();function i(c){c.target instanceof Element&&!t.contains(c.target)&&s()}function s(){k.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),o.setAttribute("aria-expanded","false"),F.removeEventListener("focus",i,{capture:!0}),F.removeEventListener("click",i),eb.removeListener(s)}function a(){s(),o.focus()}function l(){k.body.removeAttribute("style"),k.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),o.setAttribute("aria-expanded","true"),F.addEventListener("focus",i,{capture:!0}),F.addEventListener("click",i),eb.addListener(s)}return X3e(e,o,n,r),o4e(o,r,l,a),n4e(r,a),r4e(r,a),t}function J3e(){let e=k.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(So.name,"moniker-picker"),e.setAttribute("role","application ");let t=Ze(),o=Ze();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function X3e(e,t,o,n){return Rt==="rest"&&(PS=!0),e?Ql().then(r=>{r.packagesByMoniker[rt()]===void 0&&Yd("");let i=()=>{let s=rt();s===""?o.textContent=AS.allApisLabel:o.innerHTML=Cn(Ve(r.packagesByMoniker[s].displayName))};F.addEventListener(jr,i),i(),e4e(n);for(let s of r.families)$ke(s.products,n)}):$a().then(r=>{PS=r.products.length===1,PS&&r.products[0].packages.length===1&&(t.disabled=!0);let i=()=>{let s=rt();o.innerHTML=Cn(Ve(yv(r,s).displayName))};F.addEventListener(jr,i),i(),$ke(r.products,n)})}function e4e(e){let t=AS.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function $ke(e,t){if(PS){zke(e[0].packages,t);return}for(let{displayName:o,packages:n}of e){let r=Ze(),i=Ze();t.insertAdjacentHTML("beforeend",`
    • `);let s=t.lastElementChild.lastElementChild,a=s.lastElementChild;zke(n,a),s.insertAdjacentHTML("beforeend",'');let l=s.lastElementChild;n.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${Ve(dZ)}`);let c=L("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Ve(Tf)}`)}}function zke(e,t){for(let{moniker:o,isDefault:n,versionDisplayName:r}of e)t.insertAdjacentHTML("beforeend",`
    • ${Ve(r)}
    • `)}function t4e(e){Array.from(e.querySelectorAll("button.versions")).forEach(o=>{o.setAttribute("aria-expanded","false")})}function nM(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=k.getElementById(t.getAttribute("aria-controls"));if(!r)return;let i=r.querySelector('a[role="menuitem"]');i!==null&&i.focus()},300)},100))}function Fke(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function Nke(e){let t=e.nextElementSibling,o=Fke(t,rt()),n=t.querySelector('a[href^="?view="][data-default="true"]'),r=t.querySelector('a[href^="?view="]');return o||n||r}function Uke(e){return e.search==="?view="||PS?null:e.parentElement.parentElement.parentElement.previousElementSibling}function o4e(e,t,o,n){let r=()=>{o();let i=rt(),s=Fke(t,i),a=Uke(s);nM(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),s.scrollIntoView(!1),setTimeout(()=>{s.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?r():n()}),e.addEventListener("keydown",i=>{let s=e.getAttribute("aria-expanded")==="true";s&&i.keyCode===Ae.up?(i.preventDefault(),n()):!s&&i.keyCode===Ae.down&&(i.preventDefault(),r())})}function n4e(e,t){e.addEventListener("keydown",o=>{let n=o.target;if(n.getAttribute("role")!=="menuitem")return;let r=o.keyCode,i;switch(r){case Ae.left:n instanceof HTMLAnchorElement&&n.search!=="?view="&&(o.preventDefault(),Uke(n).focus(),t4e(e));break;case Ae.right:n instanceof HTMLButtonElement&&n.hasAttribute("aria-controls")&&(o.preventDefault(),Nke(n).focus(),eb.matches||nM(e,n instanceof HTMLButtonElement?n:null,!0));break;case Ae.up:case Ae.down:o.preventDefault();let s=r===Ae.up?"previousElementSibling":"nextElementSibling",a=r===Ae.up?"lastElementChild":"firstElementChild";n.parentElement[s]===null?i=n.parentElement.parentElement[a].firstElementChild:i=n.parentElement[s].firstElementChild,i.focus(),!eb.matches&&n instanceof HTMLButtonElement&&n.getAttribute("aria-expanded")==="true"&&(o.preventDefault(),Nke(n).focus());break;case Ae.home:case Ae.end:o.preventDefault();let l=r===Ae.home?"firstElementChild":"lastElementChild";i=n.parentElement.parentElement[l].firstElementChild,i.focus(),i.parentElement.parentElement===e&&nM(e,i instanceof HTMLButtonElement?i:null,!0);break;case Ae.escape:o.preventDefault(),t();break}})}function r4e(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;Yd(r),t();return}n instanceof HTMLButtonElement&&(!eb.matches&&n.getAttribute("aria-expanded")==="true"?n.setAttribute("aria-expanded","false"):nM(e,n,!0),n.focus())}})}C();C();var os=b.data.pageTemplate,mu=L("page_type"),i4e=L("page_kind"),X4=L("pagetype"),s4e=L("interactive_type"),Wg=za.any||os==="Conceptual"&&X4==="Reference"&&Rt!==null||os==="Conceptual"&&mu==="powershell"&&Rt!==null||os==="Conceptual"&&X4==="Conceptual"&&Rt==="powershell"||os==="Conceptual"&&mu==="conceptual"&&Rt==="powershell"||(os==="Conceptual"&&mu==="conceptual"||os==="Reference"&&mu==="python")&&Rt==="python"||(os==="Conceptual"&&mu==="conceptual"||os==="Reference"&&mu==="cli")&&s4e==="azurecli"||os==="Reference"&&mu==="powershell"&&Rt!==null||os==="Reference"&&mu==="azure-cli"&&i4e==="group",qke=os==="Reference"&&Rt!==null||os==="Conceptual"&&X4==="Reference"&&Rt!==null||os==="Conceptual"&&mu==="powershell"&&Rt!==null;function Hke(){Wg&&oM(!0)}function a4e(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(d`

      ${e||If}

      `,t),t}var Yl;function e6(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=a4e(t),i=["margin-xs"];Wg&&rt()&&(i=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(r,i,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new ve(r);Yl=c,c.show().then(()=>{Yl=void 0,window.removeEventListener("resize",p)});let u=window.innerWidth;function p(){window.innerWidth!==u&&(window.removeEventListener("resize",p),c.hide())}window.addEventListener("resize",p,{passive:!0})})}function Vke(){let e=j.supportLevel==="production"&&j.reviewFeatures||j.supportLevel==="development"&&j.accessLevel==="online"||j.accessLevel==="local",t=new URLSearchParams(location.search).get("experimental_moniker_picker")==="true",o=L("experimental_moniker_picker")==="true";return e&&(o||t)}function rM(e){let t=document.createElement("div");return t.classList.add("moniker-picker2"),t.setAttribute("data-bi-name","moniker-picker"),y(IS(e),t),e?Ql().then(o=>{y(IS(e,null,o),t),addEventListener(jr,()=>y(IS(e,null,o),t))}):$a().then(o=>{y(IS(e,o),t),addEventListener(jr,()=>y(IS(e,o),t))}),t}function IS(e,t,o){let n=Ze(),r=`${n}-picker-label`,i=L("archive_url"),s=t&&t.products.length===1,a=c=>{if(Yl){c.preventDefault(),c.stopPropagation();let u=document.createElement("div");u.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(l4e(t),u),Yl.pushContent(u)}},l=c=>{let u,p=rt();return c&&p===""?u=$r[Rt].allApisLabel:c?u=o.packagesByMoniker[p].displayName:u=t?yv(t,p).displayName:"",u};return d` ${Zf} `}function Bke(e){let t=Ze(),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 d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function Gke(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function l4e(e){let t=e&&e.products.length===1;return d` ${t?d`${Qke(e.products[0])}`:d` ${Yke(Nf)} ${Kke(If)}
        ${e&&e.products?e.products.map(o=>c4e(o)):""}
      `} `}function c4e(e){let t=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light";return d`
    • ${e.packages.length!==1?d` `:d` ${e.packages[0].displayName} `}
    • `}function Qke(e){let t=Ze(),o=L("archive_url");return d` ${Yke(e.displayName)} ${Kke(Nf)}
      `}function Yke(e){return d`

      ${e}

      `}function Kke(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function u4e(e){if(Yl){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(Qke(e),t),Yl.pushContent(t)}}function iM(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let o=te(t.search).view;Yd(o),Yl?Yl.hide():(GB(t),GB(t));return}}function sM(e){let t=rt();return e===t?"true":void 0}var Wke="api-search-quick-filter";function Zke(){return Ql().then(e=>{let t=e.packagesByMoniker,o=!1,n=i=>(L(i)||"").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 Jke(e){let t=k.createElement("div");t.classList.add(Wke),t.setAttribute(So.name,Wke);let o=k.createElement("h2");o.textContent=HX,o.classList.add("api-search-heading","font-size-h3"),t.appendChild(o);for(let n of e.columns){let r=k.createElement("div");t.appendChild(r);for(let{moniker:i,displayName:s}of n){let a=k.createElement("button");a.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),a.innerHTML=Cn(s),a.addEventListener("click",()=>{Kt(a,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:i,platform:Rt}}),Yd(i)}),r.appendChild(a)}}return t}function Xke(e,t,o="en-us"){if(e==="rest")return d4e(t);let n=$r[e].namespacesPath;return R(`${z.apiBrowser}/${encodeURIComponent(e)}/${n}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${o}`).then(r=>r.json())}function d4e(e){return Vq().then(t=>p4e(t,e))}function p4e(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:Vne}))}}function aM(e,t,o,n="en-us"){if(e==="rest")return m4e(n,"",t,o+"*",0,25);let r=`${z.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(o)}&locale=${n}`;return t!==""&&(r+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),R(r).then(i=>i.json())}function m4e(e,t,o,n,r,i){let s=`${z.siteSearch}?locale=${e}&search=${n}&$skip=${r}&$top=${i}`,l=(o!==""?["REST"].concat([o]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return s+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(s+=`&dataSource=${encodeURIComponent(t)}`),R(s).then(c=>c.json()).then(t6)}function t6(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}))}}C();var lM=$r[Rt],LS=[];function tSe(e,t){LS.push({container:e,renderHeading:t})}function cM(e,t,o){k.documentElement.classList.add("api-search-has-results");for(let{container:n,renderHeading:r}of LS){if(n.innerHTML="",t.length===0){let u=Rt==="rest"?kJ:jo;n.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}r&&g4e(n,e);let i=k.createElement("table");i.classList.add("table","api-search-results"),i.setAttribute(So.name,"api-search-results");let s=k.createElement("thead");i.appendChild(s);let a=k.createElement("tr");s.appendChild(a);let l=k.createElement("th");l.textContent=vJ,a.appendChild(l),l=k.createElement("th"),l.textContent=Ef,a.appendChild(l);let c=k.createElement("tbody");if(i.appendChild(c),eSe(c,t),n.appendChild(i),o&&r){let u=k.createElement("button");u.classList.add("more-button","button"),u.textContent=GZ,u.setAttribute(So.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{R(o).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=t6(p)),o=p["@nextLink"],o===void 0&&n.removeChild(u),eSe(c,p.results)})}),n.appendChild(u)}}}function eSe(e,t){let o=k.createElement("div"),n=i=>(y(d`${i}`,o),o.textContent!=="null"?o.textContent:""),r=rt();for(let i of t){let s=i.itemKind||i.itemType||lM.namespaceItemType,a=k.createElement("tr");e.appendChild(a);let l=k.createElement("td"),c=k.createElement("a");c.href=n6(i.url,r);let u=d`${$(Cn(i.displayName.replace(//g,">")))}`;y(u,c);let p=k.createElement("span");p.textContent=" "+s,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=k.createElement("td"),l.textContent=n(i.description),a.appendChild(l),a.appendChild(l)}}function o6(){k.documentElement.classList.add("api-search-has-results");for(let{container:e}of LS){let t=d`
      `;y(t,e)}}function uM(e){k.documentElement.classList.add("api-search-has-results");for(let{container:t}of LS)t.textContent=e}function oSe(){k.documentElement.classList.remove("api-search-has-results");for(let{container:e}of LS)e.innerHTML=""}function g4e(e,t){let o=rt(),n,r;if(o==="")n=$r[Rt].displayName,r=null;else{let a=t.packagesByMoniker[o];n=a.product.displayName,r=a.versionDisplayName}let i=k.createElement("h2");i.classList.add("api-search-results-heading","font-size-h3");let s=d`${lM.resultsHeadingTemplate.replace("{platformName}",n)}`;if(y(s,i),r!==null&&Rt==="rest"){let a=d`${$(`${Ve(o)} REST ${lM.resultsHeadingTemplate.replace("{platformName}",n)}`)}`;y(a,i)}else if(r!==null){let a=d`${$(`${lM.resultsHeadingTemplate.replace("{platformName}",n)} version ${Ve(r)}`)}`;y(a,i)}e.appendChild(i)}function n6(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[n,r]=e.split("#");r=r===void 0?"":"#"+r,e=Rt==="rest"?`${n}${r}`:`${n}?view=${encodeURIComponent(t)}${r}`}let o=new URL(e,location.origin);return e=`${o.pathname}${o.search}${o.hash}`,Rt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var Zg="api-search-term-changed",w_="";function Jg(){return w_}function r6(e){e=e.trim(),e!==w_&&(w_=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Ut({term:w_},"pushState"),window.dispatchEvent(new CustomEvent(Zg,{detail:{term:w_}})))}function nSe(){let e=te().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(w_=nSe(),window.addEventListener("popstate",()=>r6(nSe())));function rSe(){F.addEventListener(Zg,i6),F.addEventListener(jr,i6),b.data.pageTemplate==="ApiBrowserPage"&&i6()}var dM="";function i6(){let e=Jg(),t=rt(),o=`${e}/${t}`;return o===dM?Promise.resolve():(dM=o,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(o6(),Promise.all([Xke(Rt,t,b.data.userLocale),Ql()]).then(([n,r])=>{if(o===dM){if(n.apiItems.length===0){uM(jo);return}cM(r,n.apiItems,null)}},()=>{uM(p1)})):e.length<3?(oSe(),Promise.resolve()):$r[Rt].validSearchTerm.test(e)?(o6(),Promise.all([aM(Rt,t,e,b.data.userLocale),Ql()]).then(([n,r])=>{o===dM&&(s6(t,e,n.results.length),cM(r,n.results,n["@nextLink"]))},()=>{uM(p1)})):Ql().then(n=>cM(n,[],null)))}function s6(e,t,o){xe({actionType:Se.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:Rt,moniker:e,term:t,results:o}})}var iSe="api-search-field";function sSe(){let e=k.createElement("form");e.classList.add(iSe,"margin-top-xxs"),e.setAttribute(So.name,iSe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=k.createElement("label"),o=k.createElement("span");o.classList.add("visually-hidden"),o.textContent=oo,t.appendChild(o),e.appendChild(t);let n=k.createElement("input");n.type="search",n.classList.add("input","input-lg","padding-right-sm"),n.value=Jg(),n.placeholder=oo,t.appendChild(n);let r=k.createElement("a");r.href="http://approjects.co.za/?big=#",r.title=W7,r.classList.add("clear"),r.addEventListener("click",l=>{l.preventDefault(),n.value="",n.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(r);let i=()=>{n.value===""?n.classList.add("empty"):n.classList.remove("empty")};i();let s=0,a=()=>{i(),clearTimeout(s),s=setTimeout(()=>r6(n.value),500)};return n.addEventListener("change",a),n.addEventListener("input",a),F.addEventListener(Zg,()=>{let l=Jg();n.value.trim()!==l&&(n.value=l,i())}),e}function aSe(){if(!S.apiBrowser)return;oM(),rSe();let e=k.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;Vke()?e.appendChild(rM(t)):e.appendChild(Oke(t)),e.appendChild(sSe()),Zke().then(i=>{if(!i.any)return;let s=Jke(i);e.appendChild(s)});let o=k.querySelector("#api-browser-results-container");if(!o)return;tSe(o,!0);let r=()=>{let i=rt()===""&&Jg()===""?"remove":"add";k.documentElement.classList[i]("has-moniker-or-term")};r(),window.addEventListener(jr,r),window.addEventListener(Zg,r)}var lSe="renewalassessment-session-disclaimer",cSe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var f4e=z.assessments,rno=`${f4e}/sessions`;C();function pM(e,t=Pf,o=zp,n=tse){return cp(yu,e?t.replace("{itemTitle}",e):n,o)}function mM(e=Ro,t){return cp(eY,"",e,!0,t)}function gM(e=nY){return d` `}function pSe(e=iE,t=Pp){return cp(RQ,e,t)}function mSe(e=dE,t=cE){return cp(nQ,e,t)}var bM=(i=>(i.facebook="facebook",i.twitter="twitter",i.linkedin="linkedin",i.email="email",i.weibo="weibo",i))(bM||{}),k4e={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 RS(e,t,o){let n=encodeURIComponent(t),r=new URL(e);r.hostname="learn.microsoft.com";let i=r.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",s=A.sharingId?`&sharingId=${A.sharingId}`:"",a=!!o?.achievementCopyTitle?.overrideTitle;return Object.values(bM).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(i+u+s),m=o?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(Gne.replace("{achievementTitle}",o?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:n,body:a?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(l0).replace(encodeURIComponent("{articleTitle}"),n)},v=Object.entries(f).reduce((h,[x,_])=>h.replace(new RegExp(`{${x}}`,"g"),_),k4e[u]);return c[u]=v,c},{})}function vM(e,t,o){Object.values(bM).forEach(n=>{let r=RS(t,o);e.querySelectorAll(`.share-${n}`).forEach(i=>{r[n]==="#"&&ZTe(i,Yne,Kne),i.href=r[n]})})}function hSe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}C();function Xg(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,i=1,s={first:0,last:o.length-1};o.length>=7&&(r=!0,n<3?(i=3,s.first=0,s.last=3):n>o.length-4?(i=3,s.first=o.length-4,s.last=s.first+i):(i=1,s={first:Math.max(e.pageIndex-i,0),last:Math.min(e.pageIndex+i,o.length-2)}));let a=d` `,l=d` `,c=d` `,u=d` `,p=[];for(let m=s.first;m<=s.last;m++)p.push(d`
    • `);return d` `}C();C();function yM(e,t=ySe,o=E4e){if(!e)return;let n=C4e(e),r=t();n.length||(n=Array.from(document.querySelectorAll("body"))),n.forEach(i=>{let s=A4e(i),a=P4e(i),l=s.map(c=>c.id);s.forEach(c=>{typeof r=="string"?l.indexOf(r)!==-1&&_M(r,c,a):l.indexOf(r[i.id])!==-1?_M(r[i.id],c,a):l.indexOf(r.tab)!==-1?_M(r.tab,c,a):_M(s[0].id,c,a),c.onclick=()=>{w4e(c.id,i),o(c.id,i.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===Ae.left||p===Ae.right||p===Ae.home||p===Ae.end)){u.preventDefault();let m=p===Ae.left||p===Ae.home,g;if(u.ctrlKey||p===Ae.home||p===Ae.end){let f=m?1:-1;for(g=m?0:s.length-1;s[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=s.findIndex(v=>v.id===c.id);do g+=f,g===-1?g=s.length-1:g===s.length&&(g=0);while(s[g].parentElement.getAttribute("hidden"))}s[g].focus();return}}})})}function w4e(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(i=>{i!==o&&(i.parentElement.classList.remove("is-active"),i.setAttribute("aria-selected","false"),i.setAttribute("tabindex","-1"))}),o.parentElement.classList.add("is-active"),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),xSe(o.getAttribute("aria-controls"),r)}function E4e(e,t){t||(t="tab");let o=`{"${t}": "${e}"}`;Ut(JSON.parse(o),"replaceState")}function ySe(){let e=te();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function _M(e,t,o){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),xSe(t.getAttribute("aria-controls"),o)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function xSe(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 C4e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function A4e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function P4e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}C();var Wl=class Wl{static async render(t,o){return await Wl.ensureFrappeChartsIsLoaded(),Wl.frappeLibrary?new Wl.frappeLibrary.Chart(t,o):null}static async ensureFrappeChartsIsLoaded(){let t=`${Wl.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return Wl.frappeLibrary||(Wl.frappeLibrary=await Vs(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),Wl.frappeLibrary}};Wl.thirdPartyUrl="/static/third-party";var xM=Wl;C();Ue();C();Ue();C();var O4e=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",F4e=e=>e.isAnswered?FX:e.isRequired?UX:qX,U4e=(e,t)=>d` ${F4e(e)} ${$(t.render(e.title||e.id))}`,TM=class{constructor(){this.md=rp}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(U4e(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){}};Ue();function wSe(e,t,o){return q4e(e,t,o,!0)}function c6(e){let t=e.querySelector(".tree-item.is-selected");t||(t=A_(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.is-leaf")),t&&C_(t)}function ESe(e,t){e.addEventListener("focus",B4e,!0),e.addEventListener("click",o=>V4e(o,t),!0),e.addEventListener("keydown",o=>G4e(o,t),!0)}function q4e(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"),CSe(r,e,t),c6(r),ESe(r,t),r}function CSe(e,t,o,n=1,r){let i=A_(e),s=1;for(let a of t){if(o.isHidden&&o.isHidden(a))continue;let l=document.createElement("li"),c=document.createElement("a");e.appendChild(l),o.isNewSection(a)&&l.classList.add("border-top"),o.setHtmlAttributes(a,(m,g)=>l.setAttribute(m,g));let u=o.htmlTitle(a);if(o.hasChildren(a)){let m=(r?`${r}_`:"title-")+`${s}-${n}`;kSe(l,a),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",n.toString()),l.setAttribute("aria-posinset",s.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),i&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");if(l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),i){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",u),(!i||o.isExpanded(a))&&E_(l,!0,o),s++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",n.toString()),c.setAttribute("aria-posinset",s.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!i&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),kSe(c,a),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(a),c.innerHTML=u,o.isSelected(a)&&(c.classList.add("is-selected"),c.setAttribute("aria-current","page")),c.querySelector(".icon")!=null&&c.classList.add("has-icon"),o.icon&&o.icon(a)&&H4e(c,o.icon(a)),s++}}function kSe(e,t){e.node=t}function ASe(e){return e.node}function H4e(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 A_(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function PSe(e){return e?.getAttribute("aria-expanded")==="true"||!A_(e)}function E_(e,t,o){let n=e.getAttribute("aria-level"),i=(n?parseInt(n,10):1)+1,s=A_(e);if(!s&&!t||(s&&e.setAttribute("aria-expanded",t.toString()),e.classList[t?"add":"remove"]("is-expanded"),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=ASe(e),l=document.createElement("ul");l.classList.add("tree-group"),l.setAttribute("role","group"),e.appendChild(l);let c=e.getAttribute("id"),u=o.children(a);CSe(l,u,o,i,c)}function C_(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(o=>o.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function SSe(e,t){let o=e.closest(".tree"),r=A_(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .is-leaf',i=Array.from(o.querySelectorAll(r));t==="preceding"&&i.reverse();let s=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return i.find(a=>e.compareDocumentPosition(a)&s&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&ISe(a.closest("li")))}function ISe(e){return window.getComputedStyle(e).display!=="none"}function B4e({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&C_(t)}function V4e({target:e},t){let{REDUCE:o,EXPAND:n}=le,{CLICKLEFT:r}=Se,i=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!i)return;let s;if(i instanceof HTMLAnchorElement)s=i;else{s=i.parentElement;let c=PSe(s);E_(s,!c,t),Kt(e,{behavior:c?o:n,actionType:r})}let a=ASe(s),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});i.closest(".tree").dispatchEvent(l)}function G4e(e,t){let{target:o,keyCode:n,shiftKey:r,altKey:i,ctrlKey:s}=e,{REDUCE:a,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=Se;if(i||s||r&&n!==Ae.eight&&!(n>=Ae.a&&n<=Ae.b))return;let m=o instanceof HTMLElement&&o.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&PSe(m),v=A_(m);if(n===Ae.enter||n===Ae.space){if(g||!v)return;E_(m,!f,t),Kt(e.target,{behavior:f?a:l,actionType:n===Ae.enter?c:u}),e.preventDefault();return}if(n===Ae.right){if(g||!v)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),C_(h)}else E_(m,!0,t),Kt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(n===Ae.left){if(!v)return;if(f)E_(m,!1,t),Kt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),C_(h),e.preventDefault())}return}if(n===Ae.down||n===Ae.up){let h=n===Ae.down?"following":"preceding",x=SSe(m,h);x&&(x.focus(),C_(x),e.preventDefault());return}if(n===Ae.home||n===Ae.end){let h=n===Ae.home,x=m.closest(".tree"),_;if(v)_=x[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),ISe(_)||(_=SSe(_,h?"following":"preceding"));else{let T=x.querySelectorAll(".tree-item.is-leaf"),P=h?0:T.length-1;_=T[P]}_.focus(),C_(_),e.preventDefault();return}if(n===Ae.numPadAsterisk||n===Ae.eight&&r){if(!v)return;let h=m.closest("ul");for(let x=0;x
      ${V7}
      `;C();Ue();sh();Ue();C();C();C();sh();C();function u6({changeHandler:e,expandedRows:t,id:o,maxCharacterCount:n,name:r,placeholder:i,readonly:s=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function LSe(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 d6(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"),i=n-t.value.length;r.textContent=`${i}`,t.removeEventListener("focus",d6),t.addEventListener("blur",jSe),t.addEventListener("input",LSe)}function jSe(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",jSe),t.removeEventListener("input",LSe),t.addEventListener("focus",d6)}C();C();C();function s6e(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],i=`${rz}: ${r}`;o.title=o.title||i})}function a6e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(o=>{let n=o.src.split("/").pop(),r=`${rz}: ${n}`;o.title=o.title||r})}function l6e(e){let t=[],o=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(r=>{if(r.offsetParent!==null){let i=r.src,s=document.createElement("a");s.href=i,s.target="_blank",s.text=i,r.parentElement&&(r.parentElement.appendChild(s),r.hidden=!0,t.push(r),o.push(s))}})}),window.addEventListener("afterprint",()=>{t.forEach(n=>n.hidden=!1),o.forEach(n=>n.remove()),t=[],o=[]})}function p6(e){a6e(e),s6e(e),l6e(e)}C();C();async function m6(e,t,o){let n=await Zd(t);if(!(!n||!e)){switch(e){case"details":case"leaderboard":n.add({title:Sf,url:`/${n.basePath}/challenges`});break;case"content":o&&n.add({title:Sf,url:`/${n.basePath}/challenges`},{title:uy,url:`/${n.basePath}/challenges/${o}/leaderboard`});break;default:throw new Error("Unsupported page.")}n.render()}}Ue();sh();var g6="5d6ea118-ff48-4612-a205-7c65e11e49ca",ef="379d1859-15d0-4803-81ed-eb51a2e4945d";var Hn=class{constructor({errorCode:t}){this.errorCode=t}};C();Ue();_z();function f6(e){let o=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return o?parseInt(o[1],10):null}var gp=class extends He{constructor(o=null,n=null,r=!0,i=!1,s="Unknown"){super();this.id=o;this.collectionOwner=n;this.isPublicView=r;this.hasActiveTakedowns=i;this.reportStatus=s;this.isUserAuthenticated=A.isAuthenticated;this.isUserChallengeAdmin=A.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===ef?"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 i=await lt.getList(this.id);i.hasError===!1&&(this.collection=i.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 gc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let i=await gc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(i)}A.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=f6(n.message);r&&(this.responseErrorCode=r)}}}async updateCollection(o,n,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=await lt.updateListMetadata(r??this.id,{name:o,description:n});if(i.hasError===!1){let{data:s}=i;this.collection=s}else throw new Hn({errorCode:i.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 Hn({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 nn(pM(this.collection.name,Pf,zp));if(o){let n=await lt.deleteList(this.id);if(n.hasError===!1)location.href=`${ao(A.userName,"collections")}`;else throw new Hn({errorCode:n.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await nn(mM(),!0);if(o){let n=nn(gM());await lt.submitForLocalize(this.id),await n;let r=document.getElementById("submit-loc"),i=document.createElement("p");i.classList.add("margin-top-sm"),i.setAttribute("id","loc-submitted-text");let s=d`${mE}`;y(s,i),document.getElementById("icon-list").parentElement.appendChild(i),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 nn(mSe(dE,cE));r&&(location.href=pu(n.id).toString())}else throw new Hn({errorCode:o.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await nn(pSe(iE,Pp));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 Hn({errorCode:o.error.errorCode})}finally{this.setReady()}}async commitUrlItem(o,n,r=-1,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=iye(n,o),a=await(i?lt.updateItem(this.id,i,s):lt.addItem(this.id,s));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=r!==-1?r:this.collection.sectionCount-1;if(i){let u=this.collection.sections[c].items.findIndex(p=>p.id===i);this.collection.sections[c].items[u]=l}else this.collection.sections[c].items.push(l),this.collection.sections[c].itemCount=this.collection.sections[c].items.length;return}if(i){let c=this.collection.items.findIndex(u=>u.id===i);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Hn({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(o,n,r=-1,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;let s=r!==-1?{sectionId:this.collection.sections[r].id,items:this.collection.sections[r].items.map(u=>u.id)}:{sectionId:null,items:this.collection.items.map(u=>u.id)},a=r!==-1&&this.collection.sections[r+n]?{sectionId:this.collection.sections[r+n].id,items:this.collection.sections[r+n].items.map(u=>u.id)}:null,l=f6e(o,n,s,a),c=await lt.sortList(i??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 a=this.collection.sections[o],l=this.collection.sections[o-1];this.collection.sections[o]=l,this.collection.sections[o-1]=a}if(n===1&&this.collection.sections!==void 0){if(o===this.collection.sections.length-1)return;let a=this.collection.sections[o],l=this.collection.sections[o+1];this.collection.sections[o]=l,this.collection.sections[o+1]=a}let i=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),s=await lt.sortList(r??this.id,i);if(s.hasError===!1)this.syncProgress(s.data,this.collection),this.collection=s.data;else throw new Error(s.error.message)}finally{this.setReady()}}async moveItemToSection(o,n,r,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===r)return;let s=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(u=>u.id)]})),[a]=s[n].items.splice(o,1);s[r].items.unshift(a);let l=await lt.sortList(i??this.id,s);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:i}=await nn(pM(o.data.title,Pf,zp));if(i){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,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await(this.editingSectionId===ef?lt.createSection(i??this.id,[...o?.trim()].length!==0?o:this.getDefaultSectionName(),n,r):lt.updateSection(i??this.id,this.editingSectionId,o,n,r));if(s.hasError===!1){let{data:a}=s;this.syncProgress(a,this.collection),this.collection=a}else throw new Hn({errorCode:s.error.errorCode})}finally{this.editingSectionId!==ef&&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:i}=r;this.collection=i}}finally{this.setReady()}}getAmountStrings(){let o="",n="";if(this.collection.totalItems===0)return{pathCountFormat:o,moduleCountFormat:n};let{path:r,module:i}=this.getCollectionItemsAmount();return r!==0&&(o=(r===1?WQ:KQ).replace("{numberOf}",r.toString())),i!==0&&(n=(i===1?fE:gE).replace("{numberOf}",i.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||A.tenantId===Zr)&&(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 Je)}getDefaultSectionName(o=L1){let[n,r]=[this.collection.sectionCount,this.collection.sections];if(!n||!Array.isArray(r))return o.replace("{number}",Mr(1));let i=n+1;for(;r.some(s=>s.name===o.replace("{number}",Mr(i)));)i++;return o.replace("{number}",Mr(i))}syncProgress(o,n){let r=Object.fromEntries([...n?.items??[],...(n?.sections??[]).flatMap(i=>i.items??[])].filter(i=>i?.id).map(i=>[i.id,i]));for(let i of[...o?.items??[],...(o?.sections??[]).flatMap(s=>s.items??[])])i?.id&&i.data&&r[i.id]?.data&&(i.data.progress=r[i.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((o,n)=>{let r=(n.items??[]).reduce((i,s)=>((s.data.pageKind==="path"||s.data.pageKind==="module")&&i[s.data.pageKind]++,i),{path:0,module:0});return o.path+=r.path,o.module+=r.module,o},{path:0,module:0})}};function f6e(e,t,o,n){if(!o)throw new Error("Initial section is undefined.");let r={sectionId:o.sectionId,items:Bs(o.items)},i=e+t;if(i>=0&&i
      `}function DSe(){let e=document.createElement("div"),t=h6e();return y(t,e),new ve(e)}function h6e(){return d` `}function h6(e){let t=document.createElement("div");y(e,t),P_=new ve(t)}function MS(e,t,o="",n=wn,r=$e,i=!1,s=!1,a=""){return d` `}var zr=class extends gp{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 nn(mM(void 0,hne),!0);if(o){let n=nn(gM(bne));await lt.submitForLocalize(this.collection?.id),await n;let r=document.getElementById("submit-loc"),i=document.createElement("p");i.classList.add("margin-top-sm"),i.setAttribute("id","loc-submitted-text");let s=d`${o0}`;y(s,i),document.getElementById("icon-list")?.parentElement?.appendChild(i),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(()=>TS(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Je)}async beforeActivate(){try{if(location.hash="",this.plan=await or.getSkillingPlan(this.planId),this.collectionOwner===null){let n=await gc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(n)}A.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await lt.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${z.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 nn(MSe(),!1,async n=>{let r=n.querySelector("#save-plan-btn");r?.classList.add("is-loading"),this.setBusy();try{let i=await or.joinSkillingPlan(this.planId);return i.hasError===!1&&(this.plan=i.data),o?.onSuccess?.(),{hasError:!1,data:null}}catch{return Io(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 Hn({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 i=await or.updateLearnerGroup(this.plan?.id,n,r);if(i.hasError===!1&&this.plan?.learnerGroups){let s=this.plan.learnerGroups.findIndex(l=>l.id===n),{data:a}=i;s!==-1&&(this.plan.learnerGroups[s]=a)}return this.setReady(),i}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(kee)}updateTrackedItemProgress(o,n,r){let i=[...o.items??[],...(o.sections??[]).flatMap(s=>s.items??[])].find(s=>s?.id===n.id&&s.data);i&&(i.data.progress=1,r.itemsCompleted=(r.itemsCompleted??0)+1)}getFirstIncompleteItem(o){o=o.filter(a=>a.items?.length);let n=o[0],r=o[0]?.items?.[0]??null,i=0,s=0;for(let a of o){let l=a.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&a.items?.[l]){n=a,r=a.items[l],s=l,i=o.indexOf(a);break}}return{section:n,item:r,elementToHighlight:zo(r?.data.uid??"")||`${r?.type+"-"||""}item-${i}${s}`}}};var $Se={architecture:Mw,conceptual:mV,tutorial:_se,certification:sc,appliedSkills:Kg,challenge:ea,sample:eQ,course:Ip,examination:Hr,faq:ZK,path:Lf,knownissue:PE,lifecycle:HZ,module:Sr,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:m$,series:LE,episode:wy};function I_(e,t,o){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?$Se[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"?$Se[t]:o&&o.startsWith("/answers/questions")?OX:""}C();var b6e=()=>`/${b.data.userLocale}${j.reviewFeatures?"/test/plans":"/plans"}`;function L_(e,t,o){let n=new URL(location.href),r=new URLSearchParams(n.search),i=n;if(i.pathname=`${b6e()}/${e}`,t){let s=new URLSearchParams(t);for(let[a,l]of s)i.searchParams.set(a,l)}return o&&(i.hash=o),r.has("preview")&&i.searchParams.set("preview",r.get("preview")??""),i.href}function zSe(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 b6(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function NSe(e,t){let o="primary";return e.data.progress===1?o="accent":t&&(o="info"),`${o} border-radius`}function SM(e,t){let o={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(o.completionStatusTag=t==="milestone"?wne:qr,o.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):o.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",o}function OSe(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 jse}}function FSe(e){return A.tenantId===Zr&&e!=="bookmarks"}function v6(e,t=""){let{id:o,contentList:{name:n},learningOutcomes:r}=e,i=n??"",s=L_(o,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(Boe).replace(encodeURIComponent("{planTitle}"),i),l=[Voe,String(Goe).replace("{planTitle}",i),Qoe];return r.length!==0&&l.push(String(Yoe)+` `+r.map(c=>`- ${c}`).join(` `)),l.push(String(Koe)+` `+s),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(s)}}function USe(e,t){return t.some(o=>o.name.toLowerCase()===e.toLowerCase())}function DS(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function _6(e,t,o=!1){return`

      ${e}

      ${o?``:""}
      `}function y6(e,t){let o=decodeURIComponent(e);if(yi(o,t.target)){let r=document.querySelector("#notification-wrapper"),i=_6($oe,"success",!0);r.innerHTML=i}}C();var x6={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 wM(e){return x6.email.test(e)}function EM(e){return x6.phone.test(e)}function CM(e){return x6.externalLink.test(e)}function $S(e,t,o,n){switch(e){case"InvalidTitle":t.setCustomValidity(fQ),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(gQ),t.reportValidity();break;case"UrlFormatIncorrect":o.setCustomValidity(vQ),o.reportValidity();break;case"Malformed":o.setCustomValidity(_Q),o.reportValidity();break;case"Unofficial":if(n)n.textContent=bQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(n)n.textContent=hQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function v6e(e,t){let r=[...e.value.trim()].length;return r===0?($S("TitleMissing",e,t),!1):r<2||r>100?($S("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:($S("UrlFormatIncorrect",e,t),!1)}function IM(e,t=-1,o){let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-url-title"),c=a.elements.namedItem("add-edit-url");if(v6e(l,c))try{let u=l.value.trim(),p=c.value.trim();await e.commitUrlItem(u,p,t,o?.id),e.editingId=null}catch(u){let p=a.querySelector("#generic-error-container");u instanceof Hn?$S(u.errorCode,l,c,p):$S("UnexpectedError",l,c,p)}},r=()=>{e.editingId=null},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLInputElement&&NS(s)};return d`
      s.target.setCustomValidity("")} />
      s.target.setCustomValidity("")} />
      `}function zS(e,t,o,n,r){switch(e){case"InvalidTitle":t.setCustomValidity(cQ),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(aQ),t.reportValidity();break;case"InvalidDescription":o.setCustomValidity(sQ),o.reportValidity();break;case"InvalidDaysToComplete":n?.setCustomValidity(rQ),n?.reportValidity();break;case"Invalid":if(r)r.textContent=uQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(r)r.textContent=dQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function _6e(e,t,o){let i=[...e.value.trim()].length,s=[...t.value.trim()].length;if(i>100)return zS("InvalidTitle",e,t,o),!1;if(s>550)return zS("InvalidDescription",e,t,o),!1;if(o){let a=o.value.trim();if(a!==""){let l=Number(a);if(isNaN(l)||!Number.isInteger(l)||l<1)return zS("InvalidDaysToComplete",e,t,o),!1}}return!0}function T6(e,t){let o=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-section-title"),c=a.elements.namedItem("add-edit-section-description"),u=a.elements.namedItem("add-edit-section-days-to-complete");if(_6e(l,c,u))try{let p=l.value.trim(),m=c.value.trim(),g=(()=>{let f=u?.value.trim();if(f)return parseInt(f)})();await e.commitSection(p,m,g),e.editingSectionId=null}catch(p){let m=a.querySelector("#generic-error-container");p instanceof Hn?zS(p.errorCode,l,c,u,m):zS("UnexpectedError",l,c,u,m)}},n=()=>{e.editingSectionId=null},r=s=>{s.key==="Escape"&&n()},i=s=>{NS(s),s.target.setCustomValidity("")};return d`
      ${(()=>{let s=e instanceof zr?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:I1,editSection:iQ},plan:{newSection:xne,editSection:yne}}[s][a]})()}
      ${e instanceof zr?d`
      `:""}
      `}function NS(e){let o=e.target.closest("form").querySelector("#generic-error-container");o.hidden||(o.textContent="",o.hidden=!0)}function AM(e,t,o){switch(e){case"InvalidTitle":t.setCustomValidity(Tu),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=HQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function y6e(e){if(wM(e.value)||CM(e.value)||EM(e.value))return AM("InvalidContent",e),!1;let n=[...e.value.trim()].length;return n<1||n>100?(AM("InvalidTitle",e),!1):!0}function k6(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-title");if(y6e(l))try{let c=l.value.trim(),u=e.collection.description?.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryTitle=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Hn?AM(c.errorCode,l,u):AM("UnexpectedError",l,u)}},r=()=>{e.isEditingSummaryTitle=!1},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLInputElement&&(NS(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function PM(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=BQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function x6e(e){return wM(e.value)||CM(e.value)||EM(e.value)?(PM("InvalidContent",e),!1):[...e.value.trim()].length>550?(PM("InvalidDescription",e),!1):!0}function S6(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-description");if(x6e(l))try{let c=e.collection.name?.trim()||"",u=l.value.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryDescription=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Hn?PM(c.errorCode,l,u):PM("UnexpectedError",l,u)}},r=()=>{e.isEditingSummaryDescription=!1},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLTextAreaElement&&(NS(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function qSe(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(UQ),t.reportValidity();break;default:break}}function T6e(e){e&&(e.textContent=VQ,e.hidden=!1)}function k6e(e,t){let o=!1,n=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(r=>{r.setCustomValidity("");let i=r.value.trim();i.length>0&&(o=!0,(wM(i)||CM(i)||EM(i))&&(qSe("InvalidContent",r),n=!1))}),!o&&e.length>0&&(qSe("Invalid",e[0]),n=!1),n}function w6(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let o=()=>{e.isEditingSummaryLearningOutcomes=!1},n=async a=>{a.preventDefault();let l=a.target,c=Array.from(l.querySelectorAll('textarea[id^="edit-summary-learning-outcomes"]')),u=l.querySelector("#generic-error-container");if(k6e(c,u))try{let p=e.collection.name?.trim()||"",m=e.collection.description?.trim()||"",g=c.map(v=>v.value.trim()).filter(v=>v.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{T6e(u)}},r=a=>{a.key==="Escape"&&o(),a.target instanceof HTMLTextAreaElement&&(NS(a),a.target.setCustomValidity(""),a.target.reportValidity())},i=e.plan.learningOutcomes,s=[...i,"","",""].slice(0,Math.max(3,i.length));return d`
      ${rne}
      ${s.map((a,l)=>d`
      `)}
      `}C();var HSe=pt(),BSe=b.data.contentLocale||b.data.userLocale;async function tf(e,t){let o=Cz(e),n=[],r={method:"GET"},i=o.map(async s=>{let a={branch:HSe,uids:s.join(";"),locale:BSe},l=`${z.learn.progress.user}?${ne(a)}`,c=W(l,r),u=await R(c);if(u.ok&&u.status!==204){let p=await u.json();n.push(...p)}if(!u.ok)throw new Ht(u)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(i),t?.updateProgress("Got user progress by uids")}catch(s){t?.fail(s)}return n}function VSe(e,t){let o={branch:HSe,locale:BSe},n=`${z.learn.progress.batchUnit}?${ne(o)}`,i={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),R(W(n,i)).then(s=>ge(s)).then(s=>{if(s.ok)return t?.updateProgress("Completed putting batch progress"),s.json();throw new Ht(s)}).catch(s=>(t?.fail(s),Promise.reject()))}C();var of={all:Xs,ai:"AI search",documentation:oa,training:Qr,credential:cn,qna:Py,reference:Qn,show:kr};var GSe={...XR};var ns={all:Xs,last24hours:xse,last7days:yse,last30days:Tse,last365days:kse,custom:VY};var LM={advanced:w9,beginner:xV,intermediate:wZ};function E6(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var C6={ar:RE,"ar-sa":QZ,bg:ME,"bg-bg":YZ,"bs-cyrl":KZ,"bs-latn":DE,ca:$E,cs:zE,da:NE,de:OE,el:FE,"el-gr":WZ,en:UE,"en-my":ZZ,es:qE,"es-mx":JZ,et:HE,eu:BE,fi:VE,fil:GE,fr:QE,ga:YE,gl:KE,he:WE,hi:ZE,hr:JE,hu:XE,"hu-hu":XZ,id:eC,"id-id":eJ,is:tC,it:oC,ja:nC,kk:rC,ko:iC,lb:sC,lt:aC,lv:lC,ms:cC,mt:uC,nb:dC,nl:pC,pl:mC,pt:gC,"pt-br":oJ,"pt-pt":nJ,ro:fC,ru:hC,sk:bC,sl:vC,"sr-cyrl":_C,"sr-latn":yC,sv:xC,th:TC,tr:kC,uk:SC,"uk-ua":rJ,ur:iJ,vi:wC,"vi-vn":sJ,"zh-cn":EC,"zh-hk":CC,"zh-tw":AC};var QSe={event:$Z,series:LE,show:kr};var Nr={category:of,credential_types:GSe,date:ns,levels:LM,locales:C6,resource_type:{...Cke,...XR},show_type:QSe,years:az,author:Rp,tags:X$},j_={azure_categories:AV,category:O1,credential_types:HY,event_groups:AK,languages:vX,date:vy,levels:qZ,locales:jZ,products:Nf,roles:gee,resource_type:cee,subjects:Gre,type:RG,show_type:MZ,years:az,author:Rp,tags:X$},YSe={azure_categories:CV,category:O1,credential_types:qY,event_groups:CK,languages:bX,date:vy,levels:FZ,locales:d$,products:zf,roles:pee,resource_type:Sse,subjects:Vre,type:jG,show_type:RZ,years:Nse,author:Rp,tags:tie};function fo(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}}C();C();C();var C6e=parseInt(L("hoursToComplete"),10),Fho=BL(C6e).toLocaleLowerCase();C();C();var Ie={ar:RE,bg:ME,"bs-latn":DE,ca:$E,cs:zE,da:NE,de:OE,el:FE,en:UE,es:qE,et:HE,eu:BE,fi:VE,fil:GE,fr:QE,ga:YE,gl:KE,he:WE,hi:ZE,hr:JE,hu:XE,id:eC,is:tC,it:oC,ja:nC,ka:tJ,kk:rC,ko:iC,lb:sC,lt:aC,lv:lC,ms:cC,mt:uC,nb:dC,nl:pC,pl:mC,pt:gC,ro:fC,ru:hC,sk:bC,sl:vC,"sr-cyrl":_C,"sr-latn":yC,sv:xC,th:TC,tr:kC,uk:SC,vi:wC,"zh-cn":EC,"zh-hk":CC,"zh-tw":AC},jM=new Map([["ar-sa",Ie.ar],["bg-bg",Ie.bg],["bs-latn-ba",Ie["bs-latn"]],["ca-es",Ie.ca],["cs-cz",Ie.cs],["da-dk",Ie.da],["de-at",`${Ie.de} (${U1})`],["de-ch",`${Ie.de} (${fy})`],["de-de",Ie.de],["el-gr",Ie.el],["en-au",`${Ie.en} (${F1})`],["en-ca",`${Ie.en} (${_E})`],["en-gb",`${Ie.en} (${W1})`],["en-ie",`${Ie.en} (${B1})`],["en-in",`${Ie.en} (${H1})`],["en-my",`${Ie.en} (${yE})`],["en-nz",`${Ie.en} (${G1})`],["en-sg",`${Ie.en} (${Y1})`],["en-us",`${Ie.en} (${Z1})`],["en-za",`${Ie.en} (${K1})`],["es-es",`${Ie.es}`],["es-mx",`${Ie.es} (${V1})`],["et-ee",Ie.et],["eu-es",Ie.eu],["fi-fi",Ie.fi],["fil-ph",Ie.fil],["fr-be",`${Ie.fr} (${vE})`],["fr-ca",`${Ie.fr} (${_E})`],["fr-ch",`${Ie.fr} (${fy})`],["fr-fr",`${Ie.fr}`],["ga-ie",Ie.ga],["gl-es",Ie.gl],["he-il",Ie.he],["hi-in",Ie.hi],["hr-hr",Ie.hr],["hu-hu",Ie.hu],["id-id",Ie.id],["is-is",Ie.is],["it-ch",`${Ie.it} (${fy})`],["it-it",`${Ie.it}`],["ja-jp",Ie.ja],["ka-ge",Ie.ka],["kk-kz",Ie.kk],["ko-kr",Ie.ko],["lb-lu",Ie.lb],["lt-lt",Ie.lt],["lv-lv",Ie.lv],["ms-my",`${Ie.ms} (${yE})`],["mt-mt",Ie.mt],["nb-no",Ie.nb],["nl-be",`${Ie.nl} (${vE})`],["nl-nl",`${Ie.nl}`],["pl-pl",Ie.pl],["pt-br",`${Ie.pt} (${q1})`],["pt-pt",`${Ie.pt} (${Q1})`],["ro-ro",Ie.ro],["ru-ru",Ie.ru],["sk-sk",Ie.sk],["sl-si",Ie.sl],["sr-cyrl-rs",Ie["sr-cyrl"]],["sr-latn-rs",Ie["sr-latn"]],["sv-se",Ie.sv],["th-th",Ie.th],["tr-tr",Ie.tr],["uk-ua",Ie.uk],["vi-vn",Ie.vi],["zh-cn",Ie["zh-cn"]],["zh-tw",Ie["zh-tw"]],["zh-hk",Ie["zh-hk"]]]),A6e=e=>jM.get(e);A6e.keys=()=>jM.keys();var P6e=(()=>{let e=["de","en","es","fr","it"],t=o=>`${o} (${Xs})`;return new Map([...jM,...Object.entries(Ie).filter(([o])=>e.includes(o)).map(([o,n])=>[o,t(n)])])})();C();function I6e(){return Ii.template==="Course"?L("uid")??"":L("iltSchedulingId")??""}var RM=I6e();C();C();C();C();Ue();Ue();C();function zM(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 ZSe="ModuleProgress",JSe="ModuleAssessmentProgress";async function R_(e){if(!S.gamification)return;await be;let t=JSON.parse(se.getItem(ZSe));if(L("page_type")!=="learn"||!A.isAuthenticated||!t||!t.progress)return;let o=t.progress.reduce((n,r)=>(n[r.unitUid]=r.detail||{},n),{});await VSe(o,e),se.removeItem(ZSe)}async function OS(){await be;let e=pc.getItem(JSe);L("page_type")!=="learn"||!A.isAuthenticated||!e||pc.removeItem(JSe)}C();Ue();C();Bp();C();var twe=d`

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

      ${lJ}

      ${$(cJ)}

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

      ${bee}

      ${e}

      `,text:e,type:W6e};return cwe(t)}var sn=e=>{let{title:t,url:o,titleId:n,resourceType:r,label:i=yQ,labelClass:s="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d` `};C();Ue();function L6(e,t=!1){let{pageKind:o,moduleCount:n,durationInMinutes:r}=e;if(o!=="module"&&o!=="path")return"";let i=n?d`
    • ${n} ${n===1?Sr.toLowerCase():Cy.toLowerCase()}
    • `:"",s=r?t?d`
    • ${Fn(r)}
    • `:d`
    • ${Fn(r)}
    • `:"";return d` ${i} ${s} `}function j6(e){let{pageKind:t,start:o,end:n,moduleCount:r}=e;if(t!=="challenge"||(!o||!n)&&r===void 0)return"";let i=o&&n?d`
    • ${MG.replace("{start}",Fs.format(new Date(o))).replace("{end}",Fs.format(new Date(n)))}
    • `:"",s=r?d`
    • ${r} ${r===1?Sr.toLowerCase():Cy.toLowerCase()}
    • `:"";return d`${i}${s}`}function R6(e){let{url:t,submitterUsername:o,answerCount:n,commentCount:r,votes:i}=e;if(!t||!t.startsWith("/answers/questions")||!o&&n===void 0&&r===void 0&&i===void 0)return"";let s=o?d`
    • ${o} ${yX}
    • `:"",a=i!==void 0?d`
    • ${i} ${kX}
    • `:"",l=n!==void 0?d`
    • ${n} ${xX}
    • `:"",c=r!==void 0?d`
    • ${r} ${TX}
    • `:"";return d`${s}${a}${l}${c}`}function M6(e){let{pageKind:t,hoursToComplete:o}=e;return t!=="course"?"":o?d`
    • ${Z6e(o)}
    • `:""}function D6(e){let{pageKind:t,start:o,end:n}=e;if(t!=="lifecycle"||!o&&!n)return"";let r=o?d`
    • ${Nre.replace("{startDate}",new Date(o).toLocaleDateString())}
    • `:"",i=n?d`
    • ${SK.replace("{endDate}",new Date(n).toLocaleDateString())}
    • `:"";return d`${r}${i}`}function $6(e){let{pageKind:t,lastEpisode:o,episodeCount:n,pageType:r}=e;if(r!=="show"&&t!=="series"||!o&&!n)return"";let i=o?d`
    • ${NZ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",s=n?d`
    • ${DZ.replace("{count}",n.toString())}
    • `:"";return d`${i}${s}`}function z6(e){let{showName:t,uploadDate:o,pageType:n,durationInMillisecond:r}=e;if(n!=="episode"||!t&&!o&&!r)return"";let i=r?wfe(r):null,s=t?d`
    • ${t}
    • `:"",a=o?d`
    • ${OZ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",l=i?d`
    • ${Fn(i)}
    • `:"";return d`${s}${a}${l}`}function Z6e(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?v0:_0}`:null,i=o>0?`${o.toString()} ${o===1?xE:_y}`:null,s=n>0?`${n.toString()} ${n===1?AE:wu}`:null;return[r,i,s].filter(a=>a!==null).join(", ")}Ue();function N6(){let e=xg(new Date(Date.now()));return d`

      ${ia}

      `}C();C();var J6e=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",uwe=(e,t,o)=>encodeURIComponent((o?o+` `+e.toString():e.href)+J6e(t,e.href));function dwe(e,t,o,n=!0,r=!1){let i=uwe(t,o);return d` `}function FS(e,t,o,n,r,i){return d`
      ${e?d``:d`
      ${dwe(o||"",t,n)}
      `}
      `}function O6(e,t=!0,o=!1){let{displayName:n,userName:r,avatarUrl:i,avatarThumbnailUrl:s,userId:a}=e,l=Fo(r,"activity"),c=o?d` ${$($se)} `:"";return t?d`
      ${J1} ${n} ${c}
      `:d`${$Q}`}function pwe(e,t,o){let n=e??t??o;if(!n)return d``;let r=((e??t)?.collectionOwner??o?.challengeCreator).displayName;return d`
      ${mwe(r,n.collection.showUserDisplayName)}
      `}function mwe(e,t){return t?d` ${String(D1).replace("{name}",e)} `:d` ${lY} ${Rq(!1)} `}function gwe(e,t,o){let n=e??t??o;return n?!(e??t)?.isPublicView&&!e?.isChallengeCollection?d`
      await n.toggleShowUserDisplayName()} .checked=${n.collection.showUserDisplayName} />
      `:d``:d``}function US(e,t="",o=""){return d` ${`${Mr(Math.floor(e*100))}%`} ${qr} `}function fwe(e,t){let{challengeId:o,learnChallengeId:n,name:r,isPrivate:i}=t.collection;return d` ${t?.isChallengeCollection?d` ${FG} `:""} ${FS(i,e,r,A.sharingId)}`}function hwe(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${MQ}
      `}function bwe(e,t,o,n){if(!t&&!o&&!n)return d``;let r=mt(o)?mt(n)?d``:d` `:d` `,i=d`

      ${mt(o)?fY:Dne}

      `;return mt(t)?r:i}function X6e(){return d``}function F6(e){return e.sectionsCount&&e.sectionsCount>1?d`
      e.isBusy?t.preventDefault():void 0} @keydown=${t=>e.isBusy&&(t.key==="Enter"||t.key===" ")?t.preventDefault():void 0} >

      ${Ene}

      `:d``}function vwe(e,t,o,n=0,r=-1,i="h3",s=!1){let{userLocale:a}=b.data,{pageKind:l,pageType:c,rating:u,title:p,url:m,uid:g}=t.data;m=m,p=p;let f=e instanceof zr,v=f?NSe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",x=S.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${OM(t.data.display_skills[0])}
      `:"",_=Nt=>{let Vt=zM(Nt.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Vt.id=t.data.challengeId),`${ne(Vt)}`},T=I_(l,c,m),P=t.type==="url"?`${OSe(m)}`:T,E=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,B=t.data.url&&t.data.url.includes("/answers/"),N=t.type==="url"?m:`/${B?t.data.rawUrl.split("/")[3]:a}${E}?${_(e.collection)}`,de=async()=>{e.editingId=t.id},Ce=s?d` ${p} `:d` ${s5e(i,p)} `;f&&(Ce=e.hasStarted()?d` ${p}`:d` `);let ae=t.type==="url"?d`
      ${Ce}
      `:d` ${Ce} `,yt=Nt=>e5e(e,o,t,r,Nt);return e.editingId===t.id?IM(e,r,t):s?d`
    • ${P}

      ${ae} ${t.data.iconUrl?d``:""}
      ${h} ${x}
      ${yt(!0)}
    • `:d`
    • ${P}

      ${ae}
      ${h} ${x}
      ${yt(!1)}
    • `}function e5e(e,t,o,n=-1,r=!1){let{challengeId:i,userId:s}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&s!==A.userId||i?o5e(e.isUserAuthenticated,o,r,e):t5e(e,t,o,n,r)}`}function t5e(e,t,o,n=-1,r=!1){o.data.uid=o.data.uid;let i=n>=0?!(n===0&&t===0):t!==0,s=n>-1?!(n>=e.collection.sections?.length-1&&t>=e.collection.sections[n]?.items.length-1):t ${l} `:d``}function o5e(e,t,o=!1,n){let r=o?d``:void 0,i=_we(n,t,e);return r||i?d` `:""}function n5e(e,t){if(!e||!t)return d``;let o=t.data.progress??0,n=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:r,completionStatusTagStyle:i}=SM(o,"item");if(o===0){if(n){let s=r5e(e,t);return d` `}return d``}return o===1?d` ${r} `:o>0&&o<1?d` ${Sy} `:d``}function _we(e,t,o){if(!o)return d``;let n=(()=>{let r=t.data.progress,i=e instanceof zr,s=i&&e?.hasStarted?.(),a=!i&&typeof r=="number";if(s)return n5e(e,t);if(a)return US(r)})();return n?d` `:""}function r5e(e,t){let o=document.createElement("div"),n=i5e(e,t);return y(n,o),new ve(o)}function i5e(e,t){return d` `}function s5e(e="h3",t){let o={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return o[e]||o.h3}function q6(e,t="collection"){let o=(t==="plan"?xoe:vY).replace("{url}",e),n=jQ,r=bY,i=GQ;return t==="plan"&&(n=Toe,r=koe,i=Soe),d`

      ${n}

      ${r} ${i}

      ${$(o)}
      `}function ywe(){return d`

      ${nE}

      ${TQ}


      1. ${kQ}
      2. ${SQ}
      3. ${$(wQ)}

      ${EQ}

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

      ${t}

      ${o}


      ${n}
      `}function H6(e,t){let o=(()=>{let r=e.collection.sections;if(Array.isArray(r)&&r.length>0)return d`
      ${r.map((s,a,l)=>d`
      ${a5e(e,s,a,l,t)} ${U6(e,s.items,void 0,a)}
      `)}
      `;let i=e.collection.items;return Array.isArray(i)&&i.length>0?U6(e,i,void 0,-1):WR(YQ,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Il?"/test":""}/training/browse/`}})})(),n=d`${d5e(e)} ${u5e(e)} ${p5e(e)}`;return d`${o}${n}`}function a5e(e,t,o,n,r){return d`

      ${r} ${o+1}

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

      ${t.name}

      `:""} ${a?d`

      ${t.description}

      `:""} ${l?l5e(t.daysToComplete):""} `:""}
      `})()}
      `}function U6(e,t,o=0,n=-1,r="h4",i=!1){return!t||t.length===0?kke(e.isPublicView):d`
        ${t.map((s,a)=>vwe(e,s,a,o,n,r,i))}
      `}function l5e(e){return mt(e)?"":d`

      ${Tne} ${e}

      `}function c5e(e){let t=zSe(e),{completionStatusTag:o,completionStatusTagStyle:n,progressBarLabelStyle:r,progressBarStyle:i}=SM(t,"milestone");return t===1?d` ${o} `:d`
      ${Mr(Math.floor(t*100))}%
      `}function u5e(e){return e.editingSectionId===ef?T6(e):""}function d5e(e){return d`${e.editingId===g6?d`
      ${IM(e)}
      `:""}`}function p5e(e,t="margin-top-xl"){if(e.isPublicView)return"";let o={handleEvent(r){r.preventDefault(),e.editingId=g6}},n={handleEvent(r){r.preventDefault(),e.editingSectionId=ef}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof zr)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}C();function FM(...e){let[t,o,n=!0]=e,r=d` ${$(c7)}
      • ${$(t)}
      • ${$(o)}
      `;return qS("ms--challenges-violation-banner",l7,r,d7,n)}C();var qCo=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));C();var B6={"ar-sa":!0,"he-il":!0};var tPo=jl();C();C();C();Ue();C();C();var Twe=e=>[{id:"plan-title",name:"plan-title",title:dc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:hoe,required:!0},{id:"plan-description",name:"plan-description",title:P1,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:Au,subtitle:ine,tip:sne,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:ane,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:lne,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:cne,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:dne,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:gne,value:e.isOfficial,isDirty:!1}];function kwe(e){let t=e.elements.namedItem("plan-title"),o=t.value;if(!o)return t.setCustomValidity(Tu),t.reportValidity(),Io(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(s=>s.trim()).filter(s=>s.length>0),i=e.elements.namedItem("official-plan")?.checked??!1;return{title:o,description:n,learningOutcomes:r,isOfficial:i}}var Swe;async function wwe(e,t){e.preventDefault();let o=document.getElementById("ms--create-plan"),n=e.target;Ys(o);let r=kwe(o);if(r===null)return;let{title:i,description:s,learningOutcomes:a,isOfficial:l}=r,u=o.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:o.dataset.listId??"",name:i,description:s,learningOutcomes:a??[],isOfficial:l};n.disabled=!0,n.classList.add("is-loading");try{let m=await or.createSkillingPlan(p);if(m.hasError===!0)Io(o,"somethingWentWrong");else{let g,f=L_(m?.data?.id);if(l&&u&&(g=DSe()),g){t.hide(),g?.show();let v=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),v].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 Io(o,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}async function Ewe(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"),Ys(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=Fo("me","plans").toString()}catch(n){throw Io(e.contentElement,"somethingWentWrong"),new Error(`error: ${n.message}`)}finally{o.disabled=!1,o.classList.remove("is-loading")}}}async function Cwe(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"),Ys(e.contentElement);try{await t.dropPlan(),e.hide(),o()}catch(i){throw Io(e.contentElement,"somethingWentWrong"),new Error(`error: ${i.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function Awe(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 y5e(r,e)}catch(r){throw new Error(`error: ${r.message}`)}}function y5e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Io(t,"learnerGroupAlreadyExists"):Io(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 Pwe(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");DS(t,o),o.focus(),n&&(n.onclick=i=>{i.preventDefault(),DS(t,o),r&&(r.value=r?.dataset.originalName)})}async function Iwe(e,t){let o=t.parentElement?.previousElementSibling,n=t.parentElement,r=n?.querySelector("input"),i=r?.dataset.groupId,s=n.querySelector("#learner-group-submit");if(s?.classList.add("is-loading"),r?.value===r?.dataset.originalName){s?.classList.remove("is-loading"),DS(o,n),r.value=r?.dataset.originalName;return}if(USe(r?.value,e.plan?.learnerGroups??[])){Io(t,"learnerGroupAlreadyExists"),r?.focus(),r?.classList.add("input-danger"),s?.classList.remove("is-loading");return}Ys(t);let a=await e.updateLearnerGroup({id:i,name:r?.value});if(a.hasError===!1){let{data:l}=a,c=o.querySelector(".group-name");c&&(c.textContent=l.name,r.dataset.originalName=l.name),DS(o,n),r.classList.remove("input-danger"),s?.classList.remove("is-loading")}else Io(t,"somethingWentWrong"),r.focus(),r.classList.add("input-danger"),s?.classList.remove("is-loading")}async function Lwe(e,t,o,n){Swe=e.contentElement.querySelector("#notification-wrapper");let r=MS(zoe,d`${$(Noe.replace("{learningGroupName}",t.plan?.learnerGroups?.find(s=>s.id===o)?.name||My))}`,void 0,us,$e,!0);if(e.hide(),(await nn(r,!1,s=>x5e(s,t,o,n))).submitted){e.show();let s=_6(Ooe,"success",!0);Swe.innerHTML=s}}async function x5e(e,t,o,n){let r=e.querySelector("button[type=submit]");r?.classList.add("is-loading");let i={hasError:!1,data:null};try{await t.deleteLearnerGroup(o),i={hasError:!1,data:null}}catch{Io(e,"somethingWentWrong"),i={hasError:!0}}finally{n.closest(".card")?.remove(),r?.classList.remove("is-loading")}return i}C();var jwe;async function Mwe(e,t=null,o=z.profile.reportConcern,n,r,i="description",s){let a=document.createElement("div");jwe=new ve(a);let l=d``;if(jwe.show(),e.isAuthenticated&&t===null){let u=d``;y(d` `,a);let p=An()??"";t=await Yy(p)}l=d` ${E5e(T5e,s,b$,r,void 0,i)} ${C5e(t)}

      ${$(NX)}

      ${n||""} `,y(d` `,a);let c=a.querySelector("#report-content-form");w5e(),R5e(c),t!==null&&j5e(c,t)}function T5e(e,t,o="abuseCategory",n=!1){let r=t||qye;return d`
      `}function Rwe(e){return d` `}function k5e(e,t,o,n,r){return d` `}function S5e(e,t){return d`
      `}function w5e(){window.addEventListener("form-validating",e=>{let t=_S(e.detail.form),o=VR(t);e.detail.errors?.length>=0&&$4(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&BR(t),o&&M4(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yS(t)})}function E5e(e,t,o=b$,n,r,i,s,a=!1){return d`
      ${e(r,t,n,a)}
      `}function C5e(e){if(e===null)return d`

      ${$(RX)}

      `;let[t,o]=Dwe(e);return d`
      `}function A5e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function P5e(e){let t=e.authenticationModes.find(o=>o.type==="MSA");return t?t.upn:null}function I5e(e){let t=e.authenticationModes.find(o=>o.type==="AAD");return t?t.upn:null}function L5e(e,t,o){return t??(mt(e.email)?o:e.email)??""}function Dwe(e){let t=A5e(e),o=t?P5e(e):null,n=t?null:I5e(e),r=L5e(e,o,n);return[t,r]}function j5e(e,t){let[o,n]=Dwe(t);if(o){let s=e.querySelector("#report-msa-email-account");s.innerText=n}let r=e.querySelector("#opt-into-email-checkbox"),i=e.querySelector("#submitter-info");r.addEventListener("change",()=>{r.checked?i.hidden=!1:i.hidden=!0})}function R5e(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)})}C();Ue();C();var UM;function $we(e){UM=e}function zwe(e,t){let o=e.isOfficial?_s:Ci,n=i=>{let s=i.target;o=s.checked?_s:Ci;let a=document.querySelector("#toggle-text-plan-official");y(o,a),s.getAttribute("data-changed")==="false"&&s.setAttribute("data-changed","true")},r=Twe(e).map(i=>{let{id:s,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=i;if(s==="plan-official"&&!t)return d``;let v=s==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${o}
      `:d`{let _=x.target;s==="plan-title"&&(D5e(_,Tu),_.classList.remove("input-danger"))}} /> ${v?d`

      ${uoe}

      `:""} ${s==="plan-title"?d` `:""}`:"";return d`
      ${s==="plan-official"?M5e():""}
      ${c?d`

      ${c}

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

      ${u}

      `:""}
      `});return d`

      ${Eoe}

      ${r}
      `}function M5e(){return d`
      ${$(mne)}
      `}function D5e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function Nwe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Coe}

      • ${e.stats?.participantsJoined}

        ${Sy}

      • ${e.stats?.participantsCompleted}

        ${woe}

      ${Woe}

      ${Zoe}

      • ${Joe}
      • ${Xoe}
      • ${ene}
      • ${tne}
      • ${one}
      • ${nne}
      `:d``}function Owe(e,t){if(!t?.plan)return d``;let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=v6(t.plan);async function i(){UM.hide();let s=z5e(D$,Hoe,t?.plan.id,by,!0),a=await nn(s,!1,Awe);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):UM.show(),d``}return d`
      ${Uoe}
      ${Foe}
      ${$(qoe)}
      ${t.plan?.learnerGroups?.map(s=>$5e(t,s))}
      `}function $5e(e,t){let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=v6(e.plan,t.id);return d`
      ${My}: ${t.name}
      `}function z5e(e,t,o,n=wn,r=!1){return o?d` `:d``}C();function HS(e,t){return d` `}function V6(e,t,o){return d`
      ${t}
      `}function G6(e,t,o){return d` `}var nf;function BS(e,t,o){if(!t&&!o?.plan)return;let n=d``,r=document.createElement("div");nf=new ve(r),$we(nf);let i={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},s,a;switch(e){case"new":let l=t?.id;o?.plan&&(i.title=o?.plan?.contentList.name??"",i.description=o?.plan?.contentList.description??"",i.isOfficial=o?.plan?.contentList.isOfficial??!1,i.learningOutcomes=o?.plan?.learningOutcomes??[],l=o?.plan?.listId,i.isNew=!0),n=HS("plan",{title:Loe,body:V6("create-plan",zwe(i,FSe(o?.collection?.id)),l),footer:G6("plan",nf)}),y(n,r),s=r.querySelector("button[type=submit]"),s&&(s.innerText=by,s.setAttribute("aria-label",by),s.setAttribute("data-bi-name","create-plan-btn"),s.onclick=async c=>{await wwe(c,nf)}),a=r.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":n=HS("plan",{title:Hf,body:Owe(c=>BS("invite",void 0,c),o),footer:d``}),y(n,r);break;case"progress":n=HS("plan",{title:Bf,body:Nwe(o),footer:d``}),y(n,r);break;default:break}if(n)nf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function Q6(e,t,o){if(!e&&!t&&!o)return d``;ty(k.body);let n=!mt(t),r=!mt(o),i={vm:e,vmPlans:t,vmChallenge:o},s=VS(i),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=s,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=k.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,v=e?.isChallengeCollection?d` ${l?d`
    • ${Fn(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${yK} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||r?d`${pwe(e,t,o)}`:""}
      ${u||r?gwe(e,t,o):""} ${Vwe(i)?hwe(e):""}
      ${p||r?"":d`

      ${c?n?o0:mE:""}

      `}
      `}function VS(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function qM(e){let{vm:t,vmPlans:o}=e;return t?.collectionOwner?.userId===A.userId||o?.plan?.userId===A.userId}function Y6(e){return e.vmPlans?.hasStarted()===!0}function Bwe(e){return e.vmPlans?.isCompleted()===!0}function N5e(e){let{vm:t,vmPlans:o}=e,n=!mt(t),r=!mt(o),i=o?.isPublicView||t?.isPublicView,s=VS(e),a=s?.isOfficial,l=s?.shouldLocalize;return(n||r)&&!(i||l||!a)&&qM(e)}function Fwe(e){return!!e.vmPlans&&qM(e)}function O5e(e){return!!e.vmPlans&&qM(e)}function F5e(e){return!!e.vmPlans&&Y6(e)&&!Bwe(e)}function Uwe(e){return!!e.vmPlans&&Y6(e)&&!Bwe(e)}function qwe(e){return!!e.vmPlans&&!Y6(e)&&A.isAuthenticated}function Hwe(e){return!!e.vmPlans&&!A.isAuthenticated}function U5e(e){let{vm:t,vmPlans:o}=e,n=VS(e);return!t?.isChallengeCollection&&!qM(e)&&!n?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!o&&o?.reportStatus!=="Unknown")}function Vwe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:o}=e,n=!mt(t),r=!mt(o),s=VS(e)?.id;return n&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==A.userId||t?.isChallengeCollection||s==="bookmarks")||r&&!!o?.isChallengeOwner()&&!!o?.isChallengeUpcoming()}function q5e(e){let{vm:t,vmPlans:o,vmChallenge:n}=e,i=VS(e)?.id,s=pu(i),a=Ba("resume-plan-button",Ff,Ff,()=>o?.resumePlan(),"resume-plan-btn",Ff,"button-sm button-primary button-filled");function l(){function _(){let T=k.getElementById("start-or-resume");T&&y(a,T)}if(!A.isAuthenticated){No(location.href);return}o?.joinPlan({onSuccess:()=>{_()}})}let c=Ba("start-plan-button",sa,sa,()=>l(),"start-plan-btn",sa,"button-sm button-primary button-filled inner-focus"),u=Ba("sign-in-plan-button",Oy,Oy,()=>l(),"sign-in-plan-btn",Oy,"button-sm button-primary button-filled",!o?.isPublicView),p=n?Ba("delete-challenge-button",KG,d` `,()=>n?.deleteChallenge(),"delete-challenge-btn",us,"button-sm button-clear"):Ba("delete-collection-button",zQ,d` `,()=>t?.deleteCollection(),"delete-collection-btn",us,"button-sm button-clear");async function m(_){_&&(h6(MS(poe,d`${moe}`,goe,foe,Ci)),P_.show(),await Cwe(P_,_,()=>{let T=k.getElementById("start-or-resume");T&&y(c,T)}))}let g=()=>Ba("drop-plan-button",e0,d``,()=>m(o),"drop-plan-btn",e0,"button-sm button-clear"),f=d`
      ${Ba("submit-loc-button",pE,d` `,()=>t?.localizeCollection()??o?.localizePlan(),"localize-list-btn",pE,"button-sm button-clear margin-right-none")}
      ${XQ}
      `,v=!S.shareLink||i==="bookmarks"?d``:t?d`${fwe(s,t)}`:o?d`${FS(!1,new URL(L_(o?.plan?.id),location.origin),o?.collection?.name,A.sharingId,!1,"share-plan-btn")}`:n?d`${FS(!1,new URL(rn(n?.challengeDetails?.id),location.origin),n?.challengeDetails?.contentList.name,A.sharingId)}`:d``,h=t?.isChallengeCollection||!A.isAuthenticated||i==="bookmarks"?d``:bwe((_,T,P)=>BS(_,T,P),t,o,n);return d` ${Uwe(e)||qwe(e)||Hwe(e)?d`
      ${Uwe(e)?a:""} ${qwe(e)?c:""} ${Hwe(e)?u:""}
      `:""} ${v} ${h} ${U5e(e)?H5e(t,o):""} ${Fwe(e)?d`${Q5e(o)}`:""} ${N5e(e)?f:""} ${O5e(e)?d`${Y5e()}`:""} ${Vwe(e)?p:""} ${Fwe(e)?d` ${B5e(o)}`:""} ${F5e(e)?g():""} `}function K6(e,t,o){return!e&&!t&&!o?d``:d`
      ${q5e({vm:e,vmPlans:t,vmChallenge:o})}
      `}function Ba(e,t,o,n,r,i,s,a=!1){return d` `}function H5e(e,t){let o=d`${t?d``:""}`,n=e?.reportStatus==="Active"||t?.reportStatus==="Active",r=Ba("report-a-concern-btn",zC,d` `,()=>Mwe(A,null,`${z.lists}/report/concern`,o),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",zC,"button-sm button-clear margin-right-none",n),i=d`
      ${e?d`

      ${CY}

      ${$(AY)}

      `:d`

      ${Nne}

      ${$(One)}

      `}
      `;return d`
      ${r} ${n?i:""}
      `}function B5e(e){return e?Ba("delete-plan-button",us,d` `,async()=>{h6(MS(joe,Moe,d`${e.plan?.contentList.name??""}`,Doe,void 0,void 0,e.plan?.hasParticipants,Roe)),P_.show(),await Ewe(P_,e)},"delete-plan-btn",us,"button-sm button-clear"):d``}function V5e(e){return Ba("plan-progress-button",Bf,d``,()=>BS("progress",void 0,e),"view-plan-progress-btn",Bf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function G5e(e){return Ba("invite-learners-button",Hf,d``,()=>BS("invite",void 0,e),"plan-invite-learners-btn",Hf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function Q5e(e){return e?d`
      • ${V5e(e)}
      • ${G5e(e)}
      `:d``}function Y5e(){return d`
        ${[{href:"/training/browse",label:Qr},{href:"/credentials/browse",label:cn},{href:"/docs",label:oa},{href:"/shows/browse",label:kr}].map(t=>d`
      • ${t.label}
      • `)}
      `}function W6(e,t){if(!e&&!t)return d``;let o=(e??t)?.collection;if(!o)return d``;let n=e??t,{challengeId:r,learnChallengeId:i,description:s,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=o,f=!mt(t),v=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"},_={challenge:DG,collection:oQ,plan:Aoe},T=!n?.isPublicView&&!n?.isChallengeCollection?d` `:"";return d` ${e?.isPublicView&&p&&m?Yt(tY):""}

      ${_[v]}

      ${l} ${n?.collectionOwner?.userId===A.userId?d` `:""}

      ${f?Qwe(g):""} ${n?.isEditingSummaryTitle?k6(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${s?d`

      ${s} ${T}

      `:!n?.isEditingSummaryDescription&&!n?.isPublicView&&n?.isChallengeCollection===!1?d`
      ${$1} ${T}
      `:""} ${n?.isEditingSummaryDescription?S6(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${Q6(e,t)} ${e?.isUserAuthenticated&&a&&u&&c&&n?.isChallengeCollection?d`
      ${US((u-c)/u,r||i,"width-150")}
      `:""}
      ${Gwe(t)} ${w6(t)}
      ${K6(e,t,void 0)}`}function HM(e,t,o){if(!e&&!t&&!o)return d``;let n=(e??t??o)?.collection;if(!n)return d``;let r=!mt(e),i=!mt(t),s=!mt(o);if(s&&o?.isPublicView)return d``;let{description:a,items:l,name:c,remainingDuration:u,totalDuration:p,type:m,challengeId:g,sectionCount:f}=n,v=e??o??t,h=m!=="bookmarks"&&!v?.isPublicView?d``:"",x=i?"plan":s?"challenge":"collection",_={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 d`

      ${i?Eu:s?ea:cs}

      ${m==="bookmarks"?uE:c} ${r||s||i?d` `:""}

      ${v?.isEditingSummaryTitle?k6(v):""} ${i?Qwe(f):""} ${a?d`

      ${a} ${h}

      `:!v?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${$1} ${h}
      `:""} ${v?.isEditingSummaryDescription?S6(v):""} ${Q6(e,t,o)} ${e?K5e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${US((p-u)/p)}
      `:""}
      ${Gwe(t)} ${w6(t)}
      ${K6(e,t,o)} `}function Gwe(e){return!e||!e.plan?d``:d`

      ${Au}

        ${(e.plan.learningOutcomes??[])?.map(t=>t?d`
      • ${t}
      • `:"")}
      `}function K5e(e){return e?!e.isOfficialOrOverride&&A.tenantId===Zr&&e.collectionOwner?.userId===A.userId&&e.collection.id!=="bookmarks"?d`

      ${W5e()}

      `:"":d``}function W5e(){return d`
      ${M1}
      `}function Qwe(e){if(mt(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(kne);break;default:t=String(Sne).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}Ue();C();C();C();function Z5e(e,t){let o=hE,n=hY,r=_Y,i=yY,s=Fo("me","collections"),a=qw,l=`/${b.data.userLocale}/`;return e==="plan"&&(o=boe,n=voe,r=_oe,i=yoe,s=Fo("me","plans")),e==="challenge"&&(o=HG,n=BG,r=VG,i=GG,s=Fo("me","challenges"),t&&(a=QG,l=rn(t,"leaderboard"))),d`

      ${o}

      ${n}

      ${r}

      `}function Z6(e="collection",t){return d`
      ${Z5e(e,t)}
      `}function J6(e,t=!0){switch(e){case 0:case 200:case 201:case 204:return null;case 403:return t?Z6():d`

      ${hE}

      `;case 404:return t?ywe():d`

      ${nE}

      `;case 500:case 502:case 503:case 504:return t?Q4():d`

      ${Ru}

      `;default:return d`

      ${no}

      `}}C();C();var NRo={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:$G,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${jo}`,itemTemplate:e=>d`${e.displayName||e.value}`};C();Ue();C();Ue();Ue();Bp();C();C();C();C();C();C();C();C();function Zwe(e){let t=J6(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let o=Fo("me","collections").toString();return q6(o,"collection")}return e.collection.learnChallengeId&&m6("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?W6(e):HM(e)} ${_8e(e)} `}function _8e(e){if(!e.collection)return"";let t=d`

      ${QQ}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?x8e(e):""}
      ${t}
      ${H6(e,r0)}
      `}var y8e=qS("ms--lists-violation-banner",SY,d`${$(wY)}`,EY);function x8e(e){return e?.collection?.learnChallengeId?FM(x1.replace("{detailPageLink}",rn(e.collection.learnChallengeId,"details")),u7):y8e}async function Jwe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=T8e(Z.pathname);await be;let o=new gp(t,void 0,!0);await o.beforeActivate();let n=async()=>{y(Zwe(o),e)};o.subscribe(Je,n),A.subscribe(yo,n),n()}function T8e(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 Xwe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),o=0,n=()=>{clearTimeout(o),o=setTimeout(()=>{k8e(L0(e.value),t)},250)};e.addEventListener("input",n),e.addEventListener("change",n)}function k8e(e,t){let o=document.querySelector(".no-results"),n=new RegExp(e,"gi");o.hidden=!0;let r=t.filter(i=>(i.hidden=!i.textContent.match(n),i.hidden?!1:i));return r.length===0&&(o.hidden=!1,Ct(na,"assertive",1e3)),r}C();C();C();C();var e2o=pt(),t2o=b.data.userLocale;C();C();function Ks(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],i=e.display_levels?.[0];if(i)t.push(i);else if(r&&r in Nr.levels){let c=Nr.levels[r];t.push(c)}let s=e.display_event_groups?.[0];s&&t.push(s);let a=e.display_azure_categories?.[0];a&&t.push(a);let l=e.display_languages?.[0];return l&&t.push(l),t}function M_(e){return e.map(t=>d`
    • ${t}
    • `)}function X6(e,t){return e?Fn(e):t?BL(t):""}C();var GS=24*60*60*1e3;function YS(e,t,o){let n=te(),r=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let s=i.target;s.type!=="date"&&e.selectByValue(s.value)}} >
      ${I8e(e.facets)}
      i.value==="custom")?.isSelected}> ${nEe("starting-date",Fre,n.gt)} ${nEe("ending-date",kK,n.lt)}
        `}function I8e(e){return Object.keys(ns).map(o=>{let n=e.find(r=>r.value.toLowerCase()===o);if(o==="all")return L8e("all",e);{let r=o==="custom"?BY:ns[o];return rEe(o,r,n.isSelected)}})}function rEe(e,t,o=!1){let n=S.enableNewSiteSearch?"font-size-sm":"";return d` `}function L8e(e,t){let o=t.reduce((n,r)=>(r.isSelected&&r.value!=="all"&&(n.selection=!0),n),{selection:!1});return rEe(e,Xs,!o.selection)}function nEe(e,t,o){let n=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"",r=S.enableNewSiteSearch?"margin-top-xxs":"";return d` j8e()} value="${o}" /> `}function j8e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),o=[];if(R8e()&&o.push(wK.replace("{date}",new Date().toLocaleDateString())),M8e()&&o.push(EK),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 R8e(){let e=D8e().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 M8e(){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 D8e(){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 iEe(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 QS(t.getTime()-GS);case"last7days":return QS(o-7*GS);case"last30days":return QS(o-30*GS);case"last365days":return QS(o-365*GS);case"custom":return $8e();default:return""}}function $8e(){let e=te(),t=e.gt,o=e.lt,n=null,r=null;if(t){let i=new Date(t),s=i.getTimezoneOffset()*6e4;n=i.getTime()+s}if(o){let i=new Date(o),s=i.getTimezoneOffset()*6e4;r=i.getTime()+s+GS}return QS(n,r)}function QS(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 Bn(e){let t=[];for(let o in e){let n=Object.keys(e[o]);if(n.length>0){let r=o.charAt(0),i=o!=="resource_type"&&o!=="type"?`${o}/any(${r}: `+n.map(s=>`${r} eq '${s}'`).join(" or ")+")":n.map(s=>`${o} eq '${s.replace("_"," ")}'`).join(" or ");t.push(`(${i})`)}}return t.join(" and ")}function VM(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 u=e.selectedFacets[c],p=Object.keys(u);if(p.length>0)if(S.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(v=>`${m} eq '${v}'`).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 i=r?iEe(r):"";i&&t.push("(category eq 'QnA' and "+i+")");let s;for(let c in e.selectedFacets.author){s=c;break}s&&t.push(`(category eq 'QnA' and authorId eq '${s}')`);let a="";for(let c in e.selectedFacets.category){a=c;break}let l=a?`category eq '${a}'`:"";return l&&t.push("("+l+")"),t.join(" and ")}function aEe(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",hideCompleted:!0,fetch:z8e,resultTemplate:e5,resultSortOptions:[{label:dX,orderBy:null},{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Mf,orderBy:"last_modified desc"},{label:Df,orderBy:"last_modified"}]}}function e5(e){let o=`learn-${e.uid?zo(e.uid):Ze()}-title`;return d`

        ${Nr.resource_type[e.resource_type]}

        ${e.title}
        `}async function z8e(e){let[t]=await Promise.all([sEe(e,!1),be]);if(t.count===0&&([t]=await Promise.all([sEe(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0)),!S.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(i=>i.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(S.gamification&&A.isAuthenticated?tf(o):Promise.resolve([]))).reduce(lEe("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,at.userLocale)),r.uid in n&&(r.progress=n[r.uid]);return t}function N8e(e){return{branch:pt(),environment:"prod",locale:b.data.userLocale,terms:e.terms,facet:["roles","levels","products","subjects","resource_type"],$filter:Bn(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:j.reviewFeatures.toString()}}async function sEe(e,t){let o={...N8e(e),fuzzySearch:t},n=`${z.browse.learn}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(async i=>{if(i.ok)return await i.json();throw{error:i.json()}})}function lEe(e){return(t,o)=>(t[o[e]]=o,t)}function O8e(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 d``}return d` `}C();C();function GM(e,t){return(e==="lit"?d:K)`

        ${t?.title??Qne}

        `}C();Ue();C();Ue();C();function uEe(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",fetch:F8e,resultTemplate:dEe,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Mf,orderBy:"last_modified desc"},{label:Df,orderBy:"last_modified"}]}}function dEe(e){let t=(e.exams||[]).filter(a=>!!a.display_name).map((a,l)=>l===0?d` ${a.display_name}`:d`, ${a.display_name}`),o=t.length>0?d``:"",n=Nr.resource_type[e.resource_type],r=e.resource_type==="examination"?`${Hr} ${e.exam_display_name}: ${e.title}`:e.title,s=`certifications-${e.uid?zo(e.uid):Ze()}-title`;return d`

        ${n}

        ${r}
        ${o}
        `}async function F8e(e){let[t]=await Promise.all([cEe(e,!1),be]);t.count===0&&([t]=await Promise.all([cEe(e,!0),be]),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,at.userLocale));return t}function U8e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:Bn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function cEe(e,t){let o={...U8e(e),fuzzySearch:t},n=`${z.browse.certification}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}C();C();var q8e=jl(),H8e={orderBy:"latest_episode_upload_at desc"};function mEe(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",fetch:B8e,resultTemplate:gEe(),taxonomyFacetLookups:{type:"show_type"}}}async function B8e(e){let[t]=await Promise.all([pEe(e,!1),be]);t.count===0&&([t]=await Promise.all([pEe(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function pEe(e,t){let o={...V8e(e),fuzzySearch:t},n=`${z.browse.shows}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function V8e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Bn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:H8e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function gEe(){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 G8e(e,t)}}function G8e(e,t){let o=e.latest_episode_upload_at?d`

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

        `:"";return d` `}kg();C();C();Ue();C();var yBo=pt(),xBo=b.data.userLocale;C();Ue();C();C();C();var m9e=g9e();function g9e(){let e=pc.getItem("x-sid");return e||(e=Xc(),pc.setItem("x-sid",e),e)}var QM={"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 bEe(){return j.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function vEe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":QM[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},o={method:"POST",body:JSON.stringify(t)},n=W(z.encryptCaptchaPayload,o),r=await R(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 _Ee=["version","getConfig","reset","run","setConfig"];var f9e=S.chromeless||Kse.getItem("playwrightActive"),KS;function yEe(){return KS}var h9e=!1;function b9e(){h9e=!0}async function v9e(){return f9e?!1:(await be,A.isAuthenticated)}function WS(e){return KS!==void 0||(KS=v9e().then(t=>t?Vs("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>_9e(e)).then(x9e).catch(o=>{throw b9e(),new Error("Failed to load Arkose library")}):Promise.resolve())),KS}function _9e(e){return new Promise(t=>{F.setupEnforcement=function(o){y9e(o,e).then(t)}})}async function y9e(e,t){let o=QM[b.data.userLocale]||"default";return e.setConfig({language:o,publicKey:bEe(),data:await(async()=>{let n;try{S.arkoseEncrypt&&(n=await vEe(t))}catch{}return n})()}),T9e(e),e}function x9e(e){let t=_Ee.filter(o=>e[o]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function T9e(e){F.arkoseEnforcement=e}function i5(){return F.arkoseEnforcement}C();function ZS(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var JS=class{};function YM(e,t){return K` `}C();var WM="captcha-container",EEe,CEe,xEe=0,k9e=3,AEe=jEe(),KM=class{},s5=new He,TEe=e=>{LEe(e.token),EEe()},S9e={title:Su,imgsrc:e=>`data:image/svg+xml,${ZS(e)}`,message:ju,description:OC,buttonText:Cu,event:KM,type:"static"},w9e={title:nz,iframeContainerId:WM,type:"iframe"},kEe={mode:"inline",selector:"#"+WM,onCompleted:TEe,onSuppress(e){e.suppressed&&(TEe(e),SEe("suppressed",A.userId,L("lab-id")))},async onError(e){SEe("failed",A.userId,L("lab-id"));let t=await L9e(),o=i5();if(t&&xEe{kEe.onCompleted?.(o),e.onCaptchaCompleted?.()}}:{}}),t.run(),await AEe,t.reset()}catch{e.renderError?.()}return C9e(),CEe}var o5o=d`

        ${nz}

        `;async function IEe(){let e=null,t=await PEe({renderCaptcha:()=>{e=wEe(w9e),e.show()},renderError:()=>{e=wEe(S9e),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function LEe(e){CEe=e}function E9e(){LEe("")}function jEe(){return new Promise(e=>{EEe=e})}function C9e(){AEe=jEe()}function A9e(){return k.querySelector("#"+WM)}function P9e(){let e=A9e();e&&e.replaceChildren()}function I9e(e,t){e.setConfig({...e.getConfig(),...t})}function SEe(e,t,o){let n=o||null;xe({behavior:le.OTHER,actionType:Se.OTHER,content:{event:"arkose-result",labInstanceId:n,userInstanceId:t,message:e}})}async function L9e(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function wEe(e){let t=k.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let o=YM(s5,e).create();return $u(s5,KM,()=>{location.reload()}),o.bind(s5,Ji),o.appendTo(t),new ve(t)}C();var M9e=new Promise(()=>{});C();Ue();async function Jl(e,t){let o=await Zd(t);if(!o||!e)return;let n=e.hasOwnProperty("parents");if(zt){let i=s=>"/"+s.split("/").slice(2).join("/");e&&(e=Bs(e),e.url=i(e.url)),n&&e&&e.parents&&(e.parents[0].url=i(e.parents[0].url))}let r=L("page_kind");switch(r){case"appliedSkills":o.add({title:cn,url:`/${o.basePath}/credentials`},{title:ic,url:`/${o.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":o.add({title:cn,url:`/${o.basePath}/credentials`},{title:ic,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"appliedSkillsAssessmentReport":o.add({title:cn,url:`/${o.basePath}/credentials`},{title:ic,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"role":case"certification":o.add({title:S.previewCredentialsL1?cn:Ka,url:S.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:S.previewCredentialsL1?ic:xu,url:S.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"certificationrenewal":o.add({title:S.previewCredentialsL1?cn:Ka,url:S.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:S.previewCredentialsL1?ic:xu,url:S.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:S.previewCredentialsL1?cn:Ka,url:S.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:S.previewCredentialsL1?ic:xu,url:S.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e?.url}/`},{title:T$,url:`/${o.basePath}${e?.url}/renew/`});break;case"examination":o.add({title:S.previewCredentialsL1?cn:Ka,url:S.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:S.previewCredentialsL1?ic:xu,url:S.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":o.add({title:S.previewCredentialsL1?cn:Ka,url:S.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:S.previewCredentialsL1?ic:xu,url:S.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 fp=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([H],fp.prototype,"endDate",2),O([H],fp.prototype,"totalTimeLeft",2),O([H],fp.prototype,"isExpired",2);var N9e=K` ${e=>e.displayFormat.indexOf("d")>-1?`${yy.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${TZ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${jp.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${Hne.replace("{seconds}",e.seconds.toString())}`:null} `,O9e=K` ${co(e=>[{value:e.hrs,label:wu},{value:e.mins,label:Ey},{value:e.seconds,label:n0}],K` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Pe((e,t)=>!t.isLast,K` : `)} `,{positioning:!0})} `,REe=K` ${Pe(e=>e.totalTimeLeft>0,K` ${Pe(e=>e.dateFormat===1,N9e)} ${Pe(e=>e.dateFormat===0,O9e)} `)} `;C();C();var U9e={"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 ho(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"},i={0:"",1:"assessment",2:"results"},s={accommodationRequested:Z_e(),"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"]??Jk(),snapshotId:e.query?.snapshotId,"snapshot-version":Xk(),themebranch:te().themebranch},a=U9e[e.assessmentType][e.pageType][j.reviewFeatures?0:1],l={origin:Z.origin+"/",locale:at.userLocale+"/",test:zt?"test/training/":"",credentialType:t[e.assessmentType].replace(zt&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+o[e.assessmentType]+"."),"").replace(zt?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:n[e.assessmentType].includes(e.pageType)?r[e.assessmentType]+"/":"",pageType:i[e.pageType],query:a.length?"?"+ne(a.reduce((u,p)=>(u[p]=s[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}C();var l5=class{constructor(t,o,n,r,i){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=eo.binding(o,this,n),this.templateBindingObserver=eo.binding(r,this,i)}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)}},c5=class extends Bl{constructor(o,n){super();this.dataBinding=o;this.templateBinding=n;this.createPlaceholder=wt.createBlockPlaceholder;this.isBindingVolatile=eo.isVolatileBinding(o),this.isTemplateBindingVolatile=eo.isVolatileBinding(n)}createBehavior(o){return new l5(o,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function to(e,t){let o=typeof t=="function"?t:()=>t;return new c5(e,o)}C();function ZM(e){let t=function(){let i=L("sourceContentUid");return i?i.split(".")[1]:e.pathname.split("/")[zt?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 JM(e,t,o){let r=k.title.split("|").pop();return`${t.replace(o,e)} | ${r}`}var u5=K`

        ${e=>e.title}

        ${e=>e.msg}

        ${e=>e.primaryButton.text} ${Pe(e=>"secondaryButton"in e,K` ${e=>e.secondaryButton.text}`)}
        `;function d5(e){return zEe({buttonText:e,template:$Ee(),hasPrimaryButton:!0,isDisabled:!0})}function $Ee(){return K`

        ${Q9}

        ${to(e=>e,REe)}

        `}function zEe(e){let t=e.isDisabled?"disabled":"",o=e.hasPrimaryButton?"button-primary":"";return K`
        ${to(n=>n,e.template)}
        `}function q9e(e){let o=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),n=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),r=rV;return{alertText:{approved:Yo(iV),new:sV,denied:w$,defaultMSg:r}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:o,isDisabled:n}}function p5(e){let{alertText:t,hasPrimaryButton:o}=q9e({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return zEe({buttonText:e.buttonText,template:K`
        ${wt.createHTML(Yo(t))}
        `,hasPrimaryButton:o,isDisabled:!0})}C();var qEe={InvalidRequest:U9,LabError:q9,SubscriptionUnavailable:$9,NotAllowed:Yo(H9),InvalidCaptchaToken:OC,default:Ru};var XM=class{},D_=class{},eD=class{},ew=class{};var g5={title:Su,type:"static",imgsrc:e=>`data:image/svg+xml,${ZS(e)}`,message:ju,description:D9,buttonText:Cu,event:D_};var HEe={title:z9,type:"static",imgsrc:e=>`data:image/svg+xml,${ZS(e)}`,message:N9,description:O9,buttonText:F9,event:ew};var BEe="labStatusReporter",K9e="fullScreenMessageTitle",W9e="fullScreenProgressText",Z9e="fullScreenProgressWrapper",T7o=`#${K9e}`,k7o=`#${Z9e} > #${W9e}`,VEe="labclient.labondemand.com";var f5=(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))(f5||{}),h5=(o=>(o.labCouldNotBeLaunched="sorry, your lab could not be launched",o.launchError="launch error",o))(h5||{});function Xl(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 Va=class extends He{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(VEe)&&r.data)try{let i=JSON.parse(r.data);i.event_id===BEe&&(this.updateLabConnected(i),this.reportScenarioHealth(i),this.reportUpdatedTelemetry(i))}catch{}},this.onBeforeUnloadHandler=r=>{r.preventDefault(),r.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{Xl(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(()=>{Z.href=tD(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(()=>{Z.href=tD(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new JS)}}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 i=$u(this,ew,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(HEe).then(()=>{i(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=o.labSession.expiresAt;let i=r-Date.now();setTimeout(this.expireTime.bind(this),i)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let o=$u(this,D_,()=>{Z.reload()});this.showModal(g5).then(n=>{o()})}}showModal(o){let n=document.createElement("div");n.classList.add("modal-content","margin-none","width-full"),n.tabIndex=-1;let r=YM(this,o).create();return r.bind(this,Ji),r.appendTo(n),this.modal=new ve(n),this.modal.show()}async getCaptchaToken(){return WS("Applied Skills"),await IEe().catch(o=>{throw this.viewState=3,o})}reportScenarioHealth(o){if(o.errors.length>0&&Xl(this.launchLabScenario,"labErrorFound",o.errors.join(", ")),o.currentConnectionState===1)Xl(this.launchLabScenario,"successfullyLoaded");else if(o.messageProgressTitle){let n=this.getScenarioHealthEventFromMessageTitle(o.messageProgressTitle);n&&(n==="iframeFailure"?Xl(this.launchLabScenario,n,void 0,o.messageProgressTitle):Xl(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([[h5,"iframeFailure"],[f5,"reportLabProgress"]]);for(let[r,i]of n)if(Object.values(r).some(s=>o.includes(s)))return i;return null}async initAppliedSkillSession(o){try{Xl(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,j.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async i=>{let s=i,a=await Qp(s);if(s.type==="BadRequestError"){if(a==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification);throw s.response.errorCode=a||void 0,s}throw i}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){Xl(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{Z.href=tD(2,o,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let r=new URL(Z.href);r.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Yn.replaceState(null,"",r),Jl({title:this.appliedSkillAssessment.appliedSkill.title??Lw,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(XM,this.submit.bind(this)),this.subscribe(eD,this.cancel.bind(this)),document.title=JM(this.appliedSkillAssessment.appliedSkill.title??Lw,Yo(M9),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(n)}catch(n){let r=n,i=await Qp(r)??r.response?.errorCode;if(r.type==="NotFoundError"){Xl(this.launchLabScenario,"labNotFound");let s=new URL(Z.href);s.searchParams.delete("snapshotId"),Yn.replaceState(null,"",s),this.viewState=3;return}if(r.type==="UnauthorizedError"||i==="QuotaExceeded"||S.disabledAppliedSkills&&i==="AppliedSkillDisabled")Xl(this.launchLabScenario,"unauthorized"),Z.href=tD(0,this.urlContext);else{Xl(this.launchLabScenario,"serverBadRequest",void 0,n);let s=$u(this,D_,()=>{Z.reload()}),a=Object.assign({},g5,{message:ju,description:qEe[i??"default"]});this.showModal(a).then(l=>{s()})}}}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([H],Va.prototype,"appliedSkillAssessment",2),O([H],Va.prototype,"urlContext",2),O([H],Va.prototype,"viewState",2),O([H],Va.prototype,"modal",2),O([H],Va.prototype,"hasLabConnected",2),O([H],Va.prototype,"captchaToken",2),O([H],Va.prototype,"mostRecentLabStatusMessage",2),O([H],Va.prototype,"subscription",2);function tD(e,t,o){return ho({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 J9e={loadingContext:{loadingType:!k.referrer||new URL(k.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,o,n)=>ho({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:o,query:{"display-captcha":n,snapshotId:void 0,"skip-verification":void 0}}),profileOverviewPageUrl:ao("me","certifications")}},loadedContext:{reportSummary:{passed:{titleDate:e=>e,imgSrc:e=>e||"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main",shareMsg:Ny,supertitle:Yo(tV),title:e=>e||g1},failed:{supertitle:Rw,title:e=>e||g1}},reportScores:{scoresTitle:K9,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Yo(J9),studyGuideItemsTitle:Z9}},errorContext:{reportError:e=>({NotFoundError:{title:na,msg:m1,primaryButton:{text:jw,url:ho({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Su,msg:oV,primaryButton:{text:jw,url:ho({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var oD=K` ${Pe(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Pe(e=>e.viewConfig.loadingContext.loadingType===0,K`

        ${W9}

        ${wt.createHTML(X9.replace("{duration}","60"))}

        `)} `;var tw=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&j.accessLevel!=="local"&&!A.isAuthenticated&&No(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let o=new URL(location.href);o.searchParams.delete("snapshotId"),Yn.replaceState(null,"",o)}}};O([H],tw.prototype,"errorType",2);var b5=e=>K`${to(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],u5)}`,KEe=K` ${Pe(e=>e.reportError.errorType==="NotFoundError",b5())} ${Pe(e=>e.reportError.errorType==="UnauthorizedError",b5("UnexpectedError"))} ${Pe(e=>e.reportError.errorType==="UnexpectedError",b5())} ${Pe(e=>e.reportError.errorType==="TimeoutError",oD)} `;var ec=class{constructor({high:t=0,low:o=0,max:n=1,min:r=0,optimum:i=0,value:s=0,classModifiers:a=""}){this.high=t,this.low=o,this.max=n,this.min=r,this.optimum=i,this.value=s,this.classModifiers=a}};O([Rr],ec.prototype,"high",2),O([Rr],ec.prototype,"low",2),O([Rr],ec.prototype,"max",2),O([Rr],ec.prototype,"min",2),O([Rr],ec.prototype,"optimum",2),O([Rr],ec.prototype,"value",2),O([H],ec.prototype,"classModifiers",2);var tc=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 ec({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([H],tc.prototype,"correctPercent",2),O([H],tc.prototype,"overallMeter",2),O([H],tc.prototype,"passed",2),O([H],tc.prototype,"passingPercent",2),O([H],tc.prototype,"scoredAt",2),O([H],tc.prototype,"scores",2);var WEe=K`
        `,ZEe=K`

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

        ${xG} ${e=>Fs.format(e.reportScores.scoredAt)}

        ${IG}${e=>Hw.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?ly:ay}

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

        ${to(e=>e.reportScores.overallMeter,WEe)}

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

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

        ${e=>e.title}

        ${Pe((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,K` ${to(e=>e.meter,WEe)}`)}
        `,{positioning:!0})}
        ${Pe(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,K` `)}
        `;C();async function nD(e,t,o=YV){let n=document.createElement("div");n.classList.add("modal-content");let r=new ve(n),i=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),s=d` `;y(s,r.contentElement),r.contentElement.querySelector("button[type=submit]").onclick=async a=>{if(!A.isAuthenticated)return;a.preventDefault(),a.target.classList.add("is-loading");let c=document.getElementById("save-to-collection");(await ZR(c,t)).hasError||(r.hide(),ES("added"))},r.show()}var $_=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([H],$_.prototype,"hasStudyGuideSummaries",2),O([H],$_.prototype,"studyGuide",2);var eVe=K`
        ${kG}
        ${Pe(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,K` ${Nw} `)} `,tVe=K`
        ${e=>e.type.toLowerCase()==="path"?Lf:Sr} ${e=>e.data.title} ${e=>Fn(e.data.durationInMinutes)}
        `,oVe=K`

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

        `,nVe=K`

        ${eV}

        ${V9}

        ${co(e=>e.reportStudyGuide.studyGuide.items,K` ${Pe((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,tVe)} ${Pe((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,oVe)} `)} `,JEe=K`

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

        ${Pe(e=>!e.reportStudyGuide.hasStudyGuideSummaries,eVe)} ${Pe(e=>e.reportStudyGuide.hasStudyGuideSummaries,nVe)}
        `;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 fp(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([H],Ko.prototype,"assessmentId",2),O([H],Ko.prototype,"credentialExpiresOn",2),O([H],Ko.prototype,"credentialIcon",2),O([H],Ko.prototype,"credentialId",2),O([H],Ko.prototype,"credentialName",2),O([H],Ko.prototype,"credentialUrl",2),O([H],Ko.prototype,"dateCountdown",2),O([H],Ko.prototype,"eligibleToRenewByDate",2),O([H],Ko.prototype,"isCurrentlyEligible",2),O([H],Ko.prototype,"isDisabled",2),O([H],Ko.prototype,"passed",2),O([H],Ko.prototype,"profileUrl",2),O([H],Ko.prototype,"retakeEligibleOn",2),O([H],Ko.prototype,"scoredOn",2),O([H],Ko.prototype,"shareableUrl",2),O([H],Ko.prototype,"titleDate",2),O([H],Ko.prototype,"riskData",2);var rVe=K`
        ${Pe(e=>"supertitle"in e.viewConfig.loadedContext.reportSummary.passed&&!!e.reportSummary?.credentialName,K`

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

        `)}

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

        ${Pe(e=>!!e.reportSummary?.scoredOn,K`

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

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

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

        `)} ${Pe(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,K` ${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt} `)} ${Pe(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,K`
        ${Pe(e=>"profileUrl"in e.reportSummary,K` ${B9} `)} ${Pe(e=>S.appliedSkillsShare,K`
        ${e=>GM("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:RS(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Yo(c1),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Yo(l1),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,iVe=K` ${Pe(e=>!!e.reportSummary?.credentialName,K`

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

        `)}

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

        ${Pe(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,K`

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

        `)} ${e=>S.disabledAppliedSkills&&((e.reportSummary?.isDisabled??!1)||e.reportSummary?.riskData?.userStatus==="NotAllowed")?p5({buttonText:NC,isDisabled:!0,riskData:{appealStatus:e.reportSummary?.riskData?.appealStatus,userStatus:e.reportSummary?.riskData?.userStatus}}):e.reportSummary?.isCurrentlyEligible?K` ${Pe(t=>"eligibleTitle"in t.viewConfig.loadedContext.reportSummary.failed,K`

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

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

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

        `)} ${NC} `:K`${to(t=>t.reportSummary.dateCountdown,d5(NC))}`}`,XEe=K`
        ${Pe(e=>e.reportSummary?.passed,rVe)} ${Pe(e=>!e.reportSummary?.passed,iVe)}
        `;var Ws=class{constructor(t){this.viewState=2;(async()=>{let o=t.urlContext??ZM(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 tc(n),this.reportStudyGuide=new $_(n),this.passed=n.passed,r=1}catch(i){let a=await Qp(i);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new tw({error:i,urlContext:o}),r=0}finally{this.viewState=r,t.afterActivated(n?{credentialName:n.credentialName,credentialUrl:n.credentialUrl}:null)}})()}};O([H],Ws.prototype,"passed",2),O([H],Ws.prototype,"reportError",2),O([H],Ws.prototype,"reportScores",2),O([H],Ws.prototype,"reportStudyGuide",2),O([H],Ws.prototype,"reportSummary",2),O([H],Ws.prototype,"urlContext",2),O([H],Ws.prototype,"viewConfig",2),O([H],Ws.prototype,"viewState",2);var eCe=K` ${Pe(e=>e.viewState===2,oD)} ${Pe(e=>e.viewState===1,K`
        ${to(e=>e,XEe)} ${to(e=>e,ZEe)} ${Pe(e=>!e.passed,K`${to(e=>e,JEe)}`)}
        `)} ${Pe(e=>e.viewState===0,KEe)} `;function tCe(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var rD=class{constructor(t){this.sessionId=zz(t.sessionId)}};var v5={async createSession(e){if(!S.assessmentMergerLearnAssessment)return uu.createSession(e);let t=ne({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),o=`${z.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,r=W(o,{method:"POST"}),i=await R(r);if(ge(i),i.ok)return await i.json();throw i.status===400?new Oe(i,"BadRequestError"):i.status===401?new Oe(i,"UnauthorizedError"):i.status===404?new Oe(i,"NotFoundError"):new Oe(i,"UnexpectedError")},async getSessionAnswerSummary(e){if(!S.assessmentMergerLearnAssessment)return uu.getSessionAnswerSummary();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,n=W(t,{method:"GET"}),r=await R(n);if(ge(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(!S.assessmentMergerLearnAssessment)return uu.getPreviousAttemptsByParentId();let t=`${z.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,n=W(t,{method:"GET"}),r=await R(n);if(ge(r),r.ok)return await r.json();throw new Oe(r,"UnexpectedError")},async getRenewalEligibility(){if(!S.assessmentMergerLearnAssessment)return uu.getRenewalEligibility()},async getSessionResult(e){if(!S.assessmentMergerLearnAssessment)return uu.getSessionResult();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,n=W(t,{method:"GET"}),r=await R(n);if(ge(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(!S.assessmentMergerLearnAssessment)return uu.submitSession();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,o={method:"PUT",body:JSON.stringify(e.userSelections)},n=W(t,o),r=await R(n);if(ge(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 pWo=j.supportLevel==="production"&&j.reviewFeatures?"include":void 0;var oCe=async(e,t,o)=>{if(!S.assessmentMergerPracticeAssessment){if(j.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=`${z.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${ne({locale:o})}`,i=W(n,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),s=await R(i);if(ge(s),s.ok)return await s.json();throw new Error(`get practice answer summary api responded with ${s.status} ${s.statusText}`)}return new Xj(await v5.getSessionAnswerSummary(new rD({sessionId:t})),o).items};C();C();C();Ue();C();async function rCe(){let e=`${z.profile.reporting}/createInvitation`,o=await R(W(e,{method:"POST"}));if(o.ok)return await o.json();throw new Error(`createInvitation api responded with ${o.status} ${o.statusText}`)}async function iCe(){let e=`${z.profile.reporting}/status`,t=await R(W(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}`)}C();async function lCe(){await ke,L("req_accommodation")==="true"&&cVe(),L("org_reporting")==="true"&&await uVe()}function cVe(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=te(),o=e.firstElementChild.firstElementChild;o.href=`${t}&accommodationRequested=true`}async function uVe(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let o=t.innerText;if(await be,A.isAuthenticated){let n,r=te().signInRedirect;if(A.userType==="standard")return r==="true"&&(Ut({signInRedirect:null},"replaceState"),iD(null,aCe)),sCe("msa-error",aCe,e,o);try{n=await iCe()}catch{return sCe("error",uCe,e,o)}if(r==="true"&&hVe(n),n)return fVe(n,e,o);let i=d``;y(i,e)}else{let n=pCe(),r=d``;y(r,e)}}async function cCe(){let e=document.createElement("div"),t=new ve(e);return y(dVe(t),e),await t.show()}function dVe(e){let t=d`

        ${$(XJ)}

        `,o=JJ,n=d`
        `;return ow(o,t,n)}async function pVe(e){mVe();try{let t=await rCe();Z.href=t.nextStepUrl}catch{iD(e,uCe)}}function mVe(){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=ZJ,e.setAttribute("disabled",""))}async function iD(e,t){return(async n=>{e?e.pushContent(n):(e=new ve(n),await e.show())})(t()),await e.show()}function sCe(e,t,o,n){let r=d``;y(r,o),document.getElementById(e)?.addEventListener("click",()=>iD(null,t))}function uCe(){let e=document.createElement("div"),t=d`

        ${$(QJ)}

        `,o=GJ,n=d` `;return y(ow(o,t,n),e),e}function aCe(){let e=pCe(),t=document.createElement("div"),o=d`

        ${$(oX)}

        `,n=tX,r=d` `;return y(ow(n,o,r),t),t}async function dCe(e){let t=document.createElement("div"),o=new ve(t);return y(gVe(e),t),await o.show()}function gVe(e){let t=d`

        ${$(KJ)}

        `,o=YJ,n=d` ${nX} `;return ow(o,t,n)}function fVe(e,t,o){let n=e.status==="Accepted",r=e.nextStepUrl;if(n){let i=d``;y(i,t)}else{let i=d`${o}`;y(i,t)}}function hVe(e){let t=e&&e.status==="Accepted",o=e&&e.status==="Pending",n=e&&e.nextStepUrl;return Ut({signInRedirect:null},"replaceState"),t?dCe(n):o?Z.href=e.nextStepUrl:cCe()}function pCe(){return Z.search?`${Z.pathname}${Z.search}&signInRedirect=true`:`${Z.pathname}?signInRedirect=true`}function ow(e,t,o){return d` `}C();Bp();C();async function _5(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}(),i=function(){return o?o.split(".")[1]:!j.reviewFeatures||!zt?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),s=t.searchParams.get("practice-assessment-type"),a=Jk();return{assessmentId:r,certificationId:i,assessmentType:n,practiceAssessmentType:s,skipVerification:a,isPreview:a==="true",omitScoring:J_e(),snapshotVersion:Xk(),showAllQuestions:W_e()}}C();C();C();C();C();C();var Ktn={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"}};C();var von=new URL(z.auth.partner).pathname;C();function hCe(){return d`
        ${qie}
        • ${Hie}
        • ${Bie}
        • ${Vie}
        `}var jVe={qna:{contextualCard:hCe(),cancelRegistrationMessage:String(Gie),isEnabled:L("page_kind")!=="register"}},rnn=te();C();var nw=class{constructor(t,o){this.question=t;this.questionNumber=o}},rw=class{},rf=class{constructor(t){this.questionResponses=t}},iw=class{};var vCe=K` ${Pe(e=>e.scenarioDescription,K`
        `)}
        ${co(e=>e.choices[0].choices,K``)} ${co(e=>e.choices[0].choices,K` `)} ${co(e=>e.choices,K` ${co(e=>e.choices,K` `)} `,{positioning:!0})}
        `,z_=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};O([H],z_.prototype,"id",2),O([H],z_.prototype,"text",2),O([H],z_.prototype,"isSelected",2);var sf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(o=>new z_(o)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}};O([H],sf.prototype,"id",2),O([H],sf.prototype,"text",2),O([H],sf.prototype,"description",2),O([H],sf.prototype,"choices",2);var gu=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 sf(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([H],gu.prototype,"uid",2),O([H],gu.prototype,"questionType",2),O([H],gu.prototype,"scenarioTitle",2),O([H],gu.prototype,"scenarioDescription",2),O([H],gu.prototype,"choices",2),O([H],gu.prototype,"id",2);function sD(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 _Ce=K`
        ${uG}
        ${co(e=>e.choices,K`
        ${(e,t)=>K` ${Pe(o=>t.parent.displayAnswer,K` ${o=>o.isSelected&&o.isCorrect===!1?K`${Cp}`:""} ${o=>o.isCorrect===!0?K`${Ap}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,N_=class{constructor(t){this.isSelected=!1;this.text=t}};O([H],N_.prototype,"id",2),O([H],N_.prototype,"text",2),O([H],N_.prototype,"isSelected",2),O([H],N_.prototype,"isCorrect",2);var ss=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=sD(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([H],ss.prototype,"uid",2),O([H],ss.prototype,"questionTitle",2),O([H],ss.prototype,"questionDescription",2),O([H],ss.prototype,"questionType",2),O([H],ss.prototype,"scenarioTitle",2),O([H],ss.prototype,"scenarioDescription",2),O([H],ss.prototype,"choices",2),O([H],ss.prototype,"id",2),O([H],ss.prototype,"rationale",2),O([H],ss.prototype,"displayAnswer",2);var yCe=K`
        ${sG}
        ${co(e=>e.choices,K`
        ${(e,t)=>K` ${Pe(o=>t.parent.displayAnswer,K` ${o=>o.isSelected&&o.isCorrect===!1?K`${Cp}`:""} ${o=>o.isCorrect===!0?K`${Ap}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,O_=class{constructor(t){this.isSelected=!1;this.text=t}};O([H],O_.prototype,"id",2),O([H],O_.prototype,"text",2),O([H],O_.prototype,"isSelected",2),O([H],O_.prototype,"isCorrect",2);var as=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=sD(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([H],as.prototype,"uid",2),O([H],as.prototype,"questionTitle",2),O([H],as.prototype,"questionDescription",2),O([H],as.prototype,"questionType",2),O([H],as.prototype,"scenarioTitle",2),O([H],as.prototype,"scenarioDescription",2),O([H],as.prototype,"choices",2),O([H],as.prototype,"id",2),O([H],as.prototype,"rationale",2),O([H],as.prototype,"displayAnswer",2);var af=class{constructor(t,o,n,r,i,s,a,l){this.assessmentId=t,this.certificationUid=o,this.skipVerification=r,this.snapshotVersion=i,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=ho({assessmentType:s,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:n,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=ho({assessmentType:s,pageType:0,credentialId:this.certificationUid,credentialPathname:n,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};O([H],af.prototype,"error",2),O([H],af.prototype,"reportPageUrl",2),O([H],af.prototype,"recertDetailsUrl",2);var xCe=K`
         

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

        ${Pe(e=>e.error&&e.error.status!==400,K`

        ${fG}

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

        ${vG}

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

        ${mG}

        `)}
        `;var TCe=K`

        ${Bt}

        ....
        `;var x5=class{constructor(){this.fileIsDirty=!1}static get admin(){return this._instance||(this._instance=new this)}},kCe=x5.admin;kCe.fileIsDirty=!1;function FVe(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 F_(e,...t){let o=(a,l)=>l.length===0?a:[a,...l].join("/");if(t.length===0){let a=e.split("/");e=a.shift()??"",t=a}let n=new URL(Z.href),r=FVe(n,"branch","themebranch","branchFallbackFrom","pr"),i=r.toString()!==""?"?"+r.toString():"",s=`/${b.data.userLocale}/admin/`+o(e,t)+i;return new URL(s,n)}C();var UVe=K`

        ${_G}

        00 : 00 : 00
        `,qVe=d` `,SCe=document.createElement("div"),wCe=new ve(SCe),HVe=()=>{y(qVe,SCe)},BVe=()=>wCe.hide(),VVe=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},GVe=e=>{let{timeRemaining:t}=te(),o=parseInt(t);return isNaN(o)?e:o},QVe=500,aD=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};O([H],aD.prototype,"countdownTimerReference",2);var T5=(e,t,o,n)=>{let r=e,i=Math.floor(r/1e3%60),s=Math.floor(r/1e3/60%60),a=Math.floor(r/(1e3*60*60)%24),l=document.querySelector("#timer-container");if(l!==null){let c=l.querySelector(".hours"),u=l.querySelector(".minutes"),p=l.querySelector(".seconds");c.textContent=a.toString().padStart(2,"0"),u.textContent=s.toString().padStart(2,"0"),p.textContent=i.toString().padStart(2,"0")}if(r<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),HVe(),wCe.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new iw),BVe()}),VVe()}else return n.countdownTimerReference=setTimeout(T5,QVe,Math.max(o-Date.now(),0),t,o,n)},oc=class{constructor(t,o,n=dt,r=!1,i=!1,s="false",a="preview"){this.bus=n;this.omitScoring=r;this.isPreview=i;this.showAllQuestions=s;this.snapshotVersion=a;this.countdownTimerReference=new aD;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(),Ei.goto(t,"replaceState")};this.title=t,this.service=o,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(nw,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:[]});Ei.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=lSe,r={id:"renewal-assessment-platform-api-link",url:cSe,text:JV},i=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));Yt(ZV?.replace("{temporaryPreviewExpiresAt}",i.toString()),r,t,o,n)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(j.supportLevel==="production"){let o=Date.now()+t;T5(t,this.bus,o,this.countdownTimerReference)}else{let o=GVe(t),n=Date.now()+o;T5(o,this.bus,n,this.countdownTimerReference)}}}updateScenario(t,o){let[n,r,i]=t.fullyQualifiedId.split(".");this.questionnaireId=n,this.questionSetId=r,this.questionId=i,this.currentScenario=t,this.currentScenarioNumber=o,this.form&&this.form.focus()}next(){this.bus.publish(new rw)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};O([H],oc.prototype,"numberOfScenarios",2),O([H],oc.prototype,"currentScenarioNumber",2),O([H],oc.prototype,"currentScenario",2),O([H],oc.prototype,"title",2),O([H],oc.prototype,"timer",2),O([H],oc.prototype,"countdownTimerReference",2);var ECe=K` ${Pe(()=>j.reviewFeatures,K`
        e.reRouteSession()} />
        `)}
        ${Pe(e=>e.isPreview,K` ${e=>e.manualId||e.renewalAssessmentUid} `)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?UVe:""}
        ${Pe(e=>e.isPreview,K` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${to(e=>e.currentScenario,e=>YVe(e.currentScenario))}
        ${Pe(e=>e.options.showcheckAnswer,K` `)}
        `;function YVe(e){let t={SingleSelect:yCe,MultiSelect:_Ce,Matrix:vCe},o=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[o]}function KVe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?f9:Ro:dG}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 CCe=K`
         

        ${pG}

        `;var U_=class{constructor(t,o){this.scoredSnapshot=t,this.resultsUrl=o}};O([H],U_.prototype,"scoredSnapshot",2),O([H],U_.prototype,"resultsUrl",2);var ACe=K` `;var lD=class extends He{constructor(o,n,r,i,s,a=dt,l=!1,c=!1){super();this.service=o;this.assessmentId=n;this.skipVerification=r;this.showAllQuestions=i;this.snapshotVersion=s;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Sg)}async initializeAssessment(){let o=await _5(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(n){PCe(n,this.service,o.certificationId)}k.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,k.title):k.title,this.setTesting(),this.bus.subscribe(rf,async n=>{this.setScoring();try{await this.service.scoreSnapshot(n.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,ho({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 Fg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,r,()=>this.bus.publish(new rf(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 oc(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 Je),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new Je)}async setSuccess(o,n){this.model=new U_(o,n);try{await Promise.all([jk("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),jk("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new Je)}}setError(o,n,r,i,s,a,l,c){this.model=new af(o,n,r,i,s,a,l,c),this.viewState="Error",this.publish(new Je)}setFailed(){this.viewState="Failed",this.publish(new Je)}createTitle(o=Ya,n=k.title){let r=n.split("|").pop();return`${eG.replace("{certificationName}",o||Ya)} | ${r}`}};O([H],lD.prototype,"viewState",2);var WVe=K` ${Pe(e=>e.viewState==="Loading",TCe)} ${Pe(e=>e.viewState==="Testing",K` ${to(e=>e.model,e=>ECe)}`)} ${Pe(e=>e.viewState==="Scoring",CCe)} ${Pe(e=>e.viewState==="Success",K` ${to(e=>e.model,e=>ACe)}`)} ${Pe(e=>e.viewState==="Error",K` ${to(e=>e.model,e=>xCe)}`)} `;function PCe(e,t,o){if(e instanceof Fg){if(e.status===401){No(location.href);return}t.snapshot?location.href=ho({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||o,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=Jr(k.referrer).href;return}else throw e}var ZVe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,o)=>ho({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:o,query:{assessmentId:t}}),detailsPageUrl:(e,t,o)=>ho({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:o,query:{assessmentId:t}}),profileDetailPageUrl:ao("me","certifications"),profileOverviewPageUrl:ao(A.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>h1.replace("{certificationName}",e||Ya),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${PY} ${TG}`,profilePageBtnTxt:b1,supertitle:Rw},failed:{detailsPageBtnTxt:wG,eligibleTitle:CG,eligibleMsg:e=>AG.replace("{date}",Fs.format(e)),supertitle:SG,title:e=>e||Ya}},reportScores:{scoresTitle:Uw,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:WV,studyGuideItemsTitle:Ow}},errorContext:{reportError:e=>({NotFoundError:{title:na,msg:PG,primaryButton:{text:LG,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:b1,url:ao(A.userName)}}})}};C();var lf="facet-search-input";async function cD(e,t,o=null,n=60*1e3){let r=new URL(e).href;if(t.length>100)return{question:"",answer:""};let i=W(r,{mode:"cors",method:"POST",credentials:j.supportLevel==="production"&&j.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:o||void 0}),s,a=new Promise((l,c)=>{s=window.setTimeout(()=>{c(new Ht(new Response("Timeout",{status:408})))},n)});try{let l=await Promise.race([fetch(i),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new Ht(l)}finally{s!==void 0&&clearTimeout(s)}}function uD(e,t,o,n,r,i,s,a){if(isNaN(e))return"";if(!t)return dee.replace("{numberOfResults}",Mr(e));let c=s?e===1?Sre:kre:a?e===1?vre:bre:e===1?hre:fre,u=a?e===1?Tre:xre:e===1?yre:_re,p=a?e===1?Pre:Are:e===1?Cre:Ere,m;switch(o){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",oa);break;case"Training":case"training":m=p.replace("{pivotCategory}",Qr);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",cn);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Qn);break;case"Show":case"show":m=p.replace("{pivotCategory}",kr);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Py);break;default:m=n&&!r?u:c}return m.replace("{count}",Mr(e)).replace("{searchPhrase}",i&&i.length!==0?JVe(t,i):t).replace("{scope}",n&&!r?n:"").replace(/\s\s+/g," ")}function JVe(e,t){t.reverse();let o=e;for(let{start:n,length:r,correction:i}of t)o=`${o.substring(0,n)}${i}${o.substring(n+r)}`;return o}function ICe(e){if(e.busy)return;let o=(e.facetGroups?.category&&e.facetGroups.category.facets.find(i=>i.isSelected))?.value||"",n=uD(e.resultsCount,e.terms,o,e.scope,e.scopeRemoved,e.spellingCorrection),r=e.resultsCount===0?jo:n;e.getSelectedCategoryName()!=="Ai"&&Ct(r,"assertive")}var fu=class{constructor(t){this.type=t}};var cf=class extends He{constructor(o,n,r,i,s,a,l,c,u,p,m){super();this.label=o;this.count=n;this.name=r;this.value=i;this._isSelected=s;this._isExpanded=a;this.level=l;this.position=c;this.group=u;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 fu(o))}};function LCe(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.selected}return t}function jCe(e){let t={};for(let o in e){let r=e[o];t={...t,...r.expanded}}return t}function RCe(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",oo),r.setAttribute("maxlength","100"),r.dataset.biName="search-input",r.classList.add("input","input-lg"),r.placeholder=oo,r.id=lf,r.name=lf,r.value="",r}t.input={...t.input,name:lf,id:lf,label:oo,size:"large",required:!!o};let n=Si({...t,initialValue:""});return n.addEventListener(Ua,()=>e()),n.addEventListener(Ua,uxe),n.addEventListener(rS,bR),n}function dD(e){document.getElementById(`facet-input-filter-${e}`).focus()}var sw=class{constructor(t){this.skip=t}},pD=class extends He{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 sw(n))}};function XVe(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 j_){let n=`filter-${o}`,r=o in e.filters;t[n]=r?e.filters[o]:null}return t.search=null,t}function Zs(e,t="pushState"){let o=XVe(e);Ut(o,t)}function MCe(e){for(let t in e){let o=t,n=eGe(o);e[o]=e[o].map(r=>DCe(r,o,n)),o!=="category"&&o!=="date"&&(e[o]=e[o].sort(n))}return e}function eGe(e){return e==="years"?(t,o)=>o.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,o)=>E6(t.value)-E6(o.value):(t,o)=>t.displayName.localeCompare(o.displayName,b.data.userLocale)}function DCe(e,t,o){return e.displayName||(e.displayName=Nr?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(n=>{DCe(n,t,o)}),e.children.length>1&&e.children.sort(o)),e}var k5=(e,t)=>t.hasChildren?t.children.reduce(k5,e)+1:e+1,mD=class extends He{constructor(o,n=""){super();this.key=o;this._filter=n;this._facets=[];this._totalFacets=0;this.name=j_[o]}get facets(){return this._facets}set facets(o){this._facets=o,this._totalFacets=this._facets.reduce(k5,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(S5("isSelected"),{})}get expanded(){return this.facets.reduce(S5("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="",dD(this.key),Ct(t$,"assertive"),this.notifyFacetChange("filter")}clearFacet(){Ct(t$,"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(k5,0),this.subscribeToChanges(this.facets)}subscribeToChanges(o){for(let n of o)n.subscribe(fu,r=>this.notifyFacetChange(r.type)),n.children&&this.subscribeToChanges(n.children)}notifyFacetChange(o){this.publish(new fu(o))}};function S5(e){return(t,o)=>{if(o[e])t[o.value]=!0;else if(o.hasChildren)return o.children.reduce(S5(e),t);return t}}function $Ce(e){let t={};for(let o in e)if(o in j_&&e[o]){let n=o,r=e[n].split(","),i=tGe(n,r);i&&(t[n]=i.reduce((s,a)=>(s[a]=!0,s),{}))}return t}function zCe(e){return e.expanded?e.expanded.split(",").reduce((o,n)=>(o[n]=!0,o),{}):{}}function NCe(e,t,o,n){let r={};for(let i in e){let s=i,a=new mD(s,n[s]);a.facets=e[s].map(OCe(s,1,t,o,a)),r[s]=a}if(jt==="Search"){let i=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let s of fR)s!=="All"&&!r?.category.facets.find(a=>a.name===s)&&(r.category.facets=r.category.facets.concat(new cf("category",0,s,s,s===i,!1,2,r.category.facets.length+1,r.category)))}return r}function OCe(e,t,o,n,r,i){return(s,a)=>{let l=e in o&&s.value in o[e],c=s.value in n,u=new cf(e,s.count,s.displayName||s.name,s.value,l,c,t+1,a+1,r,i,s.avatarUrl);return s.children&&s.children.length&&(u.children=s.children.map(OCe(e,t+1,o,n,r,u))),u}}function FCe(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.filter||""}return t}function UCe(e){let t={};for(let o in e)t[e[o]]=o;return t}function tGe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let o=fR.find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o==="Ai"&&(S.enableDeepSearch===!1||!A.isAuthenticated)?[]:o&&o!=="All"?[o]:null}return[]}else if(e==="date"){if(t.length===1){let o=Object.keys(ns).find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o&&o!=="all"?[o]:null}return[]}return t}function aw(e){return Object.keys(e||{}).length===0}var gD=class extends He{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 i in r)aw(r[i])&&delete r[i];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=UCe(this.taxonomyFacetLookups)),r.syntheticFacets&&(this._syntheticFacets=r.syntheticFacets),r.facetSort&&(this.facetSort=r.facetSort),r.queryStringTransformer){let i=r.queryStringTransformer(new URL(Z.href));Ut(i,"replaceState","")}if(this._pageStateHandler=r.pageStateHandler,this._fetch=o,r.hideCompleted&&A.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!r.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=r.scoringProfile),r.rss&&S.rss&&(this._rss=r.rss,this._rssEnabled=!0),r.resultSortOptions&&r.resultSortOptions.length>0){this._resultsSortOptions=r.resultSortOptions;let i=r.resultSortOptions.findIndex(s=>s?.default===!0);this._currentResultsSortOptionsIndex=i===-1?0:i}this._input=RCe(async()=>{await this.fetch(),Zs(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()),Zs(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)aw(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(lf);n.value.length>100&&(n.value=n.value.trim().slice(0,100)),this.input.value=n.value.trim(),this._skip=0,this.fetch(),Zs(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,i,s,a]=await Promise.all([this.useCacheOrFetch(o),this.contentAreaNumberFetch(),Nz(n),this.fetchGuestSearchAnswerResult(o)]);this.maintainCachedResults(o,r),i&&this.maintainCachedResults(this.createSearchArgs(!1),i);let l=this.combineResponse(r,i,s);this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookups,l.facets),this.updateAnswers(a),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(),ICe(this),dxe(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=LCe(this.facetGroups),this._skip=0,this.fetch(),Zs(this.createSearchArgs());break;case"expand":this._expandedFacets=jCe(this.facetGroups),Zs(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=FCe(this.facetGroups),Zs(this.createSearchArgs(),"replaceState"),this.facetGroups[n].allFacetsFilteredOut&&Ct(jo,"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(),Zs(this.createSearchArgs())}clearFacet(o){this._selectedFacets[o]={},this.fetch().then(()=>{dD(o)}),Zs(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 i=r.querySelector(`#${this.selectedCategoryId}`);if(i){i.focus();return}}vv(r)}clearScope(){this._scope=null,this.fetch(),Zs(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Je)}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(),Zs(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 i=n[r],s=o[r];n[s]=i,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(i=>i.args===n);return r?(await new Promise(i=>setTimeout(i,300)),r.response):this._fetch(o)}maintainCachedResults(o,n){let r=JSON.stringify(o,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(i=>i.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||Ur,value:r.userId,avatarUrl:r.avatarUrl||pn(r.displayName,r.userId)}]:[]}),n&&o.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&o.facets?.category.length===0){let i=n.facets?.category?.find(s=>s.value==="QnA");i&&(i.count=0)}for(let i of n.facets?.category??[]){let s=o.facets?.category.find(a=>a.value===i.value);s&&(i.count=s.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(),Zs(this.createSearchArgs()),ohe()})}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 Bs({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=$Ce(o),this._expandedFacets=zCe(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(){!Z.search&&jt==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let o in this._facetGroups)this._facetGroups[o].subscribe(fu,r=>this.handleFacetChange(r.type,o))}async fetchGuestSearchAnswerResult(o){if(!S.enableModernSearchAnswer||A.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!A.isAuthenticated&&this.scope===null){let n=o.terms.trim(),r=this.queryCopilotQaCache(n);if(r)return this.copilotQA=r,r;let i=await cD(z.searchAnswer.guest,o.terms,null,3*1e3),s={question:i.question??"",answer:i.answer??"",responseType:i.responseType};return this.addCopilotQaToCache(n,s),s}else return null}catch(n){if(n instanceof Ht)return null;throw n}}};C();Ue();C();C();var w5="facet-group";function E5(e,t){return`${w5}-body--${e}${t?"--mobile":""}`}function q_(e,t){return`${w5}-expander--${e}${t?"--mobile":""}`}function C5(e,t){return`${w5}-container--${e}${t?"--mobile":""}`}var fD="deep-search-container",uf="desktop-filter-button",H_="desktop-filter-button-close",B_="search-filter-sidebar",A5="search-answer",hD="search-answer-header",lw="toggle-search-answer-button",cw="search-answer-body",P5="search-answer-rating",I5="more-content-areas-popover";function V_(e,t,o){return e?S.enableNewSiteSearch?d` ${rGe(`${e.key}${t}`,e)} `:d`
        {let r=n.target,i;if(r.value==="All")i="All";else if(e.facets.find(s=>s.name===r.value&&s.count>0))i=r.value;else{i=e.facets.find(a=>a.isSelected)?.value||"All";let s=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===i);s&&(s.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(s=>s.checked=!1),e.selectByValue(i)}} >
        ${nGe(`${e.key}${t}`,e.facets)}
        `:d``}var L5=(e,t,o,n,r=!1)=>{let i=r?"badge-primary":"";return d``};function oGe(e,t){let o=t.reduce((n,r)=>(r.isSelected&&(n.selection=!0),n.count+=r.count,n),{count:0,selection:!1});return L5(e,"All",Xs,o.count,!o.selection)}function nGe(e,t){return Object.keys(of).map(r=>{let i=t.find(s=>s.value.toLowerCase()===r);return r==="all"?oGe(e,t):i?L5(e,i.value,of[r],i.count,i.isSelected):L5(e,r,of[r],0,!1)})}function rGe(e,t){let o=["ai","documentation","training","credential","qna","reference","show"],n=!1,r=0,i=o.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return n=n||!!l?.isSelected,r+=l?.count??0,qCe(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),s=d`${qCe(e,"all","all",!n,t,r===0)}`;return d`
        ${s}${i}
        ${iGe()}`}function qCe(e,t,o,n,r,i){if(o==="ai"&&(S.enableDeepSearch===!1||!A.isAuthenticated))return d``;let s=o==="ai"?!1:i&&!n&&t!=="all",a=of[o],l=o==="ai"&&n;return d` `}function iGe(){return d`
        `}function j5(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"}`}C();function bD(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d` `}function R5(e){let t=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d` `:""}C();function HCe(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d` `}C();function vD(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${jo}.

        `}function M5(){return d`

        ${jC}

        `}function _D(e){let t=document.getElementById(B_);if(t){t.classList.toggle("is-hidden");let o=t.classList.contains("is-hidden"),n=document.getElementById(uf);n&&(n.classList.toggle("background-color-body-medium"),n.setAttribute("aria-expanded",`${!o}`),e===H_&&o&&n.focus())}}C();function BCe(e){return e.hideCompletedEnabled?d`

        ${GCe(e)}
        `:""}function VCe(e){return e.hideCompletedEnabled?d`
      • ${GCe(e,!0)}
      • `:""}function GCe(e,t=!1){return d` `}C();function uw(e,t){let o=Si({input:{id:`facet-input-filter-${e.key}`,placeholder:QW,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:lxe,getTitle:n=>n.displayName||Ur,itemTemplate:n=>d`
        ${n.displayName||Ur}
        ${sGe(n.reputationPoints)} ${oR(n.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:IJ});return o.addEventListener(Ua,n=>{let r=n.detail.suggestion,i=new cf("author",1,r.displayName||Ur,r.userId,!0,!1,1,1,null,null,r.avatarUrl);e.setFacets([i]),e.selectByValue(r.userId)}),o.addEventListener(rS,bR),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 D5(e=!1){return S.enableNewSiteSearch?d`
        ${$(v$)}
        `:d`
        ${$(v$)}
        `}function sGe(e){return e>0?d` ${e} `:null}var aGe={title:!0,"is-3":!0,"margin-bottom-xxs":!0},yD={title:!0,"is-5":!0,"margin-bottom-xs":!0};function lGe(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${jC}

        `}function $5(e){return S.enableNewSiteSearch?hp(e).length===0?d``:d``:e.facetsEnabled?d`

        ${Wa}

        ${bD(e)} ${BCe(e)}
        ${jt==="Search"?"":lGe(e)} ${QCe(e)}
        `:""}function cGe(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function hp(e){if(jt==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(S.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 cGe(e)}function KCe(e){let t=hp(e),o=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${M5()}
        `:d`${Mo(t,n=>n,(n,r)=>xD(e.facetGroups[n],!0,!o,r===t.length-1))}`}
        `:d`${Mo(t,n=>n,n=>xD(e.facetGroups[n],!0,!o))} `}function QCe(e){let t=hp(e),o=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?M5():d`${Mo(t,n=>n,(n,r)=>xD(e.facetGroups[n],!1,!o,r===t.length-1))}`}
        `:d`${Mo(t,n=>n,n=>xD(e.facetGroups[n],!1,!o))} `}function xD(e,t,o,n=!0){if(!e||jt!=="Search"&&e.isEmpty)return d``;let r=`ms--facet-heading-${e.key}${t?"-mobile":""}`,i=o?`is-vertically-scrollable ${S.enableNewSiteSearch?"":"has-max-height-260"}`:"",s=!t||!o;return S.enableNewSiteSearch?d`
        ${uGe(e,t,s,r,n)} ${dGe(e,t,i,s,r)}
        `:e.key==="category"?d`

        ${e.name}

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

        ${vy}

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

        ${Rp}

        ${D5()}
        ${R5(e)}
        ${uw(e,t)}
        `:d`

        ${e.name}

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

        ${Rp}

        ${D5(t)}
        ${R5(e)}
        `:d`

        ${a}

        `}function dGe(e,t,o,n,r){let i=e.key,s=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${i==="author"?"":"has-overflow-hidden"} ${n?"":"is-hidden"}`,a=d``;return i==="date"?a=YS(e,t?"mobile":"",r):i==="author"?a=d`
        ${uw(e,t)}
        `:a=e.facets.length>0?WCe(e,o,r):ZCe(e.key),d`
        ${a}
        `}function z5(e){if(!e.hasFilterInput&&!e.filter)return"";let t=VW.replace("{facet}",YSe[e.key].toLowerCase()),o=Ze();return d`
        e.handleFilterInput(n))} placeholder=${t} .value=${e.filter} aria-describedby=${o} />
        `}function WCe(e,t,o){return d`${z5(e)}
        ${vD(e)}
          ${TD(e.facets,e.key)}
        `}function TD(e,t,o=!1,n=!1){let r=n||!!e.find(i=>i.hasChildren);return Mo(e,i=>i.value,i=>pGe(i,t,e.length,r,o))}function ZCe(e){let t=S.enableNewSiteSearch?"font-size-sm":"",o;switch(e){case"products":o=yJ;break;case"tags":o=xJ;break;default:o=jo}return d`

        ${o}

        `}function pGe(e,t,o,n,r){let i=HCe(e,n),s=S.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${i}
        ${e.hasChildren?d`
          ${TD(e.children,t,!1,n)}
        `:null}
      • `}function mGe(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function YCe(e,t,o=!1){let n=document.getElementById(E5(e,t));if(n&&(n.classList.toggle("is-hidden"),o)){let i=document.getElementById(C5(e,t));i&&i.classList.toggle("border-bottom")}let r=document.getElementById(q_(e,t));if(r){let i=r.getAttribute("aria-expanded")==="false";r.setAttribute("aria-expanded",i.toString())}}function JCe(e){return hp(e).length===0?d``:d` `}C();function dw(e){return d`
        e.submit(t)} >
        ${e.input}
        `}C();function O5(e){return S.enableNewSiteSearch?hp(e).length===0?d``:d` `:d` `}function XCe(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:S.enableNewSiteSearch?Wa:O$}function kD(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var G_,N5;async function e0e(){G_||(G_=document.createElement("div")),N5||(N5=new ve(G_)),await N5.show()}function n0e(e){return S.enableNewSiteSearch?d` `:d` `}function t0e(e){return S.enableNewSiteSearch?d` `:d`

        ${XCe(e)}

        ${gGe(e)} `}function gGe(e){return e.mobileMenuView==="top"?"":d`
        `}function fGe(e){switch(e.mobileMenuView){case"top":return hGe(e);default:return vGe(e.facetGroups[e.mobileMenuView])}}function hGe(e){return d`
          ${VCe(e)} ${bGe(e)}
        `}function bGe(e){let t=hp(e);return Mo(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(S.enableNewSiteSearch&&o==="category")return"";if(n){let r=`ms--cat-btn-${o}`;return d`
      • `}return""})}function vGe(e){return e.key==="author"?d`
        ${uw(e,!0)}
        `:e.key==="date"?d`
          ${YS(e,"")}
        `:d`
        ${z5(e)} ${vD(e)}
          ${e.key==="category"?V_(e,"mobile"):TD(e.facets,e.key,!0)}
        `}function o0e(e){return S.enableNewSiteSearch?d` `:d`
        `}function F5(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 Xg(t)}C();var _Ge=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},yGe=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function r0e(e,t){return S.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function H5(e,t,o,n){if(e.getSelectedCategoryName()==="Ai")return d`
        `;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?_Ge():e.results.map((i,s)=>d`
      • ${o(i,s)}
      • `);return r0e(t,r)}else if(t==="list"){let r=e.busy?yGe():e.results.map((i,s)=>d`
      • ${o(i,s)}
      • `);return r0e(t,r)}else throw new Error("Invalid layout property specified in View Model config.")}C();function B5(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d` `}C();function s0e(e){let t=e.getSelectedCategoryName().toLowerCase(),o=A.isAuthenticated,n=!A.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return S.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&(n||o)}function a0e(e,t){return d`
        ${Js(e,t)}
        `}function Js(e,t){if(t==="NotShown")return d``;let o=d``;return t==="Generating"?o=d`

        ${p0}

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

        ${gre}

        `:t==="ShowResult"&&(e.copilotQA?.answer?o=d` ${$(SGe(e.copilotQA.answer))} ${TGe(e)} `:o=d`

        ${m0}

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

        ${Gf}

        `}function TGe(e){return d`
        ${Lu} ${$(Qf)}
        `}function i0e(e,t,o,n){let r=document.getElementById(P5);r&&(r.innerHTML=` ${Yf}`);try{let i=A.isAuthenticated?A.authenticationMode:"Anonymous";pxe(e,t??"",o??"",n,i)}catch{}}function kGe(e){let t=document.getElementById(cw),o=document.getElementById(lw);t&&o&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,o.textContent=t.hidden?J$:Fy)}function SGe(e){let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("a");Array.from(o).forEach((r,i)=>{r.setAttribute("data-bi-name",`search-answer-ref-${i}`)});let n=t.getElementsByTagName("pre");return Array.from(n).forEach(r=>{r.classList.add("white-space-pre-wrap")}),t.innerHTML}async function l0e(e,t){if(S.enableModernSearchAnswer===!1)return;let o=e.resetAbortController("SearchAnswer"),n=e.getSelectedCategoryName(),r=document.getElementById(A5);if(r){if(n!=="All"&&n){y(Js(e,"NotShown"),r);return}await be,A.isAuthenticated?await wGe(e,t,o,r):await EGe(e,t,o,r)}}async function wGe(e,t,o,n){if(y(Js(e,"Generating"),n),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,y(Js(e,"ShowResult"),n);return}let r=e.queryCopilotQaCache(e.terms);if(r){let u=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(Js(e,"ShowResult"),n),vR(e.terms,e.copilotQA.question,e.copilotQA.answer,A.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let i=e.terms.trim(),s=new Date().toISOString(),a=await cD(z.searchAnswer.user,i,o),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(i,c),o.aborted)return;e.copilotQA=c,y(Js(e,"ShowResult"),n),vR(e.terms,c.question,c.answer,A.authenticationMode,s,l,a.responseType,!0)}catch{y(Js(e,"Error"),n)}}async function EGe(e,t,o,n){if(t==="VmBusy"){e.copilotQA=void 0,o.aborted===!1&&y(Js(e,"NotShown"),n);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){y(Js(e,"Generating"),n);let r=new Date().toISOString(),i=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,i)),o.aborted)return;let s=new Date().toISOString();y(Js(e,"ShowResult"),n),vR(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",r,s,e.copilotQA?.responseType,!0)}else y(Js(e,"NotShown"),n)}catch{y(Js(e,"NotShown"),n)}}C();function V5(e,t="h2"){let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(i=>i.isSelected))?.value||"";if(n==="Ai")return d``;let r=e.busy?"":uD(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(S.enableNewSiteSearch)return e.busy?d``:e.resultsCount===0?d``:d`

        ${r}

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

        ${r}

        `;default:return d`

        ${r}

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

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

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

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

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

        `:""}function c0e(e){return e.busy?"":e.hasSortableResults?d`
        ${zre} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}C();function Y5(e){let t=Object.keys(e.facetGroups).filter(o=>o!=="category");if(S.enableNewSiteSearch){let o=e.selectedFacetsMinusCategory;return Object.keys(o).length===0?d``:d`
        ${Mo(t,n=>n,n=>Q5(e.facetGroups[n]?.facets||[]))}
        `}return d`${Mo(t,o=>o,o=>Q5(e.facetGroups[o]?.facets||[]))}`}function Q5(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${Q5(t.children)}`:CGe(t))}`}function CGe(e){return d` `}function AGe(e){return e.label==="author"?d` `:null}function K5(e,t,o,n,r,i){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,i(e);if(S.enableNewSiteSearch){let a=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"",l="is-full is-three-fifths-desktop padding-inline-none";return d`
        ${dw(e)}
        ${V_(e.facetGroups?.category,"-new-search")}
        ${O5(e)}
        ${V5(e,r)} ${JCe(e)}
        ${G5(e)}
        ${$5(e)}
        ${Y5(e)} ${s0e(e)?d`${a0e(e,"ShowResult")}`:d``} ${H5(e,t,o,n)}
        ${F5(e)}
        ${B5(e)}
        `}let s=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${$5(e)}
        ${dw(e)} ${e.hasActiveFacets?d`
        ${PGe(e)}
        ${Y5(e)}
        `:""}
        ${V5(e,r)} ${G5(e)} ${c0e(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${H5(e,t,o,n)}
        ${F5(e)}
        ${B5(e)}
        `}function PGe(e){return d`
        ${O5(e)}
        ${bD(e)}
        `}C();function W5(e){return d`

        ${jo}

        ${Kf}

        `}async function ls(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:o,autocomplete:n,layout:r,hideCompleted:i,resultTemplate:s,noResultsTemplate:a,scoringProfile:l,rss:c,headingLevel:u,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:v,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:_,pageStateHandler:T}=e,P;switch(r){case"grid":P=30;break;case"grid-large":P=6;break;case"list":default:P=10}let E=new gD(o,P,{autocomplete:n,hideCompleted:i,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!v,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:_,pageStateHandler:T});await E.initialized,y(K5(E,r,s,a||W5,u,v),t),await Dr(t),E.handlePageState("VmReady"),E.subscribe(Je,async()=>{y(K5(E,r,s,a||W5,u,v),t),await Dr(t),G_&&y(n0e(E),G_)})}C();function d0e(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid-large",fetch:MGe,resultTemplate:$Ge}}var LGe={orderBy:"last_modified desc"},jGe=Mw,RGe={"solution-idea":dV};async function MGe(e){let[t]=await Promise.all([u0e(e,!1),be]);t.count===0&&([t]=await Promise.all([u0e(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function DGe(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Bn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:LGe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function u0e(e,t){let o={...DGe(e),fuzzySearch:t},n=`${z.browse.architecture}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function $Ge(e){let t=Ze();return d`

        ${RGe[e.content_type]||jGe}

        ${e.title}

        ${e.summary}

          ${M_(Ks(e))}
        `}C();function p0e(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",fetch:NGe,resultTemplate:zGe,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Mf,orderBy:"last_modified desc"},{label:Df,orderBy:"last_modified"}]}}function zGe(e){let t=(e.exams||[]).filter(l=>!!l.display_name).map((l,c)=>c===0?d` ${l.display_name}`:d`, ${l.display_name}`),o=t.length>0?d``:"",n={"applied skills":Kg,examination:Nr.resource_type.examination,certification:Nr.resource_type.certification,course:Nr.resource_type.course}[e.credential_types[0]],r={"applied skills":e.title,examination:`${Hr} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],s=`credential-${e.uid?zo(e.uid):Ze()}-title`,a=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return d`

        ${n}

        ${r}
        ${o}
        `}async function NGe(e){let[t]=await Promise.all([SD(e,!1),be]);t.count===0&&([t]=await Promise.all([SD(e,!0),be]),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,at.userLocale));return t}function OGe(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:Bn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function SD(e,t){let o={...OGe(e),fuzzySearch:t},n=`${z.browse.credential}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}C();function m0e(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 g0e(e){switch(e){case"Reported":return IZ;case"Under Investigation":case"Investigating":return AZ;case"Confirmed":return CZ;case"Mitigated":return PZ;case"Resolved":return LZ;default:throw new Error(`Unexpected status - ${e}`)}}var FGe={orderBy:"last_updated_date desc"};function h0e(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",fetch:UGe,resultTemplate:VGe,noResultsTemplate:HGe,queryStringTransformer:m0e}}async function UGe(e){let[t]=await Promise.all([f0e(e,!1),be]);t.count===0&&([t]=await Promise.all([f0e(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function qGe(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Bn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:FGe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function f0e(e,t){let o={...qGe(e),fuzzySearch:t},n=`${z.browse.windowsSafeguards}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function HGe(e){return e.terms&&e.terms.includes("ref:")?BGe():d`

        ${jo}

        ${Kf}

        `}function BGe(){return d`

        ${jre}

        ${Lre}

        `}function VGe(e){let t=g0e(e.status),o=e.status==="Resolved"?"background-color-success color-success-invert":"background-color-tertiary color-tertiary-invert",n=e.products.map(i=>d`${i}`),r=Ze();return d`

        ${PE}

        ${e.title}
        ${e.status==="Resolved"?d` `:""} ${t}
        `}function GGe(e){if(!e.versions)return"";let t=e.versions.length===1?d`${e.versions[0]}`:e.versions.map(o=>d`${o}`);return d`
      • ${t}
      • `}C();function v0e(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"list",fetch:YGe,resultTemplate:WGe}}var QGe={orderBy:"start desc"};async function YGe(e){let[t]=await Promise.all([b0e(e,!1),be]);t.count===0&&([t]=await Promise.all([b0e(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function KGe(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Bn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:QGe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function b0e(e,t){let o={...KGe(e),fuzzySearch:t},n=`${z.browse.lifecycle}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function WGe(e){let t=e.start,o=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",n=Ze();return d`
        ${e.title}
        `}C();function y0e(){return{facetSort:(e,t)=>fo(e)-fo(t),layout:"grid",fetch:e7e,resultTemplate:JGe}}var ZGe={orderBy:"last_modified desc"};function JGe(e){let t=Wr(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),n=`sample-${e.uid?zo(e.uid):Ze()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${M_(XGe(e))}
        `}function XGe(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 e7e(e){let[t]=await Promise.all([_0e(e,!1),be]);t.count===0&&([t]=await Promise.all([_0e(e,!0),be]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function t7e(e){return{branch:pt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Bn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:ZGe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function _0e(e,t){let o={...t7e(e),fuzzySearch:t},n=`${z.browse.sample}?${ne(o,!0)}`;return R(W(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}async function x0e(){let e=o7e();if(S.contentBrowse){await ke;let t=document.getElementById("content-browser-container");switch(e){case"sample":ls(y0e(),t);break;case"learn":R_(),OS(),ls(aEe(),t);break;case"certification":ls(uEe(),t);break;case"credential":ls(p0e(),t);break;case"lifecycle":ls(v0e(),t);break;case"architecture":ls(d0e(),t);break;case"knownIssue":ls(h0e(),t);break;case"show":{ls(mEe(),t);break}}}}function o7e(){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`)}C();async function T0e(){await ke;let e=document.getElementById("directory-search-form-replacement");_R(e,"directory-page-search-form","facet-search-input","directory")}function n7e(e){return 400<=e&&e<500}async function k0e(e,t=!0){let o=t?"?isAMS=true":"?isAMS=false",n=`${z.learn.episode}/${e}${o}`,i=W(n,{method:"GET"}),s=await R(i);if(ge(s),s.ok)return await s.json();if(n7e(s.status))return null;throw new Error(`Unexpected response status ${s.status}`)}function Or(e){return e?.textTracks?.length?[...e.textTracks].find(n=>n.mode==="showing")?.label||$w:$w}function S0e(e,t){let o=!1,n=e.video.volume===0||e.video.muted,r=e.video.currentTime,i=e.video.duration?r/e.video.duration:0,s,a,l,c,u,p=0,m=0,g,f=0,v,h=Or(e.video),x=0,_=0,T=0;function P(G){X_e({behaviorCode:G,videoData:t,videoTimeSeconds:r,eventTime:c,startTime:s,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:_,secondsNormalSpeedAfterReplay:x,freezeTimeAfterReplay:T})}function E(){p=eye(u,g,p,v,c),m=H3(u,g,m,v,c),_=tye(u,g,_,v,c,a),x=oye(u,g,x,v,c,a)}function B(){let G=Date.now();c=G,s=G,r=e.video.currentTime,h=Or(e.video),P(le.VIDEOSTART)}function N(){let G=Date.now();c=G,l=G,r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOPAUSE),v=G}function de(){let G=Date.now();c=G,r=e.video.currentTime,h=Or(e.video);let D=!!l,ee=l>a,fe=on(G-l);D&&(f+=fe),ee&&(T+=fe),P(le.VIDEOCONTINUE)}function Ce(){let G=Date.now();c=G,l=G,r=e.video.currentTime,h=Or(e.video),m=H3(u,g,m,v,c),a=G,T=0,_=0,x=0,P(le.VIDEOREPLAY)}function ae(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOCOMPLETE)}function yt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOMUTE)}function Nt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOUNMUTE)}function Vt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOERROR)}function Uo(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOFULLSCREEN)}function Jt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOUNFULLSCREEN)}function bo(){let G=Date.now();c=G,r=e.video.currentTime,h=Or(e.video),u=G,g=e.video.playbackRate,E(),P(le.VIDEOPLAYERCLICK)}function Vn(){let G=Date.now();c=G,r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOBUFFERING),v=G}function Ot(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),E(),P(le.VIDEOPLAYERLOAD)}function Re(){let G=e.video.muted||e.video.volume===0;!n&&G?yt():n&&!G&&Nt(),n=G}function M(){let G=Date.now(),D=e.video.currentTime,ee=D/e.video.duration,fe=i<.25&&ee>=.25,I=i<.5&&ee>=.5,Q=i<.75&&ee>=.75;(fe||I||Q)&&(c=G,r=D,h=Or(e.video),E(),P(le.VIDEOCHECKPOINT)),c=G,i=ee}document.addEventListener("onestreamplayerstart",()=>{o?e.video.currentTime<.5?Ce():de():(o=!0,B())}),document.addEventListener("onestreamplayererror",Vt),e.video.addEventListener("pause",N),e.video.addEventListener("ended",ae),e.video.addEventListener("waiting",Vn),e.video.addEventListener("ratechange",bo),e.video.addEventListener("loadstart",Ot),e.video.addEventListener("volumechange",Re),e.video.addEventListener("timeupdate",M),e.onFullscreenChange((G,D)=>{D?Uo():Jt()})}C();var wD,w0e,r7e="4.9.4",i7e=`/static/third-party/onestream-player/shaka/${r7e}/shaka-player.ui.min.js`,Z5=!1,s7e="6.2.0",a7e=`/static/third-party/onestream-player/mux-js/${s7e}/mux.min.js`,J5=!1,l7e="0.4.0",c7e=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${l7e}.min.js`,X5=!1,e8={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 u7e(){return Z5?Promise.resolve():Vs(i7e,null).then(()=>{Z5=!0})}async function d7e(){return J5?Promise.resolve():Vs(a7e,null).then(()=>{J5=!0})}async function p7e(){return X5?Promise.resolve():Vs(c7e,null,"one_stream_player").then(()=>{X5=!0})}var m7e=(e=!1)=>e?d`