@microsoft/applicationinsights-analytics-js 3.0.0-beta.2210-19 → 3.0.0-beta.2211-01
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.
- package/browser/applicationinsights-analytics-js.integrity.json +9 -9
- package/browser/applicationinsights-analytics-js.js +111 -110
- package/browser/applicationinsights-analytics-js.js.map +1 -1
- package/browser/applicationinsights-analytics-js.min.js +2 -2
- package/browser/applicationinsights-analytics-js.min.js.map +1 -1
- package/dist/applicationinsights-analytics-js.api.json +1 -1
- package/dist/applicationinsights-analytics-js.d.ts +1 -1
- package/dist/applicationinsights-analytics-js.js +111 -110
- package/dist/applicationinsights-analytics-js.js.map +1 -1
- package/dist/applicationinsights-analytics-js.min.js +2 -2
- package/dist/applicationinsights-analytics-js.min.js.map +1 -1
- package/dist/applicationinsights-analytics-js.rollup.d.ts +1 -1
- package/dist-esm/JavaScriptSDK/AnalyticsPlugin.js +2 -2
- package/dist-esm/JavaScriptSDK/AnalyticsPlugin.js.map +1 -1
- package/dist-esm/JavaScriptSDK/Telemetry/PageViewManager.js +1 -1
- package/dist-esm/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js +1 -1
- package/dist-esm/JavaScriptSDK/Telemetry/PageVisitTimeManager.js +1 -1
- package/dist-esm/JavaScriptSDK/Timing.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryConfig.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-analytics-js.js +1 -1
- package/package.json +6 -6
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.0-beta.
|
|
2
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.0-beta.2211-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
|
-
var n=this,e=function(l){"use strict";var s="object",nn="undefined",v="prototype",C="hasOwnProperty",S=Object,P=S[v],n=S.assign,e=(S.create,S.defineProperty),I=null;function E(n){n=!1===(n=void 0===n||n)?null:I;return n||((n=(n=(n=typeof globalThis!==nn?globalThis:n)||typeof self===nn?n:self)||typeof window===nn?n:window)||typeof global===nn||(n=global),I=n),n}(E()||{}).Symbol,(E()||{}).Reflect;var en=n||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var i in e=arguments[t])P[C].call(e,i)&&(n[i]=e[i]);return n},N=function(n,e){return(N=S.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e[C](t)&&(n[t]=e[t])})(n,e)},n="undefined",D="constructor",d="prototype",M="function",A="_dynInstFuncs",V="_isDynProxy",L="_dynClass",O="_dynInstChk",U=O,z="_dfOpts",j="_unknown_",tn="__proto__",rn="_dyn"+tn,t="__dynProto$Gbl",on="_dynInstProto",an="useBaseInst",un="setInstFuncs",cn=Object,fn=cn.getPrototypeOf,ln=cn.getOwnPropertyNames,n=(i=(i=(i=(i=typeof globalThis!=n?globalThis:i)||typeof self==n?i:self)||typeof window==n?i:window)||typeof global==n?i:global)||{},sn=n[t]||(n[t]={o:((i={})[un]=!0,i[an]=!0,i),n:1e3});function g(n,e){return n&&cn[d].hasOwnProperty.call(n,e)}function vn(n){return n&&(n===cn[d]||n===Array[d])}function pn(n){return vn(n)||n===Function[d]}function dn(n){if(n){if(fn)return fn(n);var e=n[tn]||n[d]||(n[D]?n[D][d]:null),t=n[rn]||e;g(n,rn)||(delete n[on],t=n[rn]=n[on]||n[rn],n[on]=e)}return t}function gn(n,e){var t=[];if(ln)t=ln(n);else for(var r in n)"string"==typeof r&&g(n,r)&&t.push(r);if(t&&0<t.length)for(var i=0;i<t.length;i++)e(t[i])}function hn(n,e,t){return e!==D&&typeof n[e]===M&&(t||g(n,e))}function mn(n){throw new TypeError("DynamicProto: "+n)}function yn(n,e){for(var t=n.length-1;0<=t;t--)if(n[t]===e)return 1}function bn(n,e){return g(n,d)?n.name||e||j:((n||{})[D]||{}).name||e||j}function wn(n,r,e,t){g(n,d)||mn("theClass is an invalid class definition.");var i,o,a,u,c,f,l=n[d],s=(function(n){if(!fn)return 1;for(var e=[],t=dn(r);t&&!pn(t)&&!yn(e,t);){if(t===n)return 1;e.push(t),t=dn(t)}}(l)||mn("["+bn(n)+"] not in hierarchy of ["+bn(r)+"]"),null),n=(g(l,L)?s=l[L]:(s="_dynCls$"+bn(n,"_")+"$"+sn.n,sn.n++,l[L]=s),wn[z]),v=!!n[an],p=(v&&t&&t[an]!==undefined&&(v=!!t[an]),o={},gn(i=r,function(n){!o[n]&&hn(i,n,!1)&&(o[n]=i[n])}),o),v=(e(r,function(n,e,t,o){function r(n,e,t){var r,i=e[t];return i[V]&&o&&!1!==(r=n[A]||{})[U]&&(i=(r[e[L]]||{})[t]||i),function(){return i.apply(n,arguments)}}for(var i={},a=(gn(t,function(n){i[n]=r(e,t,n)}),dn(n)),u=[];a&&!pn(a)&&!yn(u,a);)gn(a,function(n){!i[n]&&hn(a,n,!fn)&&(i[n]=r(e,a,n))}),u.push(a),a=dn(a);return i}(l,r,p,v)),!!fn&&!!n[un]);a=l,e=s,u=r,c=p,n=!1!==(v=v&&t?!!t[un]:v),vn(a)||(l=u[A]=u[A]||{},f=l[e]=l[e]||{},!1!==l[U]&&(l[U]=!!n),gn(u,function(n){var t,r,i;hn(u,n,!1)&&u[n]!==c[n]&&(f[n]=u[n],delete u[n],g(a,n)&&(!a[n]||a[n][V])||(a[n]=(t=a,r=n,(i=function(){var n,e;return(function(n,e,t,r){var i=null;if(n&&g(t,L)){var o=n[A]||{};if((i=(o[t[L]]||{})[e])||mn("Missing ["+e+"] "+M),!i[O]&&!1!==o[U]){for(var a=!g(n,e),u=dn(n),c=[];a&&u&&!pn(u)&&!yn(c,u);){var f=u[e];if(f){a=f===r;break}c.push(u),u=dn(u)}try{a&&(n[e]=i),i[O]=1}catch(l){o[U]=!1}}}return i}(this,r,t,i)||(typeof(e=(e=t[n=r])===i?dn(t)[n]:e)!==M&&mn("["+n+"] is not a "+M),e)).apply(this,arguments)})[V]=1,i)))}))}wn[z]=sn.o;var r=undefined,kn="function",xn="object",Tn="prototype",_n="undefined",Cn="constructor",Sn="hasOwnProperty",t="indexOf",Pn="length",In="value",p=Object,En=p[Tn],n=String,i=n[Tn];function Nn(n,e){try{e=n()}catch(t){}return e}function Dn(e){return function(n){return typeof n===e}}function Mn(n){return En.toString.call(n)}function R(n){return typeof n===_n||n===_n}function F(n){return null===n||R(n)}function An(n){return!!n||n!==r}var B=Dn("string"),q=Dn(kn);function Vn(n){return(n||!F(n))&&n&&typeof n===xn}var J=Array.isArray,Ln=Dn("number"),On=function(n){return!(!n||"[object Error]"!==Mn(n))};function Un(n){return!(!n||Nn(function(){return!(n&&0+n)},!n))}var zn=p.getOwnPropertyDescriptor;function jn(n,e){return n&&En[Sn].call(n,e)}var Rn=p.hasOwn||function(n,e){return jn(n,e)||!!zn(n,e)};function h(n,e,t){if(n&&Vn(n))for(var r in n)if(Rn(n,r)&&-1===e.call(t||n,r,n[r]))break}function Fn(n){throw Error(n)}function Bn(n){throw new TypeError(n)}var qn=p.freeze;function Jn(n){return n}function Kn(n){return qn&&h(n,function(n,e){(J(e)||Vn(e))&&qn(e)}),Wn(n)}p.assign;var $n,Gn,Hn,Wn=qn||Jn,Xn=(p.seal,p.getPrototypeOf||Jn),Qn=n,Yn="__tsUtils$gblCfg";function Zn(){var n;return(n=(n=(n=typeof globalThis!==_n?globalThis:n)||typeof self===_n?n:self)||typeof window===_n?n:window)||typeof global===_n?n:global}function ne(){var n;return $n||(n=Zn()||{},$n=n[Yn]=n[Yn]||{}),$n}function ee(n){var e={description:Qn(n),toString:function(){return"Symbol("+n+")"},_polyfill:!0};return e}function te(n,e){var t=Error,r=function(){var n=this,n=t.apply(n,arguments)||n;return e&&e(n,arguments),n},i=t;return(p.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(t,n){h(n,function(n,e){t[n]=e})})(r,i),(o[Tn]=i[Tn]).name=n,r[Tn]=new o,r;function o(){this.constructor=r}}function re(n){throw new(Hn=Hn||te("UnsupportedError"))(n)}function K(n,e){var t=Mn(n),r="";if("[object Error]"===t)r="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n.name+"'";else try{r=e?Ln(e)?JSON.stringify(n,null,e):JSON.stringify(n,null,4):JSON.stringify(n)}catch(i){r=Mn(n)+" - "+K(i,e)}return t+": "+r}var u,ie=p.defineProperty;function oe(n,e,t){if(ie)return ie(n,e,t);re("Unable to define property ["+Mn(e)+"] on "+K(n))}function ae(n,e,t,r,i){if(ie)try{var o={enumerable:!0,configurable:!!R(i)||i};t&&(o.get=t),r&&(o.set=r),oe(n,e,o)}catch(a){re("Unable to define accessors for ["+Mn(e)+"] on "+K(n))}}var ue=function(){u=ne(),ue=null};function o(n,e){return t=function(){return Nn(n,e)},a={},ue&&ue(),a.b=u.lzy,r=a,o={enumerable:!0,configurable:!!R(!0)||!0},q(i=function(){var n=t();return u.lzy||(oe(a,"v",{enumerable:!0,configurable:!0,writable:!1,value:n}),a.b&&delete a.b),u.lzy&&a.b!==u.lzy&&(a.b=u.lzy),n})?o.get=i:o[In]=i,oe(r,"v",o),a;var t,r,i,o,a}var ce,fe,le,se,ve,a,pe,de,ge="document",he="history",me="navigator",ye="window";function m(n,e){e=(ce=!ce||!1===e||u.lzy&&!ce.b?o(Zn,null):ce).v;return e&&e[n]?e[n]:n===ye&&fe?fe.v:null}function be(){return(le=!le||u.lzy&&!le.b?o(function(){return m(ge)},r):le).v}function we(){return(fe=!fe||u.lzy&&!fe.b?o(function(){return m(ye)},r):fe).v}function ke(){return(se=!se||u.lzy&&!se.b?o(function(){return m(me)},r):se).v}function xe(){return(ve=!ve||u.lzy&&!ve.b?o(function(){return m(he)},r):ve).v}function Te(){var n=!a||u&&u.lzy&&!a.b;n&&(a=o(function(){return An(Symbol)?m("Symbol"):r},r)),pe&&!n||(pe=o(function(){return a.v?a["for"]:r},r)),de&&!n||(de=o(function(){return a.v?a.keyFor:r},r)),a.v}function _e(n,e){return a&&(!u.lzy||a.b)||Te(),a.v?a.v(n):e?null:ee(n)}function $(n,e,t){if(n)for(var r=n[Pn],i=0;i<r&&!(i in n&&-1===e.call(t||n,n[i],i,n));i++);}function Ce(r){return function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if((n||""===n)&&n[r])return n[r].apply(n,e);Bn("'"+r+"' not defined for "+K(n))}}var Se,Pe,Ie,Ee,Ne=Ce(t),De=Ce("map");function Me(){return(Date.now||Ae)()}function Ae(){return(new Date).getTime()}function Ve(n){if(n&&typeof n===xn){var e=!1;if(n!==(Ie=Ie||!we()||we())){Pe||(Se=Function[Tn].toString,Pe=Se.call(p));try{var t=Xn(n),e=(e=!t)||(t=jn(t,Cn)?t[Cn]:t)&&typeof t==kn&&Se.call(t)===Pe}catch(r){}}return e}}function Le(){return(Ee=!Ee||u.lzy&&!Ee.b?o(function(){return m("performance")},r):Ee).v}var Oe=Math.max,Ue=Ce("slice"),ze=Ce("substring"),je=i.substr?Ce("substr"):function(n,e,t){return F(n)&&Bn("'polyStrSubstr called with invalid "+K(n)),t<0?"":((e=e||0)<0&&(e=Oe(e+n[Pn],0)),R(t)?Ue(n,e):Ue(n,e,e+t))};function Re(n,e){return ze(n,0,e)}var n="endsWith",Fe=i[n]?Ce(n):function(n,e,t){B(n)||Bn("'"+K(n)+"' is not a string");var e=B(e)?e:Qn(e),r=e[Pn],i=n[Pn],t=!R(t)&&t<i?t:i;return ze(n,t-r,t)===e},Be=Ce(t),qe=/^\s+|(?=\s)\s+$/g,y=i.trim?Ce("trim"):function(n){return F(n)&&Bn("strTrim called ["+K(n)+"]"),n&&n.replace?n.replace(qe,""):n};function Je(){return n=this,e=setTimeout,t=clearTimeout,r=function(n){for(var e=[],t=0;t<n[Pn];t++)e[+t]=n[t];return e}(arguments),i=e.apply(n,r),{cancel:function(){i&&t.call(n,i),i=null},refresh:function(){return i&&t.call(n,i),i=e.apply(n,r),this}};var n,e,t,r,i}var Ke,n=function(n){var t={};return h(n,function(n,e){t[n]=e,t[e]=n}),Kn(t)},G="length",$e="notify",Ge="throwInternal",He="setDf",We="watch",Xe="logger",Qe="configurable",Ye="enumerable",Ze="apply",b="push",nt="splice",et="identifier",tt="isInitialized",rt="name",it="time",ot="processNext",at="call",ut="getPlugin",ct="teardown",ft="messageId",lt="message",st="isAsync",vt="diagLog",pt="_doTeardown",dt="update",gt="getNext",ht="setNextPlugin",mt="createNew",yt="config",bt="userAgent",wt="split",kt="nodeType",xt="replace",Tt="enableDebugExceptions",_t="toLowerCase",Ct="type",St="handler",Pt="isChildEvt",It="getCtx",Et="setCtx",Nt="complete",t=undefined,H="",w="core",Dt="disabled",Mt="extensionConfig",At="processTelemetry",Vt="priority",Lt="errorToConsole",Ot="warnToConsole",Ut="getPerfMgr",zt="domain",jt="path",Rt="Not dynamic - ",Ft=(S.toString[at](S),/-([a-z])/g),Bt=/([^\w\d_$])/g,qt=/^(\d+[\w\d_$])/,Jt=Object.getPrototypeOf;function Kt(n){return!F(n)}function $t(n){return n&&B(n)?(n=(n=n[xt](Ft,function(n,e){return e.toUpperCase()}))[xt](Bt,"_"))[xt](qt,function(n,e){return"_"+e}):n}function k(n,e){return!(!n||!e)&&-1!==Be(n,e)}function W(n){return On(n)?n[rt]:H}function Gt(n,e,t,r,i){var o=t;!n||(o=n[e])===t||i&&!i(o)||r&&!r(t)||(n[e]=o=t)}var Ht="location",Wt="console",Xt="JSON",Qt="msie",Yt="trident/",Zt=null,nr=null,er=!1;function tr(n){if(n&&er){n=m("__mockLocation");if(n)return n}return typeof location===s&&location?location:m(Ht)}function rr(){return typeof JSON===s&&JSON||null!==m(Xt)}function ir(){return rr()?JSON||m(Xt):null}function or(){var n=ke();return!n||n[bt]===nr&&null!==Zt||(n=((nr=n[bt])||H)[_t](),Zt=k(n,Qt)||k(n,Yt)),Zt}var ar=4294967296,ur=4294967295,cr=!1,fr=123456789,lr=987654321;function sr(n){var e,t=0,r=m("crypto")||m("msCrypto");if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&ur:t)&&or()){if(!cr)try{var i=2147483647&Me();(e=(Math.random()*ar^i)+i)<0&&(e>>>=0),fr=123456789+e&ur,lr=987654321-e&ur,cr=!0}catch(o){}r=((lr=36969*(65535&lr)+(lr>>16)&ur)<<16)+(65535&(fr=18e3*(65535&fr)+(fr>>16)&ur))>>>0&ur|0,t=(r>>>=0)&ur}return 0===t&&(t=Math.floor(ar*Math.random()|0)),n||(t>>>=0),t}var vr=e,pr="3.0.0-beta.2210-19",dr="."+function(n){void 0===n&&(n=22);for(var e=sr()>>>0,t=0,r=H;r[G]<n;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&e]||"",e>>>=6,5==++t&&(e=(sr()<<2&4294967295|3&e)>>>0,t=0);return r}(6),gr=0;function hr(n){return 1===n[kt]||9===n[kt]||!+n[kt]}function mr(n,e){return $t(n+gr+++((e=void 0!==e&&e)?"."+pr:H)+dr)}function yr(n){var o={id:mr("_aiData-"+(n||H)+"."+pr),accept:hr,get:function(n,e,t,r){var i=n[o.id];return i?i[$t(e)]:(r&&((i=function(n,e){var t=e[n.id];if(!t){t={};try{hr(e)&&!function(n,e,t){var r;if(vr)try{return vr(n,e,((r={value:t})[Ye]=!1,r[Qe]=!0,r)),1}catch(i){}}(e,n.id,t)&&(e[n.id]=t)}catch(r){}}return t}(o,n))[$t(e)]=t),t)},kill:function(n,e){if(n&&n[e])try{delete n[e]}catch(t){}}};return o}pe&&(!u.lzy||a.b)||Te();var br=(pe.v||function(n){Gn||(t=ne(),Gn=t.gblSym=t.gblSym||{k:{},s:{}});var e,t=Gn;return Rn(t,n)||(e=ee(n),t.k[n]=e,t.s[e]=Qn(n)),t.k[n]})("[[ai_dynCfg_1]]");function wr(n){var t;return n&&(J(n)?(t=[])[G]=n[G]:Ve(n)&&(t={}),t)?(h(n,function(n,e){t[n]=wr(e)}),t):n}function kr(n){Bn("InvalidAccess:"+n)}function xr(n,e,t,r){var i,o,a=r,a=a&&Vn(a)&&(a.isVal||a.set||a.fb||Rn(a,"v"))?(i=a.isVal,o=a.set,function(n,e,t){var r,i=t.dfVal||An;if(e&&t.fb){var o=t.fb;J(o)||(o=[o]);for(var a=0;a<o[G];a++){var u=o[a],c=e[u];if(i(c)?r=c:(i(c=n.cfg[u])&&(r=c),n.set(n.cfg,Qn(u),c)),i(r))break}}return!i(r)&&i(t.v)?t.v:r}(n,e,a)):r,r=a,u=!0,c=e[t];!c&&F(c)||(r=c,u=!1),u||(i&&r!==a&&!i(r)&&(r=a,u=!0),o&&(u=(r=o(r,a,e))===a)),r&&u&&(Ve(r)||J(r))&&(r=wr(r)),n.set(e,t,r)}var Tr=["push","pop","shift","unshift","splice"];function _r(e,t,r,i){var o={n:r,h:[],trk:function(n){n&&n.fn&&(-1===Ne(o.h,n)&&o.h[b](n),e.trk(n,o))},clr:function(n){n=Ne(o.h,n);-1!==n&&o.h[nt](n,1)}},a=!0;function n(){a&&(i&&!i[br]&&(Ve(i)||J(i))&&(i=Sr(e,i)),a=!1);var n=e.act;return n&&o.trk(n),i}n[e.prop]={chng:function(){e.add(o)}},ae(t,o.n,n,function u(n){i!==n&&(u[e.ro]&&e.upd&&kr("["+r+"] is sealed from "+K(t)),i&&i[br]&&(Ve(i)||J(i))&&h(i,function(n){var n=zn(i,n);n&&n.get&&(n=n.get[e.prop])&&n.chng()}),a=!1,(Ve(n)||J(n))&&Sr(e,n),i=n,e.add(o))},!0)}function Cr(n,e,t,r){var i,o;return e&&(i=!1,(i=(o=zn(e,t))&&o.get?!!o.get[n.prop]:i)?e[t]=r:_r(n,e,t,r)),r}function Sr(t,r){var n,i,o;return h(r,function(n,e){Cr(t,r,n,e)}),r[br]||(oe(r,br,((n={})[Qe]=!1,n[Ye]=!1,n.get=function(){return t.hdlr},n)),i=t,J(o=r)&&$(Tr,function(n){var r=o[n];o[n]=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=r[Ze](this,n);return Sr(i,o),t}})),r}var Pr="[[ai_";function Ir(o){var a,n=_e(Pr+"get"+o.uid+"]]"),e=_e(Pr+"ro"+o.uid+"]]"),u=_e(Pr+"dtl"+o.uid+"]]"),r=null,i=null;function c(e,n){var t=a.act;try{(a.act=e)&&e[u]&&($(e[u],function(n){n.clr(e)}),e[u]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o[He].bind(o)})}catch(i){var r=o[Xe];throw r&&r[Ge](1,107,K(i)),i}finally{a.act=t||null}}function f(){if(r){var n=r,t=(r=null,i&&i.cancel(),i=null,[]);if($(n,function(e){if(e&&(e[u]&&($(e[u],function(n){n.clr(e)}),e[u]=null),e.fn))try{c(e,e.fn)}catch(n){t[b](n)}}),r)try{f()}catch(e){t[b](e)}if(0<t[G])throw n=t,Ke=Ke||te("AggregationError",function(n,e){1<e[G]&&(n.errors=e[1])}),$(n,function(n,e){"\n".concat(e," > ").concat(K(n))}),new Ke("Watcher error(s): ",n||[])}}return a={prop:n,ro:e,hdlr:o,add:function(n){if(n&&0<n.h[G]){r=r||[],i=i||Je(function(){i=null,f()},0);for(var e=0;e<n.h[G];e++){var t=n.h[e];t&&-1===Ne(r,t)&&r[b](t)}}},notify:f,use:c,trk:function(n,e){n&&(n=n[u]=n[u]||[],-1===Ne(n,e)&&n[b](e))}}}function Er(n,e,t,r){t=function(n,e,t){var r,i=function(){if(e){var n=e[br]||e;if(n.cfg&&(n.cfg===e||n.cfg[br]===n))return n}return null}();if(i)return i;var o,i=mr("dyncfg",!0),t=e&&!1!==t?e:wr(e),a=((r={uid:null,cfg:t})[Xe]=n,r[$e]=function(){o[$e]()},r.set=function(n,e,t){return Cr(o,n,e,t)},r[He]=function(t,n){return n&&h(n,function(n,e){xr(a,t,n,e)}),t},r[We]=function(n){return t={fn:e=n,rm:function(){t.fn=null,e=null}},o.use(t,e),t;var e,t},r._block=function(n){o.use(null,n)},r);return oe(a,"uid",((n={})[Qe]=!1,n[Ye]=!1,n.writable=!1,n.value=i,n)),Sr(o=Ir(a),t),a}(t,n||{},r);return e&&t[He](t.cfg,e),t}function Nr(n,e,t){var r,i=n[br]||n;if(i.cfg&&(i.cfg===n||i.cfg[br]===i))return i[We](e);i=t,r=Rt+K(n),i?(i[Ot](r),i[Ge](2,108,r)):kr(r),Er(n,null,t)[We](e)}var Dr=null,Mr={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebugExceptions:!1};function Ar(n){return n?'"'+n[xt](/\"/g,H)+'"':H}function Vr(n,e){var t,r=typeof console!==nn?console:m(Wt);r&&(t="log",r[n]&&(t=n),q(r[t])&&r[t](e))}Or.dataType="MessageData";var Lr=Or;function Or(n,e,t,r){void 0===t&&(t=!1),this[ft]=n,this[lt]=(t?"AI: ":"AI (Internal): ")+n;t=H,rr()&&(t=ir().stringify(r)),n=(e?" message:"+Ar(e):H)+(r?" props:"+Ar(t):H);this[lt]+=n}function Ur(n,e){return(n||{})[Xe]||new zr(e)}jr.__ieDyn=1;var zr=jr;function jr(i){this.identifier="DiagnosticLogger",this.queue=[];var c,f,l,s,v=0,p={};wn(jr,this,function(o){function a(n,e){var t,r;l<=v||(r=!0,t="AITR_"+e[ft],p[t]?r=!1:p[t]=!0,r&&(n<=f&&(o.queue[b](e),v++,u(1===n?"error":"warn",e)),v===l&&(r=new Lr(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue[b](r),1===n?o[Lt](t):o[Ot](t))))}function u(n,e){var t,r=(t=(t=Dr)||!0===(i||{}).disableDbgExt?t:Dr||(r=m("Microsoft"),Dr=r?r.ApplicationInsights:Dr))?t.ChromeDbgExt:null;r&&r[vt]&&r[vt](n,e)}Er(i||{},Mr,o)[We](function(n){n=n.cfg;c=n.loggingLevelConsole,f=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n[Tt]}),o.consoleLoggingLevel=function(){return c},o.telemetryLoggingLevel=function(){return f},o.maxInternalMessageLimit=function(){return l},o[Tt]=function(){return s},o[Ge]=function(n,e,t,r,i){e=new Lr(e,t,i=void 0!==i&&i,r);if(s)throw K(e);t=1===n?Lt:Ot;R(e[lt])?u("throw"+(1===n?"Critical":"Warning"),e):(i?(r=+e[ft],!p[r]&&n<=c&&(o[t](e[lt]),p[r]=!0)):n<=c&&o[t](e[lt]),a(n,e))},o[Ot]=function(n){Vr("warn",n),u("warning",n)},o[Lt]=function(n){Vr("error",n),u("error",n)},o.resetInternalMessageCount=function(){v=0,p={}},o.logInternalMessage=a})}function Rr(n){return n||new zr}function x(n,e,t,r,i,o){void 0===o&&(o=!1),Rr(n)[Ge](e,t,r,i,o)}function Fr(n,e){Rr(n)[Ot](e)}var Br="ParentContextKey",qr="ChildrenContextKey",Jr=(Kr.ParentContextKey="parent",Kr.ChildrenContextKey="childEvts",Kr);function Kr(n,e,t){var r,i=this;i.start=Me(),i[rt]=n,i[st]=t,i[Pt]=function(){return!1},q(e)&&ae(i,"payload",function(){return!r&&q(e)&&(r=e(),e=null),r}),i[It]=function(n){return n?(n===Kr[Br]||n===Kr[qr]?i:i.ctx||{})[n]:null},i[Et]=function(n,e){n&&(n===Kr[Br]?(i[n]||(i[Pt]=function(){return!0}),i[n]=e):n===Kr[qr]?i[n]=e:(i.ctx=i.ctx||{})[n]=e)},i[Nt]=function(){var n=0,e=i[It](Kr[qr]);if(J(e))for(var t=0;t<e[G];t++){var r=e[t];r&&(n+=r[it])}i[it]=Me()-i.start,i.exTime=i[it]-n,i[Nt]=function(){}}}var $r="CoreUtils.doPerf";function Gr(n,e,t,r,i){if(n)if(n=n[Ut]?n[Ut]():n){var o,a=void 0,u=n[It]($r);try{if(a=n.create(e(),r,i))return u&&a[Et]&&(a[Et](Jr[Br],u),u[It]&&u[Et]&&((o=u[It](Jr[qr]))||(o=[],u[Et](Jr[qr],o)),o[b](a))),n[Et]($r,a),t(a)}catch(c){a&&a[Et]&&a[Et]("exception",c)}finally{a&&n.fire(a),n[Et]($r,u)}}t()}function Hr(n,e,t){return n&&n[G]===e&&n!==t&&n.match(/^[\da-f]*$/i)}var Wr=yr("plugin");function Xr(n){return Wr.get(n,"state",{},!0)}var Qr="TelemetryPluginChain",Yr="_hasRun",Zr="_getTelCtx",ni=0;function ei(n,o,t,e){var r=null,i=[],a=(o=o||Er({},null,t[Xe]),null!==e&&(r=e?function(n,e,t){for(;n;){if(n[ut]()===t)return n;n=n[gt]()}return ri([t],e[yt]||{},e)}(n,t,e):n),{_next:function(){var n,e=r;return r=e?e[gt]():null,e||(n=i)&&0<n[G]&&($(n,function(n){try{n.func[at](n.self,n.args)}catch(e){x(t[Xe],2,73,"Unexpected Exception during onComplete - "+K(e))}}),i=[]),e},ctx:{core:function(){return t},diagLog:function(){return Ur(t,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,e){var r=u(n,!0);return e&&h(e,function(n,e){var t;!F(r[n])||!(t=o.cfg[n])&&F(t)||(r[n]=t),xr(o,r,n,e)}),o[He](r,e)},getConfig:function(n,e,t){void 0===t&&(t=!1);var r,n=u(n,!1),i=o.cfg;return!n||!n[e]&&F(n[e])?!i[e]&&F(i[e])||(r=i[e]):r=n[e],r||!F(r)?r:t},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(n){r=n},iterate:function(n){for(;e=a._next();){var e=e[ut]();e&&n(e)}},onComplete:function(n,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];n&&i[b]({func:n,self:R(e)?a.ctx:e,args:t})}}});function u(n,e){var t,r=null,i=o.cfg;return i&&n&&(t=i[Mt],o.set(i,Mt,t=!t&&e?{}:t),(t=i[Mt])&&(r=t[n],o.set(t,n,r=!r&&e?{}:r),r=t[n])),r}return a}function ti(n,e,t,r){var i=Er(e),o=ei(n,i,t,r),a=o.ctx;return a[ot]=function(n){var e=o._next();return e&&e[At](n,a),!e},a[mt]=function(n,e){return ti((n=J(n=void 0===n?null:n)?ri(n,i.cfg,t,e):n)||a[gt](),i.cfg,t,e)},a}function ri(n,e,t,r){var i,o=null,a=!r;return J(n)&&0<n[G]&&(i=null,$(n,function(n){(a=!a&&r===n||a)&&n&&q(n[At])&&(n=ii(n,e,t),o=o||n,i&&i._setNext(n),i=n)})),r&&!o?ri([r],e,t):o}function ii(c,r,i){var f=null,o=q(c[At]),a=q(c[ht]),l=c?c[et]+"-"+c[Vt]+"-"+ni++:"Unknown-0-"+ni++,u={getPlugin:function(){return c},getNext:function(){return f},processTelemetry:function(t,n){var e;s(n=n||(e=(e=c&&q(c[Zr])?c[Zr]():e)||ti(u,r,i)),function(n){if(!c||!o)return!1;var e=Xr(c);return!e[ct]&&!e[Dt]&&(a&&c[ht](f),c[At](t,n),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||n[ot](t)},unload:function(r,i){s(r,function(){var n,e,t=!1;return c&&(n=Xr(c),e=c[w]||n[w],!c||e&&e!==r.core()||n[ct]||(n[w]=null,n[ct]=!0,n[tt]=!1,c[ct]&&!0===c[ct](r,i)&&(t=!0))),t},"unload",function(){},i[st])||r[ot](i)},update:function(r,i){s(r,function(){var n,e,t=!1;return c&&(n=Xr(c),e=c[w]||n[w],!c||e&&e!==r.core()||n[ct]||c[dt]&&!0===c[dt](r,i)&&(t=!0)),t},"update",function(){},!1)||r[ot](i)},_id:l,_setNext:function(n){f=n}};function s(t,r,i,n,e){var o=!1,a=c?c[et]:Qr,u=(u=t[Yr])||(t[Yr]={});return t.setNext(f),c&&Gr(t[w](),function(){return a+":"+i},function(){u[l]=!0;try{var n=f?f._id:H;n&&(u[n]=!1),o=r(t)}catch(e){n=!f||u[f._id];n&&(o=!0),f&&n||x(t[vt](),1,73,"Plugin ["+a+"] failed during "+i+" - "+K(e)+", run flags: "+K(u))}},n,e),o}return Wn(u)}var oi="toGMTString",ai="toUTCString",ui="cookie",ci="expires",fi="isCookieUseDisabled",li="disableCookiesUsage",si="_ckMgr",vi=null,pi=null,di=null,gi=be(),hi={},mi={},yi=Kn(((i={})[zt]={fb:"cookieDomain",dfVal:Kt},i.path={fb:"cookiePath",dfVal:Kt},i.enabled=t,i)),bi=((e={cookieCfg:{},cookieDomain:t,cookiePath:t})[li]=t,e);function wi(n){return!n||n.isEnabled()}function ki(n,e){return e&&n&&J(n.ignoreCookies)&&-1!==Ne(n.ignoreCookies,e)}function xi(t,i){Nr(t=Er(t||mi,null,i).cfg,function(n){n[He](n.cfg,bi);var e,n=(f=n[He](n.cfg.cookieCfg,yi)).enabled;F(n)&&(e=void 0,R(t[fi])||(e=!t[fi]),n=e=R(t[li])?e:!t[li]),l=f[jt]||"/",s=f[zt],r=!1!==n,o=f.getCookie||Pi,v=f.setCookie||Ii,a=f.delCookie||Ii},i);var f,l,s,r,o,v,a,p={isEnabled:function(){var n=r&&Ti(i),e=mi[si];return n&&e&&p!==e?wi(e):n},setEnabled:function(n){r=!1!==n},set:function(n,e,t,r,i){var o,a,u,c=!1;return!wi(p)||(a=f,(u=n)&&a&&J(a.blockedCookies)&&-1!==Ne(a.blockedCookies,u)||ki(a,u))||(a={},u=y(e||H),-1!==(o=Be(u,";"))&&(u=y(Re(e,o)),a=_i(ze(e,o+1))),Gt(a,zt,r||s,Un,R),F(t)||(e=or(),R(a[ci])&&0<(o=Me()+1e3*t)&&((r=new Date).setTime(o),Gt(a,ci,Ci(r,e?oi:ai)||Ci(r,e?oi:ai)||H,Un)),e||Gt(a,"max-age",H+t,null,R)),(o=tr())&&"https:"===o.protocol&&(Gt(a,"secure",null,null,R),(pi=null===pi?(r=(ke()||{})[bt],!(B(r)&&(k(r,"CPU iPhone OS 12")||k(r,"iPad; CPU OS 12")||k(r,"Macintosh; Intel Mac OS X 10_14")&&k(r,"Version/")&&k(r,"Safari")||k(r,"Macintosh; Intel Mac OS X 10_14")&&Fe(r,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||k(r,"Chrome/5")||k(r,"Chrome/6")||k(r,"UnrealEngine")&&!k(r,"Chrome")||k(r,"UCBrowser/12")||k(r,"UCBrowser/11")))):pi)&&Gt(a,"SameSite","None",null,R)),Gt(a,jt,i||l,null,R),v(n,Si(u,a)),c=!0),c},get:function(n){var e=H;return wi(p)&&!ki(f,n)?o(n):e},del:function(n,e){return!!wi(p)&&p.purge(n,e)},purge:function(n,e){var t,r=!1;return Ti(i)&&((t={})[jt]=e||"/",t[ci]="Thu, 01 Jan 1970 00:00:01 GMT",e=t,or()||(e["max-age"]="0"),a(n,Si(H,e)),r=!0),r}};return p[si]=p}function Ti(n){if(null===vi){vi=!1;try{vi=(gi||{})[ui]!==undefined}catch(e){x(n,2,68,"Cannot access document.cookie - "+W(e),{exception:K(e)})}}return vi}function _i(n){var t={};return n&&n[G]&&$(y(n)[wt](";"),function(n){var e;(n=y(n||H))&&(-1===(e=Be(n,"="))?t[n]=null:t[y(Re(n,e))]=y(ze(n,e+1)))}),t}function Ci(n,e){return q(n[e])?n[e]():null}function Si(n,e){var t=n||H;return h(e,function(n,e){t+="; "+n+(F(e)?H:"="+e)}),t}function Pi(n){var e,t=H;return gi&&(e=gi[ui]||H,di!==e&&(hi=_i(e),di=e),t=y(hi[n]||H)),t}function Ii(n,e){gi&&(gi[ui]=n+"="+e)}function Ei(){var e=[];return{add:function(n){n&&e[b](n)},run:function(t,r){$(e,function(n){try{n(t,r)}catch(e){x(t[vt](),2,73,"Unexpected error calling unload handler - "+K(e))}}),e=[]}}}var Ni="getPlugin",Di=((i={})[Mt]={isVal:Kt,v:[]},i),t=(Mi.__ieDyn=1,Mi);function Mi(){var o,i,l,s,v,a=this;function e(n){var e,n=n=void 0===n?null:n;return n||(e=i||ti(null,{},a[w]),n=l&&l[Ni]?e[mt](null,l[Ni]):e[mt](null,l)),n}function c(n,e,t){Er(n,Di,e[Xe]),!t&&e&&(t=e.getProcessTelContext()[gt]());var r=l;l&&l[Ni]&&(r=l[Ni]()),a[w]=e,i=ti(t,n,e,r)}function p(){o=!1,a[w]=null,l=i=null,v=[],s=Ei()}p(),wn(Mi,a,function(f){var n,e,t,r,i;f.initialize=function(n,e,t,r){c(n,e,r),o=!0},f[ct]=function(n,e){var t,r,i,o,a=f[w];if(a&&(!n||a===n[w]()))return r=!1,i=n||function c(n,t,e){var r=Er(t[yt]),i=ei(n,r,t,e),o=i.ctx;return o[ot]=function(n){var e=i._next();return e&&e.unload(o,n),!e},o[mt]=function(n,e){return c((n=J(n=void 0===n?null:n)?ri(n,r.cfg,t,e):n)||o[gt](),t,e)},o}(null,a,l&&l[Ni]?l[Ni]():l),o=e||((n={reason:0})[st]=!1,n),f[pt]&&!0===f[pt](i,o,u)?t=!0:u(),t;function u(){var n;r||(r=!0,s.run(i,e),n=v,v=[],$(n,function(n){try{(n.rm||n.remove)[at](n)}catch(e){x(i[vt](),2,73,"Unloading:"+K(e))}}),!0===t&&i[ot](o),p())}},f[dt]=function(n,e){var t,r,i,o=f[w];if(o&&(!n||o===n[w]()))return r=!1,i=n||function u(n,t,e){var r=Er(t[yt]),i=ei(n,r,t,e).ctx;return i[ot]=function(e){return i.iterate(function(n){q(n[dt])&&n[dt](i,e)})},i[mt]=function(n,e){return u((n=J(n=void 0===n?null:n)?ri(n,r.cfg,t,e):n)||i[gt](),t,e)},i}(null,o,l&&l[Ni]?l[Ni]():l),f._doUpdate&&!0===f._doUpdate(i,e||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(i.getCfg(),i.core(),i[gt]()))}},f._addHook=function(n){if(n){var e=v,t=n;if(!R(t)&&e)if(J(t))e.push.apply(e,t);else if(t&&q(t.next))for(var r=t.next();!r.done;)e.push(r[In]),r=t.next();else e.push(t)}},t="_addUnloadCb",e=function(){return s},(n=f)&&e&&(n[t]=(i=r=null,q(t=e)?r=t:i=t,function(){var n=arguments;if(i=r?r():i)return i.add[Ze](i,n)}))}),a[vt]=function(n){return e(n)[vt]()},a[tt]=function(){return o},a.setInitialized=function(n){o=n},a[ht]=function(n){l=n},a[ot]=function(n,e){e?e[ot](n):l&&q(l[At])&&l[At](n,null)},a._getTelCtx=e}var Ai="on",Vi="attachEvent",Li="addEventListener",Oi="detachEvent",Ui="removeEventListener",zi="events",ji=(mr("aiEvtPageHide"),mr("aiEvtPageShow"),/\.[\.]+/g),Ri=/[\.]+$/,Fi=1,Bi=yr("events"),qi=/^([^.]*)(?:\.(.+)|)/;function Ji(n){return n&&n[xt]?n[xt](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,H):n}function Ki(n,e){e&&(t=H,J(e)?(t=H,$(e,function(n){(n=Ji(n))&&("."!==n[0]&&(n="."+n),t+=n)})):t=Ji(e),t&&("."!==t[0]&&(t="."+t),n=(n||H)+t));var t,e=qi.exec(n||H)||[],n={};return n[Ct]=e[1],n.ns=(e[2]||H).replace(ji,".").replace(Ri,H)[wt](".").sort().join("."),n}function $i(n,e,t){n=Bi.get(n,zi,{},t=void 0===t||t);return n[e]||(n[e]=[])}function Gi(n,e,t,r){n&&e&&e[Ct]&&(n[Ui]?n[Ui](e[Ct],t,r):n[Oi]&&n[Oi](Ai+e[Ct],t))}function Hi(n,e,t,r){for(var i=e[G];i--;){var o=e[i];!o||t.ns&&t.ns!==o.evtName.ns||r&&!r(o)||(Gi(n,o.evtName,o[St],o.capture),e[nt](i,1))}}function Wi(n,e,t,r,i){var o,a;if(void 0===i&&(i=!1),n)try{var u,c=Ki(e,r),f=c,l=t,s=i,v=!1;(a=n)&&f&&f[Ct]&&l&&(a[Li]?(a[Li](f[Ct],l,s),v=!0):a[Vi]&&(a[Vi](Ai+f[Ct],l),v=!0)),v&&Bi.accept(n)&&((o={guid:Fi++,evtName:c})[St]=t,o.capture=i,u=o,$i(n,c.type)[b](u))}catch(p){}}var Xi="_aiHooks",Qi=["req","rsp","hkErr","fnErr"];function Yi(n,e){if(n)for(var t=0;t<n[G]&&!e(n[t],t);t++);}function Zi(n,a,u,c,f){0<=f&&f<=2&&Yi(n,function(n,e){var n=n.cbks,t=n[Qi[f]];if(t){a.ctx=function(){return c[e]=c[e]||{}};try{t[Ze](a.inst,u)}catch(i){t=a.err;try{var r=n.hkErr;r&&(a.err=i,r[Ze](a.inst,u))}catch(o){}finally{a.err=t}}}})}function no(c){return function(){var t=arguments,n=c.h,r=((e={})[rt]=c.n,e.inst=this,e.ctx=null,e.set=function(n,e){(t=o([],t))[n]=e,i=o([r],t)},e),e=[],i=o([r],t);function o(e,n){return Yi(n,function(n){e[b](n)}),e}r.evt=m("event"),Zi(n,r,i,e,0);var a=c.f;if(a)try{r.rslt=a[Ze](this,t)}catch(u){throw r.err=u,Zi(n,r,i,e,3),u}return Zi(n,r,i,e,1),r.rslt}}function eo(n,e,t,r){if(n&&e&&t){r=function o(n,e,t){var r=null;return n&&(jn(n,e)?r=n:t&&(r=o(Jt(n),e,!1))),r}(n,e,r)||n;if(r)return e=(n=r)[r=e],t=t,(i=e&&e[Xi])||((e=no(i={i:0,n:r,f:e,h:[]}))[Xi]=i,n[r]=e),r={id:i.i,cbks:t,rm:function(){var t=this.id;Yi(i.h,function(n,e){return n.id===t&&(i.h[nt](e,1),1)})}},i.i++,i.h[b](r),r}var i;return null}var to="not_specified",ro="iKey",io="split",T="length",oo="toLowerCase",ao="toString",uo="removeItem",X="name",co="pathname",fo="exceptions",lo="parsedStack",so="properties",vo="measurements",po="stringify",go="message",ho="sizeInBytes",mo="typeName",yo="severityLevel",bo="problemGroup",wo="isManual",ko="CreateFromInterface",xo="hasFullStack",To="level",_o="method",Co="assembly",So="fileName",Po="line",Io="duration",Eo="receivedResponse",No="substring";function Do(n,e,t){var r,i,o=e[T],a=(n=n,(e=e)&&150<(e=y(e[ao]()))[T]&&(i=e[No](0,150),x(n,2,57,"name is too long. It has been truncated to 150 characters.",{name:e},!0)),i||e);if(a[T]!==o){for(var u=0,c=a;t[c]!==undefined;)u++,c=a[No](0,147)+(r=void 0,(r="00"+u).substr(r[T]-3));a=c}return a}function Q(n,e,t){var r;return void 0===t&&(t=1024),e&&(t=t||1024,(e=y(e[ao]()))[T]>t&&(r=e[No](0,t),x(n,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:e},!0))),r||e}function Mo(n,e){return Oo(n,e,2048,66)}function Ao(n,e){var t;return e&&32768<e[T]&&(t=e[No](0,32768),x(n,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),t||e}function Vo(r,n){var i;return n&&(i={},h(n,function(n,e){if(Vn(e)&&rr())try{e=ir()[po](e)}catch(t){x(r,2,49,"custom property is not valid",{exception:t},!0)}e=Q(r,e,8192),n=Do(r,n,i),i[n]=e}),n=i),n}function Lo(t,n){var r;return n&&(r={},h(n,function(n,e){n=Do(t,n,r),r[n]=e}),n=r),n}function Oo(n,e,t,r){var i;return e&&(e=y(e[ao]()))[T]>t&&(i=e[No](0,t),x(n,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:e},!0)),i||e}var Uo=be()||{},zo=0,jo=[null,null,null,null,null];function _(n,e){return 0===n||0===e||F(n)||F(e)?null:e-n}Fo.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Fo.dataType="EventData";var Ro=Fo;function Fo(n,e,t,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0},this.ver=2,this[X]=Q(n,e)||to,this[so]=Vo(n,t),this[vo]=Lo(n,r)}var Bo="error",c="stack",qo="stackDetails",Jo="errorSrc",Ko="message",$o="description";function Go(n,e){var t=n;return t&&!B(t)&&(JSON&&JSON[po]?(t=JSON[po](n),!e||t&&"{}"!==t||(t=q(n[ao])?n[ao]():""+n)):t=n+" - (Missing JSON.stringify)"),t||""}function Ho(n,e){var t=n;return n&&((t=t&&!B(t)&&(n[Ko]||n[$o])||t)&&!B(t)&&(t=Go(t,!0)),n.filename&&(t=t+" @"+(n.filename||"")+":"+(n.lineno||"?")+":"+(n.colno||"?"))),(e&&"String"!==e&&"Object"!==e&&"Error"!==e&&-1===Be(t||"",e)?e+": "+t:t)||""}function Wo(n){return n&&n.src&&B(n.src)&&n.obj&&J(n.obj)}function Xo(n){var n=n||"",e=(n=B(n)?n:B(n[c])?n[c]:""+n)[io]("\n");return{src:n,obj:e}}function Qo(n){var e,t=null;if(n)try{n[c]?t=Xo(n[c]):n[Bo]&&n[Bo][c]?t=Xo(n[Bo][c]):n.exception&&n.exception[c]?t=Xo(n.exception[c]):Wo(n)?t=n:Wo(n[qo])?t=n[qo]:window&&window.opera&&n[Ko]?t=function(n){for(var e=[],t=n[io]("\n"),r=0;r<t[T];r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),e.push(i)}return{src:n,obj:e}}(n[go]):n.reason&&n.reason[c]?t=Xo(n.reason[c]):B(n)?t=Xo(n):(e=n[Ko]||n[$o]||"",B(n[Jo])&&(e&&(e+="\n"),e+=" from "+n[Jo]),e&&(t=Xo(e)))}catch(r){t=Xo(r)}return t||{src:"",obj:null}}function Yo(n){var e="";if(n&&!(e=n.typeName||n[X]||""))try{var t=/function (.{1,200})\(/.exec(n.constructor[ao]()),e=t&&1<t[T]?t[1]:""}catch(r){}return e}function Zo(n){if(n)try{var e,t;if(!B(n))return e=Yo(n),(t=Go(n,!1))&&"{}"!==t||(n[Bo]&&(e=Yo(n=n[Bo])),t=Go(n,!0)),0!==Be(t,e)&&"String"!==e?e+":"+t:t}catch(r){}return""+(n||"")}ea.CreateAutoException=function(n,e,t,r,i,o,a,u){var c=Yo(i||o||n),f={};return f[go]=Ho(n,c),f.url=e,f.lineNumber=t,f.columnNumber=r,f.error=Zo(i||o||n),f.evt=Zo(o||n),f[mo]=c,f.stackDetails=Qo(a||i||o),f.errorSrc=u,f},ea.CreateFromInterface=function(e,n,t,r){var i=n[fo]&&De(n[fo],function(n){return ta[ko](e,n)});return new ea(e,en(en({},n),{exceptions:i}),t,r)},ea.prototype.toInterface=function(){var n=this,e=n.exceptions,t=n.properties,r=n.measurements,i=n.severityLevel,o=n.problemGroup,a=n.id,n=n.isManual,e=e instanceof Array&&De(e,function(n){return n.toInterface()})||undefined,u={ver:"4.0"};return u[fo]=e,u.severityLevel=i,u.properties=t,u.measurements=r,u.problemGroup=o,u.id=a,u.isManual=n,u},ea.CreateSimpleException=function(n,e,t,r,i,o){var a;return{exceptions:[((a={})[xo]=!0,a.message=n,a.stack=i,a.typeName=e,a)]}},ea.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",ea.dataType="ExceptionData",ea.formatError=Zo;var na=ea;function ea(n,e,t,r,i,o){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,function(n){try{if(Vn(n))return"ver"in n&&"exceptions"in n&&"properties"in n}catch(e){}}(e)?(a[fo]=e[fo]||[],a[so]=e[so],a[vo]=e[vo],e[yo]&&(a[yo]=e[yo]),e.id&&(a.id=e.id),e[bo]&&(a[bo]=e[bo]),F(e[wo])||(a[wo]=e[wo])):(a[fo]=[new ta(n,e,t=t||{})],a[so]=Vo(n,t),a[vo]=Lo(n,r),i&&(a[yo]=i),o&&(a.id=o))}ra.prototype.toInterface=function(){var n=this,e=n[lo]instanceof Array&&De(n[lo],function(n){return n.toInterface()});return(n={id:n.id,outerId:n.outerId,typeName:n[mo],message:n[go],hasFullStack:n[xo],stack:n[c]})[lo]=e||undefined,n},ra.CreateFromInterface=function(n,e){var t=e[lo]instanceof Array&&De(e[lo],function(n){return ia[ko](n)})||e[lo];return new ra(n,en(en({},e),{parsedStack:t}))};var ta=ra;function ra(n,e,t){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var f,r,i,o,a,u=this;!function(n){try{if(Vn(n))return"hasFullStack"in n&&"typeName"in n}catch(e){}}(e)?(r=(o=e)&&o.evt,On(o)||(o=o[Bo]||r||o),u[mo]=Q(n,Yo(o))||to,u[go]=Ao(n,Ho(e||o,u[mo]))||to,f=e[qo]||Qo(e),u[lo]=function(){var n=f.obj;if(n&&0<n[T]){var e=[],t=0,r=0;if($(n,function(n){var n=n[ao]();ia.regex.test(n)&&(n=new ia(n,t++),r+=n[ho],e.push(n))}),32768<r)for(var i=0,o=e[T]-1,a=0,u=i,c=o;i<o;){if(32768<(a+=e[i][ho]+e[o][ho])){e.splice(u,c-u+1);break}u=i,c=o,i++,o--}}return e}(),u[c]=(r=n,a="",(o=f)&&(o.obj?$(o.obj,function(n){a+=n+"\n"}):a=o.src||""),(n=a)&&32768<(o=""+n)[T]&&(i=o[No](0,32768),x(r,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),i||n),u.hasFullStack=J(u.parsedStack)&&0<u.parsedStack[T],t&&(t[mo]=t[mo]||u[mo])):(u[mo]=e[mo],u[go]=e[go],u[c]=e[c],u[lo]=e[lo]||[],u[xo]=e[xo])}oa.CreateFromInterface=function(n){return new oa(n,null)},oa.prototype.toInterface=function(){var n=this;return{level:n[To],method:n[_o],assembly:n[Co],fileName:n[So],line:n[Po]}},oa.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,oa.baseSize=58;var ia=oa;function oa(n,e){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var t,r=this;r[ho]=0,"string"==typeof n?(t=n,r[To]=e,r[_o]="<no_method>",r[Co]=y(t),r[So]="",r[Po]=0,(e=t.match(oa.regex))&&5<=e[T]&&(r[_o]=y(e[2])||r[_o],r[So]=y(e[4]),r[Po]=parseInt(e[5])||0)):(r[To]=n[To],r[_o]=n[_o],r[Co]=n[Co],r[So]=n[So],r[Po]=n[Po],r[ho]=0),r.sizeInBytes+=r.method[T],r.sizeInBytes+=r.fileName[T],r.sizeInBytes+=r.assembly[T],r[ho]+=oa.baseSize,r.sizeInBytes+=r.level.toString()[T],r.sizeInBytes+=r.line.toString()[T]}var aa=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},ua=(ca.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",ca.dataType="MetricData",ca);function ca(n,e,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var f=new aa;f.count=0<r?r:undefined,f.max=isNaN(o)||null===o?undefined:o,f.min=isNaN(i)||null===i?undefined:i,f[X]=Q(n,e)||to,f.value=t,f.stdDev=isNaN(a)||null===a?undefined:a,this.metrics=[f],this[so]=Vo(n,u),this[vo]=Lo(n,c)}var fa="";function f(n,e){return void 0===e&&(e=!1),n===undefined||null===n?e:"true"===n.toString()[oo]()}function la(n){var e=fa+Math.floor((n=Math.round(n=isNaN(n)||n<0?0:n))/1e3)%60,t=fa+Math.floor(n/6e4)%60,r=fa+Math.floor(n/36e5)%24,i=Math.floor(n/864e5),n=1===(n=fa+n%1e3)[T]?"00"+n:2===n[T]?"0"+n:n,e=e[T]<2?"0"+e:e,t=t[T]<2?"0"+t:t,r=r[T]<2?"0"+r:r;return(0<i?i+".":fa)+r+":"+t+":"+e+"."+n}va.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",va.dataType="PageviewData";var sa=va;function va(n,e,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var u=this;u.ver=2,u.id=a&&Oo(n,a,128,69)[ao](),u.url=Mo(n,t),u[X]=Q(n,e)||to,isNaN(r)||(u[Io]=la(r)),u[so]=Vo(n,i),u[vo]=Lo(n,o)}da.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",da.dataType="RemoteDependencyData";var pa=da;function da(n,e,t,r,i,o,a,u,c,f,l,s){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var v,p,d,g=this,t=(g.ver=2,g.id=e,g[Io]=la(i),g.success=o,g.resultCode=a+"",g.type=Q(n,c),e=n,i=u,c=a=o=r,a=(u=t)&&0<u[T]?(v=u,d=(t=jo)[p=zo],Uo.createElement?t[p]||(d=t[p]=Uo.createElement("a")):d={host:function(){n=null,v&&null!=(t=v.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<t[T]&&B(t[2])&&0<t[2][T]&&(n=t[2]||"",2<t[T]&&(e=(t[1]||"")[oo](),t=t[3]||"",n+=t="http"===e&&":80"===t||"https"===e&&":443"===t?"":t));var n,e=n||"";if(e){var t=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=t&&3<t[T]&&B(t[2])&&0<t[2][T])return t[2]+(t[3]||"")}return e}()},d.href=v,++p>=t[T]&&(p=0),zo=p,p=(t=d).host,a||(null!=t[co]?("/"!=((d=0===t.pathname[T]?"/":t[co])[0]||"")&&(d="/"+d),c=t[co],Q(e,i?i+" "+d:d)):Q(e,u))):p=o,{target:p,name:a,data:c});g.data=Mo(n,r)||t.data,g.target=Q(n,t.target),f&&(g.target="".concat(g.target," | ").concat(f)),g[X]=Q(n,t[X]),g[so]=Vo(n,l),g[vo]=Lo(n,s)}ha.envelopeType="Microsoft.ApplicationInsights.{0}.Message",ha.dataType="MessageData";var ga=ha;function ha(n,e,t,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var o=this;o.ver=2,o[go]=Ao(n,e=e||to),o[so]=Vo(n,r),o[vo]=Lo(n,i),t&&(o[yo]=t)}ya.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",ya.dataType="PageviewPerformanceData";var ma=ya;function ya(n,e,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var u=this;u.ver=2,u.url=Mo(n,t),u[X]=Q(n,e)||to,u[so]=Vo(n,i),u[vo]=Lo(n,o),a&&(u.domProcessing=a.domProcessing,u[Io]=a[Io],u.networkConnect=a.networkConnect,u.perfTotal=a.perfTotal,u[Eo]=a[Eo],u.sentRequest=a.sentRequest)}function ba(n,e,t,r,i,o){t=Q(r,t)||to,(F(n)||F(e)||F(t))&&Fn("Input doesn't contain all required fields");var a,r="",u=(n[ro]&&(r=n[ro],delete n[ro]),(a={})[X]=t,a.time=(t=new Date)&&t.toISOString()||"",a.iKey=r,a.ext=o||{},a.tags=[],a.data={},a.baseType=e,a.baseData=n,a);return F(i)||h(i,function(n,e){u.data[n]=e}),u}var wa=n({LocalStorage:0,SessionStorage:1});function ka(n){var e,t=null;return q(Event)?t=new Event(n):(e=be())&&e.createEvent&&(t=e.createEvent("Event")).initEvent(n,!0,!0),t}n({AI:0,AI_AND_W3C:1,W3C:2}),undefined;var xa=undefined;function Ta(n){try{if(F(E()))return null;var e=(new Date)[ao](),t=m(n===wa.LocalStorage?"localStorage":"sessionStorage"),r=(t.setItem(e,e),t.getItem(e)!==e);if(t[uo](e),!r)return t}catch(i){}return null}function _a(){return Ca()?Ta(wa.SessionStorage):null}function Ca(n){return xa=n||xa===undefined?!!Ta(wa.SessionStorage):xa}function Sa(n,e){var t=_a();if(null!==t)try{return t.getItem(e)}catch(r){xa=!1,x(n,2,2,"Browser failed read of session storage. "+W(r),{exception:K(r)})}return null}function Pa(n,e,t){var r=_a();if(null!==r)try{r.setItem(e,t)}catch(i){xa=!1,x(n,2,4,"Browser failed write to session storage. "+W(i),{exception:K(i)})}}function Ia(n,e){var t=_a();if(null!==t)try{t[uo](e)}catch(r){xa=!1,x(n,2,6,"Browser failed removal of session storage item. "+W(r),{exception:K(r)})}}var Ea="toString",Na="isStorageUseDisabled",Da="_addHook",Y="core",Ma="dataType",Aa="envelopeType",Z="diagLog",Va="track",La="trackPageView",Oa="trackPreviousPageVisit",Ua="sendPageViewInternal",za="sendPageViewPerformanceInternal",ja="populatePageViewPerformanceEvent",Ra="href",Fa="sendExceptionInternal",Ba="exception",qa="error",Ja="_onerror",Ka="errorSrc",$a="lineNumber",Ga="columnNumber",Ha="message",Wa="CreateAutoException",Xa="addTelemetryInitializer",Qa="duration",Ya="length",Za="autoUnhandledPromiseInstrumented",nu="isPerformanceTimingSupported",eu="getPerformanceTiming",tu="navigationStart",ru="shouldCollectDuration",iu="isPerformanceTimingDataReady",ou="responseStart",au="requestStart",uu="loadEventEnd",cu="responseEnd",fu="connectEnd",lu="pageVisitStartTime",su=(vu.__ieDyn=1,vu);function vu(d,g,e,h){wn(vu,this,function(n){var l,s=null,v=[],p=!1;function t(n){e&&e.flush(n)}e&&(l=e.logger),n[La]=function(r,i){var n,o=r.name,a=(!F(o)&&"string"==typeof o||(n=be(),o=r.name=n&&n.title||""),r.uri);if(!F(a)&&"string"==typeof a||(n=tr(),a=r.uri=n&&n[Ra]||""),!h[nu]())return d[Ua](r,i),t(!0),void x(l,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var u,e,c=!1,f=h[eu]()[tu];0<f&&(u=_(f,+new Date),h[ru](u)||(u=undefined)),F(i)||F(i[Qa])||(e=i[Qa]),!g&&isNaN(e)||(isNaN(e)&&((i=i||{})[Qa]=u),d[Ua](r,i),t(!0),c=!0),i=i||{},v.push(function(){var n,e=!1;try{h[iu]()?(e=!0,n={name:o,uri:a},h[ja](n),n.isValid||c?(c||(i[Qa]=n.durationMs,d[Ua](r,i)),p||(d[za](n,i),p=!0)):(i[Qa]=u,d[Ua](r,i))):0<f&&6e4<_(f,+new Date)&&(e=!0,c||(i[Qa]=6e4,d[Ua](r,i)))}catch(t){x(l,1,38,"trackPageView failed on page load calculation: "+W(t),{exception:K(t)})}return e}),s=s||setInterval(function(){var n=v.slice(0),e=!1;v=[],$(n,function(n){n()?e=!0:v.push(n)}),0===v[Ya]&&(clearInterval(s),s=null),e&&t(!0)},100)},n.teardown=function(n,e){var t;s&&(clearInterval(s),s=null,t=v.slice(0),v=[],$(t,function(n){n()}))}})}var pu=36e5,du=["googlebot","adsbot-google","apis-google","mediapartners-google"];function gu(){var n=Le();return n&&!!n.timing}function hu(){var n=Le(),n=n?n.timing:0;return n&&0<n.domainLookupStart&&0<n[tu]&&0<n[ou]&&0<n[au]&&0<n[uu]&&0<n[cu]&&0<n[fu]&&0<n.domLoading}function mu(){return gu()?Le().timing:null}function yu(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=(ke()||{}).userAgent,r=!1;if(t)for(var i=0;i<du[Ya];i++)r=r||-1!==Be(t.toLowerCase(),du[i]);if(r)return!1;for(i=0;i<n[Ya];i++)if(n[i]<0||n[i]>=pu)return!1;return!0}wu.__ieDyn=1;var bu=wu;function wu(n){var u=this,c=Ur(n);wn(wu,this,function(n){n[ja]=function(n){n.isValid=!1;var e=(e=Le())&&e.getEntriesByType&&0<e.getEntriesByType("navigation")[Ya]?Le().getEntriesByType("navigation")[0]:null,t=mu(),r=0,i=0,o=0,a=0;(e||t)&&(e=e?(r=e[Qa],i=0===e.startTime?e[fu]:_(e.startTime,e[fu]),o=_(e.requestStart,e[ou]),a=_(e[ou],e[cu]),_(e.responseEnd,e[uu])):(r=_(t[tu],t[uu]),i=_(t[tu],t[fu]),o=_(t.requestStart,t[ou]),a=_(t[ou],t[cu]),_(t.responseEnd,t[uu])),0===r?x(c,2,10,"error calculating page view performance.",{total:r,network:i,request:o,response:a,dom:e}):u[ru](r,i,o,a,e)?r<Math.floor(i)+Math.floor(o)+Math.floor(a)+Math.floor(e)?x(c,2,8,"client performance math error.",{total:r,network:i,request:o,response:a,dom:e}):(n.durationMs=r,n.perfTotal=n[Qa]=la(r),n.networkConnect=la(i),n.sentRequest=la(o),n.receivedResponse=la(a),n.domProcessing=la(e),n.isValid=!0):x(c,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:o,response:a,dom:e}))},n[eu]=mu,n[nu]=gu,n[iu]=hu,n[ru]=yu})}xu.__ieDyn=1;var ku=xu;function xu(u,c){var f="prevPageVisitData";wn(xu,this,function(n){function i(n,e){var t=null;try{t=a(),o(n,e)}catch(r){Fr(u,"Call to restart failed: "+K(r)),t=null}return t}function o(n,e){try{var t,r;Ca()&&(null!=Sa(u,f)&&Fn("Cannot call startPageVisit consecutively without first calling stopPageVisit"),t=new Tu(n,e),r=ir().stringify(t),Pa(u,f,r))}catch(i){Fr(u,"Call to start failed: "+K(i))}}function a(){var n,e,t=null;try{Ca()&&(n=Me(),(e=Sa(u,f))&&rr()&&((t=ir().parse(e)).pageVisitTime=n-t[lu],Ia(u,f)))}catch(r){Fr(u,"Stop page visit timer failed: "+K(r)),t=null}return t}n[Oa]=function(n,e){try{var t=i(n,e);t&&c(t.pageName,t.pageUrl,t.pageVisitTime)}catch(r){Fr(u,"Auto track page visit time failed, metric will not be collected: "+K(r))}},ae(n,"_logger",function(){return u}),ae(n,"pageVisitTimeTrackingHandler",function(){return c})})}var Tu=function(n,e){this[lu]=Me(),this.pageName=n,this.pageUrl=e},_u=function(o,n){var a=this,u={};a.start=function(n){"undefined"!=typeof u[n]&&x(o,2,62,"start was called more than once for this event without calling stop.",{name:n,key:n},!0),u[n]=+new Date},a.stop=function(n,e,t,r){var i=u[n];isNaN(i)?x(o,2,63,"stop was called without a corresponding start.",{name:n,key:n},!0):(i=_(i,+new Date),a.action(n,e,i,t,r)),delete u[n],u[n]=undefined}};function Cu(n,e){n&&n.dispatchEvent&&e&&n.dispatchEvent(e)}var Su,Pu=Kn(((e={sessionRenewalMs:{set:Iu,v:18e5},sessionExpirationMs:{set:Iu,v:864e5},disableExceptionTracking:{set:f},autoTrackPageVisitTime:{set:f},overridePageViewDuration:{set:f},enableUnhandledPromiseRejectionTracking:{set:f}})[Za]=!1,e.samplingPercentage={isVal:function(n){return!isNaN(n)&&0<n&&n<=100},v:100},e.isStorageUseDisabled={set:f},e.isBrowserLinkTrackingEnabled={set:f},e.enableAutoRouteTracking={set:f},e.namePrefix="",e.enableDebug={set:f},e.disableFlushOnBeforeUnload={set:f},e.disableFlushOnUnload={set:f,fb:"disableFlushOnBeforeUnload"},e));function Iu(n,e){return+((n=n||e)<6e4?6e4:n)}function Eu(){this.constructor=Su}i=Nu=t,N(Su=Du,i),Su[v]=(Eu[v]=i[v],new Eu),Du.Version="3.0.0-beta.2210-19";var Nu,n=Du;function Du(){var w,k,x,T,_,C,S,P,I,E,N,D,M,A,V,L,O,U,z,j=Nu.call(this)||this;return j.identifier="ApplicationInsightsAnalytics",j.priority=180,j.autoRoutePVDelay=500,wn(Du,j,function(m,y){var b=y[Da];function v(n,e,t,r,i){m[Z]().throwInternal(n,e,t,r,i)}function s(){C=_=T=x=k=w=null;var n=tr(!(L=A=M=D=N=E=I=P=S=!1));O=n&&n[Ra]||"",oe(m,"config",{configurable:!(V=z=U=null),enumerable:!0,get:function(){return V}})}s(),m.getCookieMgr=function(){return(e=(t=m[Y])?t.getCookieMgr():e)||(t=(t||{})[Xe],(r=xi[si]||mi[si])||(r=xi[si]=xi(n,t),mi[si]=r),e=r),e;var n,e,t,r},m.processTelemetry=function(n,e){m.processNext(n,e)},m.trackEvent=function(n,e){try{var t=ba(n,Ro[Ma],Ro[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(2,39,"trackTrace failed, trace will not be collected: "+W(r),{exception:K(r)})}},m.startTrackEvent=function(n){try{w.start(n)}catch(e){v(1,29,"startTrackEvent failed, event will not be collected: "+W(e),{exception:K(e)})}},m.stopTrackEvent=function(n,e,t){try{w.stop(n,undefined,e,t)}catch(r){v(1,30,"stopTrackEvent failed, event will not be collected: "+W(r),{exception:K(r)})}},m.trackTrace=function(n,e){try{var t=ba(n,ga[Ma],ga[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(2,39,"trackTrace failed, trace will not be collected: "+W(r),{exception:K(r)})}},m.trackMetric=function(n,e){try{var t=ba(n,ua[Ma],ua[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(1,36,"trackMetric failed, metric will not be collected: "+W(r),{exception:K(r)})}},m[La]=function(n,e){try{var t=n||{};x[La](t,en(en(en({},t.properties),t.measurements),e)),L&&_[Oa](t.name,t.uri)}catch(r){v(1,37,"trackPageView failed, page view will not be collected: "+W(r),{exception:K(r)})}},m[Ua]=function(n,e,t){var r=be(),r=(r&&(n.refUri=n.refUri===undefined?r.referrer:n.refUri),ba(n,sa[Ma],sa[Aa],m[Z](),e,t));m[Y][Va](r)},m[za]=function(n,e,t){n=ba(n,ma[Ma],ma[Aa],m[Z](),e,t);m[Y][Va](n)},m.trackPageViewPerformance=function(n,e){n=n||{};try{T[ja](n),m[za](n,e)}catch(t){v(1,37,"trackPageViewPerformance failed, page view will not be collected: "+W(t),{exception:K(t)})}},m.startTrackPage=function(n){try{var e;"string"!=typeof n&&(n=(e=be())&&e.title||""),k.start(n)}catch(t){v(1,31,"startTrackPage failed, page view may not be collected: "+W(t),{exception:K(t)})}},m.stopTrackPage=function(n,e,t,r){try{var i,o;"string"!=typeof n&&(n=(i=be())&&i.title||""),"string"!=typeof e&&(e=(o=tr())&&o[Ra]||""),k.stop(n,e,t,r),L&&_[Oa](n,e)}catch(a){v(1,32,"stopTrackPage failed, page view will not be collected: "+W(a),{exception:K(a)})}},m[Fa]=function(n,e,t){var r=n[Ba]||n[qa]||Error(to),r=ba(new na(m[Z](),r,n.properties||e,n.measurements,n.severityLevel,n.id).toInterface(),na[Ma],na[Aa],m[Z](),e,t);m[Y][Va](r)},m.trackException=function(n,e){n&&!n[Ba]&&n[qa]&&(n[Ba]=n[qa]);try{m[Fa](n,e)}catch(t){v(1,35,"trackException failed, exception will not be collected: "+W(t),{exception:K(t)})}},m[Ja]=function(n){var e,t,r,i=n&&n[qa],o=n&&n.evt;try{o||(l=we())&&(o=l.event);var a=n&&n.url||(be()||{}).URL,u=n[Ka]||"window.onerror@"+a+":"+(n[$a]||0)+":"+(n[Ga]||0),c={errorSrc:u,url:a,lineNumber:n[$a]||0,columnNumber:n[Ga]||0,message:n[Ha]},f=n.message;n.url,n.lineNumber,n.columnNumber,n[qa]||!B(f)||"Script error."!==f&&"Script error"!==f?(n[Ka]||(n[Ka]=u),m.trackException({exception:n,severityLevel:3},c)):(e=na[Wa]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",a,n[$a]||0,n[Ga]||0,i,o,null,u),t=c,r=ba(e,na[Ma],na[Aa],m[Z](),t),m[Y][Va](r))}catch(s){var l=i?i.name+", "+i[Ha]:"null";v(1,11,"_onError threw exception while logging error, error will not be collected: "+W(s),{exception:K(s),errorString:l})}},m[Xa]=function(n){if(m[Y])return m[Y][Xa](n);(C=C||[]).push(n)},m.initialize=function(n,e,t,r){if(!m.isInitialized()){F(e)&&Fn("Error initializing"),y.initialize(n,e,t,r);try{var i,o,a=mr(m.identifier),u=(g=e.evtNamespace&&e.evtNamespace())?Ki("xx",u=J(g)?[a].concat(g):[a,g]).ns[wt]("."):a;z=u,C&&($(C,function(n){e[Xa](n)}),C=null),v=n,p=m.identifier,d=m[Y],m[Da](Nr(v,function(){var r,n=ti(null,v,d);V=n.getExtCfg(p,Pu),L=V.autoTrackPageVisitTime,R((n=V)[Na])||(xa=!n[Na]&&(Ta(wa.LocalStorage),Ca(!0))),S=V.isBrowserLinkTrackingEnabled,!P&&S&&(r=["/browserLinkSignalR/","/__browserLink/"],m[Da](m[Xa](function(n){if(S&&n.baseType===pa[Ma]){var e=n.baseData;if(e)for(var t=0;t<r[Ya];t++)if(e.target&&0<=Be(e.target,r[t]))return!1}return!0})),P=!0)})),T=new bu(m[Y]),x=new su(j,V.overridePageViewDuration,m[Y],T),_=new ku(m[Z](),function(n,e,t){m.trackMetric({name:"PageVisitTime",average:t,max:t,min:t,sampleCount:1},{PageName:n,PageUrl:e})}),(w=new _u(m[Z]())).action=function(n,e,t,r,i){i=i||{},(r=r||{}).duration=t[Ea](),m.trackEvent({name:n,properties:r,measurements:i})},(k=new _u(m[Z]())).action=function(n,e,t,r,i){(r=F(r)?{}:r).duration=t[Ea](),m[Ua]({name:n,uri:e,properties:r,measurements:i},r)},we()&&(l=we(),s=tr(!0),m[Da](Nr(V,function(){(N=V.disableExceptionTracking)||D||V.autoExceptionInstrumented||(b(eo(l,"onerror",{ns:z,rsp:function(n,e,t,r,i,o){N||!0===n.rslt||m[Ja](na[Wa](e,t,r,i,o,n.evt))}},!1)),D=!0)})),i=l,o=s,m[Da](Nr(V,function(){M=!0===V.enableUnhandledPromiseRejectionTracking,D=D||V[Za],M&&!A&&(b(eo(i,"onunhandledrejection",{ns:z,rsp:function(n,e){var t,r;M&&!0!==n.rslt&&m[Ja](na[Wa]((t=e)&&t.reason?(r=t.reason,!B(r)&&q(r[Ea])?r[Ea]():K(r)):t||"",o?o[Ra]:"",0,0,e,n.evt))}},!1)),V[Za]=A=!0)})),c=we(),f=tr(!0),m[Da](Nr(V,function(){var n,e,r,t;I=!0===V.enableAutoRouteTracking,c&&I&&!E&&xe()&&(e=xe(),q(e.pushState)&&q(e.replaceState)&&typeof Event!==nn&&(n=c,e=e,r=f,E||(t=V.namePrefix||"",b(eo(e,"pushState",{ns:z,rsp:function(){I&&(Cu(n,ka(t+"pushState")),Cu(n,ka(t+"locationchange")))}},!0)),b(eo(e,"replaceState",{ns:z,rsp:function(){I&&(Cu(n,ka(t+"replaceState")),Cu(n,ka(t+"locationchange")))}},!0)),Wi(n,t+"popstate",function(){I&&Cu(n,ka(t+"locationchange"))},z),Wi(n,t+"locationchange",function(){var n,e,t;U&&(O=U),U=r&&r[Ra]||"",I&&(t=null,(t=m[Y]&&m[Y].getTraceCtx?m[Y].getTraceCtx(!1):t)||(n=m[Y].getPlugin("AppInsightsPropertiesPlugin"))&&(n=n.plugin.context)&&(n=n.telemetryTrace,e=n||{},t={getName:function(){return e[X]},setName:function(n){e[X]=n},getTraceId:function(){return e.traceID},setTraceId:function(n){Hr(n,32,"00000000000000000000000000000000")&&(e.traceID=n)},getSpanId:function(){return e.parentID},setSpanId:function(n){Hr(n,16,"0000000000000000")&&(e.parentID=n)},getTraceFlags:function(){return e.traceFlags},setTraceFlags:function(n){e.traceFlags=n}}),(n=t)&&(n.setTraceId(function(){for(var n,e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=H,r=0;r<4;r++)t+=e[15&(n=sr())]+e[n>>4&15]+e[n>>8&15]+e[n>>12&15]+e[n>>16&15]+e[n>>20&15]+e[n>>24&15]+e[n>>28&15];var i=e[8+(3&sr())|0];return je(t,0,8)+je(t,9,4)+"4"+je(t,13,3)+i+je(t,16,3)+je(t,19,12)}()),t="_unknown_",r&&r.pathname&&(t=r.pathname+(r.hash||"")),n.setName(Q(m[Z](),t))),Je((function(n){m[La]({refUri:n,properties:{duration:0}})}).bind(this,O),m.autoRoutePVDelay))},z),E=!0)))})))}catch(h){throw m.setInitialized(!1),h}var c,f,l,s,v,p,d,g}},m._doTeardown=function(n,e){x&&x.teardown(n,e);var t,r,i,n=window,e=z,o=void 0;if(void 0===o&&(o=!1),n)try{var a=Ki(null,e),u=!1,c=n,f=function(n){return!(!a.ns&&null!==n[St])&&(u=!0)};(t=a)[Ct]?Hi(c,$i(c,t[Ct]),t,f):(h(r=Bi.get(c,zi,{}),function(n,e){Hi(c,e,t,f)}),0===(Vn(i=r)&&null!==i||Bn("objKeys called on non-object"),p.keys(i)[G])&&Bi.kill(c,zi)),u||Gi(n,a,null,o)}catch(l){}s()},ae(m,"_pageViewManager",function(){return x}),ae(m,"_pageViewPerformanceManager",function(){return T}),ae(m,"_pageVisitTimeManager",function(){return _}),ae(m,"_evtNamespace",function(){return"."+z})}),j}l.AnalyticsPlugin=n,l.ApplicationInsights=n,Object.defineProperty(l,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}));
|
|
5
|
+
var n=this,e=function(l){"use strict";var s="object",nn="undefined",v="prototype",C="hasOwnProperty",S=Object,P=S[v],n=S.assign,e=(S.create,S.defineProperty),I=null;function E(n){n=!1===(n=void 0===n||n)?null:I;return n||((n=(n=(n=typeof globalThis!==nn?globalThis:n)||typeof self===nn?n:self)||typeof window===nn?n:window)||typeof global===nn||(n=global),I=n),n}(E()||{}).Symbol,(E()||{}).Reflect;var en=n||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var i in e=arguments[t])P[C].call(e,i)&&(n[i]=e[i]);return n},N=function(n,e){return(N=S.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e[C](t)&&(n[t]=e[t])})(n,e)},n="undefined",D="constructor",d="prototype",M="function",A="_dynInstFuncs",V="_isDynProxy",L="_dynClass",O="_dynInstChk",U=O,z="_dfOpts",j="_unknown_",tn="__proto__",rn="_dyn"+tn,t="__dynProto$Gbl",on="_dynInstProto",an="useBaseInst",un="setInstFuncs",cn=Object,fn=cn.getPrototypeOf,ln=cn.getOwnPropertyNames,n=(i=(i=(i=(i=typeof globalThis!=n?globalThis:i)||typeof self==n?i:self)||typeof window==n?i:window)||typeof global==n?i:global)||{},sn=n[t]||(n[t]={o:((i={})[un]=!0,i[an]=!0,i),n:1e3});function g(n,e){return n&&cn[d].hasOwnProperty.call(n,e)}function vn(n){return n&&(n===cn[d]||n===Array[d])}function pn(n){return vn(n)||n===Function[d]}function dn(n){if(n){if(fn)return fn(n);var e=n[tn]||n[d]||(n[D]?n[D][d]:null),t=n[rn]||e;g(n,rn)||(delete n[on],t=n[rn]=n[on]||n[rn],n[on]=e)}return t}function gn(n,e){var t=[];if(ln)t=ln(n);else for(var r in n)"string"==typeof r&&g(n,r)&&t.push(r);if(t&&0<t.length)for(var i=0;i<t.length;i++)e(t[i])}function hn(n,e,t){return e!==D&&typeof n[e]===M&&(t||g(n,e))}function mn(n){throw new TypeError("DynamicProto: "+n)}function yn(n,e){for(var t=n.length-1;0<=t;t--)if(n[t]===e)return 1}function bn(n,e){return g(n,d)?n.name||e||j:((n||{})[D]||{}).name||e||j}function wn(n,r,e,t){g(n,d)||mn("theClass is an invalid class definition.");var i,o,a,u,c,f,l=n[d],s=(function(n){if(!fn)return 1;for(var e=[],t=dn(r);t&&!pn(t)&&!yn(e,t);){if(t===n)return 1;e.push(t),t=dn(t)}}(l)||mn("["+bn(n)+"] not in hierarchy of ["+bn(r)+"]"),null),n=(g(l,L)?s=l[L]:(s="_dynCls$"+bn(n,"_")+"$"+sn.n,sn.n++,l[L]=s),wn[z]),v=!!n[an],p=(v&&t&&t[an]!==undefined&&(v=!!t[an]),o={},gn(i=r,function(n){!o[n]&&hn(i,n,!1)&&(o[n]=i[n])}),o),v=(e(r,function(n,e,t,o){function r(n,e,t){var r,i=e[t];return i[V]&&o&&!1!==(r=n[A]||{})[U]&&(i=(r[e[L]]||{})[t]||i),function(){return i.apply(n,arguments)}}for(var i={},a=(gn(t,function(n){i[n]=r(e,t,n)}),dn(n)),u=[];a&&!pn(a)&&!yn(u,a);)gn(a,function(n){!i[n]&&hn(a,n,!fn)&&(i[n]=r(e,a,n))}),u.push(a),a=dn(a);return i}(l,r,p,v)),!!fn&&!!n[un]);a=l,e=s,u=r,c=p,n=!1!==(v=v&&t?!!t[un]:v),vn(a)||(l=u[A]=u[A]||{},f=l[e]=l[e]||{},!1!==l[U]&&(l[U]=!!n),gn(u,function(n){var t,r,i;hn(u,n,!1)&&u[n]!==c[n]&&(f[n]=u[n],delete u[n],g(a,n)&&(!a[n]||a[n][V])||(a[n]=(t=a,r=n,(i=function(){var n,e;return(function(n,e,t,r){var i=null;if(n&&g(t,L)){var o=n[A]||{};if((i=(o[t[L]]||{})[e])||mn("Missing ["+e+"] "+M),!i[O]&&!1!==o[U]){for(var a=!g(n,e),u=dn(n),c=[];a&&u&&!pn(u)&&!yn(c,u);){var f=u[e];if(f){a=f===r;break}c.push(u),u=dn(u)}try{a&&(n[e]=i),i[O]=1}catch(l){o[U]=!1}}}return i}(this,r,t,i)||(typeof(e=(e=t[n=r])===i?dn(t)[n]:e)!==M&&mn("["+n+"] is not a "+M),e)).apply(this,arguments)})[V]=1,i)))}))}wn[z]=sn.o;var r=undefined,kn="function",xn="object",Tn="prototype",_n="undefined",Cn="constructor",Sn="hasOwnProperty",t="indexOf",Pn="length",In="value",p=Object,En=p[Tn],n=String,i=n[Tn];function Nn(n,e){try{e=n()}catch(t){}return e}function Dn(e){return function(n){return typeof n===e}}function Mn(n){return En.toString.call(n)}function R(n){return typeof n===_n||n===_n}function F(n){return null===n||R(n)}function An(n){return!!n||n!==r}var B=Dn("string"),q=Dn(kn);function Vn(n){return(n||!F(n))&&n&&typeof n===xn}var J=Array.isArray,Ln=Dn("number"),On=function(n){return!(!n||"[object Error]"!==Mn(n))};function Un(n){return!(!n||Nn(function(){return!(n&&0+n)},!n))}var zn=p.getOwnPropertyDescriptor;function jn(n,e){return n&&En[Sn].call(n,e)}var Rn=p.hasOwn||function(n,e){return jn(n,e)||!!zn(n,e)};function h(n,e,t){if(n&&Vn(n))for(var r in n)if(Rn(n,r)&&-1===e.call(t||n,r,n[r]))break}function Fn(n){throw Error(n)}function Bn(n){throw new TypeError(n)}var qn=p.freeze;function Jn(n){return n}function Kn(n){return qn&&h(n,function(n,e){(J(e)||Vn(e))&&qn(e)}),Wn(n)}p.assign;var $n,Gn,Hn,Wn=qn||Jn,Xn=(p.seal,p.getPrototypeOf||Jn),Qn=n,Yn="__tsUtils$gblCfg";function Zn(){var n;return(n=(n=(n=typeof globalThis!==_n?globalThis:n)||typeof self===_n?n:self)||typeof window===_n?n:window)||typeof global===_n?n:global}function ne(){var n;return $n||(n=Zn()||{},$n=n[Yn]=n[Yn]||{}),$n}function ee(n){var e={description:Qn(n),toString:function(){return"Symbol("+n+")"},_polyfill:!0};return e}function te(n,e){var t=Error,r=function(){var n=this,n=t.apply(n,arguments)||n;return e&&e(n,arguments),n},i=t;return(p.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(t,n){h(n,function(n,e){t[n]=e})})(r,i),(o[Tn]=i[Tn]).name=n,r[Tn]=new o,r;function o(){this.constructor=r}}function re(n){throw new(Hn=Hn||te("UnsupportedError"))(n)}function K(n,e){var t=Mn(n),r="";if("[object Error]"===t)r="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n.name+"'";else try{r=e?Ln(e)?JSON.stringify(n,null,e):JSON.stringify(n,null,4):JSON.stringify(n)}catch(i){r=Mn(n)+" - "+K(i,e)}return t+": "+r}var u,ie=p.defineProperty;function oe(n,e,t){if(ie)return ie(n,e,t);re("Unable to define property ["+Mn(e)+"] on "+K(n))}function ae(n,e,t,r,i){if(ie)try{var o={enumerable:!0,configurable:!!R(i)||i};t&&(o.get=t),r&&(o.set=r),oe(n,e,o)}catch(a){re("Unable to define accessors for ["+Mn(e)+"] on "+K(n))}}var ue=function(){u=ne(),ue=null};function o(n,e){return t=function(){return Nn(n,e)},a={},ue&&ue(),a.b=u.lzy,r=a,o={enumerable:!0,configurable:!!R(!0)||!0},q(i=function(){var n=t();return u.lzy||(oe(a,"v",{enumerable:!0,configurable:!0,writable:!1,value:n}),a.b&&delete a.b),u.lzy&&a.b!==u.lzy&&(a.b=u.lzy),n})?o.get=i:o[In]=i,oe(r,"v",o),a;var t,r,i,o,a}var ce,fe,le,se,ve,a,pe,de,ge="document",he="history",me="navigator",ye="window";function m(n,e){e=(ce=!ce||!1===e||u.lzy&&!ce.b?o(Zn,null):ce).v;return e&&e[n]?e[n]:n===ye&&fe?fe.v:null}function be(){return(le=!le||u.lzy&&!le.b?o(function(){return m(ge)},r):le).v}function we(){return(fe=!fe||u.lzy&&!fe.b?o(function(){return m(ye)},r):fe).v}function ke(){return(se=!se||u.lzy&&!se.b?o(function(){return m(me)},r):se).v}function xe(){return(ve=!ve||u.lzy&&!ve.b?o(function(){return m(he)},r):ve).v}function Te(){var n=!a||u&&u.lzy&&!a.b;n&&(a=o(function(){return An(Symbol)?m("Symbol"):r},r)),pe&&!n||(pe=o(function(){return a.v?a["for"]:r},r)),de&&!n||(de=o(function(){return a.v?a.keyFor:r},r)),a.v}function _e(n,e){return a&&(!u.lzy||a.b)||Te(),a.v?a.v(n):e?null:ee(n)}function $(n,e,t){if(n)for(var r=n[Pn],i=0;i<r&&!(i in n&&-1===e.call(t||n,n[i],i,n));i++);}function Ce(r){return function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if((n||""===n)&&n[r])return n[r].apply(n,e);Bn("'"+r+"' not defined for "+K(n))}}var Se,Pe,Ie,Ee,Ne=Ce(t),De=Ce("map");function Me(){return(Date.now||Ae)()}function Ae(){return(new Date).getTime()}function Ve(n){if(n&&typeof n===xn){var e=!1;if(n!==(Ie=Ie||!we()||we())){Pe||(Se=Function[Tn].toString,Pe=Se.call(p));try{var t=Xn(n),e=(e=!t)||(t=jn(t,Cn)?t[Cn]:t)&&typeof t==kn&&Se.call(t)===Pe}catch(r){}}return e}}function Le(){return(Ee=!Ee||u.lzy&&!Ee.b?o(function(){return m("performance")},r):Ee).v}var Oe=Math.max,Ue=Ce("slice"),ze=Ce("substring"),je=i.substr?Ce("substr"):function(n,e,t){return F(n)&&Bn("'polyStrSubstr called with invalid "+K(n)),t<0?"":((e=e||0)<0&&(e=Oe(e+n[Pn],0)),R(t)?Ue(n,e):Ue(n,e,e+t))};function Re(n,e){return ze(n,0,e)}var n="endsWith",Fe=i[n]?Ce(n):function(n,e,t){B(n)||Bn("'"+K(n)+"' is not a string");var e=B(e)?e:Qn(e),r=e[Pn],i=n[Pn],t=!R(t)&&t<i?t:i;return ze(n,t-r,t)===e},Be=Ce(t),qe=/^\s+|(?=\s)\s+$/g,y=i.trim?Ce("trim"):function(n){return F(n)&&Bn("strTrim called ["+K(n)+"]"),n&&n.replace?n.replace(qe,""):n};function Je(){return n=this,e=setTimeout,t=clearTimeout,r=function(n){for(var e=[],t=0;t<n[Pn];t++)e[+t]=n[t];return e}(arguments),i=e.apply(n,r),{cancel:function(){i&&t.call(n,i),i=null},refresh:function(){return i&&t.call(n,i),i=e.apply(n,r),this}};var n,e,t,r,i}var Ke,n=function(n){var t={};return h(n,function(n,e){t[n]=e,t[e]=n}),Kn(t)},G="length",$e="notify",Ge="throwInternal",He="setDf",We="watch",Xe="logger",Qe="configurable",Ye="enumerable",Ze="apply",b="push",nt="splice",et="identifier",tt="isInitialized",rt="name",it="time",ot="processNext",at="call",ut="getPlugin",ct="teardown",ft="messageId",lt="message",st="isAsync",vt="diagLog",pt="_doTeardown",dt="update",gt="getNext",ht="setNextPlugin",mt="createNew",yt="config",bt="userAgent",wt="split",kt="nodeType",xt="replace",Tt="enableDebugExceptions",_t="toLowerCase",Ct="type",St="handler",Pt="isChildEvt",It="getCtx",Et="setCtx",Nt="complete",t=undefined,H="",w="core",Dt="disabled",Mt="extensionConfig",At="processTelemetry",Vt="priority",Lt="errorToConsole",Ot="warnToConsole",Ut="getPerfMgr",zt="domain",jt="path",Rt="Not dynamic - ",Ft=(S.toString[at](S),/-([a-z])/g),Bt=/([^\w\d_$])/g,qt=/^(\d+[\w\d_$])/,Jt=Object.getPrototypeOf;function Kt(n){return!F(n)}function $t(n){return n&&B(n)?(n=(n=n[xt](Ft,function(n,e){return e.toUpperCase()}))[xt](Bt,"_"))[xt](qt,function(n,e){return"_"+e}):n}function k(n,e){return!(!n||!e)&&-1!==Be(n,e)}function W(n){return On(n)?n[rt]:H}function Gt(n,e,t,r,i){var o=t;!n||(o=n[e])===t||i&&!i(o)||r&&!r(t)||(n[e]=o=t)}var Ht="location",Wt="console",Xt="JSON",Qt="msie",Yt="trident/",Zt=null,nr=null,er=!1;function tr(n){if(n&&er){n=m("__mockLocation");if(n)return n}return typeof location===s&&location?location:m(Ht)}function rr(){return typeof JSON===s&&JSON||null!==m(Xt)}function ir(){return rr()?JSON||m(Xt):null}function or(){var n=ke();return!n||n[bt]===nr&&null!==Zt||(n=((nr=n[bt])||H)[_t](),Zt=k(n,Qt)||k(n,Yt)),Zt}var ar=4294967296,ur=4294967295,cr=!1,fr=123456789,lr=987654321;function sr(n){var e,t=0,r=m("crypto")||m("msCrypto");if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&ur:t)&&or()){if(!cr)try{var i=2147483647&Me();(e=(Math.random()*ar^i)+i)<0&&(e>>>=0),fr=123456789+e&ur,lr=987654321-e&ur,cr=!0}catch(o){}r=((lr=36969*(65535&lr)+(lr>>16)&ur)<<16)+(65535&(fr=18e3*(65535&fr)+(fr>>16)&ur))>>>0&ur|0,t=(r>>>=0)&ur}return 0===t&&(t=Math.floor(ar*Math.random()|0)),n||(t>>>=0),t}var vr=e,pr="3.0.0-beta.2211-01",dr="."+function(n){void 0===n&&(n=22);for(var e=sr()>>>0,t=0,r=H;r[G]<n;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&e]||"",e>>>=6,5==++t&&(e=(sr()<<2&4294967295|3&e)>>>0,t=0);return r}(6),gr=0;function hr(n){return 1===n[kt]||9===n[kt]||!+n[kt]}function mr(n,e){return $t(n+gr+++((e=void 0!==e&&e)?"."+pr:H)+dr)}function yr(n){var o={id:mr("_aiData-"+(n||H)+"."+pr),accept:hr,get:function(n,e,t,r){var i=n[o.id];return i?i[$t(e)]:(r&&((i=function(n,e){var t=e[n.id];if(!t){t={};try{hr(e)&&!function(n,e,t){var r;if(vr)try{return vr(n,e,((r={value:t})[Ye]=!1,r[Qe]=!0,r)),1}catch(i){}}(e,n.id,t)&&(e[n.id]=t)}catch(r){}}return t}(o,n))[$t(e)]=t),t)},kill:function(n,e){if(n&&n[e])try{delete n[e]}catch(t){}}};return o}pe&&(!u.lzy||a.b)||Te();var br=(pe.v||function(n){Gn||(t=ne(),Gn=t.gblSym=t.gblSym||{k:{},s:{}});var e,t=Gn;return Rn(t,n)||(e=ee(n),t.k[n]=e,t.s[e]=Qn(n)),t.k[n]})("[[ai_dynCfg_1]]");function wr(n){var t;return n&&(J(n)?(t=[])[G]=n[G]:Ve(n)&&(t={}),t)?(h(n,function(n,e){t[n]=wr(e)}),t):n}function kr(n){Bn("InvalidAccess:"+n)}function xr(n,e,t,r){var i,o,a=r,a=a&&Vn(a)&&(a.isVal||a.set||a.fb||Rn(a,"v"))?(i=a.isVal,o=a.set,function(n,e,t){var r,i=t.dfVal||An;if(e&&t.fb){var o=t.fb;J(o)||(o=[o]);for(var a=0;a<o[G];a++){var u=o[a],c=e[u];if(i(c)?r=c:(i(c=n.cfg[u])&&(r=c),n.set(n.cfg,Qn(u),c)),i(r))break}}return!i(r)&&i(t.v)?t.v:r}(n,e,a)):r,r=a,u=!0,c=e[t];!c&&F(c)||(r=c,u=!1),u||(i&&r!==a&&!i(r)&&(r=a,u=!0),o&&(u=(r=o(r,a,e))===a)),r&&u&&(Ve(r)||J(r))&&(r=wr(r)),n.set(e,t,r)}var Tr=["push","pop","shift","unshift","splice"];function _r(e,t,r,i){var o={n:r,h:[],trk:function(n){n&&n.fn&&(-1===Ne(o.h,n)&&o.h[b](n),e.trk(n,o))},clr:function(n){n=Ne(o.h,n);-1!==n&&o.h[nt](n,1)}},a=!0;function n(){a&&(i&&!i[br]&&(Ve(i)||J(i))&&(i=Sr(e,i)),a=!1);var n=e.act;return n&&o.trk(n),i}n[e.prop]={chng:function(){e.add(o)}},ae(t,o.n,n,function u(n){i!==n&&(u[e.ro]&&e.upd&&kr("["+r+"] is sealed from "+K(t)),i&&i[br]&&(Ve(i)||J(i))&&h(i,function(n){var n=zn(i,n);n&&n.get&&(n=n.get[e.prop])&&n.chng()}),a=!1,(Ve(n)||J(n))&&Sr(e,n),i=n,e.add(o))},!0)}function Cr(n,e,t,r){var i,o;return e&&(i=!1,(i=(o=zn(e,t))&&o.get?!!o.get[n.prop]:i)?e[t]=r:_r(n,e,t,r)),r}function Sr(t,r){var n,i,o;return h(r,function(n,e){Cr(t,r,n,e)}),r[br]||(oe(r,br,((n={})[Qe]=!1,n[Ye]=!1,n.get=function(){return t.hdlr},n)),i=t,J(o=r)&&$(Tr,function(n){var r=o[n];o[n]=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=r[Ze](this,n);return Sr(i,o),t}})),r}var Pr="[[ai_";function Ir(o){var a,n=_e(Pr+"get"+o.uid+"]]"),e=_e(Pr+"ro"+o.uid+"]]"),u=_e(Pr+"dtl"+o.uid+"]]"),r=null,i=null;function c(e,n){var t=a.act;try{(a.act=e)&&e[u]&&($(e[u],function(n){n.clr(e)}),e[u]=[]),n({cfg:o.cfg,set:o.set.bind(o),setDf:o[He].bind(o)})}catch(i){var r=o[Xe];throw r&&r[Ge](1,107,K(i)),i}finally{a.act=t||null}}function f(){if(r){var n=r,t=(r=null,i&&i.cancel(),i=null,[]);if($(n,function(e){if(e&&(e[u]&&($(e[u],function(n){n.clr(e)}),e[u]=null),e.fn))try{c(e,e.fn)}catch(n){t[b](n)}}),r)try{f()}catch(e){t[b](e)}if(0<t[G])throw n=t,Ke=Ke||te("AggregationError",function(n,e){1<e[G]&&(n.errors=e[1])}),$(n,function(n,e){"\n".concat(e," > ").concat(K(n))}),new Ke("Watcher error(s): ",n||[])}}return a={prop:n,ro:e,hdlr:o,add:function(n){if(n&&0<n.h[G]){r=r||[],i=i||Je(function(){i=null,f()},0);for(var e=0;e<n.h[G];e++){var t=n.h[e];t&&-1===Ne(r,t)&&r[b](t)}}},notify:f,use:c,trk:function(n,e){n&&(n=n[u]=n[u]||[],-1===Ne(n,e)&&n[b](e))}}}function Er(n,e,t,r){t=function(n,e,t){var r,i=function(){if(e){var n=e[br]||e;if(n.cfg&&(n.cfg===e||n.cfg[br]===n))return n}return null}();if(i)return i;var o,i=mr("dyncfg",!0),t=e&&!1!==t?e:wr(e),a=((r={uid:null,cfg:t})[Xe]=n,r[$e]=function(){o[$e]()},r.set=function(n,e,t){return Cr(o,n,e,t)},r[He]=function(t,n){return n&&h(n,function(n,e){xr(a,t,n,e)}),t},r[We]=function(n){return t={fn:e=n,rm:function(){t.fn=null,e=null}},o.use(t,e),t;var e,t},r._block=function(n){o.use(null,n)},r);return oe(a,"uid",((n={})[Qe]=!1,n[Ye]=!1,n.writable=!1,n.value=i,n)),Sr(o=Ir(a),t),a}(t,n||{},r);return e&&t[He](t.cfg,e),t}function Nr(n,e,t){var r,i=n[br]||n;if(i.cfg&&(i.cfg===n||i.cfg[br]===i))return i[We](e);i=t,r=Rt+K(n),i?(i[Ot](r),i[Ge](2,108,r)):kr(r),Er(n,null,t)[We](e)}var Dr=null,Mr={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebugExceptions:!1};function Ar(n){return n?'"'+n[xt](/\"/g,H)+'"':H}function Vr(n,e){var t,r=typeof console!==nn?console:m(Wt);r&&(t="log",r[n]&&(t=n),q(r[t])&&r[t](e))}Or.dataType="MessageData";var Lr=Or;function Or(n,e,t,r){void 0===t&&(t=!1),this[ft]=n,this[lt]=(t?"AI: ":"AI (Internal): ")+n;t=H,rr()&&(t=ir().stringify(r)),n=(e?" message:"+Ar(e):H)+(r?" props:"+Ar(t):H);this[lt]+=n}function Ur(n,e){return(n||{})[Xe]||new zr(e)}jr.__ieDyn=1;var zr=jr;function jr(i){this.identifier="DiagnosticLogger",this.queue=[];var c,f,l,s,v=0,p={};wn(jr,this,function(o){function a(n,e){var t,r;l<=v||(r=!0,t="AITR_"+e[ft],p[t]?r=!1:p[t]=!0,r&&(n<=f&&(o.queue[b](e),v++,u(1===n?"error":"warn",e)),v===l&&(r=new Lr(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue[b](r),1===n?o[Lt](t):o[Ot](t))))}function u(n,e){var t,r=(t=(t=Dr)||!0===(i||{}).disableDbgExt?t:Dr||(r=m("Microsoft"),Dr=r?r.ApplicationInsights:Dr))?t.ChromeDbgExt:null;r&&r[vt]&&r[vt](n,e)}Er(i||{},Mr,o)[We](function(n){n=n.cfg;c=n.loggingLevelConsole,f=n.loggingLevelTelemetry,l=n.maxMessageLimit,s=n[Tt]}),o.consoleLoggingLevel=function(){return c},o.telemetryLoggingLevel=function(){return f},o.maxInternalMessageLimit=function(){return l},o[Tt]=function(){return s},o[Ge]=function(n,e,t,r,i){e=new Lr(e,t,i=void 0!==i&&i,r);if(s)throw K(e);t=1===n?Lt:Ot;R(e[lt])?u("throw"+(1===n?"Critical":"Warning"),e):(i?(r=+e[ft],!p[r]&&n<=c&&(o[t](e[lt]),p[r]=!0)):n<=c&&o[t](e[lt]),a(n,e))},o[Ot]=function(n){Vr("warn",n),u("warning",n)},o[Lt]=function(n){Vr("error",n),u("error",n)},o.resetInternalMessageCount=function(){v=0,p={}},o.logInternalMessage=a})}function Rr(n){return n||new zr}function x(n,e,t,r,i,o){void 0===o&&(o=!1),Rr(n)[Ge](e,t,r,i,o)}function Fr(n,e){Rr(n)[Ot](e)}var Br="ParentContextKey",qr="ChildrenContextKey",Jr=(Kr.ParentContextKey="parent",Kr.ChildrenContextKey="childEvts",Kr);function Kr(n,e,t){var r,i=this;i.start=Me(),i[rt]=n,i[st]=t,i[Pt]=function(){return!1},q(e)&&ae(i,"payload",function(){return!r&&q(e)&&(r=e(),e=null),r}),i[It]=function(n){return n?(n===Kr[Br]||n===Kr[qr]?i:i.ctx||{})[n]:null},i[Et]=function(n,e){n&&(n===Kr[Br]?(i[n]||(i[Pt]=function(){return!0}),i[n]=e):n===Kr[qr]?i[n]=e:(i.ctx=i.ctx||{})[n]=e)},i[Nt]=function(){var n=0,e=i[It](Kr[qr]);if(J(e))for(var t=0;t<e[G];t++){var r=e[t];r&&(n+=r[it])}i[it]=Me()-i.start,i.exTime=i[it]-n,i[Nt]=function(){}}}var $r="CoreUtils.doPerf";function Gr(n,e,t,r,i){if(n)if(n=n[Ut]?n[Ut]():n){var o,a=void 0,u=n[It]($r);try{if(a=n.create(e(),r,i))return u&&a[Et]&&(a[Et](Jr[Br],u),u[It]&&u[Et]&&((o=u[It](Jr[qr]))||(o=[],u[Et](Jr[qr],o)),o[b](a))),n[Et]($r,a),t(a)}catch(c){a&&a[Et]&&a[Et]("exception",c)}finally{a&&n.fire(a),n[Et]($r,u)}}t()}function Hr(n,e,t){return n&&n[G]===e&&n!==t&&n.match(/^[\da-f]*$/i)}var Wr=yr("plugin");function Xr(n){return Wr.get(n,"state",{},!0)}var Qr="TelemetryPluginChain",Yr="_hasRun",Zr="_getTelCtx",ni=0;function ei(n,o,t,e){var r=null,i=[],a=(o=o||Er({},null,t[Xe]),null!==e&&(r=e?function(n,e,t){for(;n;){if(n[ut]()===t)return n;n=n[gt]()}return ri([t],e[yt]||{},e)}(n,t,e):n),{_next:function(){var n,e=r;return r=e?e[gt]():null,e||(n=i)&&0<n[G]&&($(n,function(n){try{n.func[at](n.self,n.args)}catch(e){x(t[Xe],2,73,"Unexpected Exception during onComplete - "+K(e))}}),i=[]),e},ctx:{core:function(){return t},diagLog:function(){return Ur(t,o.cfg)},getCfg:function(){return o.cfg},getExtCfg:function(n,e){var r=u(n,!0);return e&&h(e,function(n,e){var t;!F(r[n])||!(t=o.cfg[n])&&F(t)||(r[n]=t),xr(o,r,n,e)}),o[He](r,e)},getConfig:function(n,e,t){void 0===t&&(t=!1);var r,n=u(n,!1),i=o.cfg;return!n||!n[e]&&F(n[e])?!i[e]&&F(i[e])||(r=i[e]):r=n[e],r||!F(r)?r:t},hasNext:function(){return!!r},getNext:function(){return r},setNext:function(n){r=n},iterate:function(n){for(;e=a._next();){var e=e[ut]();e&&n(e)}},onComplete:function(n,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];n&&i[b]({func:n,self:R(e)?a.ctx:e,args:t})}}});function u(n,e){var t,r=null,i=o.cfg;return i&&n&&(t=i[Mt],o.set(i,Mt,t=!t&&e?{}:t),(t=i[Mt])&&(r=t[n],o.set(t,n,r=!r&&e?{}:r),r=t[n])),r}return a}function ti(n,e,t,r){var i=Er(e),o=ei(n,i,t,r),a=o.ctx;return a[ot]=function(n){var e=o._next();return e&&e[At](n,a),!e},a[mt]=function(n,e){return ti((n=J(n=void 0===n?null:n)?ri(n,i.cfg,t,e):n)||a[gt](),i.cfg,t,e)},a}function ri(n,e,t,r){var i,o=null,a=!r;return J(n)&&0<n[G]&&(i=null,$(n,function(n){(a=!a&&r===n||a)&&n&&q(n[At])&&(n=ii(n,e,t),o=o||n,i&&i._setNext(n),i=n)})),r&&!o?ri([r],e,t):o}function ii(c,r,i){var f=null,o=q(c[At]),a=q(c[ht]),l=c?c[et]+"-"+c[Vt]+"-"+ni++:"Unknown-0-"+ni++,u={getPlugin:function(){return c},getNext:function(){return f},processTelemetry:function(t,n){var e;s(n=n||(e=(e=c&&q(c[Zr])?c[Zr]():e)||ti(u,r,i)),function(n){if(!c||!o)return!1;var e=Xr(c);return!e[ct]&&!e[Dt]&&(a&&c[ht](f),c[At](t,n),!0)},"processTelemetry",function(){return{item:t}},!t.sync)||n[ot](t)},unload:function(r,i){s(r,function(){var n,e,t=!1;return c&&(n=Xr(c),e=c[w]||n[w],!c||e&&e!==r.core()||n[ct]||(n[w]=null,n[ct]=!0,n[tt]=!1,c[ct]&&!0===c[ct](r,i)&&(t=!0))),t},"unload",function(){},i[st])||r[ot](i)},update:function(r,i){s(r,function(){var n,e,t=!1;return c&&(n=Xr(c),e=c[w]||n[w],!c||e&&e!==r.core()||n[ct]||c[dt]&&!0===c[dt](r,i)&&(t=!0)),t},"update",function(){},!1)||r[ot](i)},_id:l,_setNext:function(n){f=n}};function s(t,r,i,n,e){var o=!1,a=c?c[et]:Qr,u=(u=t[Yr])||(t[Yr]={});return t.setNext(f),c&&Gr(t[w](),function(){return a+":"+i},function(){u[l]=!0;try{var n=f?f._id:H;n&&(u[n]=!1),o=r(t)}catch(e){n=!f||u[f._id];n&&(o=!0),f&&n||x(t[vt](),1,73,"Plugin ["+a+"] failed during "+i+" - "+K(e)+", run flags: "+K(u))}},n,e),o}return Wn(u)}var oi="toGMTString",ai="toUTCString",ui="cookie",ci="expires",fi="isCookieUseDisabled",li="disableCookiesUsage",si="_ckMgr",vi=null,pi=null,di=null,gi=be(),hi={},mi={},yi=Kn(((i={})[zt]={fb:"cookieDomain",dfVal:Kt},i.path={fb:"cookiePath",dfVal:Kt},i.enabled=t,i)),bi=((e={cookieCfg:{},cookieDomain:t,cookiePath:t})[li]=t,e);function wi(n){return!n||n.isEnabled()}function ki(n,e){return e&&n&&J(n.ignoreCookies)&&-1!==Ne(n.ignoreCookies,e)}function xi(t,i){Nr(t=Er(t||mi,null,i).cfg,function(n){n[He](n.cfg,bi);var e,n=(f=n[He](n.cfg.cookieCfg,yi)).enabled;F(n)&&(e=void 0,R(t[fi])||(e=!t[fi]),n=e=R(t[li])?e:!t[li]),l=f[jt]||"/",s=f[zt],r=!1!==n,o=f.getCookie||Pi,v=f.setCookie||Ii,a=f.delCookie||Ii},i);var f,l,s,r,o,v,a,p={isEnabled:function(){var n=r&&Ti(i),e=mi[si];return n&&e&&p!==e?wi(e):n},setEnabled:function(n){r=!1!==n},set:function(n,e,t,r,i){var o,a,u,c=!1;return!wi(p)||(a=f,(u=n)&&a&&J(a.blockedCookies)&&-1!==Ne(a.blockedCookies,u)||ki(a,u))||(a={},u=y(e||H),-1!==(o=Be(u,";"))&&(u=y(Re(e,o)),a=_i(ze(e,o+1))),Gt(a,zt,r||s,Un,R),F(t)||(e=or(),R(a[ci])&&0<(o=Me()+1e3*t)&&((r=new Date).setTime(o),Gt(a,ci,Ci(r,e?oi:ai)||Ci(r,e?oi:ai)||H,Un)),e||Gt(a,"max-age",H+t,null,R)),(o=tr())&&"https:"===o.protocol&&(Gt(a,"secure",null,null,R),(pi=null===pi?(r=(ke()||{})[bt],!(B(r)&&(k(r,"CPU iPhone OS 12")||k(r,"iPad; CPU OS 12")||k(r,"Macintosh; Intel Mac OS X 10_14")&&k(r,"Version/")&&k(r,"Safari")||k(r,"Macintosh; Intel Mac OS X 10_14")&&Fe(r,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||k(r,"Chrome/5")||k(r,"Chrome/6")||k(r,"UnrealEngine")&&!k(r,"Chrome")||k(r,"UCBrowser/12")||k(r,"UCBrowser/11")))):pi)&&Gt(a,"SameSite","None",null,R)),Gt(a,jt,i||l,null,R),v(n,Si(u,a)),c=!0),c},get:function(n){var e=H;return wi(p)&&!ki(f,n)?o(n):e},del:function(n,e){return!!wi(p)&&p.purge(n,e)},purge:function(n,e){var t,r=!1;return Ti(i)&&((t={})[jt]=e||"/",t[ci]="Thu, 01 Jan 1970 00:00:01 GMT",e=t,or()||(e["max-age"]="0"),a(n,Si(H,e)),r=!0),r}};return p[si]=p}function Ti(n){if(null===vi){vi=!1;try{vi=(gi||{})[ui]!==undefined}catch(e){x(n,2,68,"Cannot access document.cookie - "+W(e),{exception:K(e)})}}return vi}function _i(n){var t={};return n&&n[G]&&$(y(n)[wt](";"),function(n){var e;(n=y(n||H))&&(-1===(e=Be(n,"="))?t[n]=null:t[y(Re(n,e))]=y(ze(n,e+1)))}),t}function Ci(n,e){return q(n[e])?n[e]():null}function Si(n,e){var t=n||H;return h(e,function(n,e){t+="; "+n+(F(e)?H:"="+e)}),t}function Pi(n){var e,t=H;return gi&&(e=gi[ui]||H,di!==e&&(hi=_i(e),di=e),t=y(hi[n]||H)),t}function Ii(n,e){gi&&(gi[ui]=n+"="+e)}function Ei(){var e=[];return{add:function(n){n&&e[b](n)},run:function(t,r){$(e,function(n){try{n(t,r)}catch(e){x(t[vt](),2,73,"Unexpected error calling unload handler - "+K(e))}}),e=[]}}}var Ni="getPlugin",Di=((i={})[Mt]={isVal:Kt,v:[]},i),t=(Mi.__ieDyn=1,Mi);function Mi(){var o,i,l,s,v,a=this;function e(n){var e,n=n=void 0===n?null:n;return n||(e=i||ti(null,{},a[w]),n=l&&l[Ni]?e[mt](null,l[Ni]):e[mt](null,l)),n}function c(n,e,t){Er(n,Di,e[Xe]),!t&&e&&(t=e.getProcessTelContext()[gt]());var r=l;l&&l[Ni]&&(r=l[Ni]()),a[w]=e,i=ti(t,n,e,r)}function p(){o=!1,a[w]=null,l=i=null,v=[],s=Ei()}p(),wn(Mi,a,function(f){var n,e,t,r,i;f.initialize=function(n,e,t,r){c(n,e,r),o=!0},f[ct]=function(n,e){var t,r,i,o,a=f[w];if(a&&(!n||a===n[w]()))return r=!1,i=n||function c(n,t,e){var r=Er(t[yt]),i=ei(n,r,t,e),o=i.ctx;return o[ot]=function(n){var e=i._next();return e&&e.unload(o,n),!e},o[mt]=function(n,e){return c((n=J(n=void 0===n?null:n)?ri(n,r.cfg,t,e):n)||o[gt](),t,e)},o}(null,a,l&&l[Ni]?l[Ni]():l),o=e||((n={reason:0})[st]=!1,n),f[pt]&&!0===f[pt](i,o,u)?t=!0:u(),t;function u(){var n;r||(r=!0,s.run(i,e),n=v,v=[],$(n,function(n){try{(n.rm||n.remove)[at](n)}catch(e){x(i[vt](),2,73,"Unloading:"+K(e))}}),!0===t&&i[ot](o),p())}},f[dt]=function(n,e){var t,r,i,o=f[w];if(o&&(!n||o===n[w]()))return r=!1,i=n||function u(n,t,e){var r=Er(t[yt]),i=ei(n,r,t,e).ctx;return i[ot]=function(e){return i.iterate(function(n){q(n[dt])&&n[dt](i,e)})},i[mt]=function(n,e){return u((n=J(n=void 0===n?null:n)?ri(n,r.cfg,t,e):n)||i[gt](),t,e)},i}(null,o,l&&l[Ni]?l[Ni]():l),f._doUpdate&&!0===f._doUpdate(i,e||{reason:0},a)?t=!0:a(),t;function a(){r||(r=!0,c(i.getCfg(),i.core(),i[gt]()))}},f._addHook=function(n){if(n){var e=v,t=n;if(!R(t)&&e)if(J(t))e.push.apply(e,t);else if(t&&q(t.next))for(var r=t.next();!r.done;)e.push(r[In]),r=t.next();else e.push(t)}},t="_addUnloadCb",e=function(){return s},(n=f)&&e&&(n[t]=(i=r=null,q(t=e)?r=t:i=t,function(){var n=arguments;if(i=r?r():i)return i.add[Ze](i,n)}))}),a[vt]=function(n){return e(n)[vt]()},a[tt]=function(){return o},a.setInitialized=function(n){o=n},a[ht]=function(n){l=n},a[ot]=function(n,e){e?e[ot](n):l&&q(l[At])&&l[At](n,null)},a._getTelCtx=e}var Ai="on",Vi="attachEvent",Li="addEventListener",Oi="detachEvent",Ui="removeEventListener",zi="events",ji=(mr("aiEvtPageHide"),mr("aiEvtPageShow"),/\.[\.]+/g),Ri=/[\.]+$/,Fi=1,Bi=yr("events"),qi=/^([^.]*)(?:\.(.+)|)/;function Ji(n){return n&&n[xt]?n[xt](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,H):n}function Ki(n,e){e&&(t=H,J(e)?(t=H,$(e,function(n){(n=Ji(n))&&("."!==n[0]&&(n="."+n),t+=n)})):t=Ji(e),t&&("."!==t[0]&&(t="."+t),n=(n||H)+t));var t,e=qi.exec(n||H)||[],n={};return n[Ct]=e[1],n.ns=(e[2]||H).replace(ji,".").replace(Ri,H)[wt](".").sort().join("."),n}function $i(n,e,t){n=Bi.get(n,zi,{},t=void 0===t||t);return n[e]||(n[e]=[])}function Gi(n,e,t,r){n&&e&&e[Ct]&&(n[Ui]?n[Ui](e[Ct],t,r):n[Oi]&&n[Oi](Ai+e[Ct],t))}function Hi(n,e,t,r){for(var i=e[G];i--;){var o=e[i];!o||t.ns&&t.ns!==o.evtName.ns||r&&!r(o)||(Gi(n,o.evtName,o[St],o.capture),e[nt](i,1))}}function Wi(n,e,t,r,i){var o,a;if(void 0===i&&(i=!1),n)try{var u,c=Ki(e,r),f=c,l=t,s=i,v=!1;(a=n)&&f&&f[Ct]&&l&&(a[Li]?(a[Li](f[Ct],l,s),v=!0):a[Vi]&&(a[Vi](Ai+f[Ct],l),v=!0)),v&&Bi.accept(n)&&((o={guid:Fi++,evtName:c})[St]=t,o.capture=i,u=o,$i(n,c.type)[b](u))}catch(p){}}var Xi="_aiHooks",Qi=["req","rsp","hkErr","fnErr"];function Yi(n,e){if(n)for(var t=0;t<n[G]&&!e(n[t],t);t++);}function Zi(n,a,u,c,f){0<=f&&f<=2&&Yi(n,function(n,e){var n=n.cbks,t=n[Qi[f]];if(t){a.ctx=function(){return c[e]=c[e]||{}};try{t[Ze](a.inst,u)}catch(i){t=a.err;try{var r=n.hkErr;r&&(a.err=i,r[Ze](a.inst,u))}catch(o){}finally{a.err=t}}}})}function no(c){return function(){var t=arguments,n=c.h,r=((e={})[rt]=c.n,e.inst=this,e.ctx=null,e.set=function(n,e){(t=o([],t))[n]=e,i=o([r],t)},e),e=[],i=o([r],t);function o(e,n){return Yi(n,function(n){e[b](n)}),e}r.evt=m("event"),Zi(n,r,i,e,0);var a=c.f;if(a)try{r.rslt=a[Ze](this,t)}catch(u){throw r.err=u,Zi(n,r,i,e,3),u}return Zi(n,r,i,e,1),r.rslt}}function eo(n,e,t,r){if(n&&e&&t){r=function o(n,e,t){var r=null;return n&&(jn(n,e)?r=n:t&&(r=o(Jt(n),e,!1))),r}(n,e,r)||n;if(r)return e=(n=r)[r=e],t=t,(i=e&&e[Xi])||((e=no(i={i:0,n:r,f:e,h:[]}))[Xi]=i,n[r]=e),r={id:i.i,cbks:t,rm:function(){var t=this.id;Yi(i.h,function(n,e){return n.id===t&&(i.h[nt](e,1),1)})}},i.i++,i.h[b](r),r}var i;return null}var to="not_specified",ro="iKey",io="split",T="length",oo="toLowerCase",ao="toString",uo="exceptions",co="parsedStack",fo="removeItem",lo="substring",so="stringify",X="name",vo="properties",po="measurements",go="message",ho="sizeInBytes",mo="typeName",yo="severityLevel",bo="problemGroup",wo="isManual",ko="CreateFromInterface",xo="hasFullStack",To="level",_o="method",Co="assembly",So="fileName",Po="line",Io="duration",Eo="receivedResponse",No="pathname";function Do(n,e,t){var r,i,o=e[T],a=(n=n,(e=e)&&150<(e=y(e[ao]()))[T]&&(i=e[lo](0,150),x(n,2,57,"name is too long. It has been truncated to 150 characters.",{name:e},!0)),i||e);if(a[T]!==o){for(var u=0,c=a;t[c]!==undefined;)u++,c=a[lo](0,147)+(r=void 0,(r="00"+u).substr(r[T]-3));a=c}return a}function Q(n,e,t){var r;return void 0===t&&(t=1024),e&&(t=t||1024,(e=y(e[ao]()))[T]>t&&(r=e[lo](0,t),x(n,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:e},!0))),r||e}function Mo(n,e){return Oo(n,e,2048,66)}function Ao(n,e){var t;return e&&32768<e[T]&&(t=e[lo](0,32768),x(n,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),t||e}function Vo(r,n){var i;return n&&(i={},h(n,function(n,e){if(Vn(e)&&rr())try{e=ir()[so](e)}catch(t){x(r,2,49,"custom property is not valid",{exception:t},!0)}e=Q(r,e,8192),n=Do(r,n,i),i[n]=e}),n=i),n}function Lo(t,n){var r;return n&&(r={},h(n,function(n,e){n=Do(t,n,r),r[n]=e}),n=r),n}function Oo(n,e,t,r){var i;return e&&(e=y(e[ao]()))[T]>t&&(i=e[lo](0,t),x(n,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:e},!0)),i||e}var Uo=be()||{},zo=0,jo=[null,null,null,null,null];function _(n,e){return 0===n||0===e||F(n)||F(e)?null:e-n}var Ro=n({LocalStorage:0,SessionStorage:1}),Fo=(n({AI:0,AI_AND_W3C:1,W3C:2}),undefined,undefined);function Bo(n){try{if(F(E()))return null;var e=(new Date)[ao](),t=m(n===Ro.LocalStorage?"localStorage":"sessionStorage"),r=(t.setItem(e,e),t.getItem(e)!==e);if(t[fo](e),!r)return t}catch(i){}return null}function qo(){return Jo()?Bo(Ro.SessionStorage):null}function Jo(n){return Fo=n||Fo===undefined?!!Bo(Ro.SessionStorage):Fo}function Ko(n,e){var t=qo();if(null!==t)try{return t.getItem(e)}catch(r){Fo=!1,x(n,2,2,"Browser failed read of session storage. "+W(r),{exception:K(r)})}return null}function $o(n,e,t){var r=qo();if(null!==r)try{r.setItem(e,t)}catch(i){Fo=!1,x(n,2,4,"Browser failed write to session storage. "+W(i),{exception:K(i)})}}function Go(n,e){var t=qo();if(null!==t)try{t[fo](e)}catch(r){Fo=!1,x(n,2,6,"Browser failed removal of session storage item. "+W(r),{exception:K(r)})}}Wo.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Wo.dataType="EventData";var Ho=Wo;function Wo(n,e,t,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0},this.ver=2,this[X]=Q(n,e)||to,this[vo]=Vo(n,t),this[po]=Lo(n,r)}var Xo="error",c="stack",Qo="stackDetails",Yo="errorSrc",Zo="message",na="description";function ea(n,e){var t=n;return t&&!B(t)&&(JSON&&JSON[so]?(t=JSON[so](n),!e||t&&"{}"!==t||(t=q(n[ao])?n[ao]():""+n)):t=n+" - (Missing JSON.stringify)"),t||""}function ta(n,e){var t=n;return n&&((t=t&&!B(t)&&(n[Zo]||n[na])||t)&&!B(t)&&(t=ea(t,!0)),n.filename&&(t=t+" @"+(n.filename||"")+":"+(n.lineno||"?")+":"+(n.colno||"?"))),(e&&"String"!==e&&"Object"!==e&&"Error"!==e&&-1===Be(t||"",e)?e+": "+t:t)||""}function ra(n){return n&&n.src&&B(n.src)&&n.obj&&J(n.obj)}function ia(n){var n=n||"",e=(n=B(n)?n:B(n[c])?n[c]:""+n)[io]("\n");return{src:n,obj:e}}function oa(n){var e,t=null;if(n)try{n[c]?t=ia(n[c]):n[Xo]&&n[Xo][c]?t=ia(n[Xo][c]):n.exception&&n.exception[c]?t=ia(n.exception[c]):ra(n)?t=n:ra(n[Qo])?t=n[Qo]:window&&window.opera&&n[Zo]?t=function(n){for(var e=[],t=n[io]("\n"),r=0;r<t[T];r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),e.push(i)}return{src:n,obj:e}}(n[go]):n.reason&&n.reason[c]?t=ia(n.reason[c]):B(n)?t=ia(n):(e=n[Zo]||n[na]||"",B(n[Yo])&&(e&&(e+="\n"),e+=" from "+n[Yo]),e&&(t=ia(e)))}catch(r){t=ia(r)}return t||{src:"",obj:null}}function aa(n){var e="";if(n&&!(e=n.typeName||n[X]||""))try{var t=/function (.{1,200})\(/.exec(n.constructor[ao]()),e=t&&1<t[T]?t[1]:""}catch(r){}return e}function ua(n){if(n)try{var e,t;if(!B(n))return e=aa(n),(t=ea(n,!1))&&"{}"!==t||(n[Xo]&&(e=aa(n=n[Xo])),t=ea(n,!0)),0!==Be(t,e)&&"String"!==e?e+":"+t:t}catch(r){}return""+(n||"")}fa.CreateAutoException=function(n,e,t,r,i,o,a,u){var c=aa(i||o||n),f={};return f[go]=ta(n,c),f.url=e,f.lineNumber=t,f.columnNumber=r,f.error=ua(i||o||n),f.evt=ua(o||n),f[mo]=c,f.stackDetails=oa(a||i||o),f.errorSrc=u,f},fa.CreateFromInterface=function(e,n,t,r){var i=n[uo]&&De(n[uo],function(n){return la[ko](e,n)});return new fa(e,en(en({},n),{exceptions:i}),t,r)},fa.prototype.toInterface=function(){var n=this,e=n.exceptions,t=n.properties,r=n.measurements,i=n.severityLevel,o=n.problemGroup,a=n.id,n=n.isManual,e=e instanceof Array&&De(e,function(n){return n.toInterface()})||undefined,u={ver:"4.0"};return u[uo]=e,u.severityLevel=i,u.properties=t,u.measurements=r,u.problemGroup=o,u.id=a,u.isManual=n,u},fa.CreateSimpleException=function(n,e,t,r,i,o){var a;return{exceptions:[((a={})[xo]=!0,a.message=n,a.stack=i,a.typeName=e,a)]}},fa.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",fa.dataType="ExceptionData",fa.formatError=ua;var ca=fa;function fa(n,e,t,r,i,o){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,function(n){try{if(Vn(n))return"ver"in n&&"exceptions"in n&&"properties"in n}catch(e){}}(e)?(a[uo]=e[uo]||[],a[vo]=e[vo],a[po]=e[po],e[yo]&&(a[yo]=e[yo]),e.id&&(a.id=e.id),e[bo]&&(a[bo]=e[bo]),F(e[wo])||(a[wo]=e[wo])):(a[uo]=[new la(n,e,t=t||{})],a[vo]=Vo(n,t),a[po]=Lo(n,r),i&&(a[yo]=i),o&&(a.id=o))}sa.prototype.toInterface=function(){var n=this,e=n[co]instanceof Array&&De(n[co],function(n){return n.toInterface()});return(n={id:n.id,outerId:n.outerId,typeName:n[mo],message:n[go],hasFullStack:n[xo],stack:n[c]})[co]=e||undefined,n},sa.CreateFromInterface=function(n,e){var t=e[co]instanceof Array&&De(e[co],function(n){return va[ko](n)})||e[co];return new sa(n,en(en({},e),{parsedStack:t}))};var la=sa;function sa(n,e,t){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var f,r,i,o,a,u=this;!function(n){try{if(Vn(n))return"hasFullStack"in n&&"typeName"in n}catch(e){}}(e)?(r=(o=e)&&o.evt,On(o)||(o=o[Xo]||r||o),u[mo]=Q(n,aa(o))||to,u[go]=Ao(n,ta(e||o,u[mo]))||to,f=e[Qo]||oa(e),u[co]=function(){var n=f.obj;if(n&&0<n[T]){var e=[],t=0,r=0;if($(n,function(n){var n=n[ao]();va.regex.test(n)&&(n=new va(n,t++),r+=n[ho],e.push(n))}),32768<r)for(var i=0,o=e[T]-1,a=0,u=i,c=o;i<o;){if(32768<(a+=e[i][ho]+e[o][ho])){e.splice(u,c-u+1);break}u=i,c=o,i++,o--}}return e}(),u[c]=(r=n,a="",(o=f)&&(o.obj?$(o.obj,function(n){a+=n+"\n"}):a=o.src||""),(n=a)&&32768<(o=""+n)[T]&&(i=o[lo](0,32768),x(r,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),i||n),u.hasFullStack=J(u.parsedStack)&&0<u.parsedStack[T],t&&(t[mo]=t[mo]||u[mo])):(u[mo]=e[mo],u[go]=e[go],u[c]=e[c],u[co]=e[co]||[],u[xo]=e[xo])}pa.CreateFromInterface=function(n){return new pa(n,null)},pa.prototype.toInterface=function(){var n=this;return{level:n[To],method:n[_o],assembly:n[Co],fileName:n[So],line:n[Po]}},pa.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,pa.baseSize=58;var va=pa;function pa(n,e){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var t,r=this;r[ho]=0,"string"==typeof n?(t=n,r[To]=e,r[_o]="<no_method>",r[Co]=y(t),r[So]="",r[Po]=0,(e=t.match(pa.regex))&&5<=e[T]&&(r[_o]=y(e[2])||r[_o],r[So]=y(e[4]),r[Po]=parseInt(e[5])||0)):(r[To]=n[To],r[_o]=n[_o],r[Co]=n[Co],r[So]=n[So],r[Po]=n[Po],r[ho]=0),r.sizeInBytes+=r.method[T],r.sizeInBytes+=r.fileName[T],r.sizeInBytes+=r.assembly[T],r[ho]+=pa.baseSize,r.sizeInBytes+=r.level.toString()[T],r.sizeInBytes+=r.line.toString()[T]}var da=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},ga=(ha.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",ha.dataType="MetricData",ha);function ha(n,e,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var f=new da;f.count=0<r?r:undefined,f.max=isNaN(o)||null===o?undefined:o,f.min=isNaN(i)||null===i?undefined:i,f[X]=Q(n,e)||to,f.value=t,f.stdDev=isNaN(a)||null===a?undefined:a,this.metrics=[f],this[vo]=Vo(n,u),this[po]=Lo(n,c)}var ma="";function f(n,e){return void 0===e&&(e=!1),n===undefined||null===n?e:"true"===n.toString()[oo]()}function ya(n){var e=ma+Math.floor((n=Math.round(n=isNaN(n)||n<0?0:n))/1e3)%60,t=ma+Math.floor(n/6e4)%60,r=ma+Math.floor(n/36e5)%24,i=Math.floor(n/864e5),n=1===(n=ma+n%1e3)[T]?"00"+n:2===n[T]?"0"+n:n,e=e[T]<2?"0"+e:e,t=t[T]<2?"0"+t:t,r=r[T]<2?"0"+r:r;return(0<i?i+".":ma)+r+":"+t+":"+e+"."+n}wa.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",wa.dataType="PageviewData";var ba=wa;function wa(n,e,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var u=this;u.ver=2,u.id=a&&Oo(n,a,128,69)[ao](),u.url=Mo(n,t),u[X]=Q(n,e)||to,isNaN(r)||(u[Io]=ya(r)),u[vo]=Vo(n,i),u[po]=Lo(n,o)}xa.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",xa.dataType="RemoteDependencyData";var ka=xa;function xa(n,e,t,r,i,o,a,u,c,f,l,s){void 0===c&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var v,p,d,g=this,t=(g.ver=2,g.id=e,g[Io]=ya(i),g.success=o,g.resultCode=a+"",g.type=Q(n,c),e=n,i=u,c=a=o=r,a=(u=t)&&0<u[T]?(v=u,d=(t=jo)[p=zo],Uo.createElement?t[p]||(d=t[p]=Uo.createElement("a")):d={host:function(){n=null,v&&null!=(t=v.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<t[T]&&B(t[2])&&0<t[2][T]&&(n=t[2]||"",2<t[T]&&(e=(t[1]||"")[oo](),t=t[3]||"",n+=t="http"===e&&":80"===t||"https"===e&&":443"===t?"":t));var n,e=n||"";if(e){var t=e.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=t&&3<t[T]&&B(t[2])&&0<t[2][T])return t[2]+(t[3]||"")}return e}()},d.href=v,++p>=t[T]&&(p=0),zo=p,p=(t=d).host,a||(null!=t[No]?("/"!=((d=0===t.pathname[T]?"/":t[No])[0]||"")&&(d="/"+d),c=t[No],Q(e,i?i+" "+d:d)):Q(e,u))):p=o,{target:p,name:a,data:c});g.data=Mo(n,r)||t.data,g.target=Q(n,t.target),f&&(g.target="".concat(g.target," | ").concat(f)),g[X]=Q(n,t[X]),g[vo]=Vo(n,l),g[po]=Lo(n,s)}_a.envelopeType="Microsoft.ApplicationInsights.{0}.Message",_a.dataType="MessageData";var Ta=_a;function _a(n,e,t,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var o=this;o.ver=2,o[go]=Ao(n,e=e||to),o[vo]=Vo(n,r),o[po]=Lo(n,i),t&&(o[yo]=t)}Sa.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",Sa.dataType="PageviewPerformanceData";var Ca=Sa;function Sa(n,e,t,r,i,o,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var u=this;u.ver=2,u.url=Mo(n,t),u[X]=Q(n,e)||to,u[vo]=Vo(n,i),u[po]=Lo(n,o),a&&(u.domProcessing=a.domProcessing,u[Io]=a[Io],u.networkConnect=a.networkConnect,u.perfTotal=a.perfTotal,u[Eo]=a[Eo],u.sentRequest=a.sentRequest)}function Pa(n,e,t,r,i,o){t=Q(r,t)||to,(F(n)||F(e)||F(t))&&Fn("Input doesn't contain all required fields");var a,r="",u=(n[ro]&&(r=n[ro],delete n[ro]),(a={})[X]=t,a.time=(t=new Date)&&t.toISOString()||"",a.iKey=r,a.ext=o||{},a.tags=[],a.data={},a.baseType=e,a.baseData=n,a);return F(i)||h(i,function(n,e){u.data[n]=e}),u}function Ia(n){var e,t=null;return q(Event)?t=new Event(n):(e=be())&&e.createEvent&&(t=e.createEvent("Event")).initEvent(n,!0,!0),t}var Ea="toString",Na="isStorageUseDisabled",Da="_addHook",Y="core",Ma="dataType",Aa="envelopeType",Z="diagLog",Va="track",La="trackPageView",Oa="trackPreviousPageVisit",Ua="sendPageViewInternal",za="sendPageViewPerformanceInternal",ja="populatePageViewPerformanceEvent",Ra="href",Fa="sendExceptionInternal",Ba="exception",qa="error",Ja="_onerror",Ka="errorSrc",$a="lineNumber",Ga="columnNumber",Ha="message",Wa="CreateAutoException",Xa="addTelemetryInitializer",Qa="duration",Ya="length",Za="autoUnhandledPromiseInstrumented",nu="isPerformanceTimingSupported",eu="getPerformanceTiming",tu="navigationStart",ru="shouldCollectDuration",iu="isPerformanceTimingDataReady",ou="responseStart",au="requestStart",uu="loadEventEnd",cu="responseEnd",fu="connectEnd",lu="pageVisitStartTime",su=(vu.__ieDyn=1,vu);function vu(d,g,e,h){wn(vu,this,function(n){var l,s=null,v=[],p=!1;function t(n){e&&e.flush(n)}e&&(l=e.logger),n[La]=function(r,i){var n,o=r.name,a=(!F(o)&&"string"==typeof o||(n=be(),o=r.name=n&&n.title||""),r.uri);if(!F(a)&&"string"==typeof a||(n=tr(),a=r.uri=n&&n[Ra]||""),!h[nu]())return d[Ua](r,i),t(!0),void x(l,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var u,e,c=!1,f=h[eu]()[tu];0<f&&(u=_(f,+new Date),h[ru](u)||(u=undefined)),F(i)||F(i[Qa])||(e=i[Qa]),!g&&isNaN(e)||(isNaN(e)&&((i=i||{})[Qa]=u),d[Ua](r,i),t(!0),c=!0),i=i||{},v.push(function(){var n,e=!1;try{h[iu]()?(e=!0,n={name:o,uri:a},h[ja](n),n.isValid||c?(c||(i[Qa]=n.durationMs,d[Ua](r,i)),p||(d[za](n,i),p=!0)):(i[Qa]=u,d[Ua](r,i))):0<f&&6e4<_(f,+new Date)&&(e=!0,c||(i[Qa]=6e4,d[Ua](r,i)))}catch(t){x(l,1,38,"trackPageView failed on page load calculation: "+W(t),{exception:K(t)})}return e}),s=s||setInterval(function(){var n=v.slice(0),e=!1;v=[],$(n,function(n){n()?e=!0:v.push(n)}),0===v[Ya]&&(clearInterval(s),s=null),e&&t(!0)},100)},n.teardown=function(n,e){var t;s&&(clearInterval(s),s=null,t=v.slice(0),v=[],$(t,function(n){n()}))}})}var pu=36e5,du=["googlebot","adsbot-google","apis-google","mediapartners-google"];function gu(){var n=Le();return n&&!!n.timing}function hu(){var n=Le(),n=n?n.timing:0;return n&&0<n.domainLookupStart&&0<n[tu]&&0<n[ou]&&0<n[au]&&0<n[uu]&&0<n[cu]&&0<n[fu]&&0<n.domLoading}function mu(){return gu()?Le().timing:null}function yu(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=(ke()||{}).userAgent,r=!1;if(t)for(var i=0;i<du[Ya];i++)r=r||-1!==Be(t.toLowerCase(),du[i]);if(r)return!1;for(i=0;i<n[Ya];i++)if(n[i]<0||n[i]>=pu)return!1;return!0}wu.__ieDyn=1;var bu=wu;function wu(n){var u=this,c=Ur(n);wn(wu,this,function(n){n[ja]=function(n){n.isValid=!1;var e=(e=Le())&&e.getEntriesByType&&0<e.getEntriesByType("navigation")[Ya]?Le().getEntriesByType("navigation")[0]:null,t=mu(),r=0,i=0,o=0,a=0;(e||t)&&(e=e?(r=e[Qa],i=0===e.startTime?e[fu]:_(e.startTime,e[fu]),o=_(e.requestStart,e[ou]),a=_(e[ou],e[cu]),_(e.responseEnd,e[uu])):(r=_(t[tu],t[uu]),i=_(t[tu],t[fu]),o=_(t.requestStart,t[ou]),a=_(t[ou],t[cu]),_(t.responseEnd,t[uu])),0===r?x(c,2,10,"error calculating page view performance.",{total:r,network:i,request:o,response:a,dom:e}):u[ru](r,i,o,a,e)?r<Math.floor(i)+Math.floor(o)+Math.floor(a)+Math.floor(e)?x(c,2,8,"client performance math error.",{total:r,network:i,request:o,response:a,dom:e}):(n.durationMs=r,n.perfTotal=n[Qa]=ya(r),n.networkConnect=ya(i),n.sentRequest=ya(o),n.receivedResponse=ya(a),n.domProcessing=ya(e),n.isValid=!0):x(c,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:i,request:o,response:a,dom:e}))},n[eu]=mu,n[nu]=gu,n[iu]=hu,n[ru]=yu})}xu.__ieDyn=1;var ku=xu;function xu(u,c){var f="prevPageVisitData";wn(xu,this,function(n){function i(n,e){var t=null;try{t=a(),o(n,e)}catch(r){Fr(u,"Call to restart failed: "+K(r)),t=null}return t}function o(n,e){try{var t,r;Jo()&&(null!=Ko(u,f)&&Fn("Cannot call startPageVisit consecutively without first calling stopPageVisit"),t=new Tu(n,e),r=ir().stringify(t),$o(u,f,r))}catch(i){Fr(u,"Call to start failed: "+K(i))}}function a(){var n,e,t=null;try{Jo()&&(n=Me(),(e=Ko(u,f))&&rr()&&((t=ir().parse(e)).pageVisitTime=n-t[lu],Go(u,f)))}catch(r){Fr(u,"Stop page visit timer failed: "+K(r)),t=null}return t}n[Oa]=function(n,e){try{var t=i(n,e);t&&c(t.pageName,t.pageUrl,t.pageVisitTime)}catch(r){Fr(u,"Auto track page visit time failed, metric will not be collected: "+K(r))}},ae(n,"_logger",function(){return u}),ae(n,"pageVisitTimeTrackingHandler",function(){return c})})}var Tu=function(n,e){this[lu]=Me(),this.pageName=n,this.pageUrl=e},_u=function(o,n){var a=this,u={};a.start=function(n){"undefined"!=typeof u[n]&&x(o,2,62,"start was called more than once for this event without calling stop.",{name:n,key:n},!0),u[n]=+new Date},a.stop=function(n,e,t,r){var i=u[n];isNaN(i)?x(o,2,63,"stop was called without a corresponding start.",{name:n,key:n},!0):(i=_(i,+new Date),a.action(n,e,i,t,r)),delete u[n],u[n]=undefined}};function Cu(n,e){n&&n.dispatchEvent&&e&&n.dispatchEvent(e)}var Su,Pu=Kn(((e={sessionRenewalMs:{set:Iu,v:18e5},sessionExpirationMs:{set:Iu,v:864e5},disableExceptionTracking:{set:f},autoTrackPageVisitTime:{set:f},overridePageViewDuration:{set:f},enableUnhandledPromiseRejectionTracking:{set:f}})[Za]=!1,e.samplingPercentage={isVal:function(n){return!isNaN(n)&&0<n&&n<=100},v:100},e.isStorageUseDisabled={set:f},e.isBrowserLinkTrackingEnabled={set:f},e.enableAutoRouteTracking={set:f},e.namePrefix="",e.enableDebug={set:f},e.disableFlushOnBeforeUnload={set:f},e.disableFlushOnUnload={set:f,fb:"disableFlushOnBeforeUnload"},e));function Iu(n,e){return+((n=n||e)<6e4?6e4:n)}function Eu(){this.constructor=Su}i=Nu=t,N(Su=Du,i),Su[v]=(Eu[v]=i[v],new Eu),Du.Version="3.0.0-beta.2211-01";var Nu,n=Du;function Du(){var w,k,x,T,_,C,S,P,I,E,N,D,M,A,V,L,O,U,z,j=Nu.call(this)||this;return j.identifier="ApplicationInsightsAnalytics",j.priority=180,j.autoRoutePVDelay=500,wn(Du,j,function(m,y){var b=y[Da];function v(n,e,t,r,i){m[Z]().throwInternal(n,e,t,r,i)}function s(){C=_=T=x=k=w=null;var n=tr(!(L=A=M=D=N=E=I=P=S=!1));O=n&&n[Ra]||"",oe(m,"config",{configurable:!(V=z=U=null),enumerable:!0,get:function(){return V}})}s(),m.getCookieMgr=function(){return(e=(t=m[Y])?t.getCookieMgr():e)||(t=(t||{})[Xe],(r=xi[si]||mi[si])||(r=xi[si]=xi(n,t),mi[si]=r),e=r),e;var n,e,t,r},m.processTelemetry=function(n,e){m.processNext(n,e)},m.trackEvent=function(n,e){try{var t=Pa(n,Ho[Ma],Ho[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(2,39,"trackTrace failed, trace will not be collected: "+W(r),{exception:K(r)})}},m.startTrackEvent=function(n){try{w.start(n)}catch(e){v(1,29,"startTrackEvent failed, event will not be collected: "+W(e),{exception:K(e)})}},m.stopTrackEvent=function(n,e,t){try{w.stop(n,undefined,e,t)}catch(r){v(1,30,"stopTrackEvent failed, event will not be collected: "+W(r),{exception:K(r)})}},m.trackTrace=function(n,e){try{var t=Pa(n,Ta[Ma],Ta[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(2,39,"trackTrace failed, trace will not be collected: "+W(r),{exception:K(r)})}},m.trackMetric=function(n,e){try{var t=Pa(n,ga[Ma],ga[Aa],m[Z](),e);m[Y][Va](t)}catch(r){v(1,36,"trackMetric failed, metric will not be collected: "+W(r),{exception:K(r)})}},m[La]=function(n,e){try{var t=n||{};x[La](t,en(en(en({},t.properties),t.measurements),e)),L&&_[Oa](t.name,t.uri)}catch(r){v(1,37,"trackPageView failed, page view will not be collected: "+W(r),{exception:K(r)})}},m[Ua]=function(n,e,t){var r=be(),r=(r&&(n.refUri=n.refUri===undefined?r.referrer:n.refUri),Pa(n,ba[Ma],ba[Aa],m[Z](),e,t));m[Y][Va](r)},m[za]=function(n,e,t){n=Pa(n,Ca[Ma],Ca[Aa],m[Z](),e,t);m[Y][Va](n)},m.trackPageViewPerformance=function(n,e){n=n||{};try{T[ja](n),m[za](n,e)}catch(t){v(1,37,"trackPageViewPerformance failed, page view will not be collected: "+W(t),{exception:K(t)})}},m.startTrackPage=function(n){try{var e;"string"!=typeof n&&(n=(e=be())&&e.title||""),k.start(n)}catch(t){v(1,31,"startTrackPage failed, page view may not be collected: "+W(t),{exception:K(t)})}},m.stopTrackPage=function(n,e,t,r){try{var i,o;"string"!=typeof n&&(n=(i=be())&&i.title||""),"string"!=typeof e&&(e=(o=tr())&&o[Ra]||""),k.stop(n,e,t,r),L&&_[Oa](n,e)}catch(a){v(1,32,"stopTrackPage failed, page view will not be collected: "+W(a),{exception:K(a)})}},m[Fa]=function(n,e,t){var r=n[Ba]||n[qa]||Error(to),r=Pa(new ca(m[Z](),r,n.properties||e,n.measurements,n.severityLevel,n.id).toInterface(),ca[Ma],ca[Aa],m[Z](),e,t);m[Y][Va](r)},m.trackException=function(n,e){n&&!n[Ba]&&n[qa]&&(n[Ba]=n[qa]);try{m[Fa](n,e)}catch(t){v(1,35,"trackException failed, exception will not be collected: "+W(t),{exception:K(t)})}},m[Ja]=function(n){var e,t,r,i=n&&n[qa],o=n&&n.evt;try{o||(l=we())&&(o=l.event);var a=n&&n.url||(be()||{}).URL,u=n[Ka]||"window.onerror@"+a+":"+(n[$a]||0)+":"+(n[Ga]||0),c={errorSrc:u,url:a,lineNumber:n[$a]||0,columnNumber:n[Ga]||0,message:n[Ha]},f=n.message;n.url,n.lineNumber,n.columnNumber,n[qa]||!B(f)||"Script error."!==f&&"Script error"!==f?(n[Ka]||(n[Ka]=u),m.trackException({exception:n,severityLevel:3},c)):(e=ca[Wa]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",a,n[$a]||0,n[Ga]||0,i,o,null,u),t=c,r=Pa(e,ca[Ma],ca[Aa],m[Z](),t),m[Y][Va](r))}catch(s){var l=i?i.name+", "+i[Ha]:"null";v(1,11,"_onError threw exception while logging error, error will not be collected: "+W(s),{exception:K(s),errorString:l})}},m[Xa]=function(n){if(m[Y])return m[Y][Xa](n);(C=C||[]).push(n)},m.initialize=function(n,e,t,r){if(!m.isInitialized()){F(e)&&Fn("Error initializing"),y.initialize(n,e,t,r);try{var i,o,a=mr(m.identifier),u=(g=e.evtNamespace&&e.evtNamespace())?Ki("xx",u=J(g)?[a].concat(g):[a,g]).ns[wt]("."):a;z=u,C&&($(C,function(n){e[Xa](n)}),C=null),v=n,p=m.identifier,d=m[Y],m[Da](Nr(v,function(){var r,n=ti(null,v,d);V=n.getExtCfg(p,Pu),L=V.autoTrackPageVisitTime,R((n=V)[Na])||(Fo=!n[Na]&&(Bo(Ro.LocalStorage),Jo(!0))),S=V.isBrowserLinkTrackingEnabled,!P&&S&&(r=["/browserLinkSignalR/","/__browserLink/"],m[Da](m[Xa](function(n){if(S&&n.baseType===ka[Ma]){var e=n.baseData;if(e)for(var t=0;t<r[Ya];t++)if(e.target&&0<=Be(e.target,r[t]))return!1}return!0})),P=!0)})),T=new bu(m[Y]),x=new su(j,V.overridePageViewDuration,m[Y],T),_=new ku(m[Z](),function(n,e,t){m.trackMetric({name:"PageVisitTime",average:t,max:t,min:t,sampleCount:1},{PageName:n,PageUrl:e})}),(w=new _u(m[Z]())).action=function(n,e,t,r,i){i=i||{},(r=r||{}).duration=t[Ea](),m.trackEvent({name:n,properties:r,measurements:i})},(k=new _u(m[Z]())).action=function(n,e,t,r,i){(r=F(r)?{}:r).duration=t[Ea](),m[Ua]({name:n,uri:e,properties:r,measurements:i},r)},we()&&(l=we(),s=tr(!0),m[Da](Nr(V,function(){(N=V.disableExceptionTracking)||D||V.autoExceptionInstrumented||(b(eo(l,"onerror",{ns:z,rsp:function(n,e,t,r,i,o){N||!0===n.rslt||m[Ja](ca[Wa](e,t,r,i,o,n.evt))}},!1)),D=!0)})),i=l,o=s,m[Da](Nr(V,function(){M=!0===V.enableUnhandledPromiseRejectionTracking,D=D||V[Za],M&&!A&&(b(eo(i,"onunhandledrejection",{ns:z,rsp:function(n,e){var t,r;M&&!0!==n.rslt&&m[Ja](ca[Wa]((t=e)&&t.reason?(r=t.reason,!B(r)&&q(r[Ea])?r[Ea]():K(r)):t||"",o?o[Ra]:"",0,0,e,n.evt))}},!1)),V[Za]=A=!0)})),c=we(),f=tr(!0),m[Da](Nr(V,function(){var n,e,r,t;I=!0===V.enableAutoRouteTracking,c&&I&&!E&&xe()&&(e=xe(),q(e.pushState)&&q(e.replaceState)&&typeof Event!==nn&&(n=c,e=e,r=f,E||(t=V.namePrefix||"",b(eo(e,"pushState",{ns:z,rsp:function(){I&&(Cu(n,Ia(t+"pushState")),Cu(n,Ia(t+"locationchange")))}},!0)),b(eo(e,"replaceState",{ns:z,rsp:function(){I&&(Cu(n,Ia(t+"replaceState")),Cu(n,Ia(t+"locationchange")))}},!0)),Wi(n,t+"popstate",function(){I&&Cu(n,Ia(t+"locationchange"))},z),Wi(n,t+"locationchange",function(){var n,e,t;U&&(O=U),U=r&&r[Ra]||"",I&&(t=null,(t=m[Y]&&m[Y].getTraceCtx?m[Y].getTraceCtx(!1):t)||(n=m[Y].getPlugin("AppInsightsPropertiesPlugin"))&&(n=n.plugin.context)&&(n=n.telemetryTrace,e=n||{},t={getName:function(){return e[X]},setName:function(n){e[X]=n},getTraceId:function(){return e.traceID},setTraceId:function(n){Hr(n,32,"00000000000000000000000000000000")&&(e.traceID=n)},getSpanId:function(){return e.parentID},setSpanId:function(n){Hr(n,16,"0000000000000000")&&(e.parentID=n)},getTraceFlags:function(){return e.traceFlags},setTraceFlags:function(n){e.traceFlags=n}}),(n=t)&&(n.setTraceId(function(){for(var n,e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=H,r=0;r<4;r++)t+=e[15&(n=sr())]+e[n>>4&15]+e[n>>8&15]+e[n>>12&15]+e[n>>16&15]+e[n>>20&15]+e[n>>24&15]+e[n>>28&15];var i=e[8+(3&sr())|0];return je(t,0,8)+je(t,9,4)+"4"+je(t,13,3)+i+je(t,16,3)+je(t,19,12)}()),t="_unknown_",r&&r.pathname&&(t=r.pathname+(r.hash||"")),n.setName(Q(m[Z](),t))),Je((function(n){m[La]({refUri:n,properties:{duration:0}})}).bind(this,O),m.autoRoutePVDelay))},z),E=!0)))})))}catch(h){throw m.setInitialized(!1),h}var c,f,l,s,v,p,d,g}},m._doTeardown=function(n,e){x&&x.teardown(n,e);var t,r,i,n=window,e=z,o=void 0;if(void 0===o&&(o=!1),n)try{var a=Ki(null,e),u=!1,c=n,f=function(n){return!(!a.ns&&null!==n[St])&&(u=!0)};(t=a)[Ct]?Hi(c,$i(c,t[Ct]),t,f):(h(r=Bi.get(c,zi,{}),function(n,e){Hi(c,e,t,f)}),0===(Vn(i=r)&&null!==i||Bn("objKeys called on non-object"),p.keys(i)[G])&&Bi.kill(c,zi)),u||Gi(n,a,null,o)}catch(l){}s()},ae(m,"_pageViewManager",function(){return x}),ae(m,"_pageViewPerformanceManager",function(){return T}),ae(m,"_pageVisitTimeManager",function(){return _}),ae(m,"_evtNamespace",function(){return"."+z})}),j}l.AnalyticsPlugin=n,l.ApplicationInsights=n,Object.defineProperty(l,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((n="undefined"!=typeof globalThis?globalThis:n||self).Microsoft=n.Microsoft||{},n.Microsoft.ApplicationInsights=n.Microsoft.ApplicationInsights||{}));
|
|
6
6
|
//# sourceMappingURL=applicationinsights-analytics-js.min.js.map
|