@microsoft/applicationinsights-react-js 19.3.7-nightly.2505-01 → 19.3.7-nightly.2505-02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - React Plugin, 19.3.7-nightly.2505-01
2
+ * Application Insights JavaScript SDK - React Plugin, 19.3.7-nightly.2505-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
- var n=this,t=function(n,c){"use strict";function V(n){return n&&"object"==typeof n&&"default"in n?n:{"default":n}}function z(r){if(r&&r.__esModule)return r;var e=Object.create(null);return r&&Object.keys(r).forEach(function(n){var t;"default"!==n&&Object.defineProperty(e,n,(t=Object.getOwnPropertyDescriptor(r,n)).get?t:{enumerable:!0,get:function(){return r[n]}})}),e["default"]=r,e}var R=z(c),L=V(c),j="object",$="undefined",W="prototype",J=Object,K=J[W];function t(n,t){return n||t}var h=undefined,y=null,B="",F="function",q="object",_="prototype",H="__proto__",G="undefined",X="constructor",Q="Symbol",o="length",Y="name",T="call",Z="toString",u=t(Object),nn=u[_],r=t(String),e=r[_],i=t(Math),a=t(Array),f=a[_],tn=f.slice,rn=t(Number),en="_polyfill",on="__nw21$polytype__";function b(n,t){try{return{v:n.apply(this,t)}}catch(r){return{e:r}}}function un(t){return function(n){return typeof n===t}}function cn(n){var t="[object "+n+"]";return function(n){return!(!n||nn[Z].call(n)!==t)}}function p(n){return typeof n===G||n===G}function g(n){return n===y||p(n)}function an(n){return n===y||n===h}function fn(n){return!!n||n!==h}var ln=un("string"),m=un(F);function sn(n){return(n||!g(n))&&n&&typeof n===q}var C=a.isArray,vn=un("number"),dn=cn("RegExp"),pn=cn("Error");function gn(n){return!(!n||(t=!n,(r=b(function(){return!(n&&0+n)})).e?t:r.v));var t,r}var l=t(r),mn="[object Error]";function k(n,t){var r=B,e=nn[Z][T](n);e===mn&&(n={stack:l(n.stack),message:l(n.message),name:l(n.name)});try{r=((r=JSON.stringify(n,y,t?"number"==typeof t?t:4:h))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||l(n)}catch(i){r=" - "+k(i,t)}return e+": "+r}function hn(n){throw new TypeError(n)}function yn(n){throw new RangeError(n)}function _n(n){an(n)&&hn("Cannot convert undefined or null to object")}function Tn(n){ln(n)||hn("'"+k(n)+"' is not a string")}var bn=t(u.getOwnPropertyDescriptor,function(){return h});function w(n,t){return!!n&&nn.hasOwnProperty[T](n,t)}function Cn(n,t){return _n(n),w(n,t)||!!bn(n,t)}var kn=t(u.hasOwn,Cn);function d(n,t,r){if(n&&(sn(n)||m(n)))for(var e in n)if(kn(n,e)&&-1===t[T](r||n,e,n[e]))break}function x(n,t,r){if(n)for(var e=n[o]>>>0,i=0;i<e&&!(i in n&&-1===t[T](r||n,n[i],i,n));i++);}t(u.getOwnPropertySymbols,function(){return[]});r=s;function s(e,n,i){var o=n?n[e]:y;return function(n){var t,r=(n?n[e]:y)||o;if(r||i)return t=arguments,(r||i).apply(n,r?tn[T](t,1):t);hn('"'+l(e)+'" not defined for '+k(n))}}s("propertyIsEnumerable",y,function(t,r){var n,e=u.getOwnPropertyDescriptor;return(n=(n=!an(t)&&e?b(e,[t,r]).v||y:n)||b(function(){for(var n in t)if(n===r)return{enumerable:!0}}).v)&&n.enumerable||!1});var wn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function xn(t){var n,r={};return r[wn.c]=!0,r[wn.e]=!0,t.l&&(r.get=function(){return t.l.v},(n=bn(t.l,"v"))&&n.set&&(r.set=function(n){t.l.v=n})),d(t,function(n,t){r[wn[n]]=t===h?r[wn[n]]:t}),r}var An=u.defineProperty,In=u.defineProperties;function A(n,t,r){return An(n,t,xn(r))}function Pn(n,r,e,t){var i={};return d(n,function(n,t){Sn(i,n,r?t:n),Sn(i,t,e?t:n)}),t?t(i):i}function Sn(n,t,r){An(n,t,{value:r,enumerable:!0,writable:!1})}function En(){return!1}var On=t(u.isFrozen,En),Mn=(t(u.isSealed,En),u.freeze);function Dn(n){return n}var Nn=u.assign,Un=u.keys,Vn=Mn||Dn,zn=(t(u.seal,Dn),t(u.getPrototypeOf,function(n){return _n(n),n[H]||y}));t(u.entries,function(n){var r=[];return d(n,function(n,t){r.push([n,t])}),r}),t(u.values,function(n){var r=[];return d(n,function(n,t){r.push(t)}),r}),t(u.is,function(n,t){return n!=n?t!=t:0===n&&0===t?1/n==1/t:n===t});var Rn,Ln=Pn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12},0,0,Vn),jn="__tsUtils$gblCfg";function $n(){var n;return(n=(n=(n=typeof globalThis!==G?globalThis:n)||typeof self===G?n:self)||typeof window===G?n:window)||typeof global===G?n:global}function Wn(){var n;return Rn||(n=b($n).v||{},Rn=n[jn]=n[jn]||{}),Rn}i.min;var Jn=i.max,Kn=r("slice",e),Bn=r("substring",e);function Fn(n,t){return Bn(n,0,t)}s("substr",e,function(n,t,r){return _n(n),r<0?B:((t=t||0)<0&&(t=Jn(t+n[o],0)),p(r)?Kn(n,t):Kn(n,t,t+r))});var v,I=t(u.create,function(n,t){function r(){}var e=an(n)?{}:((e=typeof n)!==q&&e!=F&&hn("Prototype must be an Object or function: "+k(n)),r[_]=n,b(function(){r[H]=n}),new r);return t&&b(In,[e,t]),e});function P(){return(Date.now||qn)()}function qn(){return(new Date).getTime()}function Hn(){v=Wn()}function Gn(t){var r={};return v||Hn(),r.b=v.lzy,An(r,"v",{configurable:!0,get:function(){var n=t();return v.lzy||An(r,"v",{value:n}),r.b=v.lzy,n}}),r}var Xn,Qn,Yn=i.random,Zn=Gn(function(){for(var n=P().toString(36).slice(2);n.length<16;)n+=Yn().toString(36).slice(2);return n.substring(0,16)}),nt="$nw21sym",tt=0;function rt(n){var t="_"+tt+++"_"+Zn.v,r=Q+"("+n+")";function e(n,t){A(o,n,{v:t,e:!1,w:!1})}var i,o=I(null);return e("description",l(n)),e(Z,function(){return r+nt+t}),e("valueOf",function(){return o}),e("v",r),e("_uid",t),(i=o)&&(b(function(){i[en]=!0,i[on]="symbol"}),b(A,[i,en,{v:!0,w:!1,e:!1}]),b(A,[i,on,{v:"symbol",w:!1,e:!1}])),i}function et(n){return An({toJSON:function(){return n}},"v",{value:n})}var it,ot="window";function ut(n,t){var r;return function(){return v||Hn(),(r=r&&!v.lzy?r:et(b(n,t).v)).v}}function ct(n){return v||Hn(),(it=it&&!1!==n&&!v.lzy?it:et(b($n).v||y)).v}function S(n,t){t=it&&!1!==t?it.v:ct(t);if(t&&t[n])return t[n];if(n===ot)try{return window}catch(r){}return y}var at,ft,lt,st=ut(S,["document"]),vt=ut(S,[ot]),dt=ut(S,["navigator"]);function pt(){return at=et(b(S,[Q]).v)}function gt(n){var t=(v.lzy?0:at)||pt();return t.v?t.v[n]:h}function mt(n,t){var r=Ln[n],e=(v||Hn(),(v.lzy?0:at)||pt());return e.v?e.v[r||n]:t?h:(Qn=Qn||{},(r=Ln[n])?Qn[r]=Qn[r]||rt(Q+"."+r):void 0)}function ht(n,t){v||Hn();var r=(v.lzy?0:at)||pt();return r.v?r.v(n):t?y:rt(n)}function yt(n){return v||Hn(),((ft=(v.lzy?0:ft)||et(b(gt,["for"]).v)).v||function(n){Xn||(e=Wn(),Xn=e.gblSym=e.gblSym||{k:{},s:{}});var t,r,e=Xn;return kn(e.k,n)||(t=rt(n),r=Un(e.s).length,t._urid=function(){return r+"_"+t[Z]()},e.k[n]=t,e.s[t._urid()]=l(n)),e.k[n]})(n)}function _t(n){return n&&m(n.next)}function Tt(n){return!an(n)&&m(n[mt(3)])}function bt(n,t,r){if(n&&(_t(n)||(n=n[(lt=lt||et(mt(3))).v]?n[lt.v]():y),_t(n))){var e=h,i=h;try{for(var o=0;!(i=n.next()).done&&-1!==t[T](r||n,i.value,o,n);)o++}catch(u){e={e:u},n["throw"]&&(i=y,n["throw"](e))}finally{try{i&&!i.done&&n["return"]&&n["return"](i)}finally{if(e)throw e.e}}}}function Ct(n,t,r){return n.apply(t,r)}r("every",f),r("filter",f);var kt,wt=r("indexOf",f),xt=(r("lastIndexOf",f),r("map",f));function At(r,e,i){var o=-1;return x(r,function(n,t){if(e[T](i|r,n,t,r))return o=t,-1}),o}function It(n,t,r){for(var e=-1,i=(n[o]>>>0)-1;0<=i;i--)if(i in n&&t[T](r|n,n[i],i,n)){e=i;break}return e}s("find",f,function(n,t,r){t=At(n,t,r);return-1!==t?n[t]:void 0}),s("findIndex",f,At),s("findLast",f,function(n,t,r){t=It(n,t,r);return-1!==t?n[t]:void 0}),s("findLastIndex",f,It),t(a.from,function(n,r,e){var t;if(C(n))return t=function(n){return((n?n.slice:y)||tn).apply(n,tn[T](arguments,1))}(n),r?xt(t,r,e):t;var i=[];return bt(n,function(n,t){return i.push(r?r[T](e,n,t):n)}),i}),s("includes",f,function(n,t,r){return-1!==wt(n,t,r)}),r("reduce",f),r("some",f);var Pt=t(u.setPrototypeOf,function(r,n){var t;return(kt=kt||et(((t={})[H]=[],t instanceof Array))).v?r[H]=n:d(n,function(n,t){return r[n]=t}),r});function St(n,t){t&&(n[Y]=t)}function Et(t){return function(n){return _n(n),n&&n.replace?n.replace(t,B):n}}var a=Et(/^\s+|(?=\s)\s+$/g),f=Et(/^\s+/g),Ot=Et(/(?=\s)\s+$/g),Mt=s("trim",e,a),Dt=(s("trimStart",e,f),s("trimEnd",e,Ot),r("toUpperCase",e),r("toLowerCase",e),i.floor),Nt=i.ceil,Ut=t(i.trunc,function(n){n=+n;return(0<n?Dt:Nt)(n)});function Vt(n,t){var r=+n;return!t||r!==Infinity&&r!=Infinity||yn("invalid value ["+k(n)+"]"),r!=r||0==r?0:Ut(r)}var zt,Rt,Lt,jt=s("repeat",e,function(n,t){_n(n),(t=Vt(t,!0))<0&&yn("invalid count must be >= 0 && < Infinity");for(var r=ln(n)?n:l(n),e=B;0<t;(t>>>=1)&&(r+=r))1&t&&(e+=r);return e});function $t(n,t,r){var e=B,n=(t=Vt(t,!0),n[o]);return n<(t>>=0)&&(e=(t-=n)>(e=g(r)?" ":l(r))[o]?jt(e,Nt(t/e[o])):e)[o]>t?Bn(e,0,t):e}function Wt(n){if(!n||typeof n!==q)return!1;var t=!1;if(n!==(Lt=Lt||!vt()||vt())){Rt||(zt=Function[_][Z],Rt=zt[T](u));try{var r=zn(n),t=(t=!r)||!(!(r=w(r,X)?r[X]:r)||typeof r!=F||zt[T](r)!==Rt)}catch(e){}}return t}s("padStart",e,function(n,t,r){return $t(n,t,r)+n}),s("padEnd",e,function(n,t,r){return n+$t(n,t,r)}),r("split",e),s("split",e,(v||Hn(),((v.lzy?0:at)||pt()).v?y:function(n,t,r){t=t?t[mt(9)]:h;return t?t(n,r):[n]})),t(rn.isInteger,function(n){return vn(n)&&!isNaN(n)&&isFinite(n)&&Dt(n)===n}),i.abs,i.exp,i.log,i.asin,i.acos,i.atan,i.atan2,i.pow,i.sqrt,i.round,i.sin,i.cos,i.tan;var Jt,Kt,Bt=t(u.getOwnPropertyNames,function(){return[]}),Ft=(t(u.getOwnPropertyDescriptors,function(r){var e={};if(_n(r),!Jt)try{Jt=!0,x(Bt(r),function(n){var t=bn(r,n);t!==undefined&&(e[n]=t)}),x(function(n){var t=[],r=u.hasOwn||Cn;if(!Kt)try{Kt=!0;for(var e=0;e<=12;){var i=mt(e);i&&r(n,i)&&t.push(i),e++}}finally{Kt=!1}return t}(r),function(n){var t=bn(r,n);t!==undefined&&(e[n]=t)})}finally{Jt=!1}return e}),t(u.fromEntries,function(n){var t={};function r(n){C(n)&&2<=n.length&&(t[n[0]]=n[1])}return C(n)?x(n,r):Tt(n)&&bt(n,r),t}),t(u.preventExtensions,Dn),t(u.isExtensible,function(n){return!(an(n)||!sn(n)&&!m(n))}),s("endsWith",e,function(n,t,r){Tn(n);t=ln(t)?t:l(t),r=!p(r)&&r<n[o]?r:n[o];return Bn(n,r-t[o],r)===t})),qt=r("indexOf",e),Ht=(r("lastIndexOf",e),s("includes",e,function(n,t,r){return dn(t)&&hn("'searchString' must not be a regular expression"+k(t)),-1!==qt(n,l(t),r)}),s("startsWith",e,function(n,t,r){Tn(n);t=ln(t)?t:l(t),r=0<r?r:0;return Bn(n,r,r+t[o])===t}),"unref");(ct()||{}).Symbol,(ct()||{}).Reflect;var Gt="hasOwnProperty",Xt=Nn||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var i in t=arguments[r])K[Gt].call(t,i)&&(n[i]=t[i]);return n},Qt=function(n,t){return(Qt=J.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t[Gt](r)&&(n[r]=t[r])})(n,t)};function Yt(n,t){function r(){this.constructor=n}"function"!=typeof t&&null!==t&&hn("Class extends value "+t+" is not a constructor or null"),Qt(n,t),n[W]=null===t?I(t):(r[W]=t[W],new r)}var Zt="constructor",nr="prototype",tr="function",rr="_dynInstFuncs",er="_isDynProxy",ir="_dynClass",or="_dynInstChk",ur=or,cr="_dfOpts",ar="_unknown_",fr="__proto__",lr="_dyn"+fr,a="__dynProto$Gbl",sr="_dynInstProto",vr="useBaseInst",dr="setInstFuncs",pr=Object,gr=pr.getPrototypeOf,mr=pr.getOwnPropertyNames,f=ct(),hr=f[a]||(f[a]={o:((Ot={})[dr]=!0,Ot[vr]=!0,Ot),n:1e3});function yr(n){return n&&(n===pr[nr]||n===Array[nr])}function _r(n){return yr(n)||n===Function[nr]}function Tr(n){if(n){if(gr)return gr(n);var t=n[fr]||n[nr]||(n[Zt]?n[Zt][nr]:null),r=n[lr]||t;w(n,lr)||(delete n[sr],r=n[lr]=n[sr]||n[lr],n[sr]=t)}return r}function br(n,t){var r=[];if(mr)r=mr(n);else for(var e in n)"string"==typeof e&&w(n,e)&&r.push(e);if(r&&0<r.length)for(var i=0;i<r.length;i++)t(r[i])}function Cr(n,t,r){return t!==Zt&&typeof n[t]===tr&&(r||w(n,t))&&t!==fr&&t!==nr}function kr(n){hn("DynamicProto: "+n)}function wr(n,t){for(var r=n.length-1;0<=r;r--)if(n[r]===t)return 1}function xr(n,t){return w(n,nr)?n.name||t||ar:((n||{})[Zt]||{}).name||t||ar}function Ar(n,e,t,r){w(n,nr)||kr("theClass is an invalid class definition.");var i,o,u,c,a,f,l=n[nr],s=(function(n){if(!gr)return 1;for(var t=[],r=Tr(e);r&&!_r(r)&&!wr(t,r);){if(r===n)return 1;t.push(r),r=Tr(r)}}(l)||kr("["+xr(n)+"] not in hierarchy of ["+xr(e)+"]"),null),n=(w(l,ir)?s=l[ir]:(s="_dynCls$"+xr(n,"_")+"$"+hr.n,hr.n++,l[ir]=s),Ar[cr]),v=!!n[vr],d=(v&&r&&r[vr]!==undefined&&(v=!!r[vr]),i=e,o=I(null),br(i,function(n){!o[n]&&Cr(i,n,!1)&&(o[n]=i[n])}),o),v=(t(e,function(n,t,r,o){function e(n,t,r){var e,i=t[r];return i[er]&&o&&!1!==(e=n[rr]||{})[ur]&&(i=(e[t[ir]]||{})[r]||i),function(){return i.apply(n,arguments)}}for(var i=I(null),u=(br(r,function(n){i[n]=e(t,r,n)}),Tr(n)),c=[];u&&!_r(u)&&!wr(c,u);)br(u,function(n){!i[n]&&Cr(u,n,!gr)&&(i[n]=e(t,u,n))}),c.push(u),u=Tr(u);return i}(l,e,d,v)),!!gr&&!!n[dr]);u=l,t=s,c=e,a=d,n=!1!==(v=v&&r?!!r[dr]:v),yr(u)||yr(l=c[rr]=c[rr]||I(null))||(f=l[t]=l[t]||I(null),!1!==l[ur]&&(l[ur]=!!n),yr(f)||br(c,function(n){var r,e,i;Cr(c,n,!1)&&c[n]!==a[n]&&(f[n]=c[n],delete c[n],w(u,n)&&(!u[n]||u[n][er])||(u[n]=(r=u,e=n,(i=function(){var n,t;return(function(n,t,r,e){var i=null;if(n&&w(r,ir)){var o=n[rr]||I(null);if((i=(o[r[ir]]||I(null))[t])||kr("Missing ["+t+"] "+tr),!i[or]&&!1!==o[ur]){for(var u=!w(n,t),c=Tr(n),a=[];u&&c&&!_r(c)&&!wr(a,c);){var f=c[t];if(f){u=f===e;break}a.push(c),c=Tr(c)}try{u&&(n[t]=i),i[or]=1}catch(l){o[ur]=!1}}}return i}(this,e,r,i)||(typeof(t=(t=r[n=e])===i?Tr(r)[n]:t)!==tr&&kr("["+n+"] is not a "+tr),t)).apply(this,arguments)})[er]=1,i)))}))}Ar[cr]=hr.o;var Ir,Pr="toLowerCase",E="length",Sr="warnToConsole",Er="throwInternal",Or="watch",Mr="apply",O="push",Dr="splice",Nr="logger",Ur="identifier",Vr="isInitialized",zr="getPlugin",Rr="processNext",Lr="enabled",jr="createNew",$r="teardown",Wr="messageId",Jr="message",Kr="diagLog",Br="_doTeardown",Fr="update",qr="getNext",Hr="setNextPlugin",Gr="userAgent",Xr="split",Qr="replace",Yr="isChildEvt",Zr="getCtx",ne="setCtx",te=undefined,M="",D="core",re="disabled",ee="extensionConfig",ie="processTelemetry",oe="priority",ue="getPerfMgr",ce="domain",ae="path",fe="Not dynamic - ",le=/-([a-z])/g,se=/([^\w\d_$])/g,ve=/^(\d+[\w\d_$])/;function de(n){return!g(n)}function pe(n){return n&&ln(n)?(n=(n=n[Qr](le,function(n,t){return t.toUpperCase()}))[Qr](se,"_"))[Qr](ve,function(n,t){return"_"+t}):n}function N(n,t){return!(!n||!t)&&-1!==qt(n,t)}function ge(n,t,r,e,i){var o=r;!n||(o=n[t])===r||i&&!i(o)||e&&!e(r)||(n[t]=o=r)}function me(n,t,r,e,i){var o,u,c;n&&t&&r&&(!1===i&&!p(n[t])||(n[t]=(o=e,c=u=null,m(i=r)?u=i:c=i,function(){var n=arguments;if(c=u?u():c)return c[o][Mr](c,n)})))}var he="location",ye="console",_e="JSON",Te="msie",be="trident/",Ce=null,ke=null;function we(){return typeof JSON===j&&JSON||null!==S(_e)}function xe(){var n=dt();return!n||n[Gr]===ke&&null!==Ce||(n=((ke=n[Gr])||M)[Pr](),Ce=N(n,Te)||N(n,be)),Ce}var Ae=4294967296,Ie=4294967295,Pe=123456789,Se=987654321,Ee=!1,Oe=Pe,Me=Se;function De(n){var t,r=0,e=S("crypto")||S("msCrypto");if(0===(r=e&&e.getRandomValues?e.getRandomValues(new Uint32Array(1))[0]&Ie:r)&&xe()){if(!Ee)try{var i=2147483647&P();(t=(Math.random()*Ae^i)+i)<0&&(t>>>=0),Oe=Pe+t&Ie,Me=Se-t&Ie,Ee=!0}catch(o){}e=((Me=36969*(65535&Me)+(Me>>16)&Ie)<<16)+(65535&(Oe=18e3*(65535&Oe)+(Oe>>16)&Ie))>>>0&Ie|0,r=(e>>>=0)&Ie}return 0===r&&(r=Dt(Ae*Math.random()|0)),n||(r>>>=0),r}var Ne="3.3.7-nightly3.2504-18",Ue="."+function(n){void 0===n&&(n=22);for(var t=De()>>>0,r=0,e=M;e[E]<n;)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++r&&(t=(De()<<2&4294967295|3&t)>>>0,r=0);return e}(6),Ve=0;function ze(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType}function Re(n,t){return pe(n+Ve+++((t=void 0!==t&&t)?"."+Ne:M)+Ue)}function Le(n){return n&&sn(n)&&(n.isVal||n.fb||kn(n,"v")||kn(n,"mrg")||kn(n,"ref")||n.set)}function je(n,t,r){var e,i=r.dfVal||fn;if(t&&r.fb){var o=r.fb;C(o)||(o=[o]);for(var u=0;u<o[E];u++){var c=o[u],a=t[c];if(i(a)?e=a:n&&(i(a=n.cfg[c])&&(e=a),n.set(n.cfg,l(c),a)),i(e))break}}return!i(e)&&i(r.v)?r.v:e}function $e(r,n,t,e){var i,o,u,c,a,f,l=e,l=Le(l)?(i=l.isVal,o=l.set,a=l.rdOnly,s=l.blkVal,u=l.mrg,!(c=l.ref)&&p(c)&&(c=!!u),je(r,n,l)):e,e=(s&&r.blkVal(n,t),!0),s=n[t];!s&&g(s)||(f=s,e=!1,i&&f!==l&&!i(f)&&(f=l,e=!0),o&&(e=(f=o(f,l,n))===l)),e?f=l&&function v(r,e,n){var i,t=n;return(t=n&&Le(n)?je(r,e,n):t)&&(Le(t)&&(t=v(r,e,t)),C(t)?(i=[])[E]=t[E]:Wt(t)&&(i={}),i&&(d(t,function(n,t){t&&Le(t)&&(t=v(r,e,t)),i[n]=t}),t=i)),t}(r,n,l):(Wt(f)||C(l))&&u&&l&&(Wt(l)||C(l))&&d(l,function(n,t){$e(r,f,n,t)}),r.set(n,t,f),c&&r.ref(n,t),a&&r.rdOnly(n,t)}var We=yt("[[ai_dynCfg_1]]"),Je=yt("[[ai_blkDynCfg_1]]"),Ke=yt("[[ai_frcDynCfg_1]]");function Be(n,t,r){var e=!1;return!r||n[t.blkVal]||(e=r[Ke])||r[Je]?e:Wt(r)||C(r)}function Fe(n){hn("InvalidAccess:"+n)}var qe=["push","pop","shift","unshift","splice"],He=function(n,t,r,e){n&&n[Er](3,108,"".concat(r," [").concat(t,"] failed - ")+k(e))};function Ge(n,t){n=bn(n,t);return n&&n.get}function Xe(i,o,u,c){var a={n:u,h:[],trk:function(n){n&&n.fn&&(-1===wt(a.h,n)&&a.h[O](n),i.trk(n,a))},clr:function(n){n=wt(a.h,n);-1!==n&&a.h[Dr](n,1)}},f=!0,l=!1;function s(){f&&(l=l||Be(s,i,c),c&&!c[We]&&l&&(c=Ze(i,c,u,"Converting")),f=!1);var n=i.act;return n&&a.trk(n),c}s[i.prop]={chng:function(){i.add(a)}},A(o,a.n,{g:s,s:function(t){if(c!==t){s[i.ro]&&!i.upd&&Fe("["+u+"] is read-only:"+k(o)),f&&(l=l||Be(s,i,c),f=!1);var n,r=l&&s[i.rf];if(l)if(r){d(c,function(n){c[n]=t?t[n]:te});try{d(t,function(n,t){Qe(i,c,n,t)}),t=c}catch(e){He((i.hdlr||{})[Nr],u,"Assigning",e),l=!1}}else c&&c[We]&&d(c,function(n){var n=Ge(c,n);n&&(n=n[i.prop])&&n.chng()});t!==c&&(n=t&&Be(s,i,t),!r&&n&&(t=Ze(i,t,u,"Converting")),c=t,l=n),i.add(a)}}})}function Qe(n,t,r,e){var i;return t&&((i=Ge(t,r))&&i[n.prop]?t[r]=e:Xe(n,t,r,e)),t}function Ye(n,t,r,e){if(t){var i=Ge(t,r),o=i&&!!i[n.prop],u=e&&e[0],c=e&&e[1],e=e&&e[2];if(!o){if(e)try{var a=t;if(a&&(Wt(a)||C(a)))try{a[Je]=!0}catch(f){}}catch(l){He((n.hdlr||{})[Nr],r,"Blocking",l)}try{Qe(n,t,r,t[r]),i=Ge(t,r)}catch(l){He((n.hdlr||{})[Nr],r,"State",l)}}u&&(i[n.rf]=u),c&&(i[n.ro]=c),e&&(i[n.blkVal]=!0)}return t}function Ze(r,e,n,t){try{d(e,function(n,t){Qe(r,e,n,t)}),e[We]||(An(e,We,{get:function(){return r.hdlr}}),i=r,u=n,C(o=e)&&x(qe,function(n){var e=o[n];o[n]=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=e[Mr](this,n);return Ze(i,o,u,"Patching"),r}}))}catch(c){He((r.hdlr||{})[Nr],n,t,c)}var i,o,u;return e}var ni="[[ai_",ti="]]";function ri(o){var u,n=ht(ni+"get"+o.uid+ti),t=ht(ni+"ro"+o.uid+ti),r=ht(ni+"rf"+o.uid+ti),e=ht(ni+"blkVal"+o.uid+ti),v=ht(ni+"dtl"+o.uid+ti),d=null,p=null;function g(t,n){var r=u.act;try{(u.act=t)&&t[v]&&(x(t[v],function(n){n.clr(t)}),t[v]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o.setDf.bind(o),ref:o.ref.bind(o),rdOnly:o.rdOnly.bind(o)})}catch(i){var e=o[Nr];throw e&&e[Er](1,107,k(i)),i}finally{u.act=r||null}}function m(){if(d){var r,n=d,e=(d=null,p&&p.cancel(),p=null,[]);if(x(n,function(t){if(t&&(t[v]&&(x(t[v],function(n){n.clr(t)}),t[v]=null),t.fn))try{g(t,t.fn)}catch(n){e[O](n)}}),d)try{m()}catch(s){e[O](s)}if(0<e[E])throw n=e,Ir=Ir||(a=(c=Error)[_][Y],f=Error.captureStackTrace,l=c,b(A,[u=function(){var n=this,t=arguments;try{b(St,[c,i]);var r,e=Ct(c,n,tn[T](t))||n;return e!==n&&(r=zn(n))!==zn(e)&&Pt(e,r),f&&f(e,n[X]),o(e,t),e}finally{b(St,[c,a])}},Y,{v:i="AggregationError",c:!0,e:!(o=function(n,t){1<t[E]&&(n.errors=t[1])})}]),(u=Pt(u,l))[_]=l===y?I(l):(t[_]=l[_],new t),u),r="Watcher error(s): ",x(n,function(n,t){r+="\n".concat(t," > ").concat(k(n))}),new Ir(r,n||[])}function t(){this[X]=u,b(A,[this,Y,{v:"AggregationError",c:!0,e:!1}])}var i,o,u,c,a,f,l}return u={prop:n,ro:t,rf:r,blkVal:e,hdlr:o,add:function(n){if(n&&0<n.h[E]){d=d||[],p=p||function(){return a=h,f=tn[T](arguments),s=(l=C(a))?a.length:0,v=(0<s?a[0]:l?h:a)||setTimeout,d=(1<s?a[1]:h)||clearTimeout,p=f[0],f[0]=function(){g.dn(),Ct(p,h,tn[T](arguments))},i=function(n){Ct(d,h,[n])},u=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;Ct(d,h,[n])}return Ct(v,h,f)})(y),(o={cancel:t,refresh:r,hasRef:function(){return c&&c.hasRef?c.hasRef():u},ref:function(){return u=!0,c&&c.ref&&c.ref(),o}})[Ht]=n,(g={h:o=An(o,"enabled",{get:function(){return!!c},set:function(n){!n&&c&&t(),n&&!c&&r()}}),dn:function(){c=y}}).h;function n(){return u=!1,c&&c[Ht]&&c[Ht](),o}function t(){c&&i(c),c=y}function r(){return c=e(c),u||n(),o}var e,i,o,u,c,a,f,l,s,v,d,p,g}(function(){p=null,m()},0);for(var t=0;t<n.h[E];t++){var r=n.h[t];r&&-1===wt(d,r)&&d[O](r)}}},notify:m,use:g,trk:function(n,t){n&&(n=n[v]=n[v]||[],-1===wt(n,t)&&n[O](t))}}}function ei(i,t,n){var r=function(){if(t){var n=t[We]||t;if(n.cfg&&(n.cfg===t||n.cfg[We]===n))return n}return null}();if(r)return r;var o,r=Re("dyncfg",!0),n=t&&!1!==n?t:function u(n){var r;return n&&(C(n)?(r=[])[E]=n[E]:Wt(n)&&(r={}),r)?(d(n,function(n,t){r[n]=u(t)}),r):n}(t),e={uid:null,cfg:n,logger:i,notify:function(){o.notify()},set:function(n,t,r){try{n=Qe(o,n,t,r)}catch(e){He(i,t,"Setting value",e)}return n[t]},setDf:function(r,n){return n&&d(n,function(n,t){$e(e,r,n,t)}),r},watch:function(n){return t=o,A(e={fn:r=n,rm:function(){e.fn=null,r=t=null}},"toJSON",{v:function(){return"WatcherHandler"+(e.fn?"":"[X]")}}),t.use(e,r),e;var t,r,e},ref:function(n,t){return Ye(o,n,t,((n={})[0]=!0,n))[t]},rdOnly:function(n,t){return Ye(o,n,t,((n={})[1]=!0,n))[t]},blkVal:function(n,t){return Ye(o,n,t,((n={})[2]=!0,n))[t]},_block:function(r,e){o.use(null,function(n){var t=o.upd;try{p(e)||(o.upd=e),r(n)}finally{o.upd=t}})}};return A(e,"uid",{c:!1,e:!1,w:!1,v:r}),Ze(o=ri(e),n,"config","Creating"),e}function ii(n,t,r,e){r=ei(r,n||{},e);return t&&r.setDf(r.cfg,t),r}function oi(n,t,r){var e,i,o=n[We]||n;return!o.cfg||o.cfg!==n&&o.cfg[We]!==o?(e=r,i=fe+k(n),e?(e[Sr](i),e[Er](2,108,i)):Fe(i),ii(n,null,r)[Or](t)):o[Or](t)}var ui=null,ci="warnToConsole",ai={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},fi=((rn={})[0]=null,rn[1]="errorToConsole",rn[2]=ci,rn[3]="debugToConsole",rn);function li(n){return n?'"'+n[Qr](/\"/g,M)+'"':M}function si(n,t){var r,e=typeof console!==$?console:S(ye);e&&(r="log",e[n]&&(r=n),m(e[r])&&e[r](t))}di.dataType="MessageData";var vi=di;function di(n,t,r,e){void 0===r&&(r=!1),this[Wr]=n,this[Jr]=(r?"AI: ":"AI (Internal): ")+n;r=M,we()&&(r=(we()?JSON||S(_e):null).stringify(e)),n=(t?" message:"+li(t):M)+(e?" props:"+li(r):M);this[Jr]+=n}function pi(n,t){return(n||{})[Nr]||new gi(t)}mi.__ieDyn=1;var gi=mi;function mi(i){this.identifier="DiagnosticLogger",this.queue=[];var a,f,l,s,t,v=0,d={};Ar(mi,this,function(o){function u(n,t){var r,e;l<=v||(e=!0,r="AITR_"+t[Wr],d[r]?e=!1:d[r]=!0,e&&(n<=f&&(o.queue[O](t),v++,c(1===n?"error":"warn",t)),v===l&&(e=new vi(23,r="Internal events throttle limit per PageView reached for this app.",!1),o.queue[O](e),1===n?o.errorToConsole(r):o[Sr](r))))}function c(n,t){var r,e=(r=(r=ui)||!0===(i||{}).disableDbgExt?r:ui||(e=S("Microsoft"),ui=e?e.ApplicationInsights:ui))?r.ChromeDbgExt:null;e&&e[Kr]&&e[Kr](n,t)}t=oi(ii(i||{},ai,o).cfg,function(n){n=n.cfg;a=n.loggingLevelConsole,f=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n.enableDebug}),o.consoleLoggingLevel=function(){return a},o[Er]=function(n,t,r,e,i){t=new vi(t,r,i=void 0!==i&&i,e);if(s)throw k(t);r=fi[n]||ci;p(t[Jr])?c("throw"+(1===n?"Critical":"Warning"),t):(i?(e=+t[Wr],!d[e]&&n<=a&&(o[r](t[Jr]),d[e]=!0)):n<=a&&o[r](t[Jr]),u(n,t))},o.debugToConsole=function(n){si("debug",n),c("warning",n)},o[Sr]=function(n){si("warn",n),c("warning",n)},o.errorToConsole=function(n){si("error",n),c("error",n)},o.resetInternalMessageCount=function(){v=0,d={}},o.logInternalMessage=u,o.unload=function(n){t&&t.rm(),t=null}})}function hi(n,t,r,e,i,o){void 0===o&&(o=!1),(n||new gi)[Er](t,r,e,i,o)}var U,yi="toGMTString",_i="toUTCString",Ti="cookie",bi="expires",Ci="isCookieUseDisabled",ki="disableCookiesUsage",wi="_ckMgr",xi=null,Ai=null,Ii=null,Pi={},Si={},Ei=((r={cookieCfg:{mrg:!0,v:((i={})[ce]={fb:"cookieDomain",dfVal:de},i.path={fb:"cookiePath",dfVal:de},i.enabled=te,i.ignoreCookies=te,i.blockedCookies=te,i)},cookieDomain:te,cookiePath:te})[ki]=te,r);function Oi(){U=U||Gn(function(){return st()})}function Mi(n){return!n||n.isEnabled()}function Di(n,t){return t&&n&&C(n.ignoreCookies)&&-1!==wt(n.ignoreCookies,t)}function Ni(n,t){var r,t=t[Lr];return g(t)&&(r=void 0,p(n[Ci])||(r=!n[Ci]),t=r=p(n[ki])?r:!n[ki]),t}function Ui(r,i){var f,l,s,e,o,v,u,t=oi(r=ii(r||Si,null,i).cfg,function(n){n.setDf(n.cfg,Ei),f=n.ref(n.cfg,"cookieCfg"),l=f[ae]||"/",s=f[ce],e=!1!==Ni(r,f),o=f.getCookie||ji,v=f.setCookie||$i,u=f.delCookie||$i},i),d={isEnabled:function(){var n=!1!==Ni(r,f)&&e&&Vi(i),t=Si[wi];return n&&t&&d!==t?Mi(t):n},setEnabled:function(n){e=!1!==n,f[Lr]=n},set:function(n,t,r,e,i){var o,u,c,a=!1;return!Mi(d)||(u=f,(c=n)&&u&&C(u.blockedCookies)&&-1!==wt(u.blockedCookies,c)||Di(u,c))||(u={},c=Mt(t||M),-1!==(o=qt(c,";"))&&(c=Mt(Fn(t,o)),u=zi(Bn(t,o+1))),ge(u,ce,e||s,gn,p),g(r)||(t=xe(),p(u[bi])&&0<(o=P()+1e3*r)&&((e=new Date).setTime(o),ge(u,bi,Ri(e,t?yi:_i)||Ri(e,t?yi:_i)||M,gn)),t||ge(u,"max-age",M+r,null,p)),(o=typeof location===j&&location?location:S(he))&&"https:"===o.protocol&&(ge(u,"secure",null,null,p),(Ai=null===Ai?(e=(dt()||{})[Gr],!(ln(e)&&(N(e,"CPU iPhone OS 12")||N(e,"iPad; CPU OS 12")||N(e,"Macintosh; Intel Mac OS X 10_14")&&N(e,"Version/")&&N(e,"Safari")||N(e,"Macintosh; Intel Mac OS X 10_14")&&Ft(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||N(e,"Chrome/5")||N(e,"Chrome/6")||N(e,"UnrealEngine")&&!N(e,"Chrome")||N(e,"UCBrowser/12")||N(e,"UCBrowser/11")))):Ai)&&ge(u,"SameSite","None",null,p)),ge(u,ae,i||l,null,p),v(n,Li(c,u)),a=!0),a},get:function(n){var t=M;return Mi(d)&&!Di(f,n)?o(n):t},del:function(n,t){return!!Mi(d)&&d.purge(n,t)},purge:function(n,t){var r,e=!1;return Vi(i)&&((r={})[ae]=t||"/",r[bi]="Thu, 01 Jan 1970 00:00:01 GMT",t=r,xe()||(t["max-age"]="0"),u(n,Li(M,t)),e=!0),e},unload:function(n){t&&t.rm(),t=null}};return d[wi]=d}function Vi(n){if(null===xi){xi=!1,U||Oi();try{var t=U.v||{};xi=t[Ti]!==undefined}catch(r){hi(n,2,68,"Cannot access document.cookie - "+(pn(t=r)?t.name:M),{exception:k(r)})}}return xi}function zi(n){var r={};return n&&n[E]&&x(Mt(n)[Xr](";"),function(n){var t;(n=Mt(n||M))&&(-1===(t=qt(n,"="))?r[n]=null:r[Mt(Fn(n,t))]=Mt(Bn(n,t+1)))}),r}function Ri(n,t){return m(n[t])?n[t]():null}function Li(n,t){var r=n||M;return d(t,function(n,t){r+="; "+n+(g(t)?M:"="+t)}),r}function ji(n){var t,r=M;return U||Oi(),U.v&&(t=U.v[Ti]||M,Ii!==t&&(Pi=zi(t),Ii=t),r=Mt(Pi[n]||M)),r}function $i(n,t){U||Oi(),U.v&&(U.v[Ti]=n+"="+t)}var Wi="ParentContextKey",Ji="ChildrenContextKey",Ki=(Bi.ParentContextKey="parent",Bi.ChildrenContextKey="childEvts",Bi);function Bi(n,t,r){var e,i=this;i.start=P(),i.name=n,i.isAsync=r,i[Yr]=function(){return!1},m(t)&&A(i,"payload",{g:function(){return!e&&m(t)&&(e=t(),t=null),e}}),i[Zr]=function(n){return n?(n===Bi[Wi]||n===Bi[Ji]?i:i.ctx||{})[n]:null},i[ne]=function(n,t){n&&(n===Bi[Wi]?(i[n]||(i[Yr]=function(){return!0}),i[n]=t):n===Bi[Ji]?i[n]=t:(i.ctx=i.ctx||{})[n]=t)},i.complete=function(){var n=0,t=i[Zr](Bi[Ji]);if(C(t))for(var r=0;r<t[E];r++){var e=t[r];e&&(n+=e.time)}i.time=P()-i.start,i.exTime=i.time-n,i.complete=function(){}}}var Fi="CoreUtils.doPerf";function qi(n,t,r,e,i){if(n)if(n=n[ue]?n[ue]():n){var o,u=void 0,c=n[Zr](Fi);try{if(u=n.create(t(),e,i))return c&&u[ne]&&(u[ne](Ki[Wi],c),c[Zr]&&c[ne]&&((o=c[Zr](Ki[Ji]))||(o=[],c[ne](Ki[Ji],o)),o[O](u))),n[ne](Fi,u),r(u)}catch(a){u&&u[ne]&&u[ne]("exception",a)}finally{u&&n.fire(u),n[ne](Fi,c)}}r()}var Hi,Gi=Hi={id:Re("_aiData-plugin."+Ne),accept:ze,get:function(n,t,r,e){var i=n[Hi.id];return i?i[pe(t)]:(e&&((i=function(n,t){var r=t[n.id];if(!r){r={};try{ze(t)&&A(t,n.id,{e:!1,v:r})}catch(e){}}return r}(Hi,n))[pe(t)]=r),r)},kill:function(n,t){if(n&&n[t])try{delete n[t]}catch(r){}}};function Xi(n){return Gi.get(n,"state",{},!0)}var Qi="TelemetryPluginChain",Yi="_hasRun",Zi="_getTelCtx",no=0;function to(n,o,r,t){var e=null,i=[],u=(o=o||ii({},null,r[Nr]),null!==t&&(e=t?function(n,t,r){for(;n;){if(n[zr]()===r)return n;n=n[qr]()}return eo([r],t.config||{},t)}(n,r,t):n),{_next:function(){var n,t=e;return e=t?t[qr]():null,t||(n=i)&&0<n[E]&&(x(n,function(n){try{n.func.call(n.self,n.args)}catch(t){hi(r[Nr],2,73,"Unexpected Exception during onComplete - "+k(t))}}),i=[]),t},ctx:{core:function(){return r},diagLog:function(){return pi(r,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,t){var e=c(n,!0);return t&&d(t,function(n,t){var r;!g(e[n])||!(r=o.cfg[n])&&g(r)||(e[n]=r),$e(o,e,n,t)}),o.setDf(e,t)},getConfig:function(n,t,r){void 0===r&&(r=!1);var e,n=c(n,!1),i=o.cfg;return!n||!n[t]&&g(n[t])?!i[t]&&g(i[t])||(e=i[t]):e=n[t],e||!g(e)?e:r},hasNext:function(){return!!e},getNext:function(){return e},setNext:function(n){e=n},iterate:function(n){for(;t=u._next();){var t=t[zr]();t&&n(t)}},onComplete:function(n,t){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];n&&i[O]({func:n,self:p(t)?u.ctx:t,args:r})}}});function c(n,t){var r,e=null,i=o.cfg;return i&&n&&(r=i[ee],i[ee]=r=!r&&t?{}:r,(r=o.ref(i,ee))&&(e=r[n],r[n]=e=!e&&t?{}:e,e=o.ref(r,n))),e}return u}function ro(n,t,r,e){var i=ii(t),o=to(n,i,r,e),u=o.ctx;return u[Rr]=function(n){var t=o._next();return t&&t[ie](n,u),!t},u[jr]=function(n,t){return ro((n=C(n=void 0===n?null:n)?eo(n,i.cfg,r,t):n)||u[qr](),i.cfg,r,t)},u}function eo(n,t,r,e){var i,o=null,u=!e;return C(n)&&0<n[E]&&(i=null,x(n,function(n){(u=!u&&e===n||u)&&n&&m(n[ie])&&(n=io(n,t,r),o=o||n,i&&i._setNext(n),i=n)})),e&&!o?eo([e],t,r):o}function io(a,e,i){var f=null,o=m(a[ie]),u=m(a[Hr]),l=a?a[Ur]+"-"+a[oe]+"-"+no++:"Unknown-0-"+no++,c={getPlugin:function(){return a},getNext:function(){return f},processTelemetry:function(r,n){var t;s(n=n||(t=(t=a&&m(a[Zi])?a[Zi]():t)||ro(c,e,i)),function(n){if(!a||!o)return!1;var t=Xi(a);return!t[$r]&&!t[re]&&(u&&a[Hr](f),a[ie](r,n),!0)},"processTelemetry",function(){return{item:r}},!r.sync)||n[Rr](r)},unload:function(e,i){s(e,function(){var n,t,r=!1;return a&&(n=Xi(a),t=a[D]||n[D],!a||t&&t!==e.core()||n[$r]||(n[D]=null,n[$r]=!0,n[Vr]=!1,a[$r]&&!0===a[$r](e,i)&&(r=!0))),r},"unload",function(){},i.isAsync)||e[Rr](i)},update:function(e,i){s(e,function(){var n,t,r=!1;return a&&(n=Xi(a),t=a[D]||n[D],!a||t&&t!==e.core()||n[$r]||a[Fr]&&!0===a[Fr](e,i)&&(r=!0)),r},"update",function(){},!1)||e[Rr](i)},_id:l,_setNext:function(n){f=n}};function s(r,e,i,n,t){var o=!1,u=a?a[Ur]:Qi,c=(c=r[Yi])||(r[Yi]={});return r.setNext(f),a&&qi(r[D](),function(){return u+":"+i},function(){c[l]=!0;try{var n=f?f._id:M;n&&(c[n]=!1),o=e(r)}catch(t){n=!f||c[f._id];n&&(o=!0),f&&n||hi(r[Kr](),1,73,"Plugin ["+u+"] failed during "+i+" - "+k(t)+", run flags: "+k(c))}},n,t),o}return Vn(c)}function oo(){var t=[];return{add:function(n){n&&t[O](n)},run:function(r,e){x(t,function(n){try{n(r,e)}catch(t){hi(r[Kr](),2,73,"Unexpected error calling unload handler - "+k(t))}}),t=[]}}}function uo(){var e=[];return{run:function(r){var n=e;e=[],x(n,function(n){try{(n.rm||n.remove).call(n)}catch(t){hi(r,2,73,"Unloading:"+k(t))}})},add:function(n){var t;n&&(t=e,!p(n=n)&&t&&(C(n)?Ct(t.push,t,n):_t(n)||Tt(n)?bt(n,function(n){t.push(n)}):t.push(n)))}}}var co="getPlugin",ao=((e={})[ee]={isVal:de,v:{}},e),Nn=(fo.__ieDyn=1,fo);function fo(){var i,o,l,s,v,u=this;function t(n){var t,n=n=void 0===n?null:n;return n||(t=o||ro(null,{},u[D]),n=l&&l[co]?t[jr](null,l[co]):t[jr](null,l)),n}function a(n,t,r){ii(n,ao,pi(t)),!r&&t&&(r=t.getProcessTelContext()[qr]());var e=l;l&&l[co]&&(e=l[co]()),u[D]=t,o=ro(r,n,t,e)}function d(){i=!1,u[D]=null,l=o=null,v=uo(),s=oo()}d(),Ar(fo,u,function(f){f.initialize=function(n,t,r,e){a(n,t,e),i=!0},f[$r]=function(n,t){var r,e,i,o,u=f[D];if(u&&(!n||u===n[D]()))return e=!1,i=n||function a(n,r,t){var e=ii(r.config),i=to(n,e,r,t),o=i.ctx;return o[Rr]=function(n){var t=i._next();return t&&t.unload(o,n),!t},o[jr]=function(n,t){return a((n=C(n=void 0===n?null:n)?eo(n,e.cfg,r,t):n)||o[qr](),r,t)},o}(null,u,l&&l[co]?l[co]():l),o=t||{reason:0,isAsync:!1},f[Br]&&!0===f[Br](i,o,c)?r=!0:c(),r;function c(){e||(e=!0,s.run(i,t),v.run(i[Kr]()),!0===r&&i[Rr](o),d())}},f[Fr]=function(n,t){var r,e,i,o=f[D];if(o&&(!n||o===n[D]()))return e=!1,i=n||function c(n,r,t){var e=ii(r.config),i=to(n,e,r,t).ctx;return i[Rr]=function(t){return i.iterate(function(n){m(n[Fr])&&n[Fr](i,t)})},i[jr]=function(n,t){return c((n=C(n=void 0===n?null:n)?eo(n,e.cfg,r,t):n)||i[qr](),r,t)},i}(null,o,l&&l[co]?l[co]():l),f._doUpdate&&!0===f._doUpdate(i,t||{reason:0},u)?r=!0:u(),r;function u(){e||(e=!0,a(i.getCfg(),i.core(),i[qr]()))}},me(f,"_addUnloadCb",function(){return s},"add"),me(f,"_addHook",function(){return v},"add"),A(f,"_unloadHooks",{g:function(){return v}})}),u[Kr]=function(n){return t(n)[Kr]()},u[Vr]=function(){return i},u.setInitialized=function(n){i=n},u[Hr]=function(n){l=n},u[Rr]=function(n,t){t?t[Rr](n):l&&m(l[ie])&&l[ie](n,null)},u._getTelCtx=t}var lo,so=Pn({Verbose:0,Information:1,Warning:2,Error:3,Critical:4},1,0,Vn),vo=(a={history:{blkVal:!0,v:undefined}},Mn?function bo(n,r){if((C(n)||sn(n)||m(n))&&!On(n)){for(var t=0;t<r.length;t++)if(r[t]===n)return n;r.push(n),d(n,function(n,t){bo(t,r)}),Vn(n)}return n}(a,[]):a);function po(){var c,a,f,l,s,v,d=lo.call(this)||this;return d.priority=185,d.identifier="ReactPlugin",Ar(po,d,function(i,n){var t,r,e;function o(){s=!1,v=l=f=a=c=null}function u(){return c||hi(i.diagLog(),1,64,"Analytics plugin is not available, React plugin telemetry will not be sent: "),c}o(),i.initialize=function(n,r,t,e){lo.prototype.initialize.call(d,n,r,t,e);t=r.getPlugin("AppInsightsPropertiesPlugin");t&&(v=t.plugin),A(i,"context",{g:function(){return v?v.context:null}}),i._addHook(oi(n,function(n){var t=i._getTelCtx();a=t.getExtCfg(d.identifier,vo),c=null==(t=r.getPlugin("ApplicationInsightsAnalytics"))?void 0:t.plugin,m(f)&&(f(),f=null),a.history&&(t=a.history,f=t.listen(function(n){var t="location"in n?n.location:n;l=setTimeout(function(){l=null;var n={uri:t.pathname};i.trackPageView(n)},500)}),s||(t={uri:a.history.location.pathname},i.trackPageView(t),s=!0))}))},i.getCookieMgr=function(){return(t=(r=i.core)?r.getCookieMgr():t)||(r=(r||{})[Nr],(e=Ui[wi]||Si[wi])||(e=Ui[wi]=Ui(n,r),Si[wi]=e),t=e),t;var n,t,r,e},i.getAppInsights=u,i.processTelemetry=function(n,t){i.processNext(n,t)},i._doTeardown=function(n,t,r){m(f)&&f(),l&&clearTimeout(l),o()},r=u,e=["trackMetric","trackPageView","trackEvent","trackException","trackTrace"],(t=i)&&r&&sn(t)&&C(e)&&x(e,function(n){ln(n)&&me(t,n,r,n,void 0)}),An(i,"_extensionConfig",xn({e:void 0,c:void 0,g:function(){return a}}))}),d}Yt(po,lo=Nn),po.__ieDyn=1;var go,mo,f=po,ho=(Yt(yo,go=R.Component),yo.prototype.componentDidMount=function(){var n=this;this._mountTimestamp=P(),this._firstActiveTimestamp=0,this._totalIdleTime=0,this._lastActiveTimestamp=0,this._idleStartTimestamp=0,this._idleCount=0,this._intervalId=setInterval(function(){0<n._lastActiveTimestamp&&0===n._idleStartTimestamp&&P()-n._lastActiveTimestamp>=n._idleTimeout&&(n._idleStartTimestamp=P(),n._idleCount++)},100)},yo.prototype.componentWillUnmount=function(){if(0===this._mountTimestamp)throw Error("withAITracking:componentWillUnmount: mountTimestamp is not initialized.");var n,t;this._intervalId&&clearInterval(this._intervalId),0!==this._firstActiveTimestamp&&(n=this.getEngagementTimeSeconds(),t={"Component Name":this._componentName},this._reactPlugin.trackMetric({average:n,name:"React Component Engaged Time (seconds)",sampleCount:1},t))},yo.prototype.getEngagementTimeSeconds=function(){return(P()-this._firstActiveTimestamp-this._totalIdleTime-this._idleCount*this._idleTimeout)/1e3},yo);function yo(n,t,r){var e=go.call(this,n)||this;return e._mountTimestamp=0,e._firstActiveTimestamp=0,e._idleStartTimestamp=0,e._lastActiveTimestamp=0,e._totalIdleTime=0,e._idleCount=0,e._idleTimeout=5e3,e.trackActivity=function(n){var t;0===e._firstActiveTimestamp?(e._firstActiveTimestamp=P(),e._lastActiveTimestamp=e._firstActiveTimestamp):e._lastActiveTimestamp=P(),0<e._idleStartTimestamp&&(t=e._lastActiveTimestamp-e._idleStartTimestamp,e._totalIdleTime+=t,e._idleStartTimestamp=0)},e._reactPlugin=t,e._componentName=r,e}function _o(){var n=null!==mo&&mo.apply(this,arguments)||this;return n.state={hasError:!1},n}Yt(_o,mo=L["default"].Component),_o.prototype.componentDidCatch=function(n,t){this.setState({hasError:!0}),this.props.appInsights.trackException({error:n,exception:n,severityLevel:so.Error,properties:t})},_o.prototype.render=function(){var n;return this.state.hasError?(n=this.props.onError,L["default"].createElement(n)):this.props.children};var Ot=_o,To=c.createContext(undefined);n.AITrackedComponentBase=ho,n.AppInsightsContext=To,n.AppInsightsErrorBoundary=Ot,n.ReactPlugin=f,n.useAppInsightsContext=function(){return c.useContext(To)},n.useTrackEvent=function(n,t,r,e){void 0===e&&(e=!0);var r=c.useState(r),i=r[0],r=r[1],o=c.useRef(e),u=c.useRef(e);return c.useEffect(function(){o.current?o.current=!1:n.trackEvent({name:t},i)},[n,i,t]),c.useEffect(function(){return function(){o.current=u.current}},[]),r},n.useTrackMetric=function(e,i,o){var u=c.useRef({hookTimestamp:P(),firstActiveTimestamp:0,totalIdleTime:0,lastActiveTimestamp:0,idleStartTimestamp:0,idleCount:0,idleTimeout:5e3}),n=c.useRef(null);return n.current=function(){var n=u.current;0<n.lastActiveTimestamp&&0===n.idleStartTimestamp&&P()-n.lastActiveTimestamp>=n.idleTimeout&&(n.idleStartTimestamp=P(),n.idleCount++)},c.useEffect(function(){var r=setInterval(n.current,100);return function(){clearInterval(r);var n,t=u.current;if(0===t.hookTimestamp)throw Error("useAppInsights:unload hook: hookTimestamp is not initialized.");0!==t.firstActiveTimestamp&&(t=t,t={average:(P()-t.firstActiveTimestamp-t.totalIdleTime-t.idleCount*t.idleTimeout)/1e3,name:"React Component Engaged Time (seconds)",sampleCount:1},n=Xt({"Component Name":i},o),e.trackMetric(t,n))}},[]),function(){var n,t=u.current;0===t.firstActiveTimestamp?(t.firstActiveTimestamp=P(),t.lastActiveTimestamp=t.firstActiveTimestamp):t.lastActiveTimestamp=P(),0<t.idleStartTimestamp&&(n=t.lastActiveTimestamp-t.idleStartTimestamp,t.totalIdleTime+=n,t.idleStartTimestamp=0)}},n.withAITracking=function(t,n,r,e){return r!==undefined&&null!==r&&"string"==typeof r||(r=n.prototype&&n.prototype.constructor&&n.prototype.constructor.name||"Unknown"),e!==undefined&&null!==e&&"string"==typeof e||(e=""),Yt(i,o=ho),i.prototype.render=function(){return R.createElement("div",{onKeyDown:this.trackActivity,onMouseMove:this.trackActivity,onScroll:this.trackActivity,onMouseDown:this.trackActivity,onTouchStart:this.trackActivity,onTouchMove:this.trackActivity,className:e},R.createElement(n,Xt({},this.props)))},i;function i(n){return o.call(this,n,t,r)||this}var o},Object.defineProperty(n,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}),n.React);
5
+ var n=this,t=function(n,c){"use strict";function V(n){return n&&"object"==typeof n&&"default"in n?n:{"default":n}}function z(r){if(r&&r.__esModule)return r;var e=Object.create(null);return r&&Object.keys(r).forEach(function(n){var t;"default"!==n&&Object.defineProperty(e,n,(t=Object.getOwnPropertyDescriptor(r,n)).get?t:{enumerable:!0,get:function(){return r[n]}})}),e["default"]=r,e}var R=z(c),L=V(c),j="object",$="undefined",W="prototype",J=Object,K=J[W];function t(n,t){return n||t}var h=undefined,y=null,B="",F="function",q="object",_="prototype",H="__proto__",G="undefined",X="constructor",Q="Symbol",o="length",Y="name",T="call",Z="toString",u=t(Object),nn=u[_],r=t(String),e=r[_],i=t(Math),a=t(Array),f=a[_],tn=f.slice,rn=t(Number),en="_polyfill",on="__nw21$polytype__";function b(n,t){try{return{v:n.apply(this,t)}}catch(r){return{e:r}}}function un(t){return function(n){return typeof n===t}}function cn(n){var t="[object "+n+"]";return function(n){return!(!n||nn[Z].call(n)!==t)}}function p(n){return typeof n===G||n===G}function g(n){return n===y||p(n)}function an(n){return n===y||n===h}function fn(n){return!!n||n!==h}var ln=un("string"),m=un(F);function sn(n){return(n||!g(n))&&n&&typeof n===q}var C=a.isArray,vn=un("number"),dn=cn("RegExp"),pn=cn("Error");function gn(n){return!(!n||(t=!n,(r=b(function(){return!(n&&0+n)})).e?t:r.v));var t,r}var l=t(r),mn="[object Error]";function k(n,t){var r=B,e=nn[Z][T](n);e===mn&&(n={stack:l(n.stack),message:l(n.message),name:l(n.name)});try{r=((r=JSON.stringify(n,y,t?"number"==typeof t?t:4:h))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||l(n)}catch(i){r=" - "+k(i,t)}return e+": "+r}function hn(n){throw new TypeError(n)}function yn(n){throw new RangeError(n)}function _n(n){an(n)&&hn("Cannot convert undefined or null to object")}function Tn(n){ln(n)||hn("'"+k(n)+"' is not a string")}var bn=t(u.getOwnPropertyDescriptor,function(){return h});function w(n,t){return!!n&&nn.hasOwnProperty[T](n,t)}function Cn(n,t){return _n(n),w(n,t)||!!bn(n,t)}var kn=t(u.hasOwn,Cn);function d(n,t,r){if(n&&(sn(n)||m(n)))for(var e in n)if(kn(n,e)&&-1===t[T](r||n,e,n[e]))break}function x(n,t,r){if(n)for(var e=n[o]>>>0,i=0;i<e&&!(i in n&&-1===t[T](r||n,n[i],i,n));i++);}t(u.getOwnPropertySymbols,function(){return[]});r=s;function s(e,n,i){var o=n?n[e]:y;return function(n){var t,r=(n?n[e]:y)||o;if(r||i)return t=arguments,(r||i).apply(n,r?tn[T](t,1):t);hn('"'+l(e)+'" not defined for '+k(n))}}s("propertyIsEnumerable",y,function(t,r){var n,e=u.getOwnPropertyDescriptor;return(n=(n=!an(t)&&e?b(e,[t,r]).v||y:n)||b(function(){for(var n in t)if(n===r)return{enumerable:!0}}).v)&&n.enumerable||!1});var wn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function xn(t){var n,r={};return r[wn.c]=!0,r[wn.e]=!0,t.l&&(r.get=function(){return t.l.v},(n=bn(t.l,"v"))&&n.set&&(r.set=function(n){t.l.v=n})),d(t,function(n,t){r[wn[n]]=t===h?r[wn[n]]:t}),r}var An=u.defineProperty,In=u.defineProperties;function A(n,t,r){return An(n,t,xn(r))}function Pn(n,r,e,t){var i={};return d(n,function(n,t){Sn(i,n,r?t:n),Sn(i,t,e?t:n)}),t?t(i):i}function Sn(n,t,r){An(n,t,{value:r,enumerable:!0,writable:!1})}function En(){return!1}var On=t(u.isFrozen,En),Mn=(t(u.isSealed,En),u.freeze);function Dn(n){return n}var Nn=u.assign,Un=u.keys,Vn=Mn||Dn,zn=(t(u.seal,Dn),t(u.getPrototypeOf,function(n){return _n(n),n[H]||y}));t(u.entries,function(n){var r=[];return d(n,function(n,t){r.push([n,t])}),r}),t(u.values,function(n){var r=[];return d(n,function(n,t){r.push(t)}),r}),t(u.is,function(n,t){return n!=n?t!=t:0===n&&0===t?1/n==1/t:n===t});var Rn,Ln=Pn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12},0,0,Vn),jn="__tsUtils$gblCfg";function $n(){var n;return(n=(n=(n=typeof globalThis!==G?globalThis:n)||typeof self===G?n:self)||typeof window===G?n:window)||typeof global===G?n:global}function Wn(){var n;return Rn||(n=b($n).v||{},Rn=n[jn]=n[jn]||{}),Rn}i.min;var Jn=i.max,Kn=r("slice",e),Bn=r("substring",e);function Fn(n,t){return Bn(n,0,t)}s("substr",e,function(n,t,r){return _n(n),r<0?B:((t=t||0)<0&&(t=Jn(t+n[o],0)),p(r)?Kn(n,t):Kn(n,t,t+r))});var v,I=t(u.create,function(n,t){function r(){}var e=an(n)?{}:((e=typeof n)!==q&&e!=F&&hn("Prototype must be an Object or function: "+k(n)),r[_]=n,b(function(){r[H]=n}),new r);return t&&b(In,[e,t]),e});function P(){return(Date.now||qn)()}function qn(){return(new Date).getTime()}function Hn(){v=Wn()}function Gn(t){var r={};return v||Hn(),r.b=v.lzy,An(r,"v",{configurable:!0,get:function(){var n=t();return v.lzy||An(r,"v",{value:n}),r.b=v.lzy,n}}),r}var Xn,Qn,Yn=i.random,Zn=Gn(function(){for(var n=P().toString(36).slice(2);n.length<16;)n+=Yn().toString(36).slice(2);return n.substring(0,16)}),nt="$nw21sym",tt=0;function rt(n){var t="_"+tt+++"_"+Zn.v,r=Q+"("+n+")";function e(n,t){A(o,n,{v:t,e:!1,w:!1})}var i,o=I(null);return e("description",l(n)),e(Z,function(){return r+nt+t}),e("valueOf",function(){return o}),e("v",r),e("_uid",t),(i=o)&&(b(function(){i[en]=!0,i[on]="symbol"}),b(A,[i,en,{v:!0,w:!1,e:!1}]),b(A,[i,on,{v:"symbol",w:!1,e:!1}])),i}function et(n){return An({toJSON:function(){return n}},"v",{value:n})}var it,ot="window";function ut(n,t){var r;return function(){return v||Hn(),(r=r&&!v.lzy?r:et(b(n,t).v)).v}}function ct(n){return v||Hn(),(it=it&&!1!==n&&!v.lzy?it:et(b($n).v||y)).v}function S(n,t){t=it&&!1!==t?it.v:ct(t);if(t&&t[n])return t[n];if(n===ot)try{return window}catch(r){}return y}var at,ft,lt,st=ut(S,["document"]),vt=ut(S,[ot]),dt=ut(S,["navigator"]);function pt(){return at=et(b(S,[Q]).v)}function gt(n){var t=(v.lzy?0:at)||pt();return t.v?t.v[n]:h}function mt(n,t){var r=Ln[n],e=(v||Hn(),(v.lzy?0:at)||pt());return e.v?e.v[r||n]:t?h:(Qn=Qn||{},(r=Ln[n])?Qn[r]=Qn[r]||rt(Q+"."+r):void 0)}function ht(n,t){v||Hn();var r=(v.lzy?0:at)||pt();return r.v?r.v(n):t?y:rt(n)}function yt(n){return v||Hn(),((ft=(v.lzy?0:ft)||et(b(gt,["for"]).v)).v||function(n){Xn||(e=Wn(),Xn=e.gblSym=e.gblSym||{k:{},s:{}});var t,r,e=Xn;return kn(e.k,n)||(t=rt(n),r=Un(e.s).length,t._urid=function(){return r+"_"+t[Z]()},e.k[n]=t,e.s[t._urid()]=l(n)),e.k[n]})(n)}function _t(n){return n&&m(n.next)}function Tt(n){return!an(n)&&m(n[mt(3)])}function bt(n,t,r){if(n&&(_t(n)||(n=n[(lt=lt||et(mt(3))).v]?n[lt.v]():y),_t(n))){var e=h,i=h;try{for(var o=0;!(i=n.next()).done&&-1!==t[T](r||n,i.value,o,n);)o++}catch(u){e={e:u},n["throw"]&&(i=y,n["throw"](e))}finally{try{i&&!i.done&&n["return"]&&n["return"](i)}finally{if(e)throw e.e}}}}function Ct(n,t,r){return n.apply(t,r)}r("every",f),r("filter",f);var kt,wt=r("indexOf",f),xt=(r("lastIndexOf",f),r("map",f));function At(r,e,i){var o=-1;return x(r,function(n,t){if(e[T](i|r,n,t,r))return o=t,-1}),o}function It(n,t,r){for(var e=-1,i=(n[o]>>>0)-1;0<=i;i--)if(i in n&&t[T](r|n,n[i],i,n)){e=i;break}return e}s("find",f,function(n,t,r){t=At(n,t,r);return-1!==t?n[t]:void 0}),s("findIndex",f,At),s("findLast",f,function(n,t,r){t=It(n,t,r);return-1!==t?n[t]:void 0}),s("findLastIndex",f,It),t(a.from,function(n,r,e){var t;if(C(n))return t=function(n){return((n?n.slice:y)||tn).apply(n,tn[T](arguments,1))}(n),r?xt(t,r,e):t;var i=[];return bt(n,function(n,t){return i.push(r?r[T](e,n,t):n)}),i}),s("includes",f,function(n,t,r){return-1!==wt(n,t,r)}),r("reduce",f),r("some",f);var Pt=t(u.setPrototypeOf,function(r,n){var t;return(kt=kt||et(((t={})[H]=[],t instanceof Array))).v?r[H]=n:d(n,function(n,t){return r[n]=t}),r});function St(n,t){t&&(n[Y]=t)}function Et(t){return function(n){return _n(n),n&&n.replace?n.replace(t,B):n}}var a=Et(/^\s+|(?=\s)\s+$/g),f=Et(/^\s+/g),Ot=Et(/(?=\s)\s+$/g),Mt=s("trim",e,a),Dt=(s("trimStart",e,f),s("trimEnd",e,Ot),r("toUpperCase",e),r("toLowerCase",e),i.floor),Nt=i.ceil,Ut=t(i.trunc,function(n){n=+n;return(0<n?Dt:Nt)(n)});function Vt(n,t){var r=+n;return!t||r!==Infinity&&r!=Infinity||yn("invalid value ["+k(n)+"]"),r!=r||0==r?0:Ut(r)}var zt,Rt,Lt,jt=s("repeat",e,function(n,t){_n(n),(t=Vt(t,!0))<0&&yn("invalid count must be >= 0 && < Infinity");for(var r=ln(n)?n:l(n),e=B;0<t;(t>>>=1)&&(r+=r))1&t&&(e+=r);return e});function $t(n,t,r){var e=B,n=(t=Vt(t,!0),n[o]);return n<(t>>=0)&&(e=(t-=n)>(e=g(r)?" ":l(r))[o]?jt(e,Nt(t/e[o])):e)[o]>t?Bn(e,0,t):e}function Wt(n){if(!n||typeof n!==q)return!1;var t=!1;if(n!==(Lt=Lt||!vt()||vt())){Rt||(zt=Function[_][Z],Rt=zt[T](u));try{var r=zn(n),t=(t=!r)||!(!(r=w(r,X)?r[X]:r)||typeof r!=F||zt[T](r)!==Rt)}catch(e){}}return t}s("padStart",e,function(n,t,r){return $t(n,t,r)+n}),s("padEnd",e,function(n,t,r){return n+$t(n,t,r)}),r("split",e),s("split",e,(v||Hn(),((v.lzy?0:at)||pt()).v?y:function(n,t,r){t=t?t[mt(9)]:h;return t?t(n,r):[n]})),t(rn.isInteger,function(n){return vn(n)&&!isNaN(n)&&isFinite(n)&&Dt(n)===n}),i.abs,i.exp,i.log,i.asin,i.acos,i.atan,i.atan2,i.pow,i.sqrt,i.round,i.sin,i.cos,i.tan;var Jt,Kt,Bt=t(u.getOwnPropertyNames,function(){return[]}),Ft=(t(u.getOwnPropertyDescriptors,function(r){var e={};if(_n(r),!Jt)try{Jt=!0,x(Bt(r),function(n){var t=bn(r,n);t!==undefined&&(e[n]=t)}),x(function(n){var t=[],r=u.hasOwn||Cn;if(!Kt)try{Kt=!0;for(var e=0;e<=12;){var i=mt(e);i&&r(n,i)&&t.push(i),e++}}finally{Kt=!1}return t}(r),function(n){var t=bn(r,n);t!==undefined&&(e[n]=t)})}finally{Jt=!1}return e}),t(u.fromEntries,function(n){var t={};function r(n){C(n)&&2<=n.length&&(t[n[0]]=n[1])}return C(n)?x(n,r):Tt(n)&&bt(n,r),t}),t(u.preventExtensions,Dn),t(u.isExtensible,function(n){return!(an(n)||!sn(n)&&!m(n))}),s("endsWith",e,function(n,t,r){Tn(n);t=ln(t)?t:l(t),r=!p(r)&&r<n[o]?r:n[o];return Bn(n,r-t[o],r)===t})),qt=r("indexOf",e),Ht=(r("lastIndexOf",e),s("includes",e,function(n,t,r){return dn(t)&&hn("'searchString' must not be a regular expression"+k(t)),-1!==qt(n,l(t),r)}),s("startsWith",e,function(n,t,r){Tn(n);t=ln(t)?t:l(t),r=0<r?r:0;return Bn(n,r,r+t[o])===t}),"unref");(ct()||{}).Symbol,(ct()||{}).Reflect;var Gt="hasOwnProperty",Xt=Nn||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var i in t=arguments[r])K[Gt].call(t,i)&&(n[i]=t[i]);return n},Qt=function(n,t){return(Qt=J.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t[Gt](r)&&(n[r]=t[r])})(n,t)};function Yt(n,t){function r(){this.constructor=n}"function"!=typeof t&&null!==t&&hn("Class extends value "+t+" is not a constructor or null"),Qt(n,t),n[W]=null===t?I(t):(r[W]=t[W],new r)}var Zt="constructor",nr="prototype",tr="function",rr="_dynInstFuncs",er="_isDynProxy",ir="_dynClass",or="_dynInstChk",ur=or,cr="_dfOpts",ar="_unknown_",fr="__proto__",lr="_dyn"+fr,a="__dynProto$Gbl",sr="_dynInstProto",vr="useBaseInst",dr="setInstFuncs",pr=Object,gr=pr.getPrototypeOf,mr=pr.getOwnPropertyNames,f=ct(),hr=f[a]||(f[a]={o:((Ot={})[dr]=!0,Ot[vr]=!0,Ot),n:1e3});function yr(n){return n&&(n===pr[nr]||n===Array[nr])}function _r(n){return yr(n)||n===Function[nr]}function Tr(n){if(n){if(gr)return gr(n);var t=n[fr]||n[nr]||(n[Zt]?n[Zt][nr]:null),r=n[lr]||t;w(n,lr)||(delete n[sr],r=n[lr]=n[sr]||n[lr],n[sr]=t)}return r}function br(n,t){var r=[];if(mr)r=mr(n);else for(var e in n)"string"==typeof e&&w(n,e)&&r.push(e);if(r&&0<r.length)for(var i=0;i<r.length;i++)t(r[i])}function Cr(n,t,r){return t!==Zt&&typeof n[t]===tr&&(r||w(n,t))&&t!==fr&&t!==nr}function kr(n){hn("DynamicProto: "+n)}function wr(n,t){for(var r=n.length-1;0<=r;r--)if(n[r]===t)return 1}function xr(n,t){return w(n,nr)?n.name||t||ar:((n||{})[Zt]||{}).name||t||ar}function Ar(n,e,t,r){w(n,nr)||kr("theClass is an invalid class definition.");var i,o,u,c,a,f,l=n[nr],s=(function(n){if(!gr)return 1;for(var t=[],r=Tr(e);r&&!_r(r)&&!wr(t,r);){if(r===n)return 1;t.push(r),r=Tr(r)}}(l)||kr("["+xr(n)+"] not in hierarchy of ["+xr(e)+"]"),null),n=(w(l,ir)?s=l[ir]:(s="_dynCls$"+xr(n,"_")+"$"+hr.n,hr.n++,l[ir]=s),Ar[cr]),v=!!n[vr],d=(v&&r&&r[vr]!==undefined&&(v=!!r[vr]),i=e,o=I(null),br(i,function(n){!o[n]&&Cr(i,n,!1)&&(o[n]=i[n])}),o),v=(t(e,function(n,t,r,o){function e(n,t,r){var e,i=t[r];return i[er]&&o&&!1!==(e=n[rr]||{})[ur]&&(i=(e[t[ir]]||{})[r]||i),function(){return i.apply(n,arguments)}}for(var i=I(null),u=(br(r,function(n){i[n]=e(t,r,n)}),Tr(n)),c=[];u&&!_r(u)&&!wr(c,u);)br(u,function(n){!i[n]&&Cr(u,n,!gr)&&(i[n]=e(t,u,n))}),c.push(u),u=Tr(u);return i}(l,e,d,v)),!!gr&&!!n[dr]);u=l,t=s,c=e,a=d,n=!1!==(v=v&&r?!!r[dr]:v),yr(u)||yr(l=c[rr]=c[rr]||I(null))||(f=l[t]=l[t]||I(null),!1!==l[ur]&&(l[ur]=!!n),yr(f)||br(c,function(n){var r,e,i;Cr(c,n,!1)&&c[n]!==a[n]&&(f[n]=c[n],delete c[n],w(u,n)&&(!u[n]||u[n][er])||(u[n]=(r=u,e=n,(i=function(){var n,t;return(function(n,t,r,e){var i=null;if(n&&w(r,ir)){var o=n[rr]||I(null);if((i=(o[r[ir]]||I(null))[t])||kr("Missing ["+t+"] "+tr),!i[or]&&!1!==o[ur]){for(var u=!w(n,t),c=Tr(n),a=[];u&&c&&!_r(c)&&!wr(a,c);){var f=c[t];if(f){u=f===e;break}a.push(c),c=Tr(c)}try{u&&(n[t]=i),i[or]=1}catch(l){o[ur]=!1}}}return i}(this,e,r,i)||(typeof(t=(t=r[n=e])===i?Tr(r)[n]:t)!==tr&&kr("["+n+"] is not a "+tr),t)).apply(this,arguments)})[er]=1,i)))}))}Ar[cr]=hr.o;var Ir,Pr="toLowerCase",E="length",Sr="warnToConsole",Er="throwInternal",Or="watch",Mr="apply",O="push",Dr="splice",Nr="logger",Ur="identifier",Vr="isInitialized",zr="getPlugin",Rr="processNext",Lr="enabled",jr="createNew",$r="teardown",Wr="messageId",Jr="message",Kr="diagLog",Br="_doTeardown",Fr="update",qr="getNext",Hr="setNextPlugin",Gr="userAgent",Xr="split",Qr="replace",Yr="isChildEvt",Zr="getCtx",ne="setCtx",te=undefined,M="",D="core",re="disabled",ee="extensionConfig",ie="processTelemetry",oe="priority",ue="getPerfMgr",ce="domain",ae="path",fe="Not dynamic - ",le=/-([a-z])/g,se=/([^\w\d_$])/g,ve=/^(\d+[\w\d_$])/;function de(n){return!g(n)}function pe(n){return n&&ln(n)?(n=(n=n[Qr](le,function(n,t){return t.toUpperCase()}))[Qr](se,"_"))[Qr](ve,function(n,t){return"_"+t}):n}function N(n,t){return!(!n||!t)&&-1!==qt(n,t)}function ge(n,t,r,e,i){var o=r;!n||(o=n[t])===r||i&&!i(o)||e&&!e(r)||(n[t]=o=r)}function me(n,t,r,e,i){var o,u,c;n&&t&&r&&(!1===i&&!p(n[t])||(n[t]=(o=e,c=u=null,m(i=r)?u=i:c=i,function(){var n=arguments;if(c=u?u():c)return c[o][Mr](c,n)})))}var he="location",ye="console",_e="JSON",Te="msie",be="trident/",Ce=null,ke=null;function we(){return typeof JSON===j&&JSON||null!==S(_e)}function xe(){var n=dt();return!n||n[Gr]===ke&&null!==Ce||(n=((ke=n[Gr])||M)[Pr](),Ce=N(n,Te)||N(n,be)),Ce}var Ae=4294967296,Ie=4294967295,Pe=123456789,Se=987654321,Ee=!1,Oe=Pe,Me=Se;function De(n){var t,r=0,e=S("crypto")||S("msCrypto");if(0===(r=e&&e.getRandomValues?e.getRandomValues(new Uint32Array(1))[0]&Ie:r)&&xe()){if(!Ee)try{var i=2147483647&P();(t=(Math.random()*Ae^i)+i)<0&&(t>>>=0),Oe=Pe+t&Ie,Me=Se-t&Ie,Ee=!0}catch(o){}e=((Me=36969*(65535&Me)+(Me>>16)&Ie)<<16)+(65535&(Oe=18e3*(65535&Oe)+(Oe>>16)&Ie))>>>0&Ie|0,r=(e>>>=0)&Ie}return 0===r&&(r=Dt(Ae*Math.random()|0)),n||(r>>>=0),r}var Ne="3.3.7-nightly3.2505-02",Ue="."+function(n){void 0===n&&(n=22);for(var t=De()>>>0,r=0,e=M;e[E]<n;)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&t]||"",t>>>=6,5==++r&&(t=(De()<<2&4294967295|3&t)>>>0,r=0);return e}(6),Ve=0;function ze(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType}function Re(n,t){return pe(n+Ve+++((t=void 0!==t&&t)?"."+Ne:M)+Ue)}function Le(n){return n&&sn(n)&&(n.isVal||n.fb||kn(n,"v")||kn(n,"mrg")||kn(n,"ref")||n.set)}function je(n,t,r){var e,i=r.dfVal||fn;if(t&&r.fb){var o=r.fb;C(o)||(o=[o]);for(var u=0;u<o[E];u++){var c=o[u],a=t[c];if(i(a)?e=a:n&&(i(a=n.cfg[c])&&(e=a),n.set(n.cfg,l(c),a)),i(e))break}}return!i(e)&&i(r.v)?r.v:e}function $e(r,n,t,e){var i,o,u,c,a,f,l=e,l=Le(l)?(i=l.isVal,o=l.set,a=l.rdOnly,s=l.blkVal,u=l.mrg,!(c=l.ref)&&p(c)&&(c=!!u),je(r,n,l)):e,e=(s&&r.blkVal(n,t),!0),s=n[t];!s&&g(s)||(f=s,e=!1,i&&f!==l&&!i(f)&&(f=l,e=!0),o&&(e=(f=o(f,l,n))===l)),e?f=l&&function v(r,e,n){var i,t=n;return(t=n&&Le(n)?je(r,e,n):t)&&(Le(t)&&(t=v(r,e,t)),C(t)?(i=[])[E]=t[E]:Wt(t)&&(i={}),i&&(d(t,function(n,t){t&&Le(t)&&(t=v(r,e,t)),i[n]=t}),t=i)),t}(r,n,l):(Wt(f)||C(l))&&u&&l&&(Wt(l)||C(l))&&d(l,function(n,t){$e(r,f,n,t)}),r.set(n,t,f),c&&r.ref(n,t),a&&r.rdOnly(n,t)}var We=yt("[[ai_dynCfg_1]]"),Je=yt("[[ai_blkDynCfg_1]]"),Ke=yt("[[ai_frcDynCfg_1]]");function Be(n,t,r){var e=!1;return!r||n[t.blkVal]||(e=r[Ke])||r[Je]?e:Wt(r)||C(r)}function Fe(n){hn("InvalidAccess:"+n)}var qe=["push","pop","shift","unshift","splice"],He=function(n,t,r,e){n&&n[Er](3,108,"".concat(r," [").concat(t,"] failed - ")+k(e))};function Ge(n,t){n=bn(n,t);return n&&n.get}function Xe(i,o,u,c){var a={n:u,h:[],trk:function(n){n&&n.fn&&(-1===wt(a.h,n)&&a.h[O](n),i.trk(n,a))},clr:function(n){n=wt(a.h,n);-1!==n&&a.h[Dr](n,1)}},f=!0,l=!1;function s(){f&&(l=l||Be(s,i,c),c&&!c[We]&&l&&(c=Ze(i,c,u,"Converting")),f=!1);var n=i.act;return n&&a.trk(n),c}s[i.prop]={chng:function(){i.add(a)}},A(o,a.n,{g:s,s:function(t){if(c!==t){s[i.ro]&&!i.upd&&Fe("["+u+"] is read-only:"+k(o)),f&&(l=l||Be(s,i,c),f=!1);var n,r=l&&s[i.rf];if(l)if(r){d(c,function(n){c[n]=t?t[n]:te});try{d(t,function(n,t){Qe(i,c,n,t)}),t=c}catch(e){He((i.hdlr||{})[Nr],u,"Assigning",e),l=!1}}else c&&c[We]&&d(c,function(n){var n=Ge(c,n);n&&(n=n[i.prop])&&n.chng()});t!==c&&(n=t&&Be(s,i,t),!r&&n&&(t=Ze(i,t,u,"Converting")),c=t,l=n),i.add(a)}}})}function Qe(n,t,r,e){var i;return t&&((i=Ge(t,r))&&i[n.prop]?t[r]=e:Xe(n,t,r,e)),t}function Ye(n,t,r,e){if(t){var i=Ge(t,r),o=i&&!!i[n.prop],u=e&&e[0],c=e&&e[1],e=e&&e[2];if(!o){if(e)try{var a=t;if(a&&(Wt(a)||C(a)))try{a[Je]=!0}catch(f){}}catch(l){He((n.hdlr||{})[Nr],r,"Blocking",l)}try{Qe(n,t,r,t[r]),i=Ge(t,r)}catch(l){He((n.hdlr||{})[Nr],r,"State",l)}}u&&(i[n.rf]=u),c&&(i[n.ro]=c),e&&(i[n.blkVal]=!0)}return t}function Ze(r,e,n,t){try{d(e,function(n,t){Qe(r,e,n,t)}),e[We]||(An(e,We,{get:function(){return r.hdlr}}),i=r,u=n,C(o=e)&&x(qe,function(n){var e=o[n];o[n]=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=e[Mr](this,n);return Ze(i,o,u,"Patching"),r}}))}catch(c){He((r.hdlr||{})[Nr],n,t,c)}var i,o,u;return e}var ni="[[ai_",ti="]]";function ri(o){var u,n=ht(ni+"get"+o.uid+ti),t=ht(ni+"ro"+o.uid+ti),r=ht(ni+"rf"+o.uid+ti),e=ht(ni+"blkVal"+o.uid+ti),v=ht(ni+"dtl"+o.uid+ti),d=null,p=null;function g(t,n){var r=u.act;try{(u.act=t)&&t[v]&&(x(t[v],function(n){n.clr(t)}),t[v]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o.setDf.bind(o),ref:o.ref.bind(o),rdOnly:o.rdOnly.bind(o)})}catch(i){var e=o[Nr];throw e&&e[Er](1,107,k(i)),i}finally{u.act=r||null}}function m(){if(d){var r,n=d,e=(d=null,p&&p.cancel(),p=null,[]);if(x(n,function(t){if(t&&(t[v]&&(x(t[v],function(n){n.clr(t)}),t[v]=null),t.fn))try{g(t,t.fn)}catch(n){e[O](n)}}),d)try{m()}catch(s){e[O](s)}if(0<e[E])throw n=e,Ir=Ir||(a=(c=Error)[_][Y],f=Error.captureStackTrace,l=c,b(A,[u=function(){var n=this,t=arguments;try{b(St,[c,i]);var r,e=Ct(c,n,tn[T](t))||n;return e!==n&&(r=zn(n))!==zn(e)&&Pt(e,r),f&&f(e,n[X]),o(e,t),e}finally{b(St,[c,a])}},Y,{v:i="AggregationError",c:!0,e:!(o=function(n,t){1<t[E]&&(n.errors=t[1])})}]),(u=Pt(u,l))[_]=l===y?I(l):(t[_]=l[_],new t),u),r="Watcher error(s): ",x(n,function(n,t){r+="\n".concat(t," > ").concat(k(n))}),new Ir(r,n||[])}function t(){this[X]=u,b(A,[this,Y,{v:"AggregationError",c:!0,e:!1}])}var i,o,u,c,a,f,l}return u={prop:n,ro:t,rf:r,blkVal:e,hdlr:o,add:function(n){if(n&&0<n.h[E]){d=d||[],p=p||function(){return a=h,f=tn[T](arguments),s=(l=C(a))?a.length:0,v=(0<s?a[0]:l?h:a)||setTimeout,d=(1<s?a[1]:h)||clearTimeout,p=f[0],f[0]=function(){g.dn(),Ct(p,h,tn[T](arguments))},i=function(n){Ct(d,h,[n])},u=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;Ct(d,h,[n])}return Ct(v,h,f)})(y),(o={cancel:t,refresh:r,hasRef:function(){return c&&c.hasRef?c.hasRef():u},ref:function(){return u=!0,c&&c.ref&&c.ref(),o}})[Ht]=n,(g={h:o=An(o,"enabled",{get:function(){return!!c},set:function(n){!n&&c&&t(),n&&!c&&r()}}),dn:function(){c=y}}).h;function n(){return u=!1,c&&c[Ht]&&c[Ht](),o}function t(){c&&i(c),c=y}function r(){return c=e(c),u||n(),o}var e,i,o,u,c,a,f,l,s,v,d,p,g}(function(){p=null,m()},0);for(var t=0;t<n.h[E];t++){var r=n.h[t];r&&-1===wt(d,r)&&d[O](r)}}},notify:m,use:g,trk:function(n,t){n&&(n=n[v]=n[v]||[],-1===wt(n,t)&&n[O](t))}}}function ei(i,t,n){var r=function(){if(t){var n=t[We]||t;if(n.cfg&&(n.cfg===t||n.cfg[We]===n))return n}return null}();if(r)return r;var o,r=Re("dyncfg",!0),n=t&&!1!==n?t:function u(n){var r;return n&&(C(n)?(r=[])[E]=n[E]:Wt(n)&&(r={}),r)?(d(n,function(n,t){r[n]=u(t)}),r):n}(t),e={uid:null,cfg:n,logger:i,notify:function(){o.notify()},set:function(n,t,r){try{n=Qe(o,n,t,r)}catch(e){He(i,t,"Setting value",e)}return n[t]},setDf:function(r,n){return n&&d(n,function(n,t){$e(e,r,n,t)}),r},watch:function(n){return t=o,A(e={fn:r=n,rm:function(){e.fn=null,r=t=null}},"toJSON",{v:function(){return"WatcherHandler"+(e.fn?"":"[X]")}}),t.use(e,r),e;var t,r,e},ref:function(n,t){return Ye(o,n,t,((n={})[0]=!0,n))[t]},rdOnly:function(n,t){return Ye(o,n,t,((n={})[1]=!0,n))[t]},blkVal:function(n,t){return Ye(o,n,t,((n={})[2]=!0,n))[t]},_block:function(r,e){o.use(null,function(n){var t=o.upd;try{p(e)||(o.upd=e),r(n)}finally{o.upd=t}})}};return A(e,"uid",{c:!1,e:!1,w:!1,v:r}),Ze(o=ri(e),n,"config","Creating"),e}function ii(n,t,r,e){r=ei(r,n||{},e);return t&&r.setDf(r.cfg,t),r}function oi(n,t,r){var e,i,o=n[We]||n;return!o.cfg||o.cfg!==n&&o.cfg[We]!==o?(e=r,i=fe+k(n),e?(e[Sr](i),e[Er](2,108,i)):Fe(i),ii(n,null,r)[Or](t)):o[Or](t)}var ui=null,ci="warnToConsole",ai={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},fi=((rn={})[0]=null,rn[1]="errorToConsole",rn[2]=ci,rn[3]="debugToConsole",rn);function li(n){return n?'"'+n[Qr](/\"/g,M)+'"':M}function si(n,t){var r,e=typeof console!==$?console:S(ye);e&&(r="log",e[n]&&(r=n),m(e[r])&&e[r](t))}di.dataType="MessageData";var vi=di;function di(n,t,r,e){void 0===r&&(r=!1),this[Wr]=n,this[Jr]=(r?"AI: ":"AI (Internal): ")+n;r=M,we()&&(r=(we()?JSON||S(_e):null).stringify(e)),n=(t?" message:"+li(t):M)+(e?" props:"+li(r):M);this[Jr]+=n}function pi(n,t){return(n||{})[Nr]||new gi(t)}mi.__ieDyn=1;var gi=mi;function mi(i){this.identifier="DiagnosticLogger",this.queue=[];var a,f,l,s,t,v=0,d={};Ar(mi,this,function(o){function u(n,t){var r,e;l<=v||(e=!0,r="AITR_"+t[Wr],d[r]?e=!1:d[r]=!0,e&&(n<=f&&(o.queue[O](t),v++,c(1===n?"error":"warn",t)),v===l&&(e=new vi(23,r="Internal events throttle limit per PageView reached for this app.",!1),o.queue[O](e),1===n?o.errorToConsole(r):o[Sr](r))))}function c(n,t){var r,e=(r=(r=ui)||!0===(i||{}).disableDbgExt?r:ui||(e=S("Microsoft"),ui=e?e.ApplicationInsights:ui))?r.ChromeDbgExt:null;e&&e[Kr]&&e[Kr](n,t)}t=oi(ii(i||{},ai,o).cfg,function(n){n=n.cfg;a=n.loggingLevelConsole,f=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n.enableDebug}),o.consoleLoggingLevel=function(){return a},o[Er]=function(n,t,r,e,i){t=new vi(t,r,i=void 0!==i&&i,e);if(s)throw k(t);r=fi[n]||ci;p(t[Jr])?c("throw"+(1===n?"Critical":"Warning"),t):(i?(e=+t[Wr],!d[e]&&n<=a&&(o[r](t[Jr]),d[e]=!0)):n<=a&&o[r](t[Jr]),u(n,t))},o.debugToConsole=function(n){si("debug",n),c("warning",n)},o[Sr]=function(n){si("warn",n),c("warning",n)},o.errorToConsole=function(n){si("error",n),c("error",n)},o.resetInternalMessageCount=function(){v=0,d={}},o.logInternalMessage=u,o.unload=function(n){t&&t.rm(),t=null}})}function hi(n,t,r,e,i,o){void 0===o&&(o=!1),(n||new gi)[Er](t,r,e,i,o)}var U,yi="toGMTString",_i="toUTCString",Ti="cookie",bi="expires",Ci="isCookieUseDisabled",ki="disableCookiesUsage",wi="_ckMgr",xi=null,Ai=null,Ii=null,Pi={},Si={},Ei=((r={cookieCfg:{mrg:!0,v:((i={})[ce]={fb:"cookieDomain",dfVal:de},i.path={fb:"cookiePath",dfVal:de},i.enabled=te,i.ignoreCookies=te,i.blockedCookies=te,i)},cookieDomain:te,cookiePath:te})[ki]=te,r);function Oi(){U=U||Gn(function(){return st()})}function Mi(n){return!n||n.isEnabled()}function Di(n,t){return t&&n&&C(n.ignoreCookies)&&-1!==wt(n.ignoreCookies,t)}function Ni(n,t){var r,t=t[Lr];return g(t)&&(r=void 0,p(n[Ci])||(r=!n[Ci]),t=r=p(n[ki])?r:!n[ki]),t}function Ui(r,i){var f,l,s,e,o,v,u,t=oi(r=ii(r||Si,null,i).cfg,function(n){n.setDf(n.cfg,Ei),f=n.ref(n.cfg,"cookieCfg"),l=f[ae]||"/",s=f[ce],e=!1!==Ni(r,f),o=f.getCookie||ji,v=f.setCookie||$i,u=f.delCookie||$i},i),d={isEnabled:function(){var n=!1!==Ni(r,f)&&e&&Vi(i),t=Si[wi];return n&&t&&d!==t?Mi(t):n},setEnabled:function(n){e=!1!==n,f[Lr]=n},set:function(n,t,r,e,i){var o,u,c,a=!1;return!Mi(d)||(u=f,(c=n)&&u&&C(u.blockedCookies)&&-1!==wt(u.blockedCookies,c)||Di(u,c))||(u={},c=Mt(t||M),-1!==(o=qt(c,";"))&&(c=Mt(Fn(t,o)),u=zi(Bn(t,o+1))),ge(u,ce,e||s,gn,p),g(r)||(t=xe(),p(u[bi])&&0<(o=P()+1e3*r)&&((e=new Date).setTime(o),ge(u,bi,Ri(e,t?yi:_i)||Ri(e,t?yi:_i)||M,gn)),t||ge(u,"max-age",M+r,null,p)),(o=typeof location===j&&location?location:S(he))&&"https:"===o.protocol&&(ge(u,"secure",null,null,p),(Ai=null===Ai?(e=(dt()||{})[Gr],!(ln(e)&&(N(e,"CPU iPhone OS 12")||N(e,"iPad; CPU OS 12")||N(e,"Macintosh; Intel Mac OS X 10_14")&&N(e,"Version/")&&N(e,"Safari")||N(e,"Macintosh; Intel Mac OS X 10_14")&&Ft(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||N(e,"Chrome/5")||N(e,"Chrome/6")||N(e,"UnrealEngine")&&!N(e,"Chrome")||N(e,"UCBrowser/12")||N(e,"UCBrowser/11")))):Ai)&&ge(u,"SameSite","None",null,p)),ge(u,ae,i||l,null,p),v(n,Li(c,u)),a=!0),a},get:function(n){var t=M;return Mi(d)&&!Di(f,n)?o(n):t},del:function(n,t){return!!Mi(d)&&d.purge(n,t)},purge:function(n,t){var r,e=!1;return Vi(i)&&((r={})[ae]=t||"/",r[bi]="Thu, 01 Jan 1970 00:00:01 GMT",t=r,xe()||(t["max-age"]="0"),u(n,Li(M,t)),e=!0),e},unload:function(n){t&&t.rm(),t=null}};return d[wi]=d}function Vi(n){if(null===xi){xi=!1,U||Oi();try{var t=U.v||{};xi=t[Ti]!==undefined}catch(r){hi(n,2,68,"Cannot access document.cookie - "+(pn(t=r)?t.name:M),{exception:k(r)})}}return xi}function zi(n){var r={};return n&&n[E]&&x(Mt(n)[Xr](";"),function(n){var t;(n=Mt(n||M))&&(-1===(t=qt(n,"="))?r[n]=null:r[Mt(Fn(n,t))]=Mt(Bn(n,t+1)))}),r}function Ri(n,t){return m(n[t])?n[t]():null}function Li(n,t){var r=n||M;return d(t,function(n,t){r+="; "+n+(g(t)?M:"="+t)}),r}function ji(n){var t,r=M;return U||Oi(),U.v&&(t=U.v[Ti]||M,Ii!==t&&(Pi=zi(t),Ii=t),r=Mt(Pi[n]||M)),r}function $i(n,t){U||Oi(),U.v&&(U.v[Ti]=n+"="+t)}var Wi="ParentContextKey",Ji="ChildrenContextKey",Ki=(Bi.ParentContextKey="parent",Bi.ChildrenContextKey="childEvts",Bi);function Bi(n,t,r){var e,i=this;i.start=P(),i.name=n,i.isAsync=r,i[Yr]=function(){return!1},m(t)&&A(i,"payload",{g:function(){return!e&&m(t)&&(e=t(),t=null),e}}),i[Zr]=function(n){return n?(n===Bi[Wi]||n===Bi[Ji]?i:i.ctx||{})[n]:null},i[ne]=function(n,t){n&&(n===Bi[Wi]?(i[n]||(i[Yr]=function(){return!0}),i[n]=t):n===Bi[Ji]?i[n]=t:(i.ctx=i.ctx||{})[n]=t)},i.complete=function(){var n=0,t=i[Zr](Bi[Ji]);if(C(t))for(var r=0;r<t[E];r++){var e=t[r];e&&(n+=e.time)}i.time=P()-i.start,i.exTime=i.time-n,i.complete=function(){}}}var Fi="CoreUtils.doPerf";function qi(n,t,r,e,i){if(n)if(n=n[ue]?n[ue]():n){var o,u=void 0,c=n[Zr](Fi);try{if(u=n.create(t(),e,i))return c&&u[ne]&&(u[ne](Ki[Wi],c),c[Zr]&&c[ne]&&((o=c[Zr](Ki[Ji]))||(o=[],c[ne](Ki[Ji],o)),o[O](u))),n[ne](Fi,u),r(u)}catch(a){u&&u[ne]&&u[ne]("exception",a)}finally{u&&n.fire(u),n[ne](Fi,c)}}r()}var Hi,Gi=Hi={id:Re("_aiData-plugin."+Ne),accept:ze,get:function(n,t,r,e){var i=n[Hi.id];return i?i[pe(t)]:(e&&((i=function(n,t){var r=t[n.id];if(!r){r={};try{ze(t)&&A(t,n.id,{e:!1,v:r})}catch(e){}}return r}(Hi,n))[pe(t)]=r),r)},kill:function(n,t){if(n&&n[t])try{delete n[t]}catch(r){}}};function Xi(n){return Gi.get(n,"state",{},!0)}var Qi="TelemetryPluginChain",Yi="_hasRun",Zi="_getTelCtx",no=0;function to(n,o,r,t){var e=null,i=[],u=(o=o||ii({},null,r[Nr]),null!==t&&(e=t?function(n,t,r){for(;n;){if(n[zr]()===r)return n;n=n[qr]()}return eo([r],t.config||{},t)}(n,r,t):n),{_next:function(){var n,t=e;return e=t?t[qr]():null,t||(n=i)&&0<n[E]&&(x(n,function(n){try{n.func.call(n.self,n.args)}catch(t){hi(r[Nr],2,73,"Unexpected Exception during onComplete - "+k(t))}}),i=[]),t},ctx:{core:function(){return r},diagLog:function(){return pi(r,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,t){var e=c(n,!0);return t&&d(t,function(n,t){var r;!g(e[n])||!(r=o.cfg[n])&&g(r)||(e[n]=r),$e(o,e,n,t)}),o.setDf(e,t)},getConfig:function(n,t,r){void 0===r&&(r=!1);var e,n=c(n,!1),i=o.cfg;return!n||!n[t]&&g(n[t])?!i[t]&&g(i[t])||(e=i[t]):e=n[t],e||!g(e)?e:r},hasNext:function(){return!!e},getNext:function(){return e},setNext:function(n){e=n},iterate:function(n){for(;t=u._next();){var t=t[zr]();t&&n(t)}},onComplete:function(n,t){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];n&&i[O]({func:n,self:p(t)?u.ctx:t,args:r})}}});function c(n,t){var r,e=null,i=o.cfg;return i&&n&&(r=i[ee],i[ee]=r=!r&&t?{}:r,(r=o.ref(i,ee))&&(e=r[n],r[n]=e=!e&&t?{}:e,e=o.ref(r,n))),e}return u}function ro(n,t,r,e){var i=ii(t),o=to(n,i,r,e),u=o.ctx;return u[Rr]=function(n){var t=o._next();return t&&t[ie](n,u),!t},u[jr]=function(n,t){return ro((n=C(n=void 0===n?null:n)?eo(n,i.cfg,r,t):n)||u[qr](),i.cfg,r,t)},u}function eo(n,t,r,e){var i,o=null,u=!e;return C(n)&&0<n[E]&&(i=null,x(n,function(n){(u=!u&&e===n||u)&&n&&m(n[ie])&&(n=io(n,t,r),o=o||n,i&&i._setNext(n),i=n)})),e&&!o?eo([e],t,r):o}function io(a,e,i){var f=null,o=m(a[ie]),u=m(a[Hr]),l=a?a[Ur]+"-"+a[oe]+"-"+no++:"Unknown-0-"+no++,c={getPlugin:function(){return a},getNext:function(){return f},processTelemetry:function(r,n){var t;s(n=n||(t=(t=a&&m(a[Zi])?a[Zi]():t)||ro(c,e,i)),function(n){if(!a||!o)return!1;var t=Xi(a);return!t[$r]&&!t[re]&&(u&&a[Hr](f),a[ie](r,n),!0)},"processTelemetry",function(){return{item:r}},!r.sync)||n[Rr](r)},unload:function(e,i){s(e,function(){var n,t,r=!1;return a&&(n=Xi(a),t=a[D]||n[D],!a||t&&t!==e.core()||n[$r]||(n[D]=null,n[$r]=!0,n[Vr]=!1,a[$r]&&!0===a[$r](e,i)&&(r=!0))),r},"unload",function(){},i.isAsync)||e[Rr](i)},update:function(e,i){s(e,function(){var n,t,r=!1;return a&&(n=Xi(a),t=a[D]||n[D],!a||t&&t!==e.core()||n[$r]||a[Fr]&&!0===a[Fr](e,i)&&(r=!0)),r},"update",function(){},!1)||e[Rr](i)},_id:l,_setNext:function(n){f=n}};function s(r,e,i,n,t){var o=!1,u=a?a[Ur]:Qi,c=(c=r[Yi])||(r[Yi]={});return r.setNext(f),a&&qi(r[D](),function(){return u+":"+i},function(){c[l]=!0;try{var n=f?f._id:M;n&&(c[n]=!1),o=e(r)}catch(t){n=!f||c[f._id];n&&(o=!0),f&&n||hi(r[Kr](),1,73,"Plugin ["+u+"] failed during "+i+" - "+k(t)+", run flags: "+k(c))}},n,t),o}return Vn(c)}function oo(){var t=[];return{add:function(n){n&&t[O](n)},run:function(r,e){x(t,function(n){try{n(r,e)}catch(t){hi(r[Kr](),2,73,"Unexpected error calling unload handler - "+k(t))}}),t=[]}}}function uo(){var e=[];return{run:function(r){var n=e;e=[],x(n,function(n){try{(n.rm||n.remove).call(n)}catch(t){hi(r,2,73,"Unloading:"+k(t))}})},add:function(n){var t;n&&(t=e,!p(n=n)&&t&&(C(n)?Ct(t.push,t,n):_t(n)||Tt(n)?bt(n,function(n){t.push(n)}):t.push(n)))}}}var co="getPlugin",ao=((e={})[ee]={isVal:de,v:{}},e),Nn=(fo.__ieDyn=1,fo);function fo(){var i,o,l,s,v,u=this;function t(n){var t,n=n=void 0===n?null:n;return n||(t=o||ro(null,{},u[D]),n=l&&l[co]?t[jr](null,l[co]):t[jr](null,l)),n}function a(n,t,r){ii(n,ao,pi(t)),!r&&t&&(r=t.getProcessTelContext()[qr]());var e=l;l&&l[co]&&(e=l[co]()),u[D]=t,o=ro(r,n,t,e)}function d(){i=!1,u[D]=null,l=o=null,v=uo(),s=oo()}d(),Ar(fo,u,function(f){f.initialize=function(n,t,r,e){a(n,t,e),i=!0},f[$r]=function(n,t){var r,e,i,o,u=f[D];if(u&&(!n||u===n[D]()))return e=!1,i=n||function a(n,r,t){var e=ii(r.config),i=to(n,e,r,t),o=i.ctx;return o[Rr]=function(n){var t=i._next();return t&&t.unload(o,n),!t},o[jr]=function(n,t){return a((n=C(n=void 0===n?null:n)?eo(n,e.cfg,r,t):n)||o[qr](),r,t)},o}(null,u,l&&l[co]?l[co]():l),o=t||{reason:0,isAsync:!1},f[Br]&&!0===f[Br](i,o,c)?r=!0:c(),r;function c(){e||(e=!0,s.run(i,t),v.run(i[Kr]()),!0===r&&i[Rr](o),d())}},f[Fr]=function(n,t){var r,e,i,o=f[D];if(o&&(!n||o===n[D]()))return e=!1,i=n||function c(n,r,t){var e=ii(r.config),i=to(n,e,r,t).ctx;return i[Rr]=function(t){return i.iterate(function(n){m(n[Fr])&&n[Fr](i,t)})},i[jr]=function(n,t){return c((n=C(n=void 0===n?null:n)?eo(n,e.cfg,r,t):n)||i[qr](),r,t)},i}(null,o,l&&l[co]?l[co]():l),f._doUpdate&&!0===f._doUpdate(i,t||{reason:0},u)?r=!0:u(),r;function u(){e||(e=!0,a(i.getCfg(),i.core(),i[qr]()))}},me(f,"_addUnloadCb",function(){return s},"add"),me(f,"_addHook",function(){return v},"add"),A(f,"_unloadHooks",{g:function(){return v}})}),u[Kr]=function(n){return t(n)[Kr]()},u[Vr]=function(){return i},u.setInitialized=function(n){i=n},u[Hr]=function(n){l=n},u[Rr]=function(n,t){t?t[Rr](n):l&&m(l[ie])&&l[ie](n,null)},u._getTelCtx=t}var lo,so=Pn({Verbose:0,Information:1,Warning:2,Error:3,Critical:4},1,0,Vn),vo=(a={history:{blkVal:!0,v:undefined}},Mn?function bo(n,r){if((C(n)||sn(n)||m(n))&&!On(n)){for(var t=0;t<r.length;t++)if(r[t]===n)return n;r.push(n),d(n,function(n,t){bo(t,r)}),Vn(n)}return n}(a,[]):a);function po(){var c,a,f,l,s,v,d=lo.call(this)||this;return d.priority=185,d.identifier="ReactPlugin",Ar(po,d,function(i,n){var t,r,e;function o(){s=!1,v=l=f=a=c=null}function u(){return c||hi(i.diagLog(),1,64,"Analytics plugin is not available, React plugin telemetry will not be sent: "),c}o(),i.initialize=function(n,r,t,e){lo.prototype.initialize.call(d,n,r,t,e);t=r.getPlugin("AppInsightsPropertiesPlugin");t&&(v=t.plugin),A(i,"context",{g:function(){return v?v.context:null}}),i._addHook(oi(n,function(n){var t=i._getTelCtx();a=t.getExtCfg(d.identifier,vo),c=null==(t=r.getPlugin("ApplicationInsightsAnalytics"))?void 0:t.plugin,m(f)&&(f(),f=null),a.history&&(t=a.history,f=t.listen(function(n){var t="location"in n?n.location:n;l=setTimeout(function(){l=null;var n={uri:t.pathname};i.trackPageView(n)},500)}),s||(t={uri:a.history.location.pathname},i.trackPageView(t),s=!0))}))},i.getCookieMgr=function(){return(t=(r=i.core)?r.getCookieMgr():t)||(r=(r||{})[Nr],(e=Ui[wi]||Si[wi])||(e=Ui[wi]=Ui(n,r),Si[wi]=e),t=e),t;var n,t,r,e},i.getAppInsights=u,i.processTelemetry=function(n,t){i.processNext(n,t)},i._doTeardown=function(n,t,r){m(f)&&f(),l&&clearTimeout(l),o()},r=u,e=["trackMetric","trackPageView","trackEvent","trackException","trackTrace"],(t=i)&&r&&sn(t)&&C(e)&&x(e,function(n){ln(n)&&me(t,n,r,n,void 0)}),An(i,"_extensionConfig",xn({e:void 0,c:void 0,g:function(){return a}}))}),d}Yt(po,lo=Nn),po.__ieDyn=1;var go,mo,f=po,ho=(Yt(yo,go=R.Component),yo.prototype.componentDidMount=function(){var n=this;this._mountTimestamp=P(),this._firstActiveTimestamp=0,this._totalIdleTime=0,this._lastActiveTimestamp=0,this._idleStartTimestamp=0,this._idleCount=0,this._intervalId=setInterval(function(){0<n._lastActiveTimestamp&&0===n._idleStartTimestamp&&P()-n._lastActiveTimestamp>=n._idleTimeout&&(n._idleStartTimestamp=P(),n._idleCount++)},100)},yo.prototype.componentWillUnmount=function(){if(0===this._mountTimestamp)throw Error("withAITracking:componentWillUnmount: mountTimestamp is not initialized.");var n,t;this._intervalId&&clearInterval(this._intervalId),0!==this._firstActiveTimestamp&&(n=this.getEngagementTimeSeconds(),t={"Component Name":this._componentName},this._reactPlugin.trackMetric({average:n,name:"React Component Engaged Time (seconds)",sampleCount:1},t))},yo.prototype.getEngagementTimeSeconds=function(){return(P()-this._firstActiveTimestamp-this._totalIdleTime-this._idleCount*this._idleTimeout)/1e3},yo);function yo(n,t,r){var e=go.call(this,n)||this;return e._mountTimestamp=0,e._firstActiveTimestamp=0,e._idleStartTimestamp=0,e._lastActiveTimestamp=0,e._totalIdleTime=0,e._idleCount=0,e._idleTimeout=5e3,e.trackActivity=function(n){var t;0===e._firstActiveTimestamp?(e._firstActiveTimestamp=P(),e._lastActiveTimestamp=e._firstActiveTimestamp):e._lastActiveTimestamp=P(),0<e._idleStartTimestamp&&(t=e._lastActiveTimestamp-e._idleStartTimestamp,e._totalIdleTime+=t,e._idleStartTimestamp=0)},e._reactPlugin=t,e._componentName=r,e}function _o(){var n=null!==mo&&mo.apply(this,arguments)||this;return n.state={hasError:!1},n}Yt(_o,mo=L["default"].Component),_o.prototype.componentDidCatch=function(n,t){this.setState({hasError:!0}),this.props.appInsights.trackException({error:n,exception:n,severityLevel:so.Error,properties:t})},_o.prototype.render=function(){var n;return this.state.hasError?(n=this.props.onError,L["default"].createElement(n)):this.props.children};var Ot=_o,To=c.createContext(undefined);n.AITrackedComponentBase=ho,n.AppInsightsContext=To,n.AppInsightsErrorBoundary=Ot,n.ReactPlugin=f,n.useAppInsightsContext=function(){return c.useContext(To)},n.useTrackEvent=function(n,t,r,e){void 0===e&&(e=!0);var r=c.useState(r),i=r[0],r=r[1],o=c.useRef(e),u=c.useRef(e);return c.useEffect(function(){o.current?o.current=!1:n.trackEvent({name:t},i)},[n,i,t]),c.useEffect(function(){return function(){o.current=u.current}},[]),r},n.useTrackMetric=function(e,i,o){var u=c.useRef({hookTimestamp:P(),firstActiveTimestamp:0,totalIdleTime:0,lastActiveTimestamp:0,idleStartTimestamp:0,idleCount:0,idleTimeout:5e3}),n=c.useRef(null);return n.current=function(){var n=u.current;0<n.lastActiveTimestamp&&0===n.idleStartTimestamp&&P()-n.lastActiveTimestamp>=n.idleTimeout&&(n.idleStartTimestamp=P(),n.idleCount++)},c.useEffect(function(){var r=setInterval(n.current,100);return function(){clearInterval(r);var n,t=u.current;if(0===t.hookTimestamp)throw Error("useAppInsights:unload hook: hookTimestamp is not initialized.");0!==t.firstActiveTimestamp&&(t=t,t={average:(P()-t.firstActiveTimestamp-t.totalIdleTime-t.idleCount*t.idleTimeout)/1e3,name:"React Component Engaged Time (seconds)",sampleCount:1},n=Xt({"Component Name":i},o),e.trackMetric(t,n))}},[]),function(){var n,t=u.current;0===t.firstActiveTimestamp?(t.firstActiveTimestamp=P(),t.lastActiveTimestamp=t.firstActiveTimestamp):t.lastActiveTimestamp=P(),0<t.idleStartTimestamp&&(n=t.lastActiveTimestamp-t.idleStartTimestamp,t.totalIdleTime+=n,t.idleStartTimestamp=0)}},n.withAITracking=function(t,n,r,e){return r!==undefined&&null!==r&&"string"==typeof r||(r=n.prototype&&n.prototype.constructor&&n.prototype.constructor.name||"Unknown"),e!==undefined&&null!==e&&"string"==typeof e||(e=""),Yt(i,o=ho),i.prototype.render=function(){return R.createElement("div",{onKeyDown:this.trackActivity,onMouseMove:this.trackActivity,onScroll:this.trackActivity,onMouseDown:this.trackActivity,onTouchStart:this.trackActivity,onTouchMove:this.trackActivity,className:e},R.createElement(n,Xt({},this.props)))},i;function i(n){return o.call(this,n,t,r)||this}var o},Object.defineProperty(n,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}),n.React);
6
6
  //# sourceMappingURL=applicationinsights-react-js.min.js.map