@microsoft/applicationinsights-react-js 19.4.2-nightly.2608-06 → 19.4.2

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