@microsoft/applicationinsights-common 3.3.7-nightly3.2504-12 → 3.3.7-nightly3.2504-11
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/es5/applicationinsights-common.cjs.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +4 -4
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +4 -4
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +2 -2
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +1 -1
- package/types/applicationinsights-common.namespaced.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.3.7-nightly3.2504-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.3.7-nightly3.2504-11
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}))}(this,function(e){"use strict";function n(e,n){return e||n}function t(e,n){return e[n]}var h=undefined,y=null,R="",U="function",V="object",I="prototype",F="__proto__",z="undefined",q="constructor",B="Symbol",j="length",H="name",b="call",$="toString",G="__lookupGetter__",J="__lookupSetter__",i=n(Object),K=t(i,I),W=n(String),r=t(W,I),o=n(Math),a=n(Array),u=t(a,I),Y=t(u,"slice"),Z="_polyfill",X="__nw21$polytype__";function S(e,n){try{return{v:e.apply(this,n)}}catch(t){return{e:t}}}function Q(n){return function(e){return typeof e===n}}function ee(e){var n="[object "+e+"]";return function(e){return!(!e||K[$].call(e)!==n)}}function ne(e){return typeof e===z||e===z}function D(e){return e===y||ne(e)}function te(e){return e===y||e===h}function re(e){return!!e||e!==h}var f=Q("string"),ie=Q(U);function oe(e){return(e||!D(e))&&e&&typeof e===V}var w=t(a,"isArray"),ae=Q("number"),ue=ee("Error"),l=n(W),ce="[object Error]";function C(e,n){var t=R,r=K[$][b](e);r===ce&&(e={stack:l(e.stack),message:l(e.message),name:l(e.name)});try{t=((t=JSON.stringify(e,y,n?"number"==typeof n?n:4:h))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||l(e)}catch(i){t=" - "+C(i,n)}return r+": "+t}function se(e){throw new TypeError(e)}function fe(e){te(e)&&se("Cannot convert undefined or null to object")}function p(e,n){return!!e&&K.hasOwnProperty[b](e,n)}a=le;function le(r,e,i){var o=e?e[r]:y;return function(e){var n,t=(e?e[r]:y)||o;if(t||i)return n=arguments,(t||i).apply(e,t?Y[b](n,1):n);se('"'+l(r)+'" not defined for '+C(e))}}function de(n,t){var e,r=i.getOwnPropertyDescriptor;return(e=(e=!te(n)&&r?S(r,[n,t]).v||y:e)||S(function(){for(var e in n)if(e===t)return{enumerable:!0}}).v)&&e.enumerable||!1}var ve=le("propertyIsEnumerable",y,de);function pe(e,n){fe(e);var t,r,i,o=n===j&&(w(e)||f(e));return(o||p(e,n))&&(t={configurable:!o,enumerable:!o&&ve(e,n)},o=!0,G in K&&J in K&&(r=e[G](n),i=e[J](n),(r||i)&&(o=!1,r&&(t.get=r),i&&(t.set=i))),o&&(t.value=e[n],t.writable=function(e,n){var t=!1;if(!f(e)||!(n===j||ae(n)||f(n)&&!isNaN(+(""+n)))){var r=e[n];try{e[n]=r,t=!0}catch(i){}}return t}(e,n))),t}var ge=n(t(i,"getOwnPropertyDescriptor"),pe);function me(e,n){return fe(e),p(e,n)||!!ge(e,n)}var he=n(t(i,"hasOwn"),me);function N(e,n,t){if(e&&(oe(e)||ie(e)))for(var r in e)if(he(e,r)&&-1===n[b](t||e,r,e[r]))break}function x(e,n,t){if(e)for(var r=e[j]>>>0,i=0;i<r&&!(i in e&&-1===n[b](t||e,e[i],i,e));i++);}var ye={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},Ie=t(i,"defineProperty"),be=t(i,"defineProperties");function T(e,n,t){return Ie(e,n,(i={configurable:!0,enumerable:!0},(r=t).l&&(i.get=function(){return r.l.v},(e=ge(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e})),N(r,function(e,n){i[ye[e]]=n===h?i[ye[e]]:n}),i));var r,i}function Se(e,n,t){Ie(e,n,{value:t,enumerable:!0,writable:!1})}function we(e){return e}function Ce(e){return fe(e),e[F]||y}var Te,W=t(i,"assign"),De=t(i,"keys"),Ne=n(t(i,"freeze"),we),xe=n(t(i,"getPrototypeOf"),Ce),_e="__tsUtils$gblCfg";function ke(){var e;return(e=(e=(e=typeof globalThis!==z?globalThis:e)||typeof self===z?e:self)||typeof window===z?e:window)||typeof global===z?e:global}function Ee(){var e;return Te||(e=S(ke).v||{},Te=e[_e]=e[_e]||{}),Te}var Ae,Pe=t(o,"min"),Oe=t(o,"max"),Me=a("slice",r),Le=a("substring",r),Re=le("substr",r,Ue);function Ue(e,n,t){return fe(e),t<0?R:((n=n||0)<0&&(n=Oe(n+e[j],0)),ne(t)?Me(e,n):Me(e,n,n+t))}function Ve(e){return Ie({toJSON:function(){return e}},"v",{value:e})}var Fe=n(t(i,"setPrototypeOf"),ze);function ze(t,e){var n;return(Ae=Ae||Ve(((n={})[F]=[],n instanceof Array))).v?t[F]=e:N(e,function(e,n){return t[e]=n}),t}var c,qe=n(t(i,"create"),Be);function Be(e,n){var t;function r(){}return t=te(e)?{}:((t=typeof e)!==V&&t!=U&&se("Prototype must be an Object or function: "+C(e)),r[I]=e,S(function(){r[F]=e}),new r),S(ze,[t,e]),n&&S(be,[t,n]),t}function je(){return(Date.now||He)()}function He(){return(new Date).getTime()}function $e(){c=Ee()}function Ge(n){var t={};return c||$e(),t.b=c.lzy,Ie(t,"v",{configurable:!0,get:function(){var e=n();return c.lzy||Ie(t,"v",{value:e}),t.b=c.lzy,e}}),t}var Je,Ke=t(o,"random"),We=Ge(function(){for(var e=je().toString(36).slice(2);e.length<16;)e+=Ke().toString(36).slice(2);return e.substring(0,16)}),Ye="$nw21sym",Ze=0;function Xe(e){var n,t="_"+Ze+++"_"+We.v,r=B+"("+e+")",i=qe(null);return T(i,"description",{v:l(e),e:!1,w:!1}),T(i,$,{v:function(){return r+Ye+t},e:!1,w:!1}),T(i,"valueOf",{v:function(){return i},e:!1,w:!1}),T(i,"v",{v:r,e:!1,w:!1}),T(i,"_uid",{v:t,e:!1,w:!1}),(n=i)&&(S(function(){n[Z]=!0,n[X]="symbol"}),S(T,[n,Z,{v:!0,w:!1,e:!1}]),S(T,[n,X,{v:"symbol",w:!1,e:!1}])),n}var Qe,en="window";function nn(e,n){var t;return function(){return c||$e(),(t=t&&!c.lzy?t:Ve(S(e,n).v)).v}}function tn(e){return c||$e(),(Qe=Qe&&!1!==e&&!c.lzy?Qe:Ve(S(ke).v||y)).v}function g(e,n){n=Qe&&!1!==n?Qe.v:tn(n);if(n&&n[e])return n[e];if(e===en)try{return window}catch(t){}return y}var rn,on,an=nn(g,["document"]),un=nn(g,[en]),cn=nn(g,["navigator"]);function sn(){return rn=Ve(S(g,[B]).v)}function fn(e){var n=(c.lzy?0:rn)||sn();return n.v?n.v[e]:h}function ln(e,n){c||$e();var t=(c.lzy?0:rn)||sn();return t.v?t.v(e):n?y:Xe(e)}function dn(e){return c||$e(),((on=(c.lzy?0:on)||Ve(S(fn,["for"]).v)).v||function(e){Je||(r=Ee(),Je=r.gblSym=r.gblSym||{k:{},s:{}});var n,t,r=Je;return he(r.k,e)||(n=Xe(e),t=De(r.s).length,n._urid=function(){return t+"_"+n[$]()},r.k[e]=n,r.s[n._urid()]=l(e)),r.k[e]})(e)}function vn(e,n,t){return e.apply(n,t)}var pn=a("indexOf",u),gn=a("map",u),mn=a("reduce",u);function hn(e,n){n&&(e[H]=n)}function yn(n){return function(e){return fe(e),e&&e.replace?e.replace(n,R):e}}var In,bn,Sn,wn,_=le("trim",r,yn(/^\s+|(?=\s)\s+$/g)),Cn=t(o,"floor");function Tn(e){if(!e||typeof e!==V)return!1;var n=!1;if(e!==(Sn=Sn||un()||!0)){bn||(In=Function[I][$],bn=In[b](i));try{var t=xe(e),n=(n=!t)||!(!(t=p(t,q)?t[q]:t)||typeof t!=U||In[b](t)!==bn)}catch(r){}}return n}function Dn(){return c||$e(),(wn=wn&&!c.lzy?wn:Ve(S(g,["performance"]).v)).v}var Nn=t(o,"round"),xn=le("endsWith",r,_n);function _n(e,n,t){f(r=e)||se("'"+C(r)+"' is not a string");var r=f(n)?n:l(n),n=!ne(t)&&t<e[j]?t:e[j];return Le(e,n-r[j],n)===r}var kn=a("indexOf",r),En="unref";var An,u=function(e){return n=Ne,t={},N(e,function(e,n){Se(t,e,n),Se(t,n,e)}),n?n(t):t;var n,t},Pn="toLowerCase",k="length",On="warnToConsole",Mn="throwInternal",Ln="watch",Rn="apply",E="push",Un="splice",Vn="logger",Fn="name",zn="version",qn="messageId",Bn="message",jn="diagLog",Hn="userAgent",$n="split",Gn="replace",Jn="type",Kn="evtName",Wn="traceFlags",Yn="getAttribute",Zn="object",Xn="undefined",o="prototype",Qn=Object,et=Qn[o],nt=((tn()||{}).Symbol,(tn()||{}).Reflect,"hasOwnProperty"),tt=W||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])et[nt].call(n,i)&&(e[i]=n[i]);return e},rt=function(e,n){return(rt=Qn.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[nt](t)&&(e[t]=n[t])})(e,n)},it="constructor",ot="prototype",at="function",ut="_dynInstFuncs",ct="_isDynProxy",st="_dynClass",ft="_dynInstChk",lt=ft,dt="_dfOpts",vt="_unknown_",pt="__proto__",gt="_dyn"+pt,r="__dynProto$Gbl",mt="_dynInstProto",ht="useBaseInst",yt="setInstFuncs",It=Object,bt=It.getPrototypeOf,St=It.getOwnPropertyNames,a=tn(),wt=a[r]||(a[r]={o:((W={})[yt]=!0,W[ht]=!0,W),n:1e3});function Ct(e){return e&&(e===It[ot]||e===Array[ot])}function Tt(e){return Ct(e)||e===Function[ot]}function Dt(e){if(e){if(bt)return bt(e);var n=e[pt]||e[ot]||(e[it]?e[it][ot]:null),t=e[gt]||n;p(e,gt)||(delete e[mt],t=e[gt]=e[mt]||e[gt],e[mt]=n)}return t}function Nt(e,n){var t=[];if(St)t=St(e);else for(var r in e)"string"==typeof r&&p(e,r)&&t.push(r);if(t&&0<t.length)for(var i=0;i<t.length;i++)n(t[i])}function xt(e,n,t){return n!==it&&typeof e[n]===at&&(t||p(e,n))&&n!==pt&&n!==ot}function _t(e){se("DynamicProto: "+e)}function kt(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function Et(e,n){return p(e,ot)?e.name||n||vt:((e||{})[it]||{}).name||n||vt}function At(e,r,n,t){p(e,ot)||_t("theClass is an invalid class definition.");var i,o,a,u,c,s,f=e[ot],l=(function(e){if(!bt)return 1;for(var n=[],t=Dt(r);t&&!Tt(t)&&!kt(n,t);){if(t===e)return 1;n.push(t),t=Dt(t)}}(f)||_t("["+Et(e)+"] not in hierarchy of ["+Et(r)+"]"),null),e=(p(f,st)?l=f[st]:(l="_dynCls$"+Et(e,"_")+"$"+wt.n,wt.n++,f[st]=l),At[dt]),d=!!e[ht],v=(d&&t&&t[ht]!==undefined&&(d=!!t[ht]),i=r,o=qe(null),Nt(i,function(e){!o[e]&&xt(i,e,!1)&&(o[e]=i[e])}),o),d=(n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[ct]&&o&&!1!==(r=e[ut]||{})[lt]&&(i=(r[n[st]]||{})[t]||i),function(){return i.apply(e,arguments)}}for(var i=qe(null),a=(Nt(t,function(e){i[e]=r(n,t,e)}),Dt(e)),u=[];a&&!Tt(a)&&!kt(u,a);)Nt(a,function(e){!i[e]&&xt(a,e,!bt)&&(i[e]=r(n,a,e))}),u.push(a),a=Dt(a);return i}(f,r,v,d)),!!bt&&!!e[yt]);a=f,n=l,u=r,c=v,e=!1!==(d=d&&t?!!t[yt]:d),Ct(a)||Ct(f=u[ut]=u[ut]||qe(null))||(s=f[n]=f[n]||qe(null),!1!==f[lt]&&(f[lt]=!!e),Ct(s)||Nt(u,function(e){var t,r,i;xt(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],p(a,e)&&(!a[e]||a[e][ct])||(a[e]=(t=a,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&p(t,st)){var o=e[ut]||qe(null);if((i=(o[t[st]]||qe(null))[n])||_t("Missing ["+n+"] "+at),!i[ft]&&!1!==o[lt]){for(var a=!p(e,n),u=Dt(e),c=[];a&&u&&!Tt(u)&&!kt(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=Dt(u)}try{a&&(e[n]=i),i[ft]=1}catch(f){o[lt]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?Dt(t)[e]:n)!==at&&_t("["+e+"] is not a "+at),n)).apply(this,arguments)})[ct]=1,i)))}))}At[dt]=wt.o;var Pt=undefined,s="",Ot="Not dynamic - ",Mt=/-([a-z])/g,Lt=/([^\w\d_$])/g,Rt=/^(\d+[\w\d_$])/;function Ut(e){return!D(e)}function Vt(e){return e&&f(e)?(e=(e=e[Gn](Mt,function(e,n){return n.toUpperCase()}))[Gn](Lt,"_"))[Gn](Rt,function(e,n){return"_"+n}):e}function Ft(e,n){return!(!e||!n)&&-1!==kn(e,n)}function zt(e){return e&&e.toISOString()||""}function qt(e){return ue(e)?e[Fn]:s}var Bt="console",jt="JSON",Ht=null,$t=null,Gt=null;function Jt(){return typeof JSON===Zn&&JSON||null!==g(jt)}function Kt(){return Jt()?JSON||g(jt):null}function Wt(e,n){if(e)for(var t=0;t<e[k];t++){var r=e[t];if(r[Fn]&&r[Fn]===n)return r}return{}}var Yt=4294967296,Zt=4294967295,Xt=123456789,Qt=987654321,er=!1,nr=Xt,tr=Qt;function rr(e){var n,t=0,r=g("crypto")||g("msCrypto");if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&Zt:t)&&(!(r=cn())||r[Hn]===$t&&null!==Ht||(r=(($t=r[Hn])||s)[Pn](),Ht=Ft(r,"msie")||Ft(r,"trident/")),Ht)){if(!er)try{var i=2147483647&je();(n=(Math.random()*Yt^i)+i)<0&&(n>>>=0),nr=Xt+n&Zt,tr=Qt-n&Zt,er=!0}catch(o){}r=((tr=36969*(65535&tr)+(tr>>16)&Zt)<<16)+(65535&(nr=18e3*(65535&nr)+(nr>>16)&Zt))>>>0&Zt|0,t=(r>>>=0)&Zt}return 0===t&&(t=Cn(Yt*Math.random()|0)),e||(t>>>=0),t}var ir="3.3.7-nightly3.2504-12",or="."+function(e){void 0===e&&(e=22);for(var n=rr()>>>0,t=0,r=s;r[k]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(rr()<<2&4294967295|3&n)>>>0,t=0);return r}(6),ar=0;function ur(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function cr(e,n){return Vt(e+ar+++((n=void 0!==n&&n)?"."+ir:s)+or)}function sr(e){return e&&oe(e)&&(e.isVal||e.fb||he(e,"v")||he(e,"mrg")||he(e,"ref")||e.set)}function fr(e,n,t){var r,i=t.dfVal||re;if(n&&t.fb){var o=t.fb;w(o)||(o=[o]);for(var a=0;a<o[k];a++){var u=o[a],c=n[u];if(i(c)?r=c:e&&(i(c=e.cfg[u])&&(r=c),e.set(e.cfg,l(u),c)),i(r))break}}return!i(r)&&i(t.v)?t.v:r}function lr(t,e,n,r){var i,o,a,u,c,s,f=r,f=sr(f)?(i=f.isVal,o=f.set,c=f.rdOnly,l=f.blkVal,a=f.mrg,!(u=f.ref)&&ne(u)&&(u=!!a),fr(t,e,f)):r,r=(l&&t.blkVal(e,n),!0),l=e[n];!l&&D(l)||(s=l,r=!1,i&&s!==f&&!i(s)&&(s=f,r=!0),o&&(r=(s=o(s,f,e))===f)),r?s=f&&function d(t,r,e){var i,n=e;return(n=e&&sr(e)?fr(t,r,e):n)&&(sr(n)&&(n=d(t,r,n)),w(n)?(i=[])[k]=n[k]:Tn(n)&&(i={}),i&&(N(n,function(e,n){n&&sr(n)&&(n=d(t,r,n)),i[e]=n}),n=i)),n}(t,e,f):(Tn(s)||w(f))&&a&&f&&(Tn(f)||w(f))&&N(f,function(e,n){lr(t,s,e,n)}),t.set(e,n,s),u&&t.ref(e,n),c&&t.rdOnly(e,n)}var dr=dn("[[ai_dynCfg_1]]"),vr=dn("[[ai_blkDynCfg_1]]"),pr=dn("[[ai_frcDynCfg_1]]");function gr(e,n,t){var r=!1;return!t||e[n.blkVal]||(r=t[pr])||t[vr]?r:Tn(t)||w(t)}function mr(e){se("InvalidAccess:"+e)}var hr=["push","pop","shift","unshift","splice"],yr=function(e,n,t,r){e&&e[Mn](3,108,"".concat(t," [").concat(n,"] failed - ")+C(r))};function Ir(e,n){e=ge(e,n);return e&&e.get}function br(i,o,a,u){var c={n:a,h:[],trk:function(e){e&&e.fn&&(-1===pn(c.h,e)&&c.h[E](e),i.trk(e,c))},clr:function(e){e=pn(c.h,e);-1!==e&&c.h[Un](e,1)}},s=!0,f=!1;function l(){s&&(f=f||gr(l,i,u),u&&!u[dr]&&f&&(u=Cr(i,u,a,"Converting")),s=!1);var e=i.act;return e&&c.trk(e),u}l[i.prop]={chng:function(){i.add(c)}},T(o,c.n,{g:l,s:function(n){if(u!==n){l[i.ro]&&!i.upd&&mr("["+a+"] is read-only:"+C(o)),s&&(f=f||gr(l,i,u),s=!1);var e,t=f&&l[i.rf];if(f)if(t){N(u,function(e){u[e]=n?n[e]:Pt});try{N(n,function(e,n){Sr(i,u,e,n)}),n=u}catch(r){yr((i.hdlr||{})[Vn],a,"Assigning",r),f=!1}}else u&&u[dr]&&N(u,function(e){var e=Ir(u,e);e&&(e=e[i.prop])&&e.chng()});n!==u&&(e=n&&gr(l,i,n),!t&&e&&(n=Cr(i,n,a,"Converting")),u=n,f=e),i.add(c)}}})}function Sr(e,n,t,r){var i;return n&&((i=Ir(n,t))&&i[e.prop]?n[t]=r:br(e,n,t,r)),n}function wr(e,n,t,r){if(n){var i=Ir(n,t),o=i&&!!i[e.prop],a=r&&r[0],u=r&&r[1],r=r&&r[2];if(!o){if(r)try{var c=n;if(c&&(Tn(c)||w(c)))try{c[vr]=!0}catch(s){}}catch(f){yr((e.hdlr||{})[Vn],t,"Blocking",f)}try{Sr(e,n,t,n[t]),i=Ir(n,t)}catch(f){yr((e.hdlr||{})[Vn],t,"State",f)}}a&&(i[e.rf]=a),u&&(i[e.ro]=u),r&&(i[e.blkVal]=!0)}return n}function Cr(t,r,e,n){try{N(r,function(e,n){Sr(t,r,e,n)}),r[dr]||(Ie(r,dr,{get:function(){return t.hdlr}}),i=t,a=e,w(o=r)&&x(hr,function(e){var r=o[e];o[e]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=r[Rn](this,e);return Cr(i,o,a,"Patching"),t}}))}catch(u){yr((t.hdlr||{})[Vn],e,n,u)}var i,o,a;return r}var Tr="[[ai_",Dr="]]";function Nr(o){var a,e=ln(Tr+"get"+o.uid+Dr),n=ln(Tr+"ro"+o.uid+Dr),t=ln(Tr+"rf"+o.uid+Dr),r=ln(Tr+"blkVal"+o.uid+Dr),d=ln(Tr+"dtl"+o.uid+Dr),v=null,p=null;function g(n,e){var t=a.act;try{(a.act=n)&&n[d]&&(x(n[d],function(e){e.clr(n)}),n[d]=[]),e({cfg:o.cfg,set:o.set.bind(o),setDf:o.setDf.bind(o),ref:o.ref.bind(o),rdOnly:o.rdOnly.bind(o)})}catch(i){var r=o[Vn];throw r&&r[Mn](1,107,C(i)),i}finally{a.act=t||null}}function m(){if(v){var t,e=v,r=(v=null,p&&p.cancel(),p=null,[]);if(x(e,function(n){if(n&&(n[d]&&(x(n[d],function(e){e.clr(n)}),n[d]=null),n.fn))try{g(n,n.fn)}catch(e){r[E](e)}}),v)try{m()}catch(l){r[E](l)}if(0<r[k])throw e=r,An=An||(c=(u=Error)[I][H],s=Error.captureStackTrace,f=u,S(T,[a=function(){var e=this,n=arguments;try{S(hn,[u,i]);var t,r=vn(u,e,Y[b](n))||e;return r!==e&&(t=xe(e))!==xe(r)&&Fe(r,t),s&&s(r,e[q]),o(r,n),r}finally{S(hn,[u,c])}},H,{v:i="AggregationError",c:!0,e:!(o=function(e,n){1<n[k]&&(e.errors=n[1])})}]),(a=Fe(a,f))[I]=f===y?qe(f):(n[I]=f[I],new n),a),t="Watcher error(s): ",x(e,function(e,n){t+="\n".concat(n," > ").concat(C(e))}),new An(t,e||[])}function n(){this[q]=a,S(T,[this,H,{v:"AggregationError",c:!0,e:!1}])}var i,o,a,u,c,s,f}return a={prop:e,ro:n,rf:t,blkVal:r,hdlr:o,add:function(e){if(e&&0<e.h[k]){v=v||[],p=p||function(){return c=h,s=Y[b](arguments),l=(f=w(c))?c.length:0,d=(0<l?c[0]:f?h:c)||setTimeout,v=(1<l?c[1]:h)||clearTimeout,p=s[0],s[0]=function(){g.dn(),vn(p,h,Y[b](arguments))},i=function(e){vn(v,h,[e])},a=!0,u=(r=function(e){if(e){if(e.refresh)return e.refresh(),e;vn(v,h,[e])}return vn(d,h,s)})(y),(o={cancel:n,refresh:t,hasRef:function(){return u&&u.hasRef?u.hasRef():a},ref:function(){return a=!0,u&&u.ref&&u.ref(),o}})[En]=e,(g={h:o=Ie(o,"enabled",{get:function(){return!!u},set:function(e){!e&&u&&n(),e&&!u&&t()}}),dn:function(){u=y}}).h;function e(){return a=!1,u&&u[En]&&u[En](),o}function n(){u&&i(u),u=y}function t(){return u=r(u),a||e(),o}var r,i,o,a,u,c,s,f,l,d,v,p,g}(function(){p=null,m()},0);for(var n=0;n<e.h[k];n++){var t=e.h[n];t&&-1===pn(v,t)&&v[E](t)}}},notify:m,use:g,trk:function(e,n){e&&(e=e[d]=e[d]||[],-1===pn(e,n)&&e[E](n))}}}function xr(i,n,e){var t=function(){if(n){var e=n[dr]||n;if(e.cfg&&(e.cfg===n||e.cfg[dr]===e))return e}return null}();if(t)return t;var o,t=cr("dyncfg",!0),e=n&&!1!==e?n:function a(e){var t;return e&&(w(e)?(t=[])[k]=e[k]:Tn(e)&&(t={}),t)?(N(e,function(e,n){t[e]=a(n)}),t):e}(n),r={uid:null,cfg:e,logger:i,notify:function(){o.notify()},set:function(e,n,t){try{e=Sr(o,e,n,t)}catch(r){yr(i,n,"Setting value",r)}return e[n]},setDf:function(t,e){return e&&N(e,function(e,n){lr(r,t,e,n)}),t},watch:function(e){return n=o,T(r={fn:t=e,rm:function(){r.fn=null,t=n=null}},"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),n.use(r,t),r;var n,t,r},ref:function(e,n){return wr(o,e,n,((e={})[0]=!0,e))[n]},rdOnly:function(e,n){return wr(o,e,n,((e={})[1]=!0,e))[n]},blkVal:function(e,n){return wr(o,e,n,((e={})[2]=!0,e))[n]},_block:function(t,r){o.use(null,function(e){var n=o.upd;try{ne(r)||(o.upd=r),t(e)}finally{o.upd=n}})}};return T(r,"uid",{c:!1,e:!1,w:!1,v:t}),Cr(o=Nr(r),e,"config","Creating"),r}function _r(e,n,t,r){t=xr(t,e||{},r);return n&&t.setDf(t.cfg,n),t}function kr(e,n,t){var r,i,o=e[dr]||e;return!o.cfg||o.cfg!==e&&o.cfg[dr]!==o?(r=t,i=Ot+C(e),r?(r[On](i),r[Mn](2,108,i)):mr(i),_r(e,null,t)[Ln](n)):o[Ln](n)}var Er=null,Ar="warnToConsole",Pr={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},Or=((r={})[0]=null,r[1]="errorToConsole",r[2]=Ar,r[3]="debugToConsole",r);function Mr(e){return e?'"'+e[Gn](/\"/g,s)+'"':s}function Lr(e,n){var t,r=typeof console!==Xn?console:g(Bt);r&&(t="log",r[e]&&(t=e),ie(r[t])&&r[t](n))}Ur.dataType="MessageData";var Rr=Ur;function Ur(e,n,t,r){void 0===t&&(t=!1),this[qn]=e,this[Bn]=(t?"AI: ":"AI (Internal): ")+e;t=s,Jt()&&(t=Kt().stringify(r)),e=(n?" message:"+Mr(n):s)+(r?" props:"+Mr(t):s);this[Bn]+=e}Fr.__ieDyn=1;var Vr=Fr;function Fr(i){this.identifier="DiagnosticLogger",this.queue=[];var c,s,f,l,n,d=0,v={};At(Fr,this,function(o){function a(e,n){var t,r;f<=d||(r=!0,t="AITR_"+n[qn],v[t]?r=!1:v[t]=!0,r&&(e<=s&&(o.queue[E](n),d++,u(1===e?"error":"warn",n)),d===f&&(r=new Rr(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue[E](r),1===e?o.errorToConsole(t):o[On](t))))}function u(e,n){var t,r=(t=(t=Er)||!0===(i||{}).disableDbgExt?t:Er||(r=g("Microsoft"),Er=r?r.ApplicationInsights:Er))?t.ChromeDbgExt:null;r&&r[jn]&&r[jn](e,n)}n=kr(_r(i||{},Pr,o).cfg,function(e){e=e.cfg;c=e.loggingLevelConsole,s=e.loggingLevelTelemetry,f=e.maxMessageLimit,l=e.enableDebug}),o.consoleLoggingLevel=function(){return c},o[Mn]=function(e,n,t,r,i){n=new Rr(n,t,i=void 0!==i&&i,r);if(l)throw C(n);t=Or[e]||Ar;ne(n[Bn])?u("throw"+(1===e?"Critical":"Warning"),n):(i?(r=+n[qn],!v[r]&&e<=c&&(o[t](n[Bn]),v[r]=!0)):e<=c&&o[t](n[Bn]),a(e,n))},o.debugToConsole=function(e){Lr("debug",e),u("warning",e)},o[On]=function(e){Lr("warn",e),u("warning",e)},o.errorToConsole=function(e){Lr("error",e),u("error",e)},o.resetInternalMessageCount=function(){d=0,v={}},o.logInternalMessage=a,o.unload=function(e){n&&n.rm(),n=null}})}function A(e,n,t,r,i,o){void 0===o&&(o=!1),(e||new Vr)[Mn](n,t,r,i,o)}function zr(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=s,r=0;r<4;r++)t+=n[15&(e=rr())]+n[e>>4&15]+n[e>>8&15]+n[e>>12&15]+n[e>>16&15]+n[e>>20&15]+n[e>>24&15]+n[e>>28&15];var i=n[8+(3&rr())|0];return Re(t,0,8)+Re(t,9,4)+"4"+Re(t,13,3)+i+Re(t,16,3)+Re(t,19,12)}var qr=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]{1,64})?$/i,Br="00000000000000000000000000000000",jr="0000000000000000";function Hr(e,n,t){return!(!e||e[k]!==n||e===t||!e.match(/^[\da-f]*$/i))}function $r(e,n,t){return Hr(e,n)?e:t}function Gr(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[k]<2;)n="0"+n;return n}function Jr(e,n){if(!e)return null;if(!(e=w(e)?e[0]||"":e)||!f(e)||8192<e[k])return null;~e.indexOf(",")&&(e=(t=e[$n](","))[0<n&&t[k]>n?n:0]);var t=qr.exec(_(e));return t&&"ff"!==t[1]&&t[2]!==Br&&t[3]!==jr?{version:(t[1]||s)[Pn](),traceId:(t[2]||s)[Pn](),spanId:(t[3]||s)[Pn](),traceFlags:parseInt(t[4],16)}:null}function Kr(e){return Hr(e,32,Br)}function Wr(e){return Hr(e,16,jr)}function Yr(e){return!!(e&&Hr(e[zn],2,"ff")&&Hr(e.traceId,32,Br)&&Hr(e.spanId,16,jr)&&Hr(Gr(e[Wn]),2))}var Zr,Xr="on",Qr="attachEvent",ei="addEventListener",ni="detachEvent",ti="removeEventListener",ri="events",ii=(cr("aiEvtPageHide"),cr("aiEvtPageShow"),/\.[\.]+/g),oi=/[\.]+$/,ai=1,ui=Zr={id:cr("_aiData-events."+ir),accept:ur,get:function(e,n,t,r){var i=e[Zr.id];return i?i[Vt(n)]:(r&&((i=function(e,n){var t=n[e.id];if(!t){t={};try{ur(n)&&T(n,e.id,{e:!1,v:t})}catch(r){}}return t}(Zr,e))[Vt(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}},ci=/^([^.]*)(?:\.(.+)|)/;function si(e){return e&&e[Gn]?e[Gn](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,s):e}function fi(e,n){n&&(t=s,w(n)?(t=s,x(n,function(e){(e=si(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=si(n),t&&("."!==t[0]&&(t="."+t),e=(e||s)+t));var t,n=ci.exec(e||s)||[];return{type:n[1],ns:(n[2]||s).replace(ii,".").replace(oi,s)[$n](".").sort().join(".")}}function li(e,n,t){e=ui.get(e,ri,{},t=void 0===t||t);return e[n]||(e[n]=[])}function di(e,n,t,r){e&&n&&n[Jn]&&(e[ti]?e[ti](n[Jn],t,r):e[ni]&&e[ni](Xr+n[Jn],t))}function vi(e,n,t,r){for(var i=n[k];i--;){var o=n[i];!o||t.ns&&t.ns!==o[Kn].ns||r&&!r(o)||(di(e,o[Kn],o.handler,o.capture),n[Un](i,1))}}function pi(e,n,t,r,i){void 0===i&&(i=!1);var o,a=!1;if(e)try{var u,c=fi(n,r),s=c,f=t,l=i,d=!1;(o=e)&&s&&s[Jn]&&f&&(o[ei]?(o[ei](s[Jn],f,l),d=!0):o[Qr]&&(o[Qr](Xr+s[Jn],f),d=!0)),(a=d)&&ui.accept(e)&&(u={guid:ai++,evtName:c,handler:t,capture:i},li(e,c.type)[E](u))}catch(v){}return a}var gi,mi="https://dc.services.visualstudio.com",a="/v2/track",d="not_specified",hi="iKey",yi=(gi={},N({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Se(gi,e,n[1]),Se(gi,n[0],n[1])}),Ne(gi)),Ii="split",P="length",bi="toLowerCase",Si="ingestionendpoint",wi="toString",Ci="removeItem",Ti="message",Di="count",Ni="preTriggerDate",xi="getUTCDate",_i="stringify",ki="pathname",Ei="match",Ai="correlationHeaderExcludePatterns",m="name",Pi="extensionConfig",O="properties",Oi="measurements",Mi="sizeInBytes",Li="typeName",Ri="exceptions",Ui="severityLevel",Vi="problemGroup",Fi="parsedStack",zi="hasFullStack",qi="assembly",Bi="fileName",ji="line",Hi="aiDataContract",$i="duration";function Gi(e,n,t){var r=n[P],i=Ji(e,n);if(i[P]!==r){for(var o=0,a=i;t[a]!==undefined;)o++,a=Le(i,0,147)+no(o);i=a}return i}function Ji(e,n){var t;return n&&150<(n=_(l(n)))[P]&&(t=Le(n,0,150),A(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function M(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=_(l(n)))[P]>t&&(r=Le(n,0,t),A(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Ki(e,n){return eo(e,n,2048,66)}function Wi(e,n){var t;return n&&32768<n[P]&&(t=Le(n,0,32768),A(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n}function Yi(e,n){var t,r;return n&&32768<(r=""+n)[P]&&(t=Le(r,0,32768),A(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n}function Zi(r,e){var i;return e&&(i={},N(e,function(e,n){if(oe(n)&&Jt())try{n=Kt()[_i](n)}catch(t){A(r,2,49,"custom property is not valid",{exception:t},!0)}n=M(r,n,8192),e=Gi(r,e,i),i[e]=n}),e=i),e}function Xi(t,e){var r;return e&&(r={},N(e,function(e,n){e=Gi(t,e,r),r[e]=n}),e=r),e}function Qi(e,n){return n&&eo(e,n,128,69)[wi]()}function eo(e,n,t,r){var i;return n&&(n=_(l(n)))[P]>t&&(i=Le(n,0,t),A(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}function no(e){e="00"+e;return Re(e,e[P]-3)}var to=an()||{},ro=0,io=[null,null,null,null,null];function oo(e){var n=ro,t=io,r=t[n];return to.createElement?t[n]||(r=t[n]=to.createElement("a")):r={host:ao(e,!0)},r.href=e,++n>=t[P]&&(n=0),ro=n,r}function ao(e,n){e=uo(e,n)||"";if(e){n=e[Ei](/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[P]&&f(n[2])&&0<n[2][P])return n[2]+(n[3]||"")}return e}function uo(e,n){var t=null;return e&&null!=(e=e[Ei](/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[P]&&f(e[2])&&0<e[2][P]&&(t=e[2]||"",n&&2<e[P]&&(n=(e[1]||"")[bi](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var co=[mi+a,"https://breeze.aimon.applicationinsights.io"+a,"https://dc-int.services.visualstudio.com"+a],so="cid-v1:";function fo(e,n){if(e)for(var t=e[Ii](","),r=0;r<t[P];++r){var i=t[r][Ii]("=");if(2===i[P]&&i[0]===n)return i[1]}}var lo=u({LocalStorage:0,SessionStorage:1}),W=u({AI:0,AI_AND_W3C:1,W3C:2}),r=u({Normal:1,Critical:2}),vo=undefined,po=undefined,go="";function mo(){return Io()?ho(lo.LocalStorage):null}function ho(e){try{if(D(tn()))return null;var n=(new Date)[wi](),t=g(e===lo.LocalStorage?"localStorage":"sessionStorage"),r=go+n,i=(t.setItem(r,n),t.getItem(r)!==n);if(t[Ci](r),!i)return t}catch(o){}return null}function yo(){return wo()?ho(lo.SessionStorage):null}function Io(e){return vo=e||vo===undefined?!!ho(lo.LocalStorage):vo}function bo(e,n){var t=mo();if(null!==t)try{return t.getItem(n)}catch(r){vo=!1,A(e,2,1,"Browser failed read of local storage. "+qt(r),{exception:C(r)})}return null}function So(e,n,t){var r=mo();if(null!==r)try{return r.setItem(n,t),!0}catch(i){vo=!1,A(e,2,3,"Browser failed write to local storage. "+qt(i),{exception:C(i)})}return!1}function wo(e){return po=e||po===undefined?!!ho(lo.SessionStorage):po}function Co(e){if(!e)return{};var n,e=e[Ii](";"),e=mn(e,function(e,n){var t,n=n[Ii]("=");return 2===n[P]&&(t=n[0][bi](),n=n[1],e[t]=n),e},{});return 0<De(e)[P]&&(e.endpointsuffix&&(n=e.location?e.location+".":"",e[Si]=e[Si]||"https://"+n+"dc."+e.endpointsuffix),e[Si]=e[Si]||mi,xn(e[Si],"/")&&(e[Si]=e[Si].slice(0,-1))),e}var To={parse:Co},Do=(No.envelopeType="Microsoft.ApplicationInsights.{0}.Event",No.dataType="EventData",No);function No(e,n,t,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0},this.ver=2,this[m]=M(e,n)||d,this[O]=Zi(e,t),this[Oi]=Xi(e,r)}var xo=/^\s{0,50}(from\s|at\s|Line\s{1,5}\d{1,10}\s{1,5}of|\w{1,50}@\w{1,80}|[^\(\s\n]+:[0-9\?]+(?::[0-9\?]+)?)/,_o=/([^\(\s\n]+):([0-9]+):([0-9]+)$/,ko=/([^\(\s\n]+):([0-9]+)$/,Eo="<no_method>",Ao="error",v="stack",Po="stackDetails",Oo="errorSrc",Mo="message",Lo="description",Ro=[{re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+):([0-9\?]+)\)?$/,len:5,m:1,fn:2,ln:3,col:4},{chk:function(e){return kn(e,"[native")<0},pre:function(e){return e.replace(/(\(anonymous\))/,"<anonymous>")},re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+)\)?$/,len:4,m:1,fn:2,ln:3},{re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\)\]]+)\)?$/,len:3,m:1,fn:2,hdl:Yo},{re:/(?:^|\(|\s{0,10}[\w\)]+\@)?([^\(\n\s\]\)]+)(?:\:([0-9]+)(?:\:([0-9]+))?)?\)?(?:,|$)/,len:2,fn:1,hdl:Yo}];function Uo(e,n){var t=e;return t&&!f(t)&&(JSON&&JSON[_i]?(t=JSON[_i](e),!n||t&&"{}"!==t||(t=ie(e[wi])?e[wi]():""+e)):t=e+" - (Missing JSON.stringify)"),t||""}function Vo(e,n){var t=e;return e&&((t=t&&!f(t)&&(e[Mo]||e[Lo])||t)&&!f(t)&&(t=Uo(t,!0)),e.filename&&(t=t+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(n&&"String"!==n&&"Object"!==n&&"Error"!==n&&-1===kn(t||"",n)?n+": "+t:t)||""}function Fo(e){return e&&e.src&&f(e.src)&&e.obj&&w(e.obj)}function zo(e){var e=e||"",n=(e=f(e)?e:f(e[v])?e[v]:""+e)[Ii]("\n");return{src:e,obj:n}}function qo(e){var n,t=null;if(e)try{e[v]?t=zo(e[v]):e[Ao]&&e[Ao][v]?t=zo(e[Ao][v]):e.exception&&e.exception[v]?t=zo(e.exception[v]):Fo(e)?t=e:Fo(e[Po])?t=e[Po]:un()&&un().opera&&e[Mo]?t=function(e){for(var n=[],t=e[Ii]("\n"),r=0;r<t[P];r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),n.push(i)}return{src:e,obj:n}}(e[Ti]):e.reason&&e.reason[v]?t=zo(e.reason[v]):f(e)?t=zo(e):(n=e[Mo]||e[Lo]||"",f(e[Oo])&&(n&&(n+="\n"),n+=" from "+e[Oo]),n&&(t=zo(n)))}catch(r){t=zo(r)}return t||{src:"",obj:null}}function Bo(e){var n="";if(e&&!(n=e.typeName||e[m]||""))try{var t=/function (.{1,200})\(/.exec(e.constructor[wi]()),n=t&&1<t[P]?t[1]:""}catch(r){}return n}function jo(e){if(e)try{var n,t;if(!f(e))return n=Bo(e),(t=Uo(e,!1))&&"{}"!==t||(e[Ao]&&(n=Bo(e=e[Ao])),t=Uo(e,!0)),0!==kn(t,n)&&"String"!==n?n+":"+t:t}catch(r){}return""+(e||"")}$o.CreateAutoException=function(e,n,t,r,i,o,a,u){var c=Bo(i||o||e);return{message:Vo(e,c),url:n,lineNumber:t,columnNumber:r,error:jo(i||o||e),evt:jo(o||e),typeName:c,stackDetails:qo(a||i||o),errorSrc:u}},$o.CreateFromInterface=function(r,e,n,t){var i=e[Ri]&&gn(e[Ri],function(e){return n=r,t=w((e=e)[Fi])&&gn(e[Fi],function(e){return e=e,(n={})[Hi]=Zo,n.level=e.level,n.method=e.method,n.assembly=e[qi],n.fileName=e[Bi],n.line=e[ji],n.sizeInBytes=0,Xo(n);var n})||e[Fi],Ko(n,tt(tt({},e),{parsedStack:t}));var n,t});return new $o(r,tt(tt({},e),{exceptions:i}),n,t)},$o.prototype.toInterface=function(){var e=this,n=e.exceptions,t=e.properties,r=e.measurements,i=e.severityLevel,o=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:n instanceof Array&&gn(n,function(e){return e.toInterface()})||undefined,severityLevel:i,properties:t,measurements:r,problemGroup:o,id:a,isManual:e}},$o.CreateSimpleException=function(e,n,t,r,i,o){var a;return{exceptions:[((a={})[zi]=!0,a.message=e,a.stack=i,a.typeName=n,a)]}},$o.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",$o.dataType="ExceptionData",$o.formatError=jo;var Ho=$o;function $o(e,n,t,r,i,o){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,function(e){try{if(oe(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(n){}}(n)?(a[Ri]=n[Ri]||[],a[O]=n[O],a[Oi]=n[Oi],n[Ui]&&(a[Ui]=n[Ui]),n.id&&(a.id=n.id,n[O].id=n.id),n[Vi]&&(a[Vi]=n[Vi]),D(n.isManual)||(a.isManual=n.isManual)):(t=t||{},o&&(t.id=o),a[Ri]=[Ko(e,n,t)],a[O]=Zi(e,t),a[Oi]=Xi(e,r),i&&(a[Ui]=i),o&&(a.id=o))}var Go=Ne({id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2});function Jo(){var e=this,n=w(e[Fi])&&gn(e[Fi],function(e){return{level:e.level,method:e.method,assembly:e[qi],fileName:e[Bi],line:e[ji]}});return{id:e.id,outerId:e.outerId,typeName:e[Li],message:e[Ti],hasFullStack:e[zi],stack:e[v],parsedStack:n||undefined}}function Ko(n,e,t){var r,i,o,a,u,c,s;return function(e){try{if(oe(e))return"hasFullStack"in e&&"typeName"in e}catch(n){}}(e)?(r=e[Li],i=e[Ti],a=e[v],c=e[Fi]||[],o=e[zi]):(u=(s=e)&&s.evt,ue(s)||(s=s[Ao]||u||s),r=M(n,Bo(s))||d,i=Wi(n,Vo(e||s,r))||d,c=function(e){if((e=e.obj)&&0<e[P]){var r=[],i=0,o=!1,a=0;if(x(e,function(e){var n,t;(o||(t=!1,t=(n=e)&&f(n)&&(n=_(n))?xo.test(n):t))&&(n=l(e),o=!0,(t=function(e,n){var t;if(e&&f(e)&&_(e)){(t={})[Hi]=Zo,t.level=n,t.assembly=_(e),t.method=Eo,t.fileName="",t.line=0,t.sizeInBytes=0;for(var r=t,i=0;i<Ro[P];){var o=Ro[i];if(o.chk&&!o.chk(e))break;var a=(e=o.pre?o.pre(e):e)[Ei](o.re);if(a&&a[P]>=o.len){o.m&&(r.method=_(a[o.m]||Eo)),o.hdl?o.hdl(r,o,a):o.fn&&(o.ln?(r[Bi]=_(a[o.fn]||""),r[ji]=parseInt(_(a[o.ln]||""))||0):Wo(r,a[o.fn]||""));break}i++}}return Xo(r)}(n,i))&&(a+=t[Mi],r.push(t),i++))}),32768<a)for(var n=0,t=r[P]-1,u=0,c=n,s=t;n<t;){if(32768<(u+=r[n][Mi]+r[t][Mi])){r.splice(c,s-c+1);break}c=n,s=t,n++,t--}}return r}(u=e[Po]||qo(e)),w(c)&&gn(c,function(e){e[qi]=M(n,e[qi]),e[Bi]=M(n,e[Bi])}),a=Yi(n,(s="",s=(e=u)?e.obj?e.obj.join("\n"):e.src||"":s)),o=w(c)&&0<c[P],t&&(t[Li]=t[Li]||r)),(u={})[Hi]=Go,u.id=void 0,u.outerId=void 0,u.typeName=r,u.message=i,u[zi]=o,u.stack=a,u.parsedStack=c,u.toInterface=Jo,u}function Wo(e,n){var t=n[Ei](_o);t&&4<=t[P]?(e[Bi]=t[1],e[ji]=parseInt(t[2])):(t=n[Ei](ko))&&3<=t[P]?(e[Bi]=t[1],e[ji]=parseInt(t[2])):e[Bi]=n}function Yo(e,n,t){var r=e[Bi];n.fn&&t&&t[P]>n.fn&&(n.ln&&t[P]>n.ln?(r=_(t[n.fn]||""),e[ji]=parseInt(_(t[n.ln]||""))||0):r=_(t[n.fn]||"")),r&&Wo(e,r)}var Zo=Ne({level:1,method:1,assembly:0,fileName:0,line:0});function Xo(e){var n=58;return e&&(n=(n+=e.method[P])+e.assembly[P]+e.fileName[P]+e.level.toString()[P]+e.line.toString()[P],e[Mi]=n),e}var Qo=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},ea=(na.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",na.dataType="MetricData",na);function na(e,n,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var s=new Qo;s[Di]=0<r?r:undefined,s.max=isNaN(o)||null===o?undefined:o,s.min=isNaN(i)||null===i?undefined:i,s[m]=M(e,n)||d,s.value=t,s.stdDev=isNaN(a)||null===a?undefined:a,this.metrics=[s],this[O]=Zi(e,u),this[Oi]=Xi(e,c)}var ta="";function ra(e){e=Nn(e=isNaN(e)||e<0?0:e);var n=ta+e%1e3,t=ta+Cn(e/1e3)%60,r=ta+Cn(e/6e4)%60,i=ta+Cn(e/36e5)%24,e=Cn(e/864e5),n=1===n[P]?"00"+n:2===n[P]?"0"+n:n,t=t[P]<2?"0"+t:t,r=r[P]<2?"0"+r:r,i=i[P]<2?"0"+i:i;return(0<e?e+".":ta)+i+":"+r+":"+t+"."+n}oa.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",oa.dataType="PageviewData";var ia=oa;function oa(e,n,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=Qi(e,a),u.url=Ki(e,t),u[m]=M(e,n)||d,isNaN(r)||(u[$i]=ra(r)),u[O]=Zi(e,i),u[Oi]=Xi(e,o)}ua.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",ua.dataType="RemoteDependencyData";var aa=ua;function ua(e,n,t,r,i,o,a,u,c,s,f,l){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 d,v,p=this,t=(p.ver=2,p.id=n,p[$i]=ra(i),p.success=o,p.resultCode=a+"",p.type=M(e,c),n=e,i=u,c=a=o=r,a=(u=t)&&0<u[P]?(v=(t=oo(u)).host,a||(null!=t[ki]?("/"!=((d=0===t.pathname[P]?"/":t[ki])[0]||"")&&(d="/"+d),c=t[ki],M(n,i?i+" "+d:d)):M(n,u))):v=o,{target:v,name:a,data:c});p.data=Ki(e,r)||t.data,p.target=M(e,t.target),s&&(p.target="".concat(p.target," | ").concat(s)),p[m]=M(e,t[m]),p[O]=Zi(e,f),p[Oi]=Xi(e,l)}sa.envelopeType="Microsoft.ApplicationInsights.{0}.Message",sa.dataType="MessageData";var ca=sa;function sa(e,n,t,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var o=this;o.ver=2,o[Ti]=Wi(e,n=n||d),o[O]=Zi(e,r),o[Oi]=Xi(e,i),t&&(o[Ui]=t)}la.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",la.dataType="PageviewPerformanceData";var fa=la;function la(e,n,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=Ki(e,t),u[m]=M(e,n)||d,u[O]=Zi(e,i),u[Oi]=Xi(e,o),a&&(u.domProcessing=a.domProcessing,u[$i]=a[$i],u.networkConnect=a.networkConnect,u.perfTotal=a.perfTotal,u.receivedResponse=a.receivedResponse,u.sentRequest=a.sentRequest)}var u=u({Verbose:0,Information:1,Warning:2,Error:3,Critical:4}),da=(va.getConfig=function(e,n,t,r){return void 0===r&&(r=!1),t=(t&&e[Pi]&&e[Pi][t]&&!D(e[Pi][t][n])?e[Pi][t]:e)[n],D(t)?r:t},va);function va(){}function pa(e){var n="ai."+e+".";return function(e){return n+e}}var ga,ma,ha,ya=pa("application"),L=pa("device"),Ia=pa("location"),ba=pa("operation"),Sa=pa("session"),wa=pa("user"),Ca=pa("cloud"),Ta=pa("internal"),L=(ha={applicationVersion:ya("ver"),applicationBuild:ya("build"),applicationTypeId:ya("typeId"),applicationId:ya("applicationId"),applicationLayer:ya("layer"),deviceId:L("id"),deviceIp:L("ip"),deviceLanguage:L("language"),deviceLocale:L("locale"),deviceModel:L("model"),deviceFriendlyName:L("friendlyName"),deviceNetwork:L("network"),deviceNetworkName:L("networkName"),deviceOEMName:L("oemName"),deviceOS:L("os"),deviceOSVersion:L("osVersion"),deviceRoleInstance:L("roleInstance"),deviceRoleName:L("roleName"),deviceScreenResolution:L("screenResolution"),deviceType:L("type"),deviceMachineName:L("machineName"),deviceVMName:L("vmName"),deviceBrowser:L("browser"),deviceBrowserVersion:L("browserVersion"),locationIp:Ia("ip"),locationCountry:Ia("country"),locationProvince:Ia("province"),locationCity:Ia("city"),operationId:ba("id"),operationName:ba("name"),operationParentId:ba("parentId"),operationRootId:ba("rootId"),operationSyntheticSource:ba("syntheticSource"),operationCorrelationVector:ba("correlationVector"),sessionId:Sa("id"),sessionIsFirst:Sa("isFirst"),sessionIsNew:Sa("isNew"),userAccountAcquisitionDate:wa("accountAcquisitionDate"),userAccountId:wa("accountId"),userAgent:wa("userAgent"),userId:wa("id"),userStoreRegion:wa("storeRegion"),userAuthUserId:wa("authUserId"),userAnonymousUserAcquisitionDate:wa("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:wa("authUserAcquisitionDate"),cloudName:Ca("name"),cloudRole:Ca("role"),cloudRoleVer:Ca("roleVer"),cloudRoleInstance:Ca("roleInstance"),cloudEnvironment:Ca("environment"),cloudLocation:Ca("location"),cloudDeploymentUnit:Ca("deploymentUnit"),internalNodeName:Ta("nodeName"),internalSdkVersion:Ta("sdkVersion"),internalAgentVersion:Ta("agentVersion"),internalSnippet:Ta("snippet"),internalSdkSrc:Ta("sdkSrc")},ya=ga=function(){var t=this;N(ha,function(e,n){t[e]=n})},rt(ma=Na,ya),ma[o]=(Da[o]=ya[o],new Da),Na);function Da(){this.constructor=ma}function Na(){return ga.call(this)||this}function xa(e,n,t,r,i,o){if(t=M(r,t)||d,D(e)||D(n)||D(t))throw Error("Input doesn't contain all required fields");var r="",a=(e[hi]&&(r=e[hi],delete e[hi]),{name:t,time:zt(new Date),iKey:r,ext:o||{},tags:[],data:{},baseType:n,baseData:e});return D(i)||N(i,function(e,n){a.data[e]=n}),a}_a.create=xa;Ia=_a;function _a(){}ba=new L;function ka(e,n){var t,r,i=void 0;if(void 0===i&&(i=!1),e)try{var o=fi(null,n),a=!1,u=e,c=function(e){return!(!o.ns&&null!==e.handler)&&(a=!0)};(t=o)[Jn]?vi(u,li(u,t[Jn]),t,c):(N(r=ui.get(u,ri,{}),function(e,n){vi(u,n,t,c)}),0===De(r)[k]&&ui.kill(u,ri)),a||di(e,o,null,i)}catch(s){}}e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=da,e.ConnectionStringParser=To,e.ContextTagKeys=L,e.CtxTagKeys=ba,e.DEFAULT_BREEZE_ENDPOINT=mi,e.DEFAULT_BREEZE_PATH=a,e.Data=function(e,n){this.aiDataContract={baseType:1,baseData:1},this.baseType=e,this.baseData=n},e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.DistributedTracingModes=W,e.Envelope=function(e,n,t){var r=this,i=this;i.ver=1,i.sampleRate=100,i.tags={},i[m]=M(e,t)||d,i.data=n,i.time=zt(new Date),i[Hi]={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1}},e.Event=Do,e.EventPersistence=r,e.Exception=Ho,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=ea,e.PageView=ia,e.PageViewPerformance=fa,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=aa,e.RequestHeaders=yi,e.SampleRate="sampleRate",e.SeverityLevel=u,e.TelemetryItemCreator=Ia,e.ThrottleMgr=function(e,n){var v,p,d,i,g,o,a,t=this,m=!1,h=!1;function u(e,n,t,r){if(m){if(!function(e){try{var n=y(e);return Cn(rr()/Zt*(1e6+1))>>>0<=n.limit.samplingRate}catch(t){}}(e))return;var i=y(e),o=w(e),a=I(i,v,o),u=!1,c=0,s=C(e);try{a&&!s?(c=Pe(i.limit.maxSendNumber,o[Di]+1),u=!(o[Di]=0),g[e]=!0,o[Ni]=new Date):(g[e]=a,o[Di]+=1);var f=b(e);S(p,f,o);for(var l=0;l<c;l++)A(p,t||1,e,n)}catch(d){}return{isThrottled:u,throttleNum:c}}return r&&T(e).push({msgID:e,message:n,severity:t}),null}function y(e){return d[e]||d[109]}function r(e,n){var t,r,i,o,a;try{var u=n||{},c={},s=(c.disabled=!!u.disabled,u.interval||{}),f=(h=(null===s?void 0:s.daysOfMonth)&&0<(null===s?void 0:s.daysOfMonth[P]),c.interval=(o=null==(i=s||{})?void 0:i.monthInterval,a=null==i?void 0:i.dayInterval,D(o)&&D(a)&&(i.monthInterval=3,h||(i.daysOfMonth=[28],h=!0)),{monthInterval:null==i?void 0:i.monthInterval,dayInterval:null==i?void 0:i.dayInterval,daysOfMonth:null==i?void 0:i.daysOfMonth}),{samplingRate:(null==(t=u.limit)?void 0:t.samplingRate)||100,maxSendNumber:(null==(r=u.limit)?void 0:r.maxSendNumber)||1});c.limit=f,d[e]=c}catch(l){}}function I(e,n,t){var r,i;return!(!e||e.disabled||!n||!Ut(t))&&(n=c(),t=t.date,r=1,null!=(e=e.interval)&&e.monthInterval&&(i=12*(n.getUTCFullYear()-t.getUTCFullYear())+n.getUTCMonth()-t.getUTCMonth(),r=s(e.monthInterval,0,i)),i=1,h?i=pn(e.daysOfMonth,n[xi]()):null!=e&&e.dayInterval&&(n=Cn((n.getTime()-t.getTime())/864e5),i=s(e.dayInterval,0,n)),0<=r&&0<=i)}function b(e,n){n=Ut(n)?n:"";return e?"appInsightsThrottle"+n+"-"+e:null}function c(e){try{if(!e)return new Date;var n=new Date(e);if(!isNaN(n.getDate()))return n}catch(t){}return null}function S(e,n,t){try{So(e,n,_(JSON[_i](t)))}catch(r){}}function s(e,n,t){return e<=0?1:n<=t&&(t-n)%e==0?Cn((t-n)/e)+1:-1}function w(e){try{var n,t;return i[e]||(n=b(e,o),t=function(e,n,t){try{var r,i={date:c(),count:0};return e?{date:c((r=JSON.parse(e)).date)||i.date,count:r[Di]||i[Di],preTriggerDate:r.preTriggerDate?c(r[Ni]):undefined}:(S(n,t,i),i)}catch(o){}return null}(bo(p,n),p,n),i[e]=t),i[e]}catch(r){}return null}function C(e){var n,t=g[e];return D(t)&&(t=!1,(n=w(e))&&(t=function(e){try{var n;if(e)return n=new Date,e.getUTCFullYear()==n.getUTCFullYear()&&e.getUTCMonth()==n.getUTCMonth()&&e[xi]()===n[xi]()}catch(t){}return!1}(n[Ni])),g[e]=t),g[e]}function T(e){return D((a=a||{})[e])&&(a[e]=[]),a[e]}p=(e||{})[Vn]||new Vr(void 0),g={},i={},a={},d={},r(109),o=Ut(n)?n:"",e.addUnloadHook(kr(e.config,function(e){e=e.cfg;v=Io(),N(e.throttleMgrCfg||{},function(e,n){r(parseInt(e),n)})})),t._getDbgPlgTargets=function(){return[a]},t.getConfig=function(){return d},t.canThrottle=function(e){var n=w(e);return I(y(e),v,n)},t.isTriggered=C,t.isReady=function(){return m},t.flush=function(e){try{var n,t=T(e);if(t&&0<t[P])return n=t.slice(0),a[e]=[],x(n,function(e){u(e.msgID,e[Ti],e.severity,!1)}),!0}catch(r){}return!1},t.flushAll=function(){try{var n;if(a)return n=!0,N(a,function(e){e=t.flush(parseInt(e));n=n&&e}),n}catch(e){}return!1},t.onReadyState=function(e,n){return void 0===n&&(n=!0),(m=!!D(e)||e)&&n?t.flushAll():null},t.sendMessage=function(e,n,t){return u(e,n,t,!0)}},e.Trace=ca,e.correlationIdCanIncludeCorrelationHeader=function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[Ai])for(var r=0;r<e.correlationHeaderExcludePatterns[P];r++)if(e[Ai][r].test(n))return!1;var i=oo(n).host[bi]();if(!i||-1===kn(i,":443")&&-1===kn(i,":80")||(i=(uo(n,!0)||"")[bi]()),(!e||!e.enableCorsCorrelation)&&i&&i!==t)return!1;var o,t=e&&e.correlationHeaderDomains;if(t&&(x(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));o=o||e.test(i)}),!o))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[P])return!0;for(r=0;r<a[P];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(i))return!1;return i&&0<i[P]},e.correlationIdGetCorrelationContext=function(e){if(e){e=fo(e,yi[1]);if(e&&e!==so)return e}},e.correlationIdGetCorrelationContextValue=fo,e.correlationIdGetPrefix=function(){return so},e.correlationIdSetPrefix=function(e){so=e},e.createDistributedTraceContextFromTrace=function(e,n){var t=e||{};return{getName:function(){return t[m]},setName:function(e){n&&n.setName(e),t[m]=e},getTraceId:function(){return t.traceID},setTraceId:function(e){n&&n.setTraceId(e),Kr(e)&&(t.traceID=e)},getSpanId:function(){return t.parentID},setSpanId:function(e){n&&n.setSpanId(e),Wr(e)&&(t.parentID=e)},getTraceFlags:function(){return t.traceFlags},setTraceFlags:function(e){n&&n.setTraceFlags(e),t.traceFlags=e}}},e.createDomEvent=function(e){var n,t=null;return ie(Event)?t=new Event(e):(n=an())&&n.createEvent&&(t=n.createEvent("Event")).initEvent(e,!0,!0),t},e.createOfflineListener=function(e){var n,t=an(),r=cn(),i=!1,o=[],a=1,u=(!r||D(r.onLine)||r.onLine||(a=2),0),c=l(),s=(r=cr("OfflineListener"),(e=e)?fi("xx",w(e)?[r].concat(e):[r,e]).ns[$n]("."):r);try{f(un())&&(i=!0),t&&(n=t.body||t).ononline&&f(n)&&(i=!0)}catch(g){i=!1}function f(e){var n=!1;return e&&(n=pi(e,"online",v,s))&&pi(e,"offline",p,s),n}function l(){return 2!==u&&2!==a}function d(){var e=l();c!==e&&(c=e,x(o,function(e){var n={isOnline:c,rState:a,uState:u};try{e(n)}catch(g){}}))}function v(){a=1,d()}function p(){a=2,d()}return{isOnline:function(){return c},isListening:function(){return i},unload:function(){var e=un();e&&i&&(ka(e,s),t&&!ne((e=t.body||t).ononline)&&ka(e,s),i=!1)},addListener:function(n){return o.push(n),{rm:function(){var e=o.indexOf(n);if(-1<e)return o.splice(e,1)}}},setOnlineState:function(e){u=e,d()}}},e.createTelemetryItem=xa,e.createTraceParent=function(e,n,t,r){return{version:Hr(r,2,"ff")?r:"00",traceId:Kr(e)?e:zr(),spanId:Wr(n)?n:(r=zr(),Le(r,0,16)),traceFlags:0<=t&&t<=255?t:1}},e.dataSanitizeException=Yi,e.dataSanitizeId=Qi,e.dataSanitizeInput=eo,e.dataSanitizeKey=Ji,e.dataSanitizeKeyAndAddUniqueness=Gi,e.dataSanitizeMeasurements=Xi,e.dataSanitizeMessage=Wi,e.dataSanitizeProperties=Zi,e.dataSanitizeString=M,e.dataSanitizeUrl=Ki,e.dateTimeUtilsDuration=function(e,n){return 0===e||0===n||D(e)||D(n)?null:n-e},e.dateTimeUtilsNow=function(){var e=Dn();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return je()},e.dsPadNumber=no,e.findAllScripts=function(e){var e=e.getElementsByTagName("script"),o=[];return x(e,function(e){var n,t,r,i=e[Yn]("src");i&&(n=e[Yn]("crossorigin"),t=!0===e.hasAttribute("async"),r=!0===e.hasAttribute("defer"),e=e[Yn]("referrerpolicy"),i={url:i},n&&(i.crossOrigin=n),t&&(i["async"]=t),r&&(i.defer=r),e&&(i.referrerPolicy=e),o[E](i))}),o},e.findW3cTraceParent=function(e){var n,t;return Jr((t=an())?Wt(t.querySelectorAll("meta"),"traceparent").content:null,e)||Jr(n=(t=Dn())?Wt((0<(t=t.getEntriesByType("navigation")||[])[k]?t[0]:{}).serverTiming,"traceparent").description:n,e)},e.formatTraceParent=function(e){var n,t;return e?(Hr(n=Gr(e[Wn]),2)||(n="01"),t=e[zn]||"00","".concat((t="00"!==t&&"ff"!==t?"00":t).toLowerCase(),"-").concat($r(e.traceId,32,Br).toLowerCase(),"-").concat($r(e.spanId,16,jr).toLowerCase(),"-").concat(n.toLowerCase())):""},e.getExtensionByName=function(e,n){var t=null;return x(e,function(e){if(e.identifier===n)return t=e,-1}),t},e.isBeaconApiSupported=function(e){return Gt=null!==Gt&&!1!==e?Gt:!!cn()&&!!cn().sendBeacon},e.isCrossOriginError=function(e,n,t,r,i){return!i&&f(e)&&("Script error."===e||"Script error"===e)},e.isInternalApplicationInsightsEndpoint=function(e){return-1!==pn(co,e[bi]())},e.isSampledFlag=function(e){return!!Yr(e)&&1==(1&e[Wn])},e.isValidSpanId=Wr,e.isValidTraceId=Kr,e.isValidTraceParent=Yr,e.msToTimeSpan=ra,e.parseConnectionString=Co,e.parseTraceParent=Jr,e.strNotSpecified=d,e.stringToBoolOrDefault=function(e,n){return void 0===n&&(n=!1),e===undefined||null===e?n:"true"===e.toString()[bi]()},e.urlGetAbsoluteUrl=function(e){e=oo(e);return e?e.href:void 0},e.urlGetCompleteUrl=function(e,n){return e?e.toUpperCase()+" "+n:n},e.urlGetPathName=function(e){e=oo(e);return e?e[ki]:void 0},e.urlParseFullHost=uo,e.urlParseHost=ao,e.urlParseUrl=oo,e.utlCanUseLocalStorage=Io,e.utlCanUseSessionStorage=wo,e.utlDisableStorage=function(){po=vo=!1},e.utlEnableStorage=function(){vo=Io(!0),po=wo(!0)},e.utlGetLocalStorage=bo,e.utlGetSessionStorage=function(e,n){var t=yo();if(null!==t)try{return t.getItem(n)}catch(r){po=!1,A(e,2,2,"Browser failed read of session storage. "+qt(r),{exception:C(r)})}return null},e.utlGetSessionStorageKeys=function(){var n=[];return wo()&&N(g("sessionStorage"),function(e){n.push(e)}),n},e.utlRemoveSessionStorage=function(e,n){var t=yo();if(null!==t)try{return t[Ci](n),!0}catch(r){po=!1,A(e,2,6,"Browser failed removal of session storage item. "+qt(r),{exception:C(r)})}return!1},e.utlRemoveStorage=function(e,n){var t=mo();if(null!==t)try{return t[Ci](n),!0}catch(r){vo=!1,A(e,2,5,"Browser failed removal of local storage item. "+qt(r),{exception:C(r)})}return!1},e.utlSetLocalStorage=So,e.utlSetSessionStorage=function(e,n,t){var r=yo();if(null!==r)try{return r.setItem(n,t),!0}catch(i){po=!1,A(e,2,4,"Browser failed write to session storage. "+qt(i),{exception:C(i)})}return!1},e.utlSetStoragePrefix=function(e){go=e||""}});
|
|
5
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Microsoft=e.Microsoft||{},e.Microsoft.ApplicationInsights=e.Microsoft.ApplicationInsights||{}))}(this,function(e){"use strict";function n(e,n){return e||n}function t(e,n){return e[n]}var h=undefined,y=null,R="",U="function",V="object",I="prototype",F="__proto__",z="undefined",q="constructor",B="Symbol",j="length",H="name",b="call",$="toString",G="__lookupGetter__",J="__lookupSetter__",i=n(Object),K=t(i,I),W=n(String),r=t(W,I),o=n(Math),a=n(Array),u=t(a,I),Y=t(u,"slice"),Z="_polyfill",X="__nw21$polytype__";function S(e,n){try{return{v:e.apply(this,n)}}catch(t){return{e:t}}}function Q(n){return function(e){return typeof e===n}}function ee(e){var n="[object "+e+"]";return function(e){return!(!e||K[$].call(e)!==n)}}function ne(e){return typeof e===z||e===z}function D(e){return e===y||ne(e)}function te(e){return e===y||e===h}function re(e){return!!e||e!==h}var f=Q("string"),ie=Q(U);function oe(e){return(e||!D(e))&&e&&typeof e===V}var w=t(a,"isArray"),ae=Q("number"),ue=ee("Error"),l=n(W),ce="[object Error]";function C(e,n){var t=R,r=K[$][b](e);r===ce&&(e={stack:l(e.stack),message:l(e.message),name:l(e.name)});try{t=((t=JSON.stringify(e,y,n?"number"==typeof n?n:4:h))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||l(e)}catch(i){t=" - "+C(i,n)}return r+": "+t}function se(e){throw new TypeError(e)}function fe(e){te(e)&&se("Cannot convert undefined or null to object")}function p(e,n){return!!e&&K.hasOwnProperty[b](e,n)}a=le;function le(r,e,i){var o=e?e[r]:y;return function(e){var n,t=(e?e[r]:y)||o;if(t||i)return n=arguments,(t||i).apply(e,t?Y[b](n,1):n);se('"'+l(r)+'" not defined for '+C(e))}}function de(n,t){var e,r=i.getOwnPropertyDescriptor;return(e=(e=!te(n)&&r?S(r,[n,t]).v||y:e)||S(function(){for(var e in n)if(e===t)return{enumerable:!0}}).v)&&e.enumerable||!1}var ve=le("propertyIsEnumerable",y,de);function pe(e,n){fe(e);var t,r,i,o=n===j&&(w(e)||f(e));return(o||p(e,n))&&(t={configurable:!o,enumerable:!o&&ve(e,n)},o=!0,G in K&&J in K&&(r=e[G](n),i=e[J](n),(r||i)&&(o=!1,r&&(t.get=r),i&&(t.set=i))),o&&(t.value=e[n],t.writable=function(e,n){var t=!1;if(!f(e)||!(n===j||ae(n)||f(n)&&!isNaN(+(""+n)))){var r=e[n];try{e[n]=r,t=!0}catch(i){}}return t}(e,n))),t}var ge=n(t(i,"getOwnPropertyDescriptor"),pe);function me(e,n){return fe(e),p(e,n)||!!ge(e,n)}var he=n(t(i,"hasOwn"),me);function N(e,n,t){if(e&&(oe(e)||ie(e)))for(var r in e)if(he(e,r)&&-1===n[b](t||e,r,e[r]))break}function x(e,n,t){if(e)for(var r=e[j]>>>0,i=0;i<r&&!(i in e&&-1===n[b](t||e,e[i],i,e));i++);}var ye={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},Ie=t(i,"defineProperty"),be=t(i,"defineProperties");function T(e,n,t){return Ie(e,n,(i={configurable:!0,enumerable:!0},(r=t).l&&(i.get=function(){return r.l.v},(e=ge(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e})),N(r,function(e,n){i[ye[e]]=n===h?i[ye[e]]:n}),i));var r,i}function Se(e,n,t){Ie(e,n,{value:t,enumerable:!0,writable:!1})}function we(e){return e}function Ce(e){return fe(e),e[F]||y}var Te,W=t(i,"assign"),De=t(i,"keys"),Ne=n(t(i,"freeze"),we),xe=n(t(i,"getPrototypeOf"),Ce),_e="__tsUtils$gblCfg";function ke(){var e;return(e=(e=(e=typeof globalThis!==z?globalThis:e)||typeof self===z?e:self)||typeof window===z?e:window)||typeof global===z?e:global}function Ee(){var e;return Te||(e=S(ke).v||{},Te=e[_e]=e[_e]||{}),Te}var Ae,Pe=t(o,"min"),Oe=t(o,"max"),Me=a("slice",r),Le=a("substring",r),Re=le("substr",r,Ue);function Ue(e,n,t){return fe(e),t<0?R:((n=n||0)<0&&(n=Oe(n+e[j],0)),ne(t)?Me(e,n):Me(e,n,n+t))}function Ve(e){return Ie({toJSON:function(){return e}},"v",{value:e})}var Fe=n(t(i,"setPrototypeOf"),ze);function ze(t,e){var n;return(Ae=Ae||Ve(((n={})[F]=[],n instanceof Array))).v?t[F]=e:N(e,function(e,n){return t[e]=n}),t}var c,qe=n(t(i,"create"),Be);function Be(e,n){var t;function r(){}return t=te(e)?{}:((t=typeof e)!==V&&t!=U&&se("Prototype must be an Object or function: "+C(e)),r[I]=e,S(function(){r[F]=e}),new r),S(ze,[t,e]),n&&S(be,[t,n]),t}function je(){return(Date.now||He)()}function He(){return(new Date).getTime()}function $e(){c=Ee()}function Ge(n){var t={};return c||$e(),t.b=c.lzy,Ie(t,"v",{configurable:!0,get:function(){var e=n();return c.lzy||Ie(t,"v",{value:e}),t.b=c.lzy,e}}),t}var Je,Ke=t(o,"random"),We=Ge(function(){for(var e=je().toString(36).slice(2);e.length<16;)e+=Ke().toString(36).slice(2);return e.substring(0,16)}),Ye="$nw21sym",Ze=0;function Xe(e){var n,t="_"+Ze+++"_"+We.v,r=B+"("+e+")",i=qe(null);return T(i,"description",{v:l(e),e:!1,w:!1}),T(i,$,{v:function(){return r+Ye+t},e:!1,w:!1}),T(i,"valueOf",{v:function(){return i},e:!1,w:!1}),T(i,"v",{v:r,e:!1,w:!1}),T(i,"_uid",{v:t,e:!1,w:!1}),(n=i)&&(S(function(){n[Z]=!0,n[X]="symbol"}),S(T,[n,Z,{v:!0,w:!1,e:!1}]),S(T,[n,X,{v:"symbol",w:!1,e:!1}])),n}var Qe,en="window";function nn(e,n){var t;return function(){return c||$e(),(t=t&&!c.lzy?t:Ve(S(e,n).v)).v}}function tn(e){return c||$e(),(Qe=Qe&&!1!==e&&!c.lzy?Qe:Ve(S(ke).v||y)).v}function g(e,n){n=Qe&&!1!==n?Qe.v:tn(n);if(n&&n[e])return n[e];if(e===en)try{return window}catch(t){}return y}var rn,on,an=nn(g,["document"]),un=nn(g,[en]),cn=nn(g,["navigator"]);function sn(){return rn=Ve(S(g,[B]).v)}function fn(e){var n=(c.lzy?0:rn)||sn();return n.v?n.v[e]:h}function ln(e,n){c||$e();var t=(c.lzy?0:rn)||sn();return t.v?t.v(e):n?y:Xe(e)}function dn(e){return c||$e(),((on=(c.lzy?0:on)||Ve(S(fn,["for"]).v)).v||function(e){Je||(r=Ee(),Je=r.gblSym=r.gblSym||{k:{},s:{}});var n,t,r=Je;return he(r.k,e)||(n=Xe(e),t=De(r.s).length,n._urid=function(){return t+"_"+n[$]()},r.k[e]=n,r.s[n._urid()]=l(e)),r.k[e]})(e)}function vn(e,n,t){return e.apply(n,t)}var pn=a("indexOf",u),gn=a("map",u),mn=a("reduce",u);function hn(e,n){n&&(e[H]=n)}function yn(n){return function(e){return fe(e),e&&e.replace?e.replace(n,R):e}}var In,bn,Sn,wn,_=le("trim",r,yn(/^\s+|(?=\s)\s+$/g)),Cn=t(o,"floor");function Tn(e){if(!e||typeof e!==V)return!1;var n=!1;if(e!==(Sn=Sn||un()||!0)){bn||(In=Function[I][$],bn=In[b](i));try{var t=xe(e),n=(n=!t)||!(!(t=p(t,q)?t[q]:t)||typeof t!=U||In[b](t)!==bn)}catch(r){}}return n}function Dn(){return c||$e(),(wn=wn&&!c.lzy?wn:Ve(S(g,["performance"]).v)).v}var Nn=t(o,"round"),xn=le("endsWith",r,_n);function _n(e,n,t){f(r=e)||se("'"+C(r)+"' is not a string");var r=f(n)?n:l(n),n=!ne(t)&&t<e[j]?t:e[j];return Le(e,n-r[j],n)===r}var kn=a("indexOf",r),En="unref";var An,u=function(e){return n=Ne,t={},N(e,function(e,n){Se(t,e,n),Se(t,n,e)}),n?n(t):t;var n,t},Pn="toLowerCase",k="length",On="warnToConsole",Mn="throwInternal",Ln="watch",Rn="apply",E="push",Un="splice",Vn="logger",Fn="name",zn="version",qn="messageId",Bn="message",jn="diagLog",Hn="userAgent",$n="split",Gn="replace",Jn="type",Kn="evtName",Wn="traceFlags",Yn="getAttribute",Zn="object",Xn="undefined",o="prototype",Qn=Object,et=Qn[o],nt=((tn()||{}).Symbol,(tn()||{}).Reflect,"hasOwnProperty"),tt=W||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])et[nt].call(n,i)&&(e[i]=n[i]);return e},rt=function(e,n){return(rt=Qn.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n[nt](t)&&(e[t]=n[t])})(e,n)},it="constructor",ot="prototype",at="function",ut="_dynInstFuncs",ct="_isDynProxy",st="_dynClass",ft="_dynInstChk",lt=ft,dt="_dfOpts",vt="_unknown_",pt="__proto__",gt="_dyn"+pt,r="__dynProto$Gbl",mt="_dynInstProto",ht="useBaseInst",yt="setInstFuncs",It=Object,bt=It.getPrototypeOf,St=It.getOwnPropertyNames,a=tn(),wt=a[r]||(a[r]={o:((W={})[yt]=!0,W[ht]=!0,W),n:1e3});function Ct(e){return e&&(e===It[ot]||e===Array[ot])}function Tt(e){return Ct(e)||e===Function[ot]}function Dt(e){if(e){if(bt)return bt(e);var n=e[pt]||e[ot]||(e[it]?e[it][ot]:null),t=e[gt]||n;p(e,gt)||(delete e[mt],t=e[gt]=e[mt]||e[gt],e[mt]=n)}return t}function Nt(e,n){var t=[];if(St)t=St(e);else for(var r in e)"string"==typeof r&&p(e,r)&&t.push(r);if(t&&0<t.length)for(var i=0;i<t.length;i++)n(t[i])}function xt(e,n,t){return n!==it&&typeof e[n]===at&&(t||p(e,n))&&n!==pt&&n!==ot}function _t(e){se("DynamicProto: "+e)}function kt(e,n){for(var t=e.length-1;0<=t;t--)if(e[t]===n)return 1}function Et(e,n){return p(e,ot)?e.name||n||vt:((e||{})[it]||{}).name||n||vt}function At(e,r,n,t){p(e,ot)||_t("theClass is an invalid class definition.");var i,o,a,u,c,s,f=e[ot],l=(function(e){if(!bt)return 1;for(var n=[],t=Dt(r);t&&!Tt(t)&&!kt(n,t);){if(t===e)return 1;n.push(t),t=Dt(t)}}(f)||_t("["+Et(e)+"] not in hierarchy of ["+Et(r)+"]"),null),e=(p(f,st)?l=f[st]:(l="_dynCls$"+Et(e,"_")+"$"+wt.n,wt.n++,f[st]=l),At[dt]),d=!!e[ht],v=(d&&t&&t[ht]!==undefined&&(d=!!t[ht]),i=r,o=qe(null),Nt(i,function(e){!o[e]&&xt(i,e,!1)&&(o[e]=i[e])}),o),d=(n(r,function(e,n,t,o){function r(e,n,t){var r,i=n[t];return i[ct]&&o&&!1!==(r=e[ut]||{})[lt]&&(i=(r[n[st]]||{})[t]||i),function(){return i.apply(e,arguments)}}for(var i=qe(null),a=(Nt(t,function(e){i[e]=r(n,t,e)}),Dt(e)),u=[];a&&!Tt(a)&&!kt(u,a);)Nt(a,function(e){!i[e]&&xt(a,e,!bt)&&(i[e]=r(n,a,e))}),u.push(a),a=Dt(a);return i}(f,r,v,d)),!!bt&&!!e[yt]);a=f,n=l,u=r,c=v,e=!1!==(d=d&&t?!!t[yt]:d),Ct(a)||Ct(f=u[ut]=u[ut]||qe(null))||(s=f[n]=f[n]||qe(null),!1!==f[lt]&&(f[lt]=!!e),Ct(s)||Nt(u,function(e){var t,r,i;xt(u,e,!1)&&u[e]!==c[e]&&(s[e]=u[e],delete u[e],p(a,e)&&(!a[e]||a[e][ct])||(a[e]=(t=a,r=e,(i=function(){var e,n;return(function(e,n,t,r){var i=null;if(e&&p(t,st)){var o=e[ut]||qe(null);if((i=(o[t[st]]||qe(null))[n])||_t("Missing ["+n+"] "+at),!i[ft]&&!1!==o[lt]){for(var a=!p(e,n),u=Dt(e),c=[];a&&u&&!Tt(u)&&!kt(c,u);){var s=u[n];if(s){a=s===r;break}c.push(u),u=Dt(u)}try{a&&(e[n]=i),i[ft]=1}catch(f){o[lt]=!1}}}return i}(this,r,t,i)||(typeof(n=(n=t[e=r])===i?Dt(t)[e]:n)!==at&&_t("["+e+"] is not a "+at),n)).apply(this,arguments)})[ct]=1,i)))}))}At[dt]=wt.o;var Pt=undefined,s="",Ot="Not dynamic - ",Mt=/-([a-z])/g,Lt=/([^\w\d_$])/g,Rt=/^(\d+[\w\d_$])/;function Ut(e){return!D(e)}function Vt(e){return e&&f(e)?(e=(e=e[Gn](Mt,function(e,n){return n.toUpperCase()}))[Gn](Lt,"_"))[Gn](Rt,function(e,n){return"_"+n}):e}function Ft(e,n){return!(!e||!n)&&-1!==kn(e,n)}function zt(e){return e&&e.toISOString()||""}function qt(e){return ue(e)?e[Fn]:s}var Bt="console",jt="JSON",Ht=null,$t=null,Gt=null;function Jt(){return typeof JSON===Zn&&JSON||null!==g(jt)}function Kt(){return Jt()?JSON||g(jt):null}function Wt(e,n){if(e)for(var t=0;t<e[k];t++){var r=e[t];if(r[Fn]&&r[Fn]===n)return r}return{}}var Yt=4294967296,Zt=4294967295,Xt=123456789,Qt=987654321,er=!1,nr=Xt,tr=Qt;function rr(e){var n,t=0,r=g("crypto")||g("msCrypto");if(0===(t=r&&r.getRandomValues?r.getRandomValues(new Uint32Array(1))[0]&Zt:t)&&(!(r=cn())||r[Hn]===$t&&null!==Ht||(r=(($t=r[Hn])||s)[Pn](),Ht=Ft(r,"msie")||Ft(r,"trident/")),Ht)){if(!er)try{var i=2147483647&je();(n=(Math.random()*Yt^i)+i)<0&&(n>>>=0),nr=Xt+n&Zt,tr=Qt-n&Zt,er=!0}catch(o){}r=((tr=36969*(65535&tr)+(tr>>16)&Zt)<<16)+(65535&(nr=18e3*(65535&nr)+(nr>>16)&Zt))>>>0&Zt|0,t=(r>>>=0)&Zt}return 0===t&&(t=Cn(Yt*Math.random()|0)),e||(t>>>=0),t}var ir="3.3.7-nightly3.2504-11",or="."+function(e){void 0===e&&(e=22);for(var n=rr()>>>0,t=0,r=s;r[k]<e;)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[0|63&n]||"",n>>>=6,5==++t&&(n=(rr()<<2&4294967295|3&n)>>>0,t=0);return r}(6),ar=0;function ur(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function cr(e,n){return Vt(e+ar+++((n=void 0!==n&&n)?"."+ir:s)+or)}function sr(e){return e&&oe(e)&&(e.isVal||e.fb||he(e,"v")||he(e,"mrg")||he(e,"ref")||e.set)}function fr(e,n,t){var r,i=t.dfVal||re;if(n&&t.fb){var o=t.fb;w(o)||(o=[o]);for(var a=0;a<o[k];a++){var u=o[a],c=n[u];if(i(c)?r=c:e&&(i(c=e.cfg[u])&&(r=c),e.set(e.cfg,l(u),c)),i(r))break}}return!i(r)&&i(t.v)?t.v:r}function lr(t,e,n,r){var i,o,a,u,c,s,f=r,f=sr(f)?(i=f.isVal,o=f.set,c=f.rdOnly,l=f.blkVal,a=f.mrg,!(u=f.ref)&&ne(u)&&(u=!!a),fr(t,e,f)):r,r=(l&&t.blkVal(e,n),!0),l=e[n];!l&&D(l)||(s=l,r=!1,i&&s!==f&&!i(s)&&(s=f,r=!0),o&&(r=(s=o(s,f,e))===f)),r?s=f&&function d(t,r,e){var i,n=e;return(n=e&&sr(e)?fr(t,r,e):n)&&(sr(n)&&(n=d(t,r,n)),w(n)?(i=[])[k]=n[k]:Tn(n)&&(i={}),i&&(N(n,function(e,n){n&&sr(n)&&(n=d(t,r,n)),i[e]=n}),n=i)),n}(t,e,f):(Tn(s)||w(f))&&a&&f&&(Tn(f)||w(f))&&N(f,function(e,n){lr(t,s,e,n)}),t.set(e,n,s),u&&t.ref(e,n),c&&t.rdOnly(e,n)}var dr=dn("[[ai_dynCfg_1]]"),vr=dn("[[ai_blkDynCfg_1]]"),pr=dn("[[ai_frcDynCfg_1]]");function gr(e,n,t){var r=!1;return!t||e[n.blkVal]||(r=t[pr])||t[vr]?r:Tn(t)||w(t)}function mr(e){se("InvalidAccess:"+e)}var hr=["push","pop","shift","unshift","splice"],yr=function(e,n,t,r){e&&e[Mn](3,108,"".concat(t," [").concat(n,"] failed - ")+C(r))};function Ir(e,n){e=ge(e,n);return e&&e.get}function br(i,o,a,u){var c={n:a,h:[],trk:function(e){e&&e.fn&&(-1===pn(c.h,e)&&c.h[E](e),i.trk(e,c))},clr:function(e){e=pn(c.h,e);-1!==e&&c.h[Un](e,1)}},s=!0,f=!1;function l(){s&&(f=f||gr(l,i,u),u&&!u[dr]&&f&&(u=Cr(i,u,a,"Converting")),s=!1);var e=i.act;return e&&c.trk(e),u}l[i.prop]={chng:function(){i.add(c)}},T(o,c.n,{g:l,s:function(n){if(u!==n){l[i.ro]&&!i.upd&&mr("["+a+"] is read-only:"+C(o)),s&&(f=f||gr(l,i,u),s=!1);var e,t=f&&l[i.rf];if(f)if(t){N(u,function(e){u[e]=n?n[e]:Pt});try{N(n,function(e,n){Sr(i,u,e,n)}),n=u}catch(r){yr((i.hdlr||{})[Vn],a,"Assigning",r),f=!1}}else u&&u[dr]&&N(u,function(e){var e=Ir(u,e);e&&(e=e[i.prop])&&e.chng()});n!==u&&(e=n&&gr(l,i,n),!t&&e&&(n=Cr(i,n,a,"Converting")),u=n,f=e),i.add(c)}}})}function Sr(e,n,t,r){var i;return n&&((i=Ir(n,t))&&i[e.prop]?n[t]=r:br(e,n,t,r)),n}function wr(e,n,t,r){if(n){var i=Ir(n,t),o=i&&!!i[e.prop],a=r&&r[0],u=r&&r[1],r=r&&r[2];if(!o){if(r)try{var c=n;if(c&&(Tn(c)||w(c)))try{c[vr]=!0}catch(s){}}catch(f){yr((e.hdlr||{})[Vn],t,"Blocking",f)}try{Sr(e,n,t,n[t]),i=Ir(n,t)}catch(f){yr((e.hdlr||{})[Vn],t,"State",f)}}a&&(i[e.rf]=a),u&&(i[e.ro]=u),r&&(i[e.blkVal]=!0)}return n}function Cr(t,r,e,n){try{N(r,function(e,n){Sr(t,r,e,n)}),r[dr]||(Ie(r,dr,{get:function(){return t.hdlr}}),i=t,a=e,w(o=r)&&x(hr,function(e){var r=o[e];o[e]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=r[Rn](this,e);return Cr(i,o,a,"Patching"),t}}))}catch(u){yr((t.hdlr||{})[Vn],e,n,u)}var i,o,a;return r}var Tr="[[ai_",Dr="]]";function Nr(o){var a,e=ln(Tr+"get"+o.uid+Dr),n=ln(Tr+"ro"+o.uid+Dr),t=ln(Tr+"rf"+o.uid+Dr),r=ln(Tr+"blkVal"+o.uid+Dr),d=ln(Tr+"dtl"+o.uid+Dr),v=null,p=null;function g(n,e){var t=a.act;try{(a.act=n)&&n[d]&&(x(n[d],function(e){e.clr(n)}),n[d]=[]),e({cfg:o.cfg,set:o.set.bind(o),setDf:o.setDf.bind(o),ref:o.ref.bind(o),rdOnly:o.rdOnly.bind(o)})}catch(i){var r=o[Vn];throw r&&r[Mn](1,107,C(i)),i}finally{a.act=t||null}}function m(){if(v){var t,e=v,r=(v=null,p&&p.cancel(),p=null,[]);if(x(e,function(n){if(n&&(n[d]&&(x(n[d],function(e){e.clr(n)}),n[d]=null),n.fn))try{g(n,n.fn)}catch(e){r[E](e)}}),v)try{m()}catch(l){r[E](l)}if(0<r[k])throw e=r,An=An||(c=(u=Error)[I][H],s=Error.captureStackTrace,f=u,S(T,[a=function(){var e=this,n=arguments;try{S(hn,[u,i]);var t,r=vn(u,e,Y[b](n))||e;return r!==e&&(t=xe(e))!==xe(r)&&Fe(r,t),s&&s(r,e[q]),o(r,n),r}finally{S(hn,[u,c])}},H,{v:i="AggregationError",c:!0,e:!(o=function(e,n){1<n[k]&&(e.errors=n[1])})}]),(a=Fe(a,f))[I]=f===y?qe(f):(n[I]=f[I],new n),a),t="Watcher error(s): ",x(e,function(e,n){t+="\n".concat(n," > ").concat(C(e))}),new An(t,e||[])}function n(){this[q]=a,S(T,[this,H,{v:"AggregationError",c:!0,e:!1}])}var i,o,a,u,c,s,f}return a={prop:e,ro:n,rf:t,blkVal:r,hdlr:o,add:function(e){if(e&&0<e.h[k]){v=v||[],p=p||function(){return c=h,s=Y[b](arguments),l=(f=w(c))?c.length:0,d=(0<l?c[0]:f?h:c)||setTimeout,v=(1<l?c[1]:h)||clearTimeout,p=s[0],s[0]=function(){g.dn(),vn(p,h,Y[b](arguments))},i=function(e){vn(v,h,[e])},a=!0,u=(r=function(e){if(e){if(e.refresh)return e.refresh(),e;vn(v,h,[e])}return vn(d,h,s)})(y),(o={cancel:n,refresh:t,hasRef:function(){return u&&u.hasRef?u.hasRef():a},ref:function(){return a=!0,u&&u.ref&&u.ref(),o}})[En]=e,(g={h:o=Ie(o,"enabled",{get:function(){return!!u},set:function(e){!e&&u&&n(),e&&!u&&t()}}),dn:function(){u=y}}).h;function e(){return a=!1,u&&u[En]&&u[En](),o}function n(){u&&i(u),u=y}function t(){return u=r(u),a||e(),o}var r,i,o,a,u,c,s,f,l,d,v,p,g}(function(){p=null,m()},0);for(var n=0;n<e.h[k];n++){var t=e.h[n];t&&-1===pn(v,t)&&v[E](t)}}},notify:m,use:g,trk:function(e,n){e&&(e=e[d]=e[d]||[],-1===pn(e,n)&&e[E](n))}}}function xr(i,n,e){var t=function(){if(n){var e=n[dr]||n;if(e.cfg&&(e.cfg===n||e.cfg[dr]===e))return e}return null}();if(t)return t;var o,t=cr("dyncfg",!0),e=n&&!1!==e?n:function a(e){var t;return e&&(w(e)?(t=[])[k]=e[k]:Tn(e)&&(t={}),t)?(N(e,function(e,n){t[e]=a(n)}),t):e}(n),r={uid:null,cfg:e,logger:i,notify:function(){o.notify()},set:function(e,n,t){try{e=Sr(o,e,n,t)}catch(r){yr(i,n,"Setting value",r)}return e[n]},setDf:function(t,e){return e&&N(e,function(e,n){lr(r,t,e,n)}),t},watch:function(e){return n=o,T(r={fn:t=e,rm:function(){r.fn=null,t=n=null}},"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),n.use(r,t),r;var n,t,r},ref:function(e,n){return wr(o,e,n,((e={})[0]=!0,e))[n]},rdOnly:function(e,n){return wr(o,e,n,((e={})[1]=!0,e))[n]},blkVal:function(e,n){return wr(o,e,n,((e={})[2]=!0,e))[n]},_block:function(t,r){o.use(null,function(e){var n=o.upd;try{ne(r)||(o.upd=r),t(e)}finally{o.upd=n}})}};return T(r,"uid",{c:!1,e:!1,w:!1,v:t}),Cr(o=Nr(r),e,"config","Creating"),r}function _r(e,n,t,r){t=xr(t,e||{},r);return n&&t.setDf(t.cfg,n),t}function kr(e,n,t){var r,i,o=e[dr]||e;return!o.cfg||o.cfg!==e&&o.cfg[dr]!==o?(r=t,i=Ot+C(e),r?(r[On](i),r[Mn](2,108,i)):mr(i),_r(e,null,t)[Ln](n)):o[Ln](n)}var Er=null,Ar="warnToConsole",Pr={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},Or=((r={})[0]=null,r[1]="errorToConsole",r[2]=Ar,r[3]="debugToConsole",r);function Mr(e){return e?'"'+e[Gn](/\"/g,s)+'"':s}function Lr(e,n){var t,r=typeof console!==Xn?console:g(Bt);r&&(t="log",r[e]&&(t=e),ie(r[t])&&r[t](n))}Ur.dataType="MessageData";var Rr=Ur;function Ur(e,n,t,r){void 0===t&&(t=!1),this[qn]=e,this[Bn]=(t?"AI: ":"AI (Internal): ")+e;t=s,Jt()&&(t=Kt().stringify(r)),e=(n?" message:"+Mr(n):s)+(r?" props:"+Mr(t):s);this[Bn]+=e}Fr.__ieDyn=1;var Vr=Fr;function Fr(i){this.identifier="DiagnosticLogger",this.queue=[];var c,s,f,l,n,d=0,v={};At(Fr,this,function(o){function a(e,n){var t,r;f<=d||(r=!0,t="AITR_"+n[qn],v[t]?r=!1:v[t]=!0,r&&(e<=s&&(o.queue[E](n),d++,u(1===e?"error":"warn",n)),d===f&&(r=new Rr(23,t="Internal events throttle limit per PageView reached for this app.",!1),o.queue[E](r),1===e?o.errorToConsole(t):o[On](t))))}function u(e,n){var t,r=(t=(t=Er)||!0===(i||{}).disableDbgExt?t:Er||(r=g("Microsoft"),Er=r?r.ApplicationInsights:Er))?t.ChromeDbgExt:null;r&&r[jn]&&r[jn](e,n)}n=kr(_r(i||{},Pr,o).cfg,function(e){e=e.cfg;c=e.loggingLevelConsole,s=e.loggingLevelTelemetry,f=e.maxMessageLimit,l=e.enableDebug}),o.consoleLoggingLevel=function(){return c},o[Mn]=function(e,n,t,r,i){n=new Rr(n,t,i=void 0!==i&&i,r);if(l)throw C(n);t=Or[e]||Ar;ne(n[Bn])?u("throw"+(1===e?"Critical":"Warning"),n):(i?(r=+n[qn],!v[r]&&e<=c&&(o[t](n[Bn]),v[r]=!0)):e<=c&&o[t](n[Bn]),a(e,n))},o.debugToConsole=function(e){Lr("debug",e),u("warning",e)},o[On]=function(e){Lr("warn",e),u("warning",e)},o.errorToConsole=function(e){Lr("error",e),u("error",e)},o.resetInternalMessageCount=function(){d=0,v={}},o.logInternalMessage=a,o.unload=function(e){n&&n.rm(),n=null}})}function A(e,n,t,r,i,o){void 0===o&&(o=!1),(e||new Vr)[Mn](n,t,r,i,o)}function zr(){for(var e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=s,r=0;r<4;r++)t+=n[15&(e=rr())]+n[e>>4&15]+n[e>>8&15]+n[e>>12&15]+n[e>>16&15]+n[e>>20&15]+n[e>>24&15]+n[e>>28&15];var i=n[8+(3&rr())|0];return Re(t,0,8)+Re(t,9,4)+"4"+Re(t,13,3)+i+Re(t,16,3)+Re(t,19,12)}var qr=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]{1,64})?$/i,Br="00000000000000000000000000000000",jr="0000000000000000";function Hr(e,n,t){return!(!e||e[k]!==n||e===t||!e.match(/^[\da-f]*$/i))}function $r(e,n,t){return Hr(e,n)?e:t}function Gr(e){for(var n=(e=isNaN(e)||e<0||255<e?1:e).toString(16);n[k]<2;)n="0"+n;return n}function Jr(e,n){if(!e)return null;if(!(e=w(e)?e[0]||"":e)||!f(e)||8192<e[k])return null;~e.indexOf(",")&&(e=(t=e[$n](","))[0<n&&t[k]>n?n:0]);var t=qr.exec(_(e));return t&&"ff"!==t[1]&&t[2]!==Br&&t[3]!==jr?{version:(t[1]||s)[Pn](),traceId:(t[2]||s)[Pn](),spanId:(t[3]||s)[Pn](),traceFlags:parseInt(t[4],16)}:null}function Kr(e){return Hr(e,32,Br)}function Wr(e){return Hr(e,16,jr)}function Yr(e){return!!(e&&Hr(e[zn],2,"ff")&&Hr(e.traceId,32,Br)&&Hr(e.spanId,16,jr)&&Hr(Gr(e[Wn]),2))}var Zr,Xr="on",Qr="attachEvent",ei="addEventListener",ni="detachEvent",ti="removeEventListener",ri="events",ii=(cr("aiEvtPageHide"),cr("aiEvtPageShow"),/\.[\.]+/g),oi=/[\.]+$/,ai=1,ui=Zr={id:cr("_aiData-events."+ir),accept:ur,get:function(e,n,t,r){var i=e[Zr.id];return i?i[Vt(n)]:(r&&((i=function(e,n){var t=n[e.id];if(!t){t={};try{ur(n)&&T(n,e.id,{e:!1,v:t})}catch(r){}}return t}(Zr,e))[Vt(n)]=t),t)},kill:function(e,n){if(e&&e[n])try{delete e[n]}catch(t){}}},ci=/^([^.]*)(?:\.(.+)|)/;function si(e){return e&&e[Gn]?e[Gn](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,s):e}function fi(e,n){n&&(t=s,w(n)?(t=s,x(n,function(e){(e=si(e))&&("."!==e[0]&&(e="."+e),t+=e)})):t=si(n),t&&("."!==t[0]&&(t="."+t),e=(e||s)+t));var t,n=ci.exec(e||s)||[];return{type:n[1],ns:(n[2]||s).replace(ii,".").replace(oi,s)[$n](".").sort().join(".")}}function li(e,n,t){e=ui.get(e,ri,{},t=void 0===t||t);return e[n]||(e[n]=[])}function di(e,n,t,r){e&&n&&n[Jn]&&(e[ti]?e[ti](n[Jn],t,r):e[ni]&&e[ni](Xr+n[Jn],t))}function vi(e,n,t,r){for(var i=n[k];i--;){var o=n[i];!o||t.ns&&t.ns!==o[Kn].ns||r&&!r(o)||(di(e,o[Kn],o.handler,o.capture),n[Un](i,1))}}function pi(e,n,t,r,i){void 0===i&&(i=!1);var o,a=!1;if(e)try{var u,c=fi(n,r),s=c,f=t,l=i,d=!1;(o=e)&&s&&s[Jn]&&f&&(o[ei]?(o[ei](s[Jn],f,l),d=!0):o[Qr]&&(o[Qr](Xr+s[Jn],f),d=!0)),(a=d)&&ui.accept(e)&&(u={guid:ai++,evtName:c,handler:t,capture:i},li(e,c.type)[E](u))}catch(v){}return a}var gi,mi="https://dc.services.visualstudio.com",a="/v2/track",d="not_specified",hi="iKey",yi=(gi={},N({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]},function(e,n){Se(gi,e,n[1]),Se(gi,n[0],n[1])}),Ne(gi)),Ii="split",P="length",bi="toLowerCase",Si="ingestionendpoint",wi="toString",Ci="removeItem",Ti="message",Di="count",Ni="preTriggerDate",xi="getUTCDate",_i="stringify",ki="pathname",Ei="match",Ai="correlationHeaderExcludePatterns",m="name",Pi="extensionConfig",O="properties",Oi="measurements",Mi="sizeInBytes",Li="typeName",Ri="exceptions",Ui="severityLevel",Vi="problemGroup",Fi="parsedStack",zi="hasFullStack",qi="assembly",Bi="fileName",ji="line",Hi="aiDataContract",$i="duration";function Gi(e,n,t){var r=n[P],i=Ji(e,n);if(i[P]!==r){for(var o=0,a=i;t[a]!==undefined;)o++,a=Le(i,0,147)+no(o);i=a}return i}function Ji(e,n){var t;return n&&150<(n=_(l(n)))[P]&&(t=Le(n,0,150),A(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0)),t||n}function M(e,n,t){var r;return void 0===t&&(t=1024),n&&(t=t||1024,(n=_(l(n)))[P]>t&&(r=Le(n,0,t),A(e,2,61,"string value is too long. It has been truncated to "+t+" characters.",{value:n},!0))),r||n}function Ki(e,n){return eo(e,n,2048,66)}function Wi(e,n){var t;return n&&32768<n[P]&&(t=Le(n,0,32768),A(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),t||n}function Yi(e,n){var t,r;return n&&32768<(r=""+n)[P]&&(t=Le(r,0,32768),A(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0)),t||n}function Zi(r,e){var i;return e&&(i={},N(e,function(e,n){if(oe(n)&&Jt())try{n=Kt()[_i](n)}catch(t){A(r,2,49,"custom property is not valid",{exception:t},!0)}n=M(r,n,8192),e=Gi(r,e,i),i[e]=n}),e=i),e}function Xi(t,e){var r;return e&&(r={},N(e,function(e,n){e=Gi(t,e,r),r[e]=n}),e=r),e}function Qi(e,n){return n&&eo(e,n,128,69)[wi]()}function eo(e,n,t,r){var i;return n&&(n=_(l(n)))[P]>t&&(i=Le(n,0,t),A(e,2,r,"input is too long, it has been truncated to "+t+" characters.",{data:n},!0)),i||n}function no(e){e="00"+e;return Re(e,e[P]-3)}var to=an()||{},ro=0,io=[null,null,null,null,null];function oo(e){var n=ro,t=io,r=t[n];return to.createElement?t[n]||(r=t[n]=to.createElement("a")):r={host:ao(e,!0)},r.href=e,++n>=t[P]&&(n=0),ro=n,r}function ao(e,n){e=uo(e,n)||"";if(e){n=e[Ei](/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=n&&3<n[P]&&f(n[2])&&0<n[2][P])return n[2]+(n[3]||"")}return e}function uo(e,n){var t=null;return e&&null!=(e=e[Ei](/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i))&&2<e[P]&&f(e[2])&&0<e[2][P]&&(t=e[2]||"",n&&2<e[P]&&(n=(e[1]||"")[bi](),e=e[3]||"",t+=e="http"===n&&":80"===e||"https"===n&&":443"===e?"":e)),t}var co=[mi+a,"https://breeze.aimon.applicationinsights.io"+a,"https://dc-int.services.visualstudio.com"+a],so="cid-v1:";function fo(e,n){if(e)for(var t=e[Ii](","),r=0;r<t[P];++r){var i=t[r][Ii]("=");if(2===i[P]&&i[0]===n)return i[1]}}var lo=u({LocalStorage:0,SessionStorage:1}),W=u({AI:0,AI_AND_W3C:1,W3C:2}),r=u({Normal:1,Critical:2}),vo=undefined,po=undefined,go="";function mo(){return Io()?ho(lo.LocalStorage):null}function ho(e){try{if(D(tn()))return null;var n=(new Date)[wi](),t=g(e===lo.LocalStorage?"localStorage":"sessionStorage"),r=go+n,i=(t.setItem(r,n),t.getItem(r)!==n);if(t[Ci](r),!i)return t}catch(o){}return null}function yo(){return wo()?ho(lo.SessionStorage):null}function Io(e){return vo=e||vo===undefined?!!ho(lo.LocalStorage):vo}function bo(e,n){var t=mo();if(null!==t)try{return t.getItem(n)}catch(r){vo=!1,A(e,2,1,"Browser failed read of local storage. "+qt(r),{exception:C(r)})}return null}function So(e,n,t){var r=mo();if(null!==r)try{return r.setItem(n,t),!0}catch(i){vo=!1,A(e,2,3,"Browser failed write to local storage. "+qt(i),{exception:C(i)})}return!1}function wo(e){return po=e||po===undefined?!!ho(lo.SessionStorage):po}function Co(e){if(!e)return{};var n,e=e[Ii](";"),e=mn(e,function(e,n){var t,n=n[Ii]("=");return 2===n[P]&&(t=n[0][bi](),n=n[1],e[t]=n),e},{});return 0<De(e)[P]&&(e.endpointsuffix&&(n=e.location?e.location+".":"",e[Si]=e[Si]||"https://"+n+"dc."+e.endpointsuffix),e[Si]=e[Si]||mi,xn(e[Si],"/")&&(e[Si]=e[Si].slice(0,-1))),e}var To={parse:Co},Do=(No.envelopeType="Microsoft.ApplicationInsights.{0}.Event",No.dataType="EventData",No);function No(e,n,t,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0},this.ver=2,this[m]=M(e,n)||d,this[O]=Zi(e,t),this[Oi]=Xi(e,r)}var xo=/^\s{0,50}(from\s|at\s|Line\s{1,5}\d{1,10}\s{1,5}of|\w{1,50}@\w{1,80}|[^\(\s\n]+:[0-9\?]+(?::[0-9\?]+)?)/,_o=/([^\(\s\n]+):([0-9]+):([0-9]+)$/,ko=/([^\(\s\n]+):([0-9]+)$/,Eo="<no_method>",Ao="error",v="stack",Po="stackDetails",Oo="errorSrc",Mo="message",Lo="description",Ro=[{re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+):([0-9\?]+)\)?$/,len:5,m:1,fn:2,ln:3,col:4},{chk:function(e){return kn(e,"[native")<0},pre:function(e){return e.replace(/(\(anonymous\))/,"<anonymous>")},re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+)\)?$/,len:4,m:1,fn:2,ln:3},{re:/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\)\]]+)\)?$/,len:3,m:1,fn:2,hdl:Yo},{re:/(?:^|\(|\s{0,10}[\w\)]+\@)?([^\(\n\s\]\)]+)(?:\:([0-9]+)(?:\:([0-9]+))?)?\)?(?:,|$)/,len:2,fn:1,hdl:Yo}];function Uo(e,n){var t=e;return t&&!f(t)&&(JSON&&JSON[_i]?(t=JSON[_i](e),!n||t&&"{}"!==t||(t=ie(e[wi])?e[wi]():""+e)):t=e+" - (Missing JSON.stringify)"),t||""}function Vo(e,n){var t=e;return e&&((t=t&&!f(t)&&(e[Mo]||e[Lo])||t)&&!f(t)&&(t=Uo(t,!0)),e.filename&&(t=t+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),(n&&"String"!==n&&"Object"!==n&&"Error"!==n&&-1===kn(t||"",n)?n+": "+t:t)||""}function Fo(e){return e&&e.src&&f(e.src)&&e.obj&&w(e.obj)}function zo(e){var e=e||"",n=(e=f(e)?e:f(e[v])?e[v]:""+e)[Ii]("\n");return{src:e,obj:n}}function qo(e){var n,t=null;if(e)try{e[v]?t=zo(e[v]):e[Ao]&&e[Ao][v]?t=zo(e[Ao][v]):e.exception&&e.exception[v]?t=zo(e.exception[v]):Fo(e)?t=e:Fo(e[Po])?t=e[Po]:un()&&un().opera&&e[Mo]?t=function(e){for(var n=[],t=e[Ii]("\n"),r=0;r<t[P];r++){var i=t[r];t[r+1]&&(i+="@"+t[r+1],r++),n.push(i)}return{src:e,obj:n}}(e[Ti]):e.reason&&e.reason[v]?t=zo(e.reason[v]):f(e)?t=zo(e):(n=e[Mo]||e[Lo]||"",f(e[Oo])&&(n&&(n+="\n"),n+=" from "+e[Oo]),n&&(t=zo(n)))}catch(r){t=zo(r)}return t||{src:"",obj:null}}function Bo(e){var n="";if(e&&!(n=e.typeName||e[m]||""))try{var t=/function (.{1,200})\(/.exec(e.constructor[wi]()),n=t&&1<t[P]?t[1]:""}catch(r){}return n}function jo(e){if(e)try{var n,t;if(!f(e))return n=Bo(e),(t=Uo(e,!1))&&"{}"!==t||(e[Ao]&&(n=Bo(e=e[Ao])),t=Uo(e,!0)),0!==kn(t,n)&&"String"!==n?n+":"+t:t}catch(r){}return""+(e||"")}$o.CreateAutoException=function(e,n,t,r,i,o,a,u){var c=Bo(i||o||e);return{message:Vo(e,c),url:n,lineNumber:t,columnNumber:r,error:jo(i||o||e),evt:jo(o||e),typeName:c,stackDetails:qo(a||i||o),errorSrc:u}},$o.CreateFromInterface=function(r,e,n,t){var i=e[Ri]&&gn(e[Ri],function(e){return n=r,t=w((e=e)[Fi])&&gn(e[Fi],function(e){return e=e,(n={})[Hi]=Zo,n.level=e.level,n.method=e.method,n.assembly=e[qi],n.fileName=e[Bi],n.line=e[ji],n.sizeInBytes=0,Xo(n);var n})||e[Fi],Ko(n,tt(tt({},e),{parsedStack:t}));var n,t});return new $o(r,tt(tt({},e),{exceptions:i}),n,t)},$o.prototype.toInterface=function(){var e=this,n=e.exceptions,t=e.properties,r=e.measurements,i=e.severityLevel,o=e.problemGroup,a=e.id,e=e.isManual;return{ver:"4.0",exceptions:n instanceof Array&&gn(n,function(e){return e.toInterface()})||undefined,severityLevel:i,properties:t,measurements:r,problemGroup:o,id:a,isManual:e}},$o.CreateSimpleException=function(e,n,t,r,i,o){var a;return{exceptions:[((a={})[zi]=!0,a.message=e,a.stack=i,a.typeName=n,a)]}},$o.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",$o.dataType="ExceptionData",$o.formatError=jo;var Ho=$o;function $o(e,n,t,r,i,o){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,function(e){try{if(oe(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(n){}}(n)?(a[Ri]=n[Ri]||[],a[O]=n[O],a[Oi]=n[Oi],n[Ui]&&(a[Ui]=n[Ui]),n.id&&(a.id=n.id,n[O].id=n.id),n[Vi]&&(a[Vi]=n[Vi]),D(n.isManual)||(a.isManual=n.isManual)):(t=t||{},o&&(t.id=o),a[Ri]=[Ko(e,n,t)],a[O]=Zi(e,t),a[Oi]=Xi(e,r),i&&(a[Ui]=i),o&&(a.id=o))}var Go=Ne({id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2});function Jo(){var e=this,n=w(e[Fi])&&gn(e[Fi],function(e){return{level:e.level,method:e.method,assembly:e[qi],fileName:e[Bi],line:e[ji]}});return{id:e.id,outerId:e.outerId,typeName:e[Li],message:e[Ti],hasFullStack:e[zi],stack:e[v],parsedStack:n||undefined}}function Ko(n,e,t){var r,i,o,a,u,c,s;return function(e){try{if(oe(e))return"hasFullStack"in e&&"typeName"in e}catch(n){}}(e)?(r=e[Li],i=e[Ti],a=e[v],c=e[Fi]||[],o=e[zi]):(u=(s=e)&&s.evt,ue(s)||(s=s[Ao]||u||s),r=M(n,Bo(s))||d,i=Wi(n,Vo(e||s,r))||d,c=function(e){if((e=e.obj)&&0<e[P]){var r=[],i=0,o=!1,a=0;if(x(e,function(e){var n,t;(o||(t=!1,t=(n=e)&&f(n)&&(n=_(n))?xo.test(n):t))&&(n=l(e),o=!0,(t=function(e,n){var t;if(e&&f(e)&&_(e)){(t={})[Hi]=Zo,t.level=n,t.assembly=_(e),t.method=Eo,t.fileName="",t.line=0,t.sizeInBytes=0;for(var r=t,i=0;i<Ro[P];){var o=Ro[i];if(o.chk&&!o.chk(e))break;var a=(e=o.pre?o.pre(e):e)[Ei](o.re);if(a&&a[P]>=o.len){o.m&&(r.method=_(a[o.m]||Eo)),o.hdl?o.hdl(r,o,a):o.fn&&(o.ln?(r[Bi]=_(a[o.fn]||""),r[ji]=parseInt(_(a[o.ln]||""))||0):Wo(r,a[o.fn]||""));break}i++}}return Xo(r)}(n,i))&&(a+=t[Mi],r.push(t),i++))}),32768<a)for(var n=0,t=r[P]-1,u=0,c=n,s=t;n<t;){if(32768<(u+=r[n][Mi]+r[t][Mi])){r.splice(c,s-c+1);break}c=n,s=t,n++,t--}}return r}(u=e[Po]||qo(e)),w(c)&&gn(c,function(e){e[qi]=M(n,e[qi]),e[Bi]=M(n,e[Bi])}),a=Yi(n,(s="",s=(e=u)?e.obj?e.obj.join("\n"):e.src||"":s)),o=w(c)&&0<c[P],t&&(t[Li]=t[Li]||r)),(u={})[Hi]=Go,u.id=void 0,u.outerId=void 0,u.typeName=r,u.message=i,u[zi]=o,u.stack=a,u.parsedStack=c,u.toInterface=Jo,u}function Wo(e,n){var t=n[Ei](_o);t&&4<=t[P]?(e[Bi]=t[1],e[ji]=parseInt(t[2])):(t=n[Ei](ko))&&3<=t[P]?(e[Bi]=t[1],e[ji]=parseInt(t[2])):e[Bi]=n}function Yo(e,n,t){var r=e[Bi];n.fn&&t&&t[P]>n.fn&&(n.ln&&t[P]>n.ln?(r=_(t[n.fn]||""),e[ji]=parseInt(_(t[n.ln]||""))||0):r=_(t[n.fn]||"")),r&&Wo(e,r)}var Zo=Ne({level:1,method:1,assembly:0,fileName:0,line:0});function Xo(e){var n=58;return e&&(n=(n+=e.method[P])+e.assembly[P]+e.fileName[P]+e.level.toString()[P]+e.line.toString()[P],e[Mi]=n),e}var Qo=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},ea=(na.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",na.dataType="MetricData",na);function na(e,n,t,r,i,o,a,u,c){this.aiDataContract={ver:1,metrics:1,properties:0},this.ver=2;var s=new Qo;s[Di]=0<r?r:undefined,s.max=isNaN(o)||null===o?undefined:o,s.min=isNaN(i)||null===i?undefined:i,s[m]=M(e,n)||d,s.value=t,s.stdDev=isNaN(a)||null===a?undefined:a,this.metrics=[s],this[O]=Zi(e,u),this[Oi]=Xi(e,c)}var ta="";function ra(e){e=Nn(e=isNaN(e)||e<0?0:e);var n=ta+e%1e3,t=ta+Cn(e/1e3)%60,r=ta+Cn(e/6e4)%60,i=ta+Cn(e/36e5)%24,e=Cn(e/864e5),n=1===n[P]?"00"+n:2===n[P]?"0"+n:n,t=t[P]<2?"0"+t:t,r=r[P]<2?"0"+r:r,i=i[P]<2?"0"+i:i;return(0<e?e+".":ta)+i+":"+r+":"+t+"."+n}oa.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",oa.dataType="PageviewData";var ia=oa;function oa(e,n,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=Qi(e,a),u.url=Ki(e,t),u[m]=M(e,n)||d,isNaN(r)||(u[$i]=ra(r)),u[O]=Zi(e,i),u[Oi]=Xi(e,o)}ua.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",ua.dataType="RemoteDependencyData";var aa=ua;function ua(e,n,t,r,i,o,a,u,c,s,f,l){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 d,v,p=this,t=(p.ver=2,p.id=n,p[$i]=ra(i),p.success=o,p.resultCode=a+"",p.type=M(e,c),n=e,i=u,c=a=o=r,a=(u=t)&&0<u[P]?(v=(t=oo(u)).host,a||(null!=t[ki]?("/"!=((d=0===t.pathname[P]?"/":t[ki])[0]||"")&&(d="/"+d),c=t[ki],M(n,i?i+" "+d:d)):M(n,u))):v=o,{target:v,name:a,data:c});p.data=Ki(e,r)||t.data,p.target=M(e,t.target),s&&(p.target="".concat(p.target," | ").concat(s)),p[m]=M(e,t[m]),p[O]=Zi(e,f),p[Oi]=Xi(e,l)}sa.envelopeType="Microsoft.ApplicationInsights.{0}.Message",sa.dataType="MessageData";var ca=sa;function sa(e,n,t,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var o=this;o.ver=2,o[Ti]=Wi(e,n=n||d),o[O]=Zi(e,r),o[Oi]=Xi(e,i),t&&(o[Ui]=t)}la.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",la.dataType="PageviewPerformanceData";var fa=la;function la(e,n,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=Ki(e,t),u[m]=M(e,n)||d,u[O]=Zi(e,i),u[Oi]=Xi(e,o),a&&(u.domProcessing=a.domProcessing,u[$i]=a[$i],u.networkConnect=a.networkConnect,u.perfTotal=a.perfTotal,u.receivedResponse=a.receivedResponse,u.sentRequest=a.sentRequest)}var u=u({Verbose:0,Information:1,Warning:2,Error:3,Critical:4}),da=(va.getConfig=function(e,n,t,r){return void 0===r&&(r=!1),t=(t&&e[Pi]&&e[Pi][t]&&!D(e[Pi][t][n])?e[Pi][t]:e)[n],D(t)?r:t},va);function va(){}function pa(e){var n="ai."+e+".";return function(e){return n+e}}var ga,ma,ha,ya=pa("application"),L=pa("device"),Ia=pa("location"),ba=pa("operation"),Sa=pa("session"),wa=pa("user"),Ca=pa("cloud"),Ta=pa("internal"),L=(ha={applicationVersion:ya("ver"),applicationBuild:ya("build"),applicationTypeId:ya("typeId"),applicationId:ya("applicationId"),applicationLayer:ya("layer"),deviceId:L("id"),deviceIp:L("ip"),deviceLanguage:L("language"),deviceLocale:L("locale"),deviceModel:L("model"),deviceFriendlyName:L("friendlyName"),deviceNetwork:L("network"),deviceNetworkName:L("networkName"),deviceOEMName:L("oemName"),deviceOS:L("os"),deviceOSVersion:L("osVersion"),deviceRoleInstance:L("roleInstance"),deviceRoleName:L("roleName"),deviceScreenResolution:L("screenResolution"),deviceType:L("type"),deviceMachineName:L("machineName"),deviceVMName:L("vmName"),deviceBrowser:L("browser"),deviceBrowserVersion:L("browserVersion"),locationIp:Ia("ip"),locationCountry:Ia("country"),locationProvince:Ia("province"),locationCity:Ia("city"),operationId:ba("id"),operationName:ba("name"),operationParentId:ba("parentId"),operationRootId:ba("rootId"),operationSyntheticSource:ba("syntheticSource"),operationCorrelationVector:ba("correlationVector"),sessionId:Sa("id"),sessionIsFirst:Sa("isFirst"),sessionIsNew:Sa("isNew"),userAccountAcquisitionDate:wa("accountAcquisitionDate"),userAccountId:wa("accountId"),userAgent:wa("userAgent"),userId:wa("id"),userStoreRegion:wa("storeRegion"),userAuthUserId:wa("authUserId"),userAnonymousUserAcquisitionDate:wa("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:wa("authUserAcquisitionDate"),cloudName:Ca("name"),cloudRole:Ca("role"),cloudRoleVer:Ca("roleVer"),cloudRoleInstance:Ca("roleInstance"),cloudEnvironment:Ca("environment"),cloudLocation:Ca("location"),cloudDeploymentUnit:Ca("deploymentUnit"),internalNodeName:Ta("nodeName"),internalSdkVersion:Ta("sdkVersion"),internalAgentVersion:Ta("agentVersion"),internalSnippet:Ta("snippet"),internalSdkSrc:Ta("sdkSrc")},ya=ga=function(){var t=this;N(ha,function(e,n){t[e]=n})},rt(ma=Na,ya),ma[o]=(Da[o]=ya[o],new Da),Na);function Da(){this.constructor=ma}function Na(){return ga.call(this)||this}function xa(e,n,t,r,i,o){if(t=M(r,t)||d,D(e)||D(n)||D(t))throw Error("Input doesn't contain all required fields");var r="",a=(e[hi]&&(r=e[hi],delete e[hi]),{name:t,time:zt(new Date),iKey:r,ext:o||{},tags:[],data:{},baseType:n,baseData:e});return D(i)||N(i,function(e,n){a.data[e]=n}),a}_a.create=xa;Ia=_a;function _a(){}ba=new L;function ka(e,n){var t,r,i=void 0;if(void 0===i&&(i=!1),e)try{var o=fi(null,n),a=!1,u=e,c=function(e){return!(!o.ns&&null!==e.handler)&&(a=!0)};(t=o)[Jn]?vi(u,li(u,t[Jn]),t,c):(N(r=ui.get(u,ri,{}),function(e,n){vi(u,n,t,c)}),0===De(r)[k]&&ui.kill(u,ri)),a||di(e,o,null,i)}catch(s){}}e.AnalyticsPluginIdentifier="ApplicationInsightsAnalytics",e.BreezeChannelIdentifier="AppInsightsChannelPlugin",e.ConfigurationManager=da,e.ConnectionStringParser=To,e.ContextTagKeys=L,e.CtxTagKeys=ba,e.DEFAULT_BREEZE_ENDPOINT=mi,e.DEFAULT_BREEZE_PATH=a,e.Data=function(e,n){this.aiDataContract={baseType:1,baseData:1},this.baseType=e,this.baseData=n},e.DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",e.DistributedTracingModes=W,e.Envelope=function(e,n,t){var r=this,i=this;i.ver=1,i.sampleRate=100,i.tags={},i[m]=M(e,t)||d,i.data=n,i.time=zt(new Date),i[Hi]={time:1,iKey:1,name:1,sampleRate:function(){return 100===r.sampleRate?4:1},tags:1,data:1}},e.Event=Do,e.EventPersistence=r,e.Exception=Ho,e.Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},e.HttpMethod="http.method",e.Metric=ea,e.PageView=ia,e.PageViewPerformance=fa,e.ProcessLegacy="ProcessLegacy",e.PropertiesPluginIdentifier="AppInsightsPropertiesPlugin",e.RemoteDependencyData=aa,e.RequestHeaders=yi,e.SampleRate="sampleRate",e.SeverityLevel=u,e.TelemetryItemCreator=Ia,e.ThrottleMgr=function(e,n){var v,p,d,i,g,o,a,t=this,m=!1,h=!1;function u(e,n,t,r){if(m){if(!function(e){try{var n=y(e);return Cn(rr()/Zt*(1e6+1))>>>0<=n.limit.samplingRate}catch(t){}}(e))return;var i=y(e),o=w(e),a=I(i,v,o),u=!1,c=0,s=C(e);try{a&&!s?(c=Pe(i.limit.maxSendNumber,o[Di]+1),u=!(o[Di]=0),g[e]=!0,o[Ni]=new Date):(g[e]=a,o[Di]+=1);var f=b(e);S(p,f,o);for(var l=0;l<c;l++)A(p,t||1,e,n)}catch(d){}return{isThrottled:u,throttleNum:c}}return r&&T(e).push({msgID:e,message:n,severity:t}),null}function y(e){return d[e]||d[109]}function r(e,n){var t,r,i,o,a;try{var u=n||{},c={},s=(c.disabled=!!u.disabled,u.interval||{}),f=(h=(null===s?void 0:s.daysOfMonth)&&0<(null===s?void 0:s.daysOfMonth[P]),c.interval=(o=null==(i=s||{})?void 0:i.monthInterval,a=null==i?void 0:i.dayInterval,D(o)&&D(a)&&(i.monthInterval=3,h||(i.daysOfMonth=[28],h=!0)),{monthInterval:null==i?void 0:i.monthInterval,dayInterval:null==i?void 0:i.dayInterval,daysOfMonth:null==i?void 0:i.daysOfMonth}),{samplingRate:(null==(t=u.limit)?void 0:t.samplingRate)||100,maxSendNumber:(null==(r=u.limit)?void 0:r.maxSendNumber)||1});c.limit=f,d[e]=c}catch(l){}}function I(e,n,t){var r,i;return!(!e||e.disabled||!n||!Ut(t))&&(n=c(),t=t.date,r=1,null!=(e=e.interval)&&e.monthInterval&&(i=12*(n.getUTCFullYear()-t.getUTCFullYear())+n.getUTCMonth()-t.getUTCMonth(),r=s(e.monthInterval,0,i)),i=1,h?i=pn(e.daysOfMonth,n[xi]()):null!=e&&e.dayInterval&&(n=Cn((n.getTime()-t.getTime())/864e5),i=s(e.dayInterval,0,n)),0<=r&&0<=i)}function b(e,n){n=Ut(n)?n:"";return e?"appInsightsThrottle"+n+"-"+e:null}function c(e){try{if(!e)return new Date;var n=new Date(e);if(!isNaN(n.getDate()))return n}catch(t){}return null}function S(e,n,t){try{So(e,n,_(JSON[_i](t)))}catch(r){}}function s(e,n,t){return e<=0?1:n<=t&&(t-n)%e==0?Cn((t-n)/e)+1:-1}function w(e){try{var n,t;return i[e]||(n=b(e,o),t=function(e,n,t){try{var r,i={date:c(),count:0};return e?{date:c((r=JSON.parse(e)).date)||i.date,count:r[Di]||i[Di],preTriggerDate:r.preTriggerDate?c(r[Ni]):undefined}:(S(n,t,i),i)}catch(o){}return null}(bo(p,n),p,n),i[e]=t),i[e]}catch(r){}return null}function C(e){var n,t=g[e];return D(t)&&(t=!1,(n=w(e))&&(t=function(e){try{var n;if(e)return n=new Date,e.getUTCFullYear()==n.getUTCFullYear()&&e.getUTCMonth()==n.getUTCMonth()&&e[xi]()===n[xi]()}catch(t){}return!1}(n[Ni])),g[e]=t),g[e]}function T(e){return D((a=a||{})[e])&&(a[e]=[]),a[e]}p=(e||{})[Vn]||new Vr(void 0),g={},i={},a={},d={},r(109),o=Ut(n)?n:"",e.addUnloadHook(kr(e.config,function(e){e=e.cfg;v=Io(),N(e.throttleMgrCfg||{},function(e,n){r(parseInt(e),n)})})),t._getDbgPlgTargets=function(){return[a]},t.getConfig=function(){return d},t.canThrottle=function(e){var n=w(e);return I(y(e),v,n)},t.isTriggered=C,t.isReady=function(){return m},t.flush=function(e){try{var n,t=T(e);if(t&&0<t[P])return n=t.slice(0),a[e]=[],x(n,function(e){u(e.msgID,e[Ti],e.severity,!1)}),!0}catch(r){}return!1},t.flushAll=function(){try{var n;if(a)return n=!0,N(a,function(e){e=t.flush(parseInt(e));n=n&&e}),n}catch(e){}return!1},t.onReadyState=function(e,n){return void 0===n&&(n=!0),(m=!!D(e)||e)&&n?t.flushAll():null},t.sendMessage=function(e,n,t){return u(e,n,t,!0)}},e.Trace=ca,e.correlationIdCanIncludeCorrelationHeader=function(e,n,t){if(!n||e&&e.disableCorrelationHeaders)return!1;if(e&&e[Ai])for(var r=0;r<e.correlationHeaderExcludePatterns[P];r++)if(e[Ai][r].test(n))return!1;var i=oo(n).host[bi]();if(!i||-1===kn(i,":443")&&-1===kn(i,":80")||(i=(uo(n,!0)||"")[bi]()),(!e||!e.enableCorsCorrelation)&&i&&i!==t)return!1;var o,t=e&&e.correlationHeaderDomains;if(t&&(x(t,function(e){e=RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));o=o||e.test(i)}),!o))return!1;var a=e&&e.correlationHeaderExcludedDomains;if(!a||0===a[P])return!0;for(r=0;r<a[P];r++)if(RegExp(a[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(i))return!1;return i&&0<i[P]},e.correlationIdGetCorrelationContext=function(e){if(e){e=fo(e,yi[1]);if(e&&e!==so)return e}},e.correlationIdGetCorrelationContextValue=fo,e.correlationIdGetPrefix=function(){return so},e.correlationIdSetPrefix=function(e){so=e},e.createDistributedTraceContextFromTrace=function(e,n){var t=e||{};return{getName:function(){return t[m]},setName:function(e){n&&n.setName(e),t[m]=e},getTraceId:function(){return t.traceID},setTraceId:function(e){n&&n.setTraceId(e),Kr(e)&&(t.traceID=e)},getSpanId:function(){return t.parentID},setSpanId:function(e){n&&n.setSpanId(e),Wr(e)&&(t.parentID=e)},getTraceFlags:function(){return t.traceFlags},setTraceFlags:function(e){n&&n.setTraceFlags(e),t.traceFlags=e}}},e.createDomEvent=function(e){var n,t=null;return ie(Event)?t=new Event(e):(n=an())&&n.createEvent&&(t=n.createEvent("Event")).initEvent(e,!0,!0),t},e.createOfflineListener=function(e){var n,t=an(),r=cn(),i=!1,o=[],a=1,u=(!r||D(r.onLine)||r.onLine||(a=2),0),c=l(),s=(r=cr("OfflineListener"),(e=e)?fi("xx",w(e)?[r].concat(e):[r,e]).ns[$n]("."):r);try{f(un())&&(i=!0),t&&(n=t.body||t).ononline&&f(n)&&(i=!0)}catch(g){i=!1}function f(e){var n=!1;return e&&(n=pi(e,"online",v,s))&&pi(e,"offline",p,s),n}function l(){return 2!==u&&2!==a}function d(){var e=l();c!==e&&(c=e,x(o,function(e){var n={isOnline:c,rState:a,uState:u};try{e(n)}catch(g){}}))}function v(){a=1,d()}function p(){a=2,d()}return{isOnline:function(){return c},isListening:function(){return i},unload:function(){var e=un();e&&i&&(ka(e,s),t&&!ne((e=t.body||t).ononline)&&ka(e,s),i=!1)},addListener:function(n){return o.push(n),{rm:function(){var e=o.indexOf(n);if(-1<e)return o.splice(e,1)}}},setOnlineState:function(e){u=e,d()}}},e.createTelemetryItem=xa,e.createTraceParent=function(e,n,t,r){return{version:Hr(r,2,"ff")?r:"00",traceId:Kr(e)?e:zr(),spanId:Wr(n)?n:(r=zr(),Le(r,0,16)),traceFlags:0<=t&&t<=255?t:1}},e.dataSanitizeException=Yi,e.dataSanitizeId=Qi,e.dataSanitizeInput=eo,e.dataSanitizeKey=Ji,e.dataSanitizeKeyAndAddUniqueness=Gi,e.dataSanitizeMeasurements=Xi,e.dataSanitizeMessage=Wi,e.dataSanitizeProperties=Zi,e.dataSanitizeString=M,e.dataSanitizeUrl=Ki,e.dateTimeUtilsDuration=function(e,n){return 0===e||0===n||D(e)||D(n)?null:n-e},e.dateTimeUtilsNow=function(){var e=Dn();if(e&&e.now&&e.timing){e=e.now()+e.timing.navigationStart;if(0<e)return e}return je()},e.dsPadNumber=no,e.findAllScripts=function(e){var e=e.getElementsByTagName("script"),o=[];return x(e,function(e){var n,t,r,i=e[Yn]("src");i&&(n=e[Yn]("crossorigin"),t=!0===e.hasAttribute("async"),r=!0===e.hasAttribute("defer"),e=e[Yn]("referrerpolicy"),i={url:i},n&&(i.crossOrigin=n),t&&(i["async"]=t),r&&(i.defer=r),e&&(i.referrerPolicy=e),o[E](i))}),o},e.findW3cTraceParent=function(e){var n,t;return Jr((t=an())?Wt(t.querySelectorAll("meta"),"traceparent").content:null,e)||Jr(n=(t=Dn())?Wt((0<(t=t.getEntriesByType("navigation")||[])[k]?t[0]:{}).serverTiming,"traceparent").description:n,e)},e.formatTraceParent=function(e){var n,t;return e?(Hr(n=Gr(e[Wn]),2)||(n="01"),t=e[zn]||"00","".concat((t="00"!==t&&"ff"!==t?"00":t).toLowerCase(),"-").concat($r(e.traceId,32,Br).toLowerCase(),"-").concat($r(e.spanId,16,jr).toLowerCase(),"-").concat(n.toLowerCase())):""},e.getExtensionByName=function(e,n){var t=null;return x(e,function(e){if(e.identifier===n)return t=e,-1}),t},e.isBeaconApiSupported=function(e){return Gt=null!==Gt&&!1!==e?Gt:!!cn()&&!!cn().sendBeacon},e.isCrossOriginError=function(e,n,t,r,i){return!i&&f(e)&&("Script error."===e||"Script error"===e)},e.isInternalApplicationInsightsEndpoint=function(e){return-1!==pn(co,e[bi]())},e.isSampledFlag=function(e){return!!Yr(e)&&1==(1&e[Wn])},e.isValidSpanId=Wr,e.isValidTraceId=Kr,e.isValidTraceParent=Yr,e.msToTimeSpan=ra,e.parseConnectionString=Co,e.parseTraceParent=Jr,e.strNotSpecified=d,e.stringToBoolOrDefault=function(e,n){return void 0===n&&(n=!1),e===undefined||null===e?n:"true"===e.toString()[bi]()},e.urlGetAbsoluteUrl=function(e){e=oo(e);return e?e.href:void 0},e.urlGetCompleteUrl=function(e,n){return e?e.toUpperCase()+" "+n:n},e.urlGetPathName=function(e){e=oo(e);return e?e[ki]:void 0},e.urlParseFullHost=uo,e.urlParseHost=ao,e.urlParseUrl=oo,e.utlCanUseLocalStorage=Io,e.utlCanUseSessionStorage=wo,e.utlDisableStorage=function(){po=vo=!1},e.utlEnableStorage=function(){vo=Io(!0),po=wo(!0)},e.utlGetLocalStorage=bo,e.utlGetSessionStorage=function(e,n){var t=yo();if(null!==t)try{return t.getItem(n)}catch(r){po=!1,A(e,2,2,"Browser failed read of session storage. "+qt(r),{exception:C(r)})}return null},e.utlGetSessionStorageKeys=function(){var n=[];return wo()&&N(g("sessionStorage"),function(e){n.push(e)}),n},e.utlRemoveSessionStorage=function(e,n){var t=yo();if(null!==t)try{return t[Ci](n),!0}catch(r){po=!1,A(e,2,6,"Browser failed removal of session storage item. "+qt(r),{exception:C(r)})}return!1},e.utlRemoveStorage=function(e,n){var t=mo();if(null!==t)try{return t[Ci](n),!0}catch(r){vo=!1,A(e,2,5,"Browser failed removal of local storage item. "+qt(r),{exception:C(r)})}return!1},e.utlSetLocalStorage=So,e.utlSetSessionStorage=function(e,n,t){var r=yo();if(null!==r)try{return r.setItem(n,t),!0}catch(i){po=!1,A(e,2,4,"Browser failed write to session storage. "+qt(i),{exception:C(i)})}return!1},e.utlSetStoragePrefix=function(e){go=e||""}});
|
|
6
6
|
//# sourceMappingURL=applicationinsights-common.min.js.map
|