{"version":3,"sources":["jsdelivr-header.js","/npm/@microsoft/applicationinsights-web-snippet@1.2.3/dist/es5/node/applicationinsights-web-snippet.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;CCFA,SAAW,EAAQ,GACI,iBAAZ,SAA0C,oBAAX,OAAyB,EAAQ,SACrD,mBAAX,QAAyB,OAAO,IAAM,OAAO,CAAC,WAAY,GACU,IAA1E,EAA+B,oBAAf,WAA6B,WAAa,GAAU,MAAsB,UAAY,EAAO,WAAa,CAAC,EAAG,EAAO,UAAU,mCAAqC,EAAO,UAAU,oCAAsC,CAAC,GAChP,CAJD,CAIG,MAAM,SAAW,GAAW,aAE3B,IAAI,EAAU,CACV,IAAK,UACL,IAAK,UACL,KAAM,OACN,KAAM,MACN,KAAM,MACN,KAAM,MACN,KAAM,MACN,KAAM,MACN,KAAM,MACN,SAAU,UACV,SAAU,WAEV,EAAY,wCAChB,SAAS,EAAwB,GAM7B,OALI,IACA,EAAQ,EAAM,QAAQ,mCAAmC,SAAU,GAC/D,OAAO,EAAQ,EACnB,KAEG,CACX,CACA,SAAS,EAAe,GAIpB,YAHc,IAAV,IACA,IAAU,GAEP,CACX,CAOA,SAAS,EAAc,GACnB,IAAI,EAAM,GACN,EAAa,EACjB,GAAI,EAAO,CACP,IAAI,EAAU,EAAM,MAAM,GAEtB,GAA8B,IAAnB,EAAQ,SACnB,EAAM,EAAQ,GAAG,OACjB,EAAa,EAAM,QAAQ,EAAW,IAE9C,CACA,MAAO,CAAC,EAAK,EACjB,CAEA,IACI,EAAa,uyOAuCjB,EAAQ,mBA9BR,SAA4B,GACxB,IA/BmB,EA+Bf,EAAgB,CAChB,IAAK,EAAwB,EAAO,IAAM,EAAO,IAAM,0DACvD,YAAa,EAAwB,EAAO,YAAc,EAAO,YAAc,aAC/E,IAAK,CAAC,EACN,KAAM,EAAwB,EAAO,KAAO,EAAO,KAAO,eAC1D,IApCe,EAoCG,EAAO,QAnCf,IAAV,IACA,EAAQ,OAAO,IAEZ,GAiCH,OAAQ,EAAe,EAAO,QAC9B,GAAI,EAAe,EAAO,IAC1B,IAAK,EAAe,EAAO,KAC3B,IAAK,EAAe,EAAO,MAE3B,EAAO,mBACP,EAAc,IAAI,mBAAqB,EAAwB,EAAO,oBAEjE,EAAO,mBACZ,EAAc,IAAI,iBAAmB,EAAwB,EAAO,mBAExE,IAAI,EAAY,EA5BA,urLA6BZ,EAAmB,EAAU,GAG7B,EAAS,oBAFQ,EAAU,GAEqB,QADjC,KAAK,UAAU,GAC2C,OAK7E,OAHI,IACA,GAAU,KAAO,GAEd,CACX,EAGA,EAAQ,WAAa,EACrB,EAAQ,aAxCW,uxOAyCnB,EAAQ,kBAxCR,WACI,IAAI,EAAQ,kBAAkB,KAAK,GACnC,OAAI,EACO,EAAM,GAEV,EACX,CAoCH","file":"/npm/@microsoft/applicationinsights-web-snippet@1.2.3/dist/es5/node/applicationinsights-web-snippet.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@microsoft/applicationinsights-web-snippet@1.2.3/dist/es5/node/applicationinsights-web-snippet.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*!\n * Application Insights JavaScript SDK - Web Snippet, 1.2.3\n * Copyright (c) Microsoft and contributors. All rights reserved.\n */\n(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n    typeof define === 'function' && define.amd ? define(['exports'], factory) :\n    (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft[\"ApplicationInsights-Web-Snippet\"] = global.Microsoft[\"ApplicationInsights-Web-Snippet\"] || {})));\n})(this, (function (exports) { 'use strict';\n\n    var charMap = {\r\n        \"<\": \"\\\\u003C\",\r\n        \">\": \"\\\\u003E\",\r\n        \"\\\\\": \"\\\\\\\\\",\r\n        \"\\b\": \"\\\\b\",\r\n        \"\\f\": \"\\\\f\",\r\n        \"\\n\": \"\\\\n\",\r\n        \"\\r\": \"\\\\r\",\r\n        \"\\t\": \"\\\\t\",\r\n        \"\\0\": \"\\\\0\",\r\n        \"\\u2028\": \"\\\\u2028\",\r\n        \"\\u2029\": \"\\\\u2029\"\r\n    };\r\n    var sourceMap = /\\/\\/# sourceMappingURL=.*\\.js\\.map$/gm;\r\n    function _escapeUnsupportedChars(value) {\r\n        if (value) {\r\n            value = value.replace(/[<>\\\\\\b\\f\\n\\r\\t\\0\\u2028\\u2029]/g, function (match) {\r\n                return charMap[match];\r\n            });\r\n        }\r\n        return value;\r\n    }\r\n    function _ensureBoolean(value) {\r\n        if (value !== undefined) {\r\n            value = !!value;\r\n        }\r\n        return value;\r\n    }\r\n    function _ensureNumber(value) {\r\n        if (value !== undefined) {\r\n            value = Number(value);\r\n        }\r\n        return value;\r\n    }\r\n    function _getSourceMap(value) {\r\n        var rlt = \"\";\r\n        var cleanedStr = value;\r\n        if (value) {\r\n            var matches = value.match(sourceMap);\r\n            // process when there is only one source map\r\n            if (matches && matches.length === 1) {\r\n                rlt = matches[0].trim();\r\n                cleanedStr = value.replace(sourceMap, \"\");\r\n            }\r\n        }\r\n        return [rlt, cleanedStr];\r\n    }\n\n    var originSnippet = \"var k,x,D,E,L,C,b,U,O,A,e,t=\\\"track\\\",n=\\\"TrackPage\\\",i=\\\"TrackEvent\\\",I=[t+\\\"Event\\\",t+\\\"Exception\\\",t+\\\"PageView\\\",t+\\\"PageViewPerformance\\\",\\\"addTelemetryInitializer\\\",t+\\\"Trace\\\",t+\\\"DependencyData\\\",t+\\\"Metric\\\",\\\"start\\\"+n,\\\"stop\\\"+n,\\\"start\\\"+i,\\\"stop\\\"+i,\\\"setAuthenticatedUserContext\\\",\\\"clearAuthenticatedUserContext\\\",\\\"flush\\\"];function a(){cfg.onInit&&cfg.onInit(e)}k=window,x=document,D=k.location,E=\\\"script\\\",L=\\\"ingestionendpoint\\\",C=\\\"disableExceptionTracking\\\",b=\\\"crossOrigin\\\",U=\\\"POST\\\",O=cfg.pn||\\\"aiPolicy\\\",t=\\\"appInsightsSDK\\\",A=cfg.name||\\\"appInsights\\\",(cfg.name||k[t])&&(k[t]=A),e=k[A]||function(u){var n=u.url||cfg.src,s=!1,p=!1,l={initialize:!0,queue:[],sv:\\\"10\\\",config:u,version:2,extensions:void 0};function d(e){var t,n,i,a,r,o,c,s;!0!==cfg.dle&&(o=(t=function(){var e,t={},n=u.connectionString;if(\\\"string\\\"==typeof n&&n)for(var i=n.split(\\\";\\\"),a=0;a<i.length;a++){var r=i[a].split(\\\"=\\\");2===r.length&&(t[r[0].toLowerCase()]=r[1])}return t[L]||(e=(n=t.endpointsuffix)?t.location:null,t[L]=\\\"https://\\\"+(e?e+\\\".\\\":\\\"\\\")+\\\"dc.\\\"+(n||\\\"services.visualstudio.com\\\")),t}()).instrumentationkey||u.instrumentationKey||\\\"\\\",t=(t=(t=t[L])&&\\\"/\\\"===t.slice(-1)?t.slice(0,-1):t)?t+\\\"/v2/track\\\":u.endpointUrl,t=u.userOverrideEndpointUrl||t,(n=[]).push((i=\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)\\\",a=e,c=t,(s=(r=f(o,\\\"Exception\\\")).data).baseType=\\\"ExceptionData\\\",s.baseData.exceptions=[{typeName:\\\"SDKLoadFailed\\\",message:i.replace(/\\\\./g,\\\"-\\\"),hasFullStack:!1,stack:i+\\\"\\\\nSnippet failed to load [\\\"+a+\\\"] -- Telemetry is disabled\\\\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\\\\nHost: \\\"+(D&&D.pathname||\\\"_unknown_\\\")+\\\"\\\\nEndpoint: \\\"+c,parsedStack:[]}],r)),n.push((s=e,i=t,(c=(a=f(o,\\\"Message\\\")).data).baseType=\\\"MessageData\\\",(r=c.baseData).message=\\'AI (Internal): 99 message:\\\"\\'+(\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (\\\"+s+\\\")\\\").replace(/\\\\\\\"/g,\\\"\\\")+\\'\\\"\\',r.properties={endpoint:i},a)),e=n,o=t,JSON&&((c=k.fetch)&&!cfg.useXhr?c(o,{method:U,body:JSON.stringify(e),mode:\\\"cors\\\"}):XMLHttpRequest&&((s=new XMLHttpRequest).open(U,o),s.setRequestHeader(\\\"Content-type\\\",\\\"application/json\\\"),s.send(JSON.stringify(e)))))}function f(e,t){return e=e,t=t,i=l.sv,a=l.version,r=D,(o={})[\\\"ai.device.\\\"+\\\"id\\\"]=\\\"browser\\\",o[\\\"ai.device.type\\\"]=\\\"Browser\\\",o[\\\"ai.operation.name\\\"]=r&&r.pathname||\\\"_unknown_\\\",o[\\\"ai.internal.sdkVersion\\\"]=\\\"javascript:snippet_\\\"+(i||a),{time:(r=new Date).getUTCFullYear()+\\\"-\\\"+n(1+r.getUTCMonth())+\\\"-\\\"+n(r.getUTCDate())+\\\"T\\\"+n(r.getUTCHours())+\\\":\\\"+n(r.getUTCMinutes())+\\\":\\\"+n(r.getUTCSeconds())+\\\".\\\"+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\\\"Z\\\",iKey:e,name:\\\"Microsoft.ApplicationInsights.\\\"+e.replace(/-/g,\\\"\\\")+\\\".\\\"+t,sampleRate:100,tags:o,data:{baseData:{ver:2}},ver:undefined,seq:\\\"1\\\",aiDataContract:undefined};function n(e){e=\\\"\\\"+e;return 1===e.length?\\\"0\\\"+e:e}var i,a,r,o}var i,a,t,r,g=-1,h=0,m=[\\\"js.monitor.azure.com\\\",\\\"js.cdn.applicationinsights.io\\\",\\\"js.cdn.monitor.azure.com\\\",\\\"js0.cdn.applicationinsights.io\\\",\\\"js0.cdn.monitor.azure.com\\\",\\\"js2.cdn.applicationinsights.io\\\",\\\"js2.cdn.monitor.azure.com\\\",\\\"az416426.vo.msecnd.net\\\"],o=function(){return c(n,null)};function c(t,r){if((n=navigator)&&(~(n=(n.userAgent||\\\"\\\").toLowerCase()).indexOf(\\\"msie\\\")||~n.indexOf(\\\"trident/\\\"))&&~t.indexOf(\\\"ai.3\\\")&&(t=t.replace(/(\\\\/)(ai\\\\.3\\\\.)([^\\\\d]*)$/,function(e,t,n){return t+\\\"ai.2\\\"+n})),!1!==cfg.cr)for(var e=0;e<m.length;e++)if(0<t.indexOf(m[e])){g=e;break}var n,o=function(e){var a;l.queue=[],p||(0<=g&&h+1<m.length?(a=(g+h+1)%m.length,i(t.replace(/^(.*\\\\/\\\\/)([\\\\w\\\\.]*)(\\\\/.*)$/,function(e,t,n,i){return t+m[a]+i})),h+=1):(s=p=!0,d(t)))},c=function(e,t){p||setTimeout(function(){t&&!l.core&&o()},500),s=!1},i=function(e){var n,i=x.createElement(E),e=(cfg.pl?cfg.ttp&&cfg.ttp.createScript?i.src=cfg.ttp.createScriptURL(e):i.src=(null==(n=window.trustedTypes)?void 0:n.createPolicy(O,{createScriptURL:function(e){try{var t=new URL(e);if(t.host&&\\\"js.monitor.azure.com\\\"===t.host)return e;a(e)}catch(n){a(e)}}})).createScriptURL(e):i.src=e,cfg.nt&&i.setAttribute(\\\"nonce\\\",cfg.nt),r&&(i.integrity=r),i.setAttribute(\\\"data-ai-name\\\",A),cfg[b]);function a(e){d(\\\"AI policy blocked URL: \\\"+e)}return!e&&\\\"\\\"!==e||\\\"undefined\\\"==i[b]||(i[b]=e),i.onload=c,i.onerror=o,i.onreadystatechange=function(e,t){\\\"loaded\\\"!==i.readyState&&\\\"complete\\\"!==i.readyState||c(0,t)},cfg.ld&&cfg.ld<0?x.getElementsByTagName(\\\"head\\\")[0].appendChild(i):setTimeout(function(){x.getElementsByTagName(E)[0].parentNode.appendChild(i)},cfg.ld||0),i};i(t)}cfg.sri&&(i=n.match(/^((http[s]?:\\\\/\\\\/.*\\\\/)\\\\w+(\\\\.\\\\d+){1,5})\\\\.(([\\\\w]+\\\\.){0,2}js)$/))&&6===i.length?(T=\\\"\\\".concat(i[1],\\\".integrity.json\\\"),a=\\\"@\\\".concat(i[4]),S=window.fetch,t=function(e){if(!e.ext||!e.ext[a]||!e.ext[a].file)throw Error(\\\"Error Loading JSON response\\\");var t=e.ext[a].integrity||null;c(n=i[2]+e.ext[a].file,t)},S&&!cfg.useXhr?S(T,{method:\\\"GET\\\",mode:\\\"cors\\\"}).then(function(e){return e.json()[\\\"catch\\\"](function(){return{}})}).then(t)[\\\"catch\\\"](o):XMLHttpRequest&&((r=new XMLHttpRequest).open(\\\"GET\\\",T),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE)if(200===r.status)try{t(JSON.parse(r.responseText))}catch(e){o()}else o()},r.send())):n&&o();try{l.cookie=x.cookie}catch(w){}function e(e){for(;e.length;)!function(t){l[t]=function(){var e=arguments;s||l.queue.push(function(){l[t].apply(l,e)})}}(e.pop())}e(I);var v,y,S=!(l.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4}),T=(u.extensionConfig||{}).ApplicationInsightsAnalytics||{};return(S=!0!==u[C]&&!0!==T[C]||S)&&(e([\\\"_\\\"+(v=\\\"onerror\\\")]),y=k[v],k[v]=function(e,t,n,i,a){var r=y&&y(e,t,n,i,a);return!0!==r&&l[\\\"_\\\"+v]({message:e,url:t,lineNumber:n,columnNumber:i,error:a,evt:k.event}),r},u.autoExceptionInstrumented=!0),l}(cfg.cfg),(k[A]=e).queue&&0===e.queue.length?(e.queue.push(a),e.trackPageView({})):a();\\n//# sourceMappingURL=snippet.min.js.map\\n\";\r\n    var webSnippet = \"!(function (cfg){var k,x,D,E,L,C,b,U,O,A,e,t=\\\"track\\\",n=\\\"TrackPage\\\",i=\\\"TrackEvent\\\",I=[t+\\\"Event\\\",t+\\\"Exception\\\",t+\\\"PageView\\\",t+\\\"PageViewPerformance\\\",\\\"addTelemetryInitializer\\\",t+\\\"Trace\\\",t+\\\"DependencyData\\\",t+\\\"Metric\\\",\\\"start\\\"+n,\\\"stop\\\"+n,\\\"start\\\"+i,\\\"stop\\\"+i,\\\"setAuthenticatedUserContext\\\",\\\"clearAuthenticatedUserContext\\\",\\\"flush\\\"];function a(){cfg.onInit&&cfg.onInit(e)}k=window,x=document,D=k.location,E=\\\"script\\\",L=\\\"ingestionendpoint\\\",C=\\\"disableExceptionTracking\\\",b=\\\"crossOrigin\\\",U=\\\"POST\\\",O=cfg.pn||\\\"aiPolicy\\\",t=\\\"appInsightsSDK\\\",A=cfg.name||\\\"appInsights\\\",(cfg.name||k[t])&&(k[t]=A),e=k[A]||function(u){var n=u.url||cfg.src,s=!1,p=!1,l={initialize:!0,queue:[],sv:\\\"10\\\",config:u,version:2,extensions:void 0};function d(e){var t,n,i,a,r,o,c,s;!0!==cfg.dle&&(o=(t=function(){var e,t={},n=u.connectionString;if(\\\"string\\\"==typeof n&&n)for(var i=n.split(\\\";\\\"),a=0;a<i.length;a++){var r=i[a].split(\\\"=\\\");2===r.length&&(t[r[0].toLowerCase()]=r[1])}return t[L]||(e=(n=t.endpointsuffix)?t.location:null,t[L]=\\\"https://\\\"+(e?e+\\\".\\\":\\\"\\\")+\\\"dc.\\\"+(n||\\\"services.visualstudio.com\\\")),t}()).instrumentationkey||u.instrumentationKey||\\\"\\\",t=(t=(t=t[L])&&\\\"/\\\"===t.slice(-1)?t.slice(0,-1):t)?t+\\\"/v2/track\\\":u.endpointUrl,t=u.userOverrideEndpointUrl||t,(n=[]).push((i=\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)\\\",a=e,c=t,(s=(r=f(o,\\\"Exception\\\")).data).baseType=\\\"ExceptionData\\\",s.baseData.exceptions=[{typeName:\\\"SDKLoadFailed\\\",message:i.replace(/\\\\./g,\\\"-\\\"),hasFullStack:!1,stack:i+\\\"\\\\nSnippet failed to load [\\\"+a+\\\"] -- Telemetry is disabled\\\\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\\\\nHost: \\\"+(D&&D.pathname||\\\"_unknown_\\\")+\\\"\\\\nEndpoint: \\\"+c,parsedStack:[]}],r)),n.push((s=e,i=t,(c=(a=f(o,\\\"Message\\\")).data).baseType=\\\"MessageData\\\",(r=c.baseData).message=\\'AI (Internal): 99 message:\\\"\\'+(\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (\\\"+s+\\\")\\\").replace(/\\\\\\\"/g,\\\"\\\")+\\'\\\"\\',r.properties={endpoint:i},a)),e=n,o=t,JSON&&((c=k.fetch)&&!cfg.useXhr?c(o,{method:U,body:JSON.stringify(e),mode:\\\"cors\\\"}):XMLHttpRequest&&((s=new XMLHttpRequest).open(U,o),s.setRequestHeader(\\\"Content-type\\\",\\\"application/json\\\"),s.send(JSON.stringify(e)))))}function f(e,t){return e=e,t=t,i=l.sv,a=l.version,r=D,(o={})[\\\"ai.device.\\\"+\\\"id\\\"]=\\\"browser\\\",o[\\\"ai.device.type\\\"]=\\\"Browser\\\",o[\\\"ai.operation.name\\\"]=r&&r.pathname||\\\"_unknown_\\\",o[\\\"ai.internal.sdkVersion\\\"]=\\\"javascript:snippet_\\\"+(i||a),{time:(r=new Date).getUTCFullYear()+\\\"-\\\"+n(1+r.getUTCMonth())+\\\"-\\\"+n(r.getUTCDate())+\\\"T\\\"+n(r.getUTCHours())+\\\":\\\"+n(r.getUTCMinutes())+\\\":\\\"+n(r.getUTCSeconds())+\\\".\\\"+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\\\"Z\\\",iKey:e,name:\\\"Microsoft.ApplicationInsights.\\\"+e.replace(/-/g,\\\"\\\")+\\\".\\\"+t,sampleRate:100,tags:o,data:{baseData:{ver:2}},ver:undefined,seq:\\\"1\\\",aiDataContract:undefined};function n(e){e=\\\"\\\"+e;return 1===e.length?\\\"0\\\"+e:e}var i,a,r,o}var i,a,t,r,g=-1,h=0,m=[\\\"js.monitor.azure.com\\\",\\\"js.cdn.applicationinsights.io\\\",\\\"js.cdn.monitor.azure.com\\\",\\\"js0.cdn.applicationinsights.io\\\",\\\"js0.cdn.monitor.azure.com\\\",\\\"js2.cdn.applicationinsights.io\\\",\\\"js2.cdn.monitor.azure.com\\\",\\\"az416426.vo.msecnd.net\\\"],o=function(){return c(n,null)};function c(t,r){if((n=navigator)&&(~(n=(n.userAgent||\\\"\\\").toLowerCase()).indexOf(\\\"msie\\\")||~n.indexOf(\\\"trident/\\\"))&&~t.indexOf(\\\"ai.3\\\")&&(t=t.replace(/(\\\\/)(ai\\\\.3\\\\.)([^\\\\d]*)$/,function(e,t,n){return t+\\\"ai.2\\\"+n})),!1!==cfg.cr)for(var e=0;e<m.length;e++)if(0<t.indexOf(m[e])){g=e;break}var n,o=function(e){var a;l.queue=[],p||(0<=g&&h+1<m.length?(a=(g+h+1)%m.length,i(t.replace(/^(.*\\\\/\\\\/)([\\\\w\\\\.]*)(\\\\/.*)$/,function(e,t,n,i){return t+m[a]+i})),h+=1):(s=p=!0,d(t)))},c=function(e,t){p||setTimeout(function(){t&&!l.core&&o()},500),s=!1},i=function(e){var n,i=x.createElement(E),e=(cfg.pl?cfg.ttp&&cfg.ttp.createScript?i.src=cfg.ttp.createScriptURL(e):i.src=(null==(n=window.trustedTypes)?void 0:n.createPolicy(O,{createScriptURL:function(e){try{var t=new URL(e);if(t.host&&\\\"js.monitor.azure.com\\\"===t.host)return e;a(e)}catch(n){a(e)}}})).createScriptURL(e):i.src=e,cfg.nt&&i.setAttribute(\\\"nonce\\\",cfg.nt),r&&(i.integrity=r),i.setAttribute(\\\"data-ai-name\\\",A),cfg[b]);function a(e){d(\\\"AI policy blocked URL: \\\"+e)}return!e&&\\\"\\\"!==e||\\\"undefined\\\"==i[b]||(i[b]=e),i.onload=c,i.onerror=o,i.onreadystatechange=function(e,t){\\\"loaded\\\"!==i.readyState&&\\\"complete\\\"!==i.readyState||c(0,t)},cfg.ld&&cfg.ld<0?x.getElementsByTagName(\\\"head\\\")[0].appendChild(i):setTimeout(function(){x.getElementsByTagName(E)[0].parentNode.appendChild(i)},cfg.ld||0),i};i(t)}cfg.sri&&(i=n.match(/^((http[s]?:\\\\/\\\\/.*\\\\/)\\\\w+(\\\\.\\\\d+){1,5})\\\\.(([\\\\w]+\\\\.){0,2}js)$/))&&6===i.length?(T=\\\"\\\".concat(i[1],\\\".integrity.json\\\"),a=\\\"@\\\".concat(i[4]),S=window.fetch,t=function(e){if(!e.ext||!e.ext[a]||!e.ext[a].file)throw Error(\\\"Error Loading JSON response\\\");var t=e.ext[a].integrity||null;c(n=i[2]+e.ext[a].file,t)},S&&!cfg.useXhr?S(T,{method:\\\"GET\\\",mode:\\\"cors\\\"}).then(function(e){return e.json()[\\\"catch\\\"](function(){return{}})}).then(t)[\\\"catch\\\"](o):XMLHttpRequest&&((r=new XMLHttpRequest).open(\\\"GET\\\",T),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE)if(200===r.status)try{t(JSON.parse(r.responseText))}catch(e){o()}else o()},r.send())):n&&o();try{l.cookie=x.cookie}catch(w){}function e(e){for(;e.length;)!function(t){l[t]=function(){var e=arguments;s||l.queue.push(function(){l[t].apply(l,e)})}}(e.pop())}e(I);var v,y,S=!(l.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4}),T=(u.extensionConfig||{}).ApplicationInsightsAnalytics||{};return(S=!0!==u[C]&&!0!==T[C]||S)&&(e([\\\"_\\\"+(v=\\\"onerror\\\")]),y=k[v],k[v]=function(e,t,n,i,a){var r=y&&y(e,t,n,i,a);return!0!==r&&l[\\\"_\\\"+v]({message:e,url:t,lineNumber:n,columnNumber:i,error:a,evt:k.event}),r},u.autoExceptionInstrumented=!0),l}(cfg.cfg),(k[A]=e).queue&&0===e.queue.length?(e.queue.push(a),e.trackPageView({})):a();})({\\r\\n    src: \\\"https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js\\\",\\r\\n    // name: \\\"appInsights\\\", // Global SDK Instance name defaults to \\\"appInsights\\\" when not supplied\\r\\n    // ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,\\r\\n    // useXhr: 1, // Use XHR instead of fetch to report failures (if available),\\r\\n    // dle: true, // Prevent the SDK from reporting load failure log\\r\\n    crossOrigin: \\\"anonymous\\\", // When supplied this will add the provided value as the cross origin attribute on the script tag\\r\\n    // onInit: null, // Once the application insights instance has loaded and initialized this callback function will be called with 1 argument -- the sdk instance (DO NOT ADD anything to the sdk.queue -- As they won\\'t get called)\\r\\n    // sri: false, // Custom optional value to specify whether fetching the snippet from integrity file and do integrity check \\r\\n    // pl: false, // Custom optional value to specify whether to enable the trusted type policy check on snippet\\r\\n    // pn: \\\"aiPolicy\\\", // Custom optional value to specify the name of the trusted type policy that would be implemented on the snippet, default is \\\"aiPolicy\\\"\\r\\n    // ttp: null, // Custom optional value to specify the trusted type policy that would be applied on the snippet src\\r\\n    // nt: null, // Custom optional value to specify the nounce tag value that would be applied on the script when we drop it on the page\\r\\n    cfg: { // Application Insights Configuration\\r\\n            connectionString: \\\"InstrumentationKey=INSTRUMENTATION_KEY\\\"\\r\\n    }\\r\\n});\\n\";\r\n    var webSnippetCs = \"!(function (cfg){var k,x,D,E,L,C,b,U,O,A,e,t=\\\"track\\\",n=\\\"TrackPage\\\",i=\\\"TrackEvent\\\",I=[t+\\\"Event\\\",t+\\\"Exception\\\",t+\\\"PageView\\\",t+\\\"PageViewPerformance\\\",\\\"addTelemetryInitializer\\\",t+\\\"Trace\\\",t+\\\"DependencyData\\\",t+\\\"Metric\\\",\\\"start\\\"+n,\\\"stop\\\"+n,\\\"start\\\"+i,\\\"stop\\\"+i,\\\"setAuthenticatedUserContext\\\",\\\"clearAuthenticatedUserContext\\\",\\\"flush\\\"];function a(){cfg.onInit&&cfg.onInit(e)}k=window,x=document,D=k.location,E=\\\"script\\\",L=\\\"ingestionendpoint\\\",C=\\\"disableExceptionTracking\\\",b=\\\"crossOrigin\\\",U=\\\"POST\\\",O=cfg.pn||\\\"aiPolicy\\\",t=\\\"appInsightsSDK\\\",A=cfg.name||\\\"appInsights\\\",(cfg.name||k[t])&&(k[t]=A),e=k[A]||function(u){var n=u.url||cfg.src,s=!1,p=!1,l={initialize:!0,queue:[],sv:\\\"10\\\",config:u,version:2,extensions:void 0};function d(e){var t,n,i,a,r,o,c,s;!0!==cfg.dle&&(o=(t=function(){var e,t={},n=u.connectionString;if(\\\"string\\\"==typeof n&&n)for(var i=n.split(\\\";\\\"),a=0;a<i.length;a++){var r=i[a].split(\\\"=\\\");2===r.length&&(t[r[0].toLowerCase()]=r[1])}return t[L]||(e=(n=t.endpointsuffix)?t.location:null,t[L]=\\\"https://\\\"+(e?e+\\\".\\\":\\\"\\\")+\\\"dc.\\\"+(n||\\\"services.visualstudio.com\\\")),t}()).instrumentationkey||u.instrumentationKey||\\\"\\\",t=(t=(t=t[L])&&\\\"/\\\"===t.slice(-1)?t.slice(0,-1):t)?t+\\\"/v2/track\\\":u.endpointUrl,t=u.userOverrideEndpointUrl||t,(n=[]).push((i=\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)\\\",a=e,c=t,(s=(r=f(o,\\\"Exception\\\")).data).baseType=\\\"ExceptionData\\\",s.baseData.exceptions=[{typeName:\\\"SDKLoadFailed\\\",message:i.replace(/\\\\./g,\\\"-\\\"),hasFullStack:!1,stack:i+\\\"\\\\nSnippet failed to load [\\\"+a+\\\"] -- Telemetry is disabled\\\\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\\\\nHost: \\\"+(D&&D.pathname||\\\"_unknown_\\\")+\\\"\\\\nEndpoint: \\\"+c,parsedStack:[]}],r)),n.push((s=e,i=t,(c=(a=f(o,\\\"Message\\\")).data).baseType=\\\"MessageData\\\",(r=c.baseData).message=\\'AI (Internal): 99 message:\\\"\\'+(\\\"SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (\\\"+s+\\\")\\\").replace(/\\\\\\\"/g,\\\"\\\")+\\'\\\"\\',r.properties={endpoint:i},a)),e=n,o=t,JSON&&((c=k.fetch)&&!cfg.useXhr?c(o,{method:U,body:JSON.stringify(e),mode:\\\"cors\\\"}):XMLHttpRequest&&((s=new XMLHttpRequest).open(U,o),s.setRequestHeader(\\\"Content-type\\\",\\\"application/json\\\"),s.send(JSON.stringify(e)))))}function f(e,t){return e=e,t=t,i=l.sv,a=l.version,r=D,(o={})[\\\"ai.device.\\\"+\\\"id\\\"]=\\\"browser\\\",o[\\\"ai.device.type\\\"]=\\\"Browser\\\",o[\\\"ai.operation.name\\\"]=r&&r.pathname||\\\"_unknown_\\\",o[\\\"ai.internal.sdkVersion\\\"]=\\\"javascript:snippet_\\\"+(i||a),{time:(r=new Date).getUTCFullYear()+\\\"-\\\"+n(1+r.getUTCMonth())+\\\"-\\\"+n(r.getUTCDate())+\\\"T\\\"+n(r.getUTCHours())+\\\":\\\"+n(r.getUTCMinutes())+\\\":\\\"+n(r.getUTCSeconds())+\\\".\\\"+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\\\"Z\\\",iKey:e,name:\\\"Microsoft.ApplicationInsights.\\\"+e.replace(/-/g,\\\"\\\")+\\\".\\\"+t,sampleRate:100,tags:o,data:{baseData:{ver:2}},ver:undefined,seq:\\\"1\\\",aiDataContract:undefined};function n(e){e=\\\"\\\"+e;return 1===e.length?\\\"0\\\"+e:e}var i,a,r,o}var i,a,t,r,g=-1,h=0,m=[\\\"js.monitor.azure.com\\\",\\\"js.cdn.applicationinsights.io\\\",\\\"js.cdn.monitor.azure.com\\\",\\\"js0.cdn.applicationinsights.io\\\",\\\"js0.cdn.monitor.azure.com\\\",\\\"js2.cdn.applicationinsights.io\\\",\\\"js2.cdn.monitor.azure.com\\\",\\\"az416426.vo.msecnd.net\\\"],o=function(){return c(n,null)};function c(t,r){if((n=navigator)&&(~(n=(n.userAgent||\\\"\\\").toLowerCase()).indexOf(\\\"msie\\\")||~n.indexOf(\\\"trident/\\\"))&&~t.indexOf(\\\"ai.3\\\")&&(t=t.replace(/(\\\\/)(ai\\\\.3\\\\.)([^\\\\d]*)$/,function(e,t,n){return t+\\\"ai.2\\\"+n})),!1!==cfg.cr)for(var e=0;e<m.length;e++)if(0<t.indexOf(m[e])){g=e;break}var n,o=function(e){var a;l.queue=[],p||(0<=g&&h+1<m.length?(a=(g+h+1)%m.length,i(t.replace(/^(.*\\\\/\\\\/)([\\\\w\\\\.]*)(\\\\/.*)$/,function(e,t,n,i){return t+m[a]+i})),h+=1):(s=p=!0,d(t)))},c=function(e,t){p||setTimeout(function(){t&&!l.core&&o()},500),s=!1},i=function(e){var n,i=x.createElement(E),e=(cfg.pl?cfg.ttp&&cfg.ttp.createScript?i.src=cfg.ttp.createScriptURL(e):i.src=(null==(n=window.trustedTypes)?void 0:n.createPolicy(O,{createScriptURL:function(e){try{var t=new URL(e);if(t.host&&\\\"js.monitor.azure.com\\\"===t.host)return e;a(e)}catch(n){a(e)}}})).createScriptURL(e):i.src=e,cfg.nt&&i.setAttribute(\\\"nonce\\\",cfg.nt),r&&(i.integrity=r),i.setAttribute(\\\"data-ai-name\\\",A),cfg[b]);function a(e){d(\\\"AI policy blocked URL: \\\"+e)}return!e&&\\\"\\\"!==e||\\\"undefined\\\"==i[b]||(i[b]=e),i.onload=c,i.onerror=o,i.onreadystatechange=function(e,t){\\\"loaded\\\"!==i.readyState&&\\\"complete\\\"!==i.readyState||c(0,t)},cfg.ld&&cfg.ld<0?x.getElementsByTagName(\\\"head\\\")[0].appendChild(i):setTimeout(function(){x.getElementsByTagName(E)[0].parentNode.appendChild(i)},cfg.ld||0),i};i(t)}cfg.sri&&(i=n.match(/^((http[s]?:\\\\/\\\\/.*\\\\/)\\\\w+(\\\\.\\\\d+){1,5})\\\\.(([\\\\w]+\\\\.){0,2}js)$/))&&6===i.length?(T=\\\"\\\".concat(i[1],\\\".integrity.json\\\"),a=\\\"@\\\".concat(i[4]),S=window.fetch,t=function(e){if(!e.ext||!e.ext[a]||!e.ext[a].file)throw Error(\\\"Error Loading JSON response\\\");var t=e.ext[a].integrity||null;c(n=i[2]+e.ext[a].file,t)},S&&!cfg.useXhr?S(T,{method:\\\"GET\\\",mode:\\\"cors\\\"}).then(function(e){return e.json()[\\\"catch\\\"](function(){return{}})}).then(t)[\\\"catch\\\"](o):XMLHttpRequest&&((r=new XMLHttpRequest).open(\\\"GET\\\",T),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE)if(200===r.status)try{t(JSON.parse(r.responseText))}catch(e){o()}else o()},r.send())):n&&o();try{l.cookie=x.cookie}catch(w){}function e(e){for(;e.length;)!function(t){l[t]=function(){var e=arguments;s||l.queue.push(function(){l[t].apply(l,e)})}}(e.pop())}e(I);var v,y,S=!(l.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4}),T=(u.extensionConfig||{}).ApplicationInsightsAnalytics||{};return(S=!0!==u[C]&&!0!==T[C]||S)&&(e([\\\"_\\\"+(v=\\\"onerror\\\")]),y=k[v],k[v]=function(e,t,n,i,a){var r=y&&y(e,t,n,i,a);return!0!==r&&l[\\\"_\\\"+v]({message:e,url:t,lineNumber:n,columnNumber:i,error:a,evt:k.event}),r},u.autoExceptionInstrumented=!0),l}(cfg.cfg),(k[A]=e).queue&&0===e.queue.length?(e.queue.push(a),e.trackPageView({})):a();})({\\r\\n    src: \\\"https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js\\\",\\r\\n    // name: \\\"appInsights\\\", // Global SDK Instance name defaults to \\\"appInsights\\\" when not supplied\\r\\n    // ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,\\r\\n    // useXhr: 1, // Use XHR instead of fetch to report failures (if available),\\r\\n    // dle: true, // Prevent the SDK from reporting load failure log\\r\\n    crossOrigin: \\\"anonymous\\\", // When supplied this will add the provided value as the cross origin attribute on the script tag\\r\\n    // onInit: null, // Once the application insights instance has loaded and initialized this callback function will be called with 1 argument -- the sdk instance (DO NOT ADD anything to the sdk.queue -- As they won\\'t get called)\\r\\n    // sri: false, // Custom optional value to specify whether fetching the snippet from integrity file and do integrity check \\r\\n    // pl: false, // Custom optional value to specify whether to enable the trusted type policy check on snippet\\r\\n    // pn: \\\"aiPolicy\\\", // Custom optional value to specify the name of the trusted type policy that would be implemented on the snippet, default is \\\"aiPolicy\\\"\\r\\n    // ttp: null, // Custom optional value to specify the trusted type policy that would be applied on the snippet src\\r\\n    // nt: null, // Custom optional value to specify the nounce tag value that would be applied on the script when we drop it on the page\\r\\n    cfg: { // Application Insights Configuration\\r\\n            connectionString: \\\"YOUR_CONNECTION_STRING\\\"\\r\\n    }\\r\\n});\\n\";\r\n    function webSnippetVersion() {\r\n        var parse = /sv:\\\"([^\\\"]+)\\\"/.exec(webSnippet);\r\n        if (parse) {\r\n            return parse[1];\r\n        }\r\n        return \"\";\r\n    }\r\n    function getSdkLoaderScript(config) {\r\n        var snippetConfig = {\r\n            src: _escapeUnsupportedChars(config.src ? config.src : \"https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js\"),\r\n            crossOrigin: _escapeUnsupportedChars(config.crossOrigin ? config.crossOrigin : \"anonymous\"),\r\n            cfg: {},\r\n            name: _escapeUnsupportedChars(config.name ? config.name : \"appInsights\"),\r\n            ld: _ensureNumber(config.ld),\r\n            useXhr: _ensureBoolean(config.useXhr),\r\n            cr: _ensureBoolean(config.cr),\r\n            dle: _ensureBoolean(config.dle),\r\n            sri: _ensureBoolean(config.sri)\r\n        };\r\n        if (config.instrumentationKey) {\r\n            snippetConfig.cfg.instrumentationKey = _escapeUnsupportedChars(config.instrumentationKey);\r\n        }\r\n        else if (config.connectionString) {\r\n            snippetConfig.cfg.connectionString = _escapeUnsupportedChars(config.connectionString);\r\n        }\r\n        var sourceMap = _getSourceMap(originSnippet);\r\n        var sourcemapComment = sourceMap[0];\r\n        var cleanedSnippet = sourceMap[1];\r\n        var configString = JSON.stringify(snippetConfig);\r\n        var result = \"!(function (cfg){\" + cleanedSnippet + \"})(\\n\" + configString + \"\\n);\";\r\n        // Append sourcemap comment at the end if it exists\r\n        if (sourcemapComment) {\r\n            result += \"\\n\" + sourcemapComment;\r\n        }\r\n        return result;\r\n    }\n\n    exports.getSdkLoaderScript = getSdkLoaderScript;\n    exports.webSnippet = webSnippet;\n    exports.webSnippetCs = webSnippetCs;\n    exports.webSnippetVersion = webSnippetVersion;\n\n}));\n"]}