/*! For license information please see extension.js.LICENSE.txt */ (()=>{var e={358:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RestError:()=>Ze,bearerTokenAuthenticationPolicy:()=>Ut,bearerTokenAuthenticationPolicyName:()=>Mt,createDefaultHttpClient:()=>gt,createEmptyPipeline:()=>o,createHttpHeaders:()=>lt,createPipelineFromOptions:()=>rt,createPipelineRequest:()=>It,decompressResponsePolicy:()=>Q,decompressResponsePolicyName:()=>J,defaultRetryPolicy:()=>be,exponentialRetryPolicy:()=>Pt,exponentialRetryPolicyName:()=>Ot,formDataPolicy:()=>Te,formDataPolicyName:()=>Se,getDefaultProxySettings:()=>je,isRestError:()=>et,logPolicy:()=>F,logPolicyName:()=>U,ndJsonPolicy:()=>Bt,ndJsonPolicyName:()=>Ft,proxyPolicy:()=>Fe,proxyPolicyName:()=>Ne,redirectPolicy:()=>q,redirectPolicyName:()=>B,retryPolicy:()=>ge,setClientRequestIdPolicy:()=>He,setClientRequestIdPolicyName:()=>Be,systemErrorRetryPolicy:()=>Nt,systemErrorRetryPolicyName:()=>Rt,throttlingRetryPolicy:()=>kt,throttlingRetryPolicyName:()=>Dt,tlsPolicy:()=>Ve,tlsPolicyName:()=>qe,tracingPolicy:()=>nt,tracingPolicyName:()=>tt,userAgentPolicy:()=>X,userAgentPolicyName:()=>Y});const r=new Set(["Deserialize","Serialize","Retry","Sign"]);class i{constructor(e){var t;this._policies=[],this._policies=null!==(t=null==e?void 0:e.slice(0))&&void 0!==t?t:[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!r.has(t.phase))throw new Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!r.has(t.afterPhase))throw new Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){const t=[];return this._policies=this._policies.filter((n=>!(e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase)||(t.push(n.policy),!1))),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight(((e,t)=>n=>t.sendRequest(n,e)),(t=>e.sendRequest(t)))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new i(this._policies)}static create(){return new i}orderPolicies(){const e=[],t=new Map;function n(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}const r=n("Serialize"),i=n("None"),o=n("Deserialize"),a=n("Retry"),s=n("Sign"),c=[r,i,o,a,s];function u(e){return"Retry"===e?a:"Serialize"===e?r:"Deserialize"===e?o:"Sign"===e?s:i}for(const e of this._policies){const n=e.policy,r=e.options,i=n.name;if(t.has(i))throw new Error("Duplicate policy names not allowed in pipeline");const o={policy:n,dependsOn:new Set,dependants:new Set};r.afterPhase&&(o.afterPhase=u(r.afterPhase),o.afterPhase.hasAfterPolicies=!0),t.set(i,o),u(r.phase).policies.add(o)}for(const e of this._policies){const{policy:n,options:r}=e,i=n.name,o=t.get(i);if(!o)throw new Error(`Missing node for policy ${i}`);if(r.afterPolicies)for(const e of r.afterPolicies){const n=t.get(e);n&&(o.dependsOn.add(n),n.dependants.add(o))}if(r.beforePolicies)for(const e of r.beforePolicies){const n=t.get(e);n&&(n.dependsOn.add(o),o.dependants.add(n))}}function l(n){n.hasRun=!0;for(const r of n.policies)if((!r.afterPhase||r.afterPhase.hasRun&&!r.afterPhase.policies.size)&&0===r.dependsOn.size){e.push(r.policy);for(const e of r.dependants)e.dependsOn.delete(r);t.delete(r.policy.name),n.policies.delete(r)}}function p(){for(const e of c){if(l(e),e.policies.size>0&&e!==i)return void(i.hasRun||l(i));e.hasAfterPolicies&&l(i)}}let d=0;for(;t.size>0;){d++;const t=e.length;if(p(),e.length<=t&&d>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function o(){return i.create()}const a=require("node:os"),s=require("node:util"),c=require("node:process"),u="undefined"!=typeof process&&process.env&&process.env.DEBUG||void 0;let l,p=[],d=[];const f=[];u&&m(u);const h=Object.assign((e=>g(e)),{enable:m,enabled:v,disable:function(){const e=l||"";return m(""),e},log:function(e,...t){c.stderr.write(`${s.format(e,...t)}${a.EOL}`)}});function m(e){l=e,p=[],d=[];const t=/\*/g,n=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const e of n)e.startsWith("-")?d.push(new RegExp(`^${e.substr(1)}$`)):p.push(new RegExp(`^${e}$`));for(const e of f)e.enabled=v(e.namespace)}function v(e){if(e.endsWith("*"))return!0;for(const t of d)if(t.test(e))return!1;for(const t of p)if(t.test(e))return!0;return!1}function g(e){const t=Object.assign((function(...n){t.enabled&&(n.length>0&&(n[0]=`${e} ${n[0]}`),t.log(...n))}),{enabled:v(e),destroy:y,log:h.log,namespace:e,extend:b});return f.push(t),t}function y(){const e=f.indexOf(this);return e>=0&&(f.splice(e,1),!0)}function b(e){const t=g(`${this.namespace}:${e}`);return t.log=this.log,t}const _=h,E=new Set,S="undefined"!=typeof process&&process.env&&process.env.AZURE_LOG_LEVEL||void 0;let T;const x=_("azure");x.log=(...e)=>{_.log(...e)};const w=["verbose","info","warning","error"];S&&(R(S)?function(e){if(e&&!R(e))throw new Error(`Unknown log level '${e}'. Acceptable values: ${w.join(",")}`);T=e;const t=[];for(const e of E)P(e)&&t.push(e.namespace);_.enable(t.join(","))}(S):console.error(`AZURE_LOG_LEVEL set to unknown log level '${S}'; logging is not enabled. Acceptable values: ${w.join(", ")}.`));const A={verbose:400,info:300,warning:200,error:100};function C(e){const t=x.extend(e);return I(x,t),{error:O(t,"error"),warning:O(t,"warning"),info:O(t,"info"),verbose:O(t,"verbose")}}function I(e,t){t.log=(...t)=>{e.log(...t)}}function O(e,t){const n=Object.assign(e.extend(t),{level:t});if(I(e,n),P(n)){const e=_.disable();_.enable(e+","+n.namespace)}return E.add(n),n}function P(e){return Boolean(T&&A[e.level]<=A[T])}function R(e){return w.includes(e)}const N=C("core-rest-pipeline");function D(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}const k="REDACTED",L=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],M=["api-version"];class j{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=L.concat(e),t=M.concat(t),this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase()))),this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,n)=>{if(n instanceof Error)return Object.assign(Object.assign({},n),{name:n.name,message:n.message});if("headers"===e)return this.sanitizeHeaders(n);if("url"===e)return this.sanitizeUrl(n);if("query"===e)return this.sanitizeQuery(n);if("body"!==e&&"response"!==e&&"operationSpec"!==e){if(Array.isArray(n)||D(n)){if(t.has(n))return"[Circular]";t.add(n)}return n}}),2)}sanitizeHeaders(e){const t={};for(const n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?t[n]=e[n]:t[n]=k;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;const t={};for(const n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?t[n]=e[n]:t[n]=k;return t}sanitizeUrl(e){if("string"!=typeof e||null===e)return e;const t=new URL(e);if(!t.search)return e;for(const[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,k);return t.toString()}}const U="logPolicy";function F(e={}){var t;const n=null!==(t=e.logger)&&void 0!==t?t:N.info,r=new j({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:U,async sendRequest(e,t){if(!n.enabled)return t(e);n(`Request: ${r.sanitize(e)}`);const i=await t(e);return n(`Response status code: ${i.status}`),n(`Headers: ${r.sanitize(i.headers)}`),i}}}const B="redirectPolicy",H=["GET","HEAD"];function q(e={}){const{maxRetries:t=20}=e;return{name:B,async sendRequest(e,n){const r=await n(e);return V(n,r,t)}}}async function V(e,t,n,r=0){const{request:i,status:o,headers:a}=t,s=a.get("location");if(s&&(300===o||301===o&&H.includes(i.method)||302===o&&H.includes(i.method)||303===o&&"POST"===i.method||307===o)&&r(e.headers.has(K)||e.headers.set(K,t),n(e))}}const J="decompressResponsePolicy";function Q(){return{name:J,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}}const Z=new WeakMap,ee=new WeakMap;class te{constructor(){this.onabort=null,Z.set(this,[]),ee.set(this,!1)}get aborted(){if(!ee.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return ee.get(this)}static get none(){return new te}addEventListener(e,t){if(!Z.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Z.get(this).push(t)}removeEventListener(e,t){if(!Z.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");const n=Z.get(this),r=n.indexOf(t);r>-1&&n.splice(r,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function ne(e){if(e.aborted)return;e.onabort&&e.onabort.call(e);const t=Z.get(e);t&&t.slice().forEach((t=>{t.call(e,{type:"abort"})})),ee.set(e,!0)}class re extends Error{constructor(e){super(e),this.name="AbortError"}}class ie{constructor(e){if(this._signal=new te,e){Array.isArray(e)||(e=arguments);for(const t of e)t.aborted?this.abort():t.addEventListener("abort",(()=>{this.abort()}))}}get signal(){return this._signal}abort(){ne(this._signal)}static timeout(e){const t=new te,n=setTimeout(ne,e,t);return"function"==typeof n.unref&&n.unref(),t}}const oe="The operation was aborted.";function ae(e,t,n){return new Promise(((r,i)=>{let o,a;const s=()=>i(new re((null==n?void 0:n.abortErrorMsg)?null==n?void 0:n.abortErrorMsg:oe)),c=()=>{(null==n?void 0:n.abortSignal)&&a&&n.abortSignal.removeEventListener("abort",a)};if(a=()=>(o&&clearTimeout(o),c(),s()),(null==n?void 0:n.abortSignal)&&n.abortSignal.aborted)return s();o=setTimeout((()=>{c(),r(t)}),e),(null==n?void 0:n.abortSignal)&&n.abortSignal.addEventListener("abort",a)}))}function se(e,t){const n=e.headers.get(t);if(!n)return;const r=Number(n);return Number.isNaN(r)?void 0:r}const ce="Retry-After",ue=["retry-after-ms","x-ms-retry-after-ms",ce];function le(e){if(e&&[429,503].includes(e.status))try{for(const t of ue){const n=se(e,t);if(0===n||n)return n*(t===ce?1e3:1)}const t=e.headers.get(ce);if(!t)return;const n=Date.parse(t)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch(e){return}}function pe(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=le(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}}}const de=1e3,fe=64e3;function he(e={}){var t,n;const r=null!==(t=e.retryDelayInMs)&&void 0!==t?t:de,i=null!==(n=e.maxRetryDelayInMs)&&void 0!==n?n:fe;let o=r;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:n,responseError:r}){const a=!!(p=r)&&("ETIMEDOUT"===p.code||"ESOCKETTIMEDOUT"===p.code||"ECONNREFUSED"===p.code||"ECONNRESET"===p.code||"ENOENT"===p.code),s=a&&e.ignoreSystemErrors,c=function(e){return Boolean(e&&void 0!==e.status&&(e.status>=500||408===e.status)&&501!==e.status&&505!==e.status)}(n),u=c&&e.ignoreHttpStatusCodes,l=n&&(function(e){return Number.isFinite(le(e))}(n)||!c);var p;if(l||u||s)return{skipStrategy:!0};if(r&&!a&&!c)return{errorToThrow:r};const d=o*Math.pow(2,t),f=Math.min(i,d);var h,m;return o=f/2+(h=0,m=f/2,h=Math.ceil(h),m=Math.floor(m),Math.floor(Math.random()*(m-h+1))+h),{retryAfterInMs:o}}}}const me=C("core-rest-pipeline retryPolicy"),ve="retryPolicy";function ge(e,t={maxRetries:$}){const n=t.logger||me;return{name:ve,async sendRequest(r,i){var o,a;let s,c,u=-1;e:for(;;){u+=1,s=void 0,c=void 0;try{n.info(`Retry ${u}: Attempting to send request`,r.requestId),s=await i(r),n.info(`Retry ${u}: Received a response from request`,r.requestId)}catch(e){if(n.error(`Retry ${u}: Received an error from request`,r.requestId),c=e,!e||"RestError"!==c.name)throw e;s=c.response}if(null===(o=r.abortSignal)||void 0===o?void 0:o.aborted)throw n.error(`Retry ${u}: Request aborted.`),new re;if(u>=(null!==(a=t.maxRetries)&&void 0!==a?a:$)){if(n.info(`Retry ${u}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),c)throw c;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}n.info(`Retry ${u}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||me;e.info(`Retry ${u}: Processing retry strategy ${t.name}.`);const n=t.retry({retryCount:u,response:s,responseError:c});if(n.skipStrategy){e.info(`Retry ${u}: Skipped.`);continue t}const{errorToThrow:i,retryAfterInMs:o,redirectTo:a}=n;if(i)throw e.error(`Retry ${u}: Retry strategy ${t.name} throws error:`,i),i;if(o||0===o){e.info(`Retry ${u}: Retry strategy ${t.name} retries after ${o}`),await ae(o,void 0,{abortSignal:r.abortSignal});continue e}if(a){e.info(`Retry ${u}: Retry strategy ${t.name} redirects to ${a}`),r.url=a;continue e}}if(c)throw n.info("None of the retry strategies could work with the received error. Throwing it."),c;if(s)return n.info("None of the retry strategies could work with the received response. Returning it."),s}}}}const ye="defaultRetryPolicy";function be(e={}){var t;return{name:ye,sendRequest:ge([pe(),he(e)],{maxRetries:null!==(t=e.maxRetries)&&void 0!==t?t:$}).sendRequest}}var _e=n(6882),Ee=n.n(_e);const Se="formDataPolicy";function Te(){return{name:Se,async sendRequest(e,t){if(e.formData){const t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?(e.body=function(e){const t=new URLSearchParams;for(const[n,r]of Object.entries(e))if(Array.isArray(r))for(const e of r)t.append(n,e.toString());else t.append(n,r.toString());return t.toString()}(e.formData),e.formData=void 0):await async function(e,t){const n=new(Ee());for(const t of Object.keys(e)){const r=e[t];if(Array.isArray(r))for(const e of r)n.append(t,e);else n.append(t,r)}t.body=n,t.formData=void 0;const r=t.headers.get("Content-Type");r&&-1!==r.indexOf("multipart/form-data")&&t.headers.set("Content-Type",`multipart/form-data; boundary=${n.getBoundary()}`);try{const e=await new Promise(((e,t)=>{n.getLength(((n,r)=>{n?t(n):e(r)}))}));t.headers.set("Content-Length",e)}catch(e){}}(e.formData,e)}return t(e)}}}var xe;const we="undefined"!=typeof process&&Boolean(process.version)&&Boolean(null===(xe=process.versions)||void 0===xe?void 0:xe.node);var Ae=n(6018),Ce=n(4476);const Ie="HTTPS_PROXY",Oe="HTTP_PROXY",Pe="ALL_PROXY",Re="NO_PROXY",Ne="proxyPolicy",De=[];let ke=!1;const Le=new Map;function Me(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function je(e){if(!e&&!(e=function(){if(!process)return;const e=Me(Ie),t=Me(Pe),n=Me(Oe);return e||t||n}()))return;const t=new URL(e);return{host:(t.protocol?t.protocol+"//":"")+t.hostname,port:Number.parseInt(t.port||"80"),username:t.username,password:t.password}}function Ue(e,{headers:t,tlsSettings:n}){let r;try{r=new URL(e.host)}catch(t){throw new Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}n&&N.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");const i={hostname:r.hostname,port:e.port,protocol:r.protocol,headers:t.toJSON()};return e.username&&e.password?i.auth=`${e.username}:${e.password}`:e.username&&(i.auth=`${e.username}`),i}function Fe(e=je(),t){ke||De.push(...function(){const e=Me(Re);return ke=!0,e?e.split(",").map((e=>e.trim())).filter((e=>e.length)):[]}());const n={};return{name:Ne,async sendRequest(r,i){var o;return r.proxySettings||function(e,t,n){if(0===t.length)return!1;const r=new URL(e).hostname;if(null==n?void 0:n.has(r))return n.get(r);let i=!1;for(const e of t)"."===e[0]?(r.endsWith(e)||r.length===e.length-1&&r===e.slice(1))&&(i=!0):r===e&&(i=!0);return null==n||n.set(r,i),i}(r.url,null!==(o=null==t?void 0:t.customNoProxyList)&&void 0!==o?o:De,(null==t?void 0:t.customNoProxyList)?void 0:Le)||(r.proxySettings=e),r.proxySettings&&function(e,t){if(e.agent)return;const n="https:"!==new URL(e.url).protocol,r=e.proxySettings;if(r)if(n){if(!t.httpProxyAgent){const n=Ue(r,e);t.httpProxyAgent=new Ce.HttpProxyAgent(n)}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){const n=Ue(r,e);t.httpsProxyAgent=new Ae.HttpsProxyAgent(n)}e.agent=t.httpsProxyAgent}}(r,n),i(r)}}}const Be="setClientRequestIdPolicy";function He(e="x-ms-client-request-id"){return{name:Be,sendRequest:async(t,n)=>(t.headers.has(e)||t.headers.set(e,t.requestId),n(t))}}const qe="tlsPolicy";function Ve(e){return{name:qe,sendRequest:async(t,n)=>(t.tlsSettings||(t.tlsSettings=e),n(t))}}const Ge={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function ze(e={}){let t=new $e(e.parentContext);return e.span&&(t=t.setValue(Ge.span,e.span)),e.namespace&&(t=t.setValue(Ge.namespace,e.namespace)),t}class $e{constructor(e){this._contextMap=e instanceof $e?new Map(e._contextMap):new Map}setValue(e,t){const n=new $e(this);return n._contextMap.set(e,t),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new $e(this);return t._contextMap.delete(e),t}}const We=n(6308).S;function Ke(){return We.instrumenterImplementation||(We.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{}},tracingContext:ze({parentContext:t.tracingContext})}),withContext:(e,t,...n)=>t(...n)}),We.instrumenterImplementation}function Ye(e){if(D(e)){const t="string"==typeof e.name,n="string"==typeof e.message;return t&&n}return!1}function Xe(e){if(Ye(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}const Je=n(3837).inspect.custom,Qe=new j;class Ze extends Error{constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,this.request=t.request,this.response=t.response,Object.setPrototypeOf(this,Ze.prototype)}[Je](){return`RestError: ${this.message} \n ${Qe.sanitize(this)}`}}function et(e){return e instanceof Ze||Ye(e)&&"RestError"===e.name}Ze.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",Ze.PARSE_ERROR="PARSE_ERROR";const tt="tracingPolicy";function nt(e={}){const t=W(e.userAgentPrefix),n=function(){try{return function(e){const{namespace:t,packageName:n,packageVersion:r}=e;function i(e,i,o){var a;const s=Ke().startSpan(e,Object.assign(Object.assign({},o),{packageName:n,packageVersion:r,tracingContext:null===(a=null==i?void 0:i.tracingOptions)||void 0===a?void 0:a.tracingContext}));let c=s.tracingContext;const u=s.span;return c.getValue(Ge.namespace)||(c=c.setValue(Ge.namespace,t)),u.setAttribute("az.namespace",c.getValue(Ge.namespace)),{span:u,updatedOptions:Object.assign({},i,{tracingOptions:Object.assign(Object.assign({},null==i?void 0:i.tracingOptions),{tracingContext:c})})}}function o(e,t,...n){return Ke().withContext(e,t,...n)}return{startSpan:i,withSpan:async function(e,t,n,r){const{span:a,updatedOptions:s}=i(e,t,r);try{const e=await o(s.tracingOptions.tracingContext,(()=>Promise.resolve(n(s,a))));return a.setStatus({status:"success"}),e}catch(e){throw a.setStatus({status:"error",error:e}),e}finally{a.end()}},withContext:o,parseTraceparentHeader:function(e){return Ke().parseTraceparentHeader(e)},createRequestHeaders:function(e){return Ke().createRequestHeaders(e)}}}({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:z})}catch(e){return void N.warning(`Error when creating the TracingClient: ${Xe(e)}`)}}();return{name:tt,async sendRequest(e,r){var i,o;if(!n||!(null===(i=e.tracingOptions)||void 0===i?void 0:i.tracingContext))return r(e);const{span:a,tracingContext:s}=null!==(o=function(e,t,n){try{const{span:r,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:{"http.method":t.method,"http.url":t.url,requestId:t.requestId}});if(!r.isRecording())return void r.end();n&&r.setAttribute("http.user_agent",n);const o=e.createRequestHeaders(i.tracingOptions.tracingContext);for(const[e,n]of Object.entries(o))t.headers.set(e,n);return{span:r,tracingContext:i.tracingOptions.tracingContext}}catch(e){return void N.warning(`Skipping creating a tracing span due to an error: ${Xe(e)}`)}}(n,e,t))&&void 0!==o?o:{};if(!a||!s)return r(e);try{const t=await n.withContext(s,r,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);const n=t.headers.get("x-ms-request-id");n&&e.setAttribute("serviceRequestId",n),e.setStatus({status:"success"}),e.end()}catch(e){N.warning(`Skipping tracing span processing due to an error: ${Xe(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:Ye(t)?t:void 0}),et(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){N.warning(`Skipping tracing span processing due to an error: ${Xe(e)}`)}}(a,e),e}}}}function rt(e){const t=o();return we&&(e.tlsOptions&&t.addPolicy(Ve(e.tlsOptions)),t.addPolicy(Fe(e.proxyOptions)),t.addPolicy(Q())),t.addPolicy(Te()),t.addPolicy(X(e.userAgentOptions)),t.addPolicy(He()),t.addPolicy(be(e.retryOptions),{phase:"Retry"}),t.addPolicy(nt(e.userAgentOptions),{afterPhase:"Retry"}),we&&t.addPolicy(q(e.redirectOptions),{afterPhase:"Retry"}),t.addPolicy(F(e.loggingOptions),{afterPhase:"Sign"}),t}var it=n(3685),ot=n(5687),at=n(9796),st=n(2781);function ct(e){return e.toLowerCase()}class ut{constructor(e){if(this._headersMap=new Map,e)for(const t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(ct(e),{name:e,value:String(t)})}get(e){var t;return null===(t=this._headersMap.get(ct(e)))||void 0===t?void 0:t.value}has(e){return this._headersMap.has(ct(e))}delete(e){this._headersMap.delete(ct(e))}toJSON(e={}){const t={};if(e.preserveCase)for(const e of this._headersMap.values())t[e.name]=e.value;else for(const[e,n]of this._headersMap)t[e]=n.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(const t of e.values())yield[t.name,t.value]}(this._headersMap)}}function lt(e){return new ut(e)}const pt={};function dt(e){return e&&"function"==typeof e.pipe}function ft(e){return new Promise((t=>{e.on("close",t),e.on("end",t),e.on("error",t)}))}function ht(e){return e&&"number"==typeof e.byteLength}class mt extends st.Transform{constructor(e){super(),this.loadedBytes=0,this.progressCallback=e}_transform(e,t,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(e){n(e)}}}class vt{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var t,n,r;const i=new ie;let o;if(e.abortSignal){if(e.abortSignal.aborted)throw new re("The operation was aborted.");o=e=>{"abort"===e.type&&i.abort()},e.abortSignal.addEventListener("abort",o)}e.timeout>0&&setTimeout((()=>{i.abort()}),e.timeout);const a=e.headers.get("Accept-Encoding"),s=(null==a?void 0:a.includes("gzip"))||(null==a?void 0:a.includes("deflate"));let c,u="function"==typeof e.body?e.body():e.body;if(u&&!e.headers.has("Content-Length")){const t=function(e){return e?Buffer.isBuffer(e)?e.length:dt(e)?null:ht(e)?e.byteLength:"string"==typeof e?Buffer.from(e).length:null:0}(u);null!==t&&e.headers.set("Content-Length",t)}try{if(u&&e.onUploadProgress){const t=e.onUploadProgress,n=new mt(t);n.on("error",(e=>{N.error("Error in upload progress",e)})),dt(u)?u.pipe(n):n.end(u),u=n}const o=await this.makeRequest(e,i,u),a=function(e){const t=lt();for(const n of Object.keys(e.headers)){const r=e.headers[n];Array.isArray(r)?r.length>0&&t.set(n,r[0]):r&&t.set(n,r)}return t}(o),p={status:null!==(t=o.statusCode)&&void 0!==t?t:0,headers:a,request:e};if("HEAD"===e.method)return o.resume(),p;c=s?function(e,t){const n=t.get("Content-Encoding");if("gzip"===n){const t=at.createGunzip();return e.pipe(t),t}if("deflate"===n){const t=at.createInflate();return e.pipe(t),t}return e}(o,a):o;const d=e.onDownloadProgress;if(d){const e=new mt(d);e.on("error",(e=>{N.error("Error in download progress",e)})),c.pipe(e),c=e}return(null===(n=e.streamResponseStatusCodes)||void 0===n?void 0:n.has(Number.POSITIVE_INFINITY))||(null===(r=e.streamResponseStatusCodes)||void 0===r?void 0:r.has(p.status))?p.readableStreamBody=c:p.bodyAsText=await(l=c,new Promise(((e,t)=>{const n=[];l.on("data",(e=>{Buffer.isBuffer(e)?n.push(e):n.push(Buffer.from(e))})),l.on("end",(()=>{e(Buffer.concat(n).toString("utf8"))})),l.on("error",(e=>{e&&"AbortError"===(null==e?void 0:e.name)?t(e):t(new Ze(`Error reading response as text: ${e.message}`,{code:Ze.PARSE_ERROR}))}))}))),p}finally{if(e.abortSignal&&o){let t=Promise.resolve();dt(u)&&(t=ft(u));let n=Promise.resolve();dt(c)&&(n=ft(c)),Promise.all([t,n]).then((()=>{var t;o&&(null===(t=e.abortSignal)||void 0===t||t.removeEventListener("abort",o))})).catch((e=>{N.warning("Error when cleaning up abortListener on httpRequest",e)}))}}var l}makeRequest(e,t,n){var r;const i=new URL(e.url),o="https:"!==i.protocol;if(o&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);const a={agent:null!==(r=e.agent)&&void 0!==r?r:this.getOrCreateAgent(e,o),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0})};return new Promise(((r,i)=>{const s=o?it.request(a,r):ot.request(a,r);s.once("error",(t=>{var n;i(new Ze(t.message,{code:null!==(n=t.code)&&void 0!==n?n:Ze.REQUEST_SEND_ERROR,request:e}))})),t.signal.addEventListener("abort",(()=>{const e=new re("The operation was aborted.");s.destroy(e),i(e)})),n&&dt(n)?n.pipe(s):n?"string"==typeof n||Buffer.isBuffer(n)?s.end(n):ht(n)?s.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(N.error("Unrecognized body type",n),i(new Ze("Unrecognized body type"))):s.end()}))}getOrCreateAgent(e,t){var n;const r=e.disableKeepAlive;if(t)return r?it.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new it.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return ot.globalAgent;const t=null!==(n=e.tlsSettings)&&void 0!==n?n:pt;let i=this.cachedHttpsAgents.get(t);return i&&i.options.keepAlive===!r||(N.info("No cached TLS Agent exist, creating a new Agent"),i=new ot.Agent(Object.assign({keepAlive:!r},t)),this.cachedHttpsAgents.set(t,i)),i}}}function gt(){return new vt}var yt=n(6113),bt=n.n(yt);const _t=new Uint8Array(256);let Et=_t.length;function St(){return Et>_t.length-16&&(bt().randomFillSync(_t),Et=0),_t.slice(Et,Et+=16)}const Tt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,xt=[];for(let e=0;e<256;++e)xt.push((e+256).toString(16).substr(1));const wt=function(e,t=0){const n=(xt[e[t+0]]+xt[e[t+1]]+xt[e[t+2]]+xt[e[t+3]]+"-"+xt[e[t+4]]+xt[e[t+5]]+"-"+xt[e[t+6]]+xt[e[t+7]]+"-"+xt[e[t+8]]+xt[e[t+9]]+"-"+xt[e[t+10]]+xt[e[t+11]]+xt[e[t+12]]+xt[e[t+13]]+xt[e[t+14]]+xt[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&Tt.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},At=function(e,t,n){const r=(e=e||{}).random||(e.rng||St)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return wt(r)};class Ct{constructor(e){var t,n,r,i,o,a,s;this.url=e.url,this.body=e.body,this.headers=null!==(t=e.headers)&&void 0!==t?t:lt(),this.method=null!==(n=e.method)&&void 0!==n?n:"GET",this.timeout=null!==(r=e.timeout)&&void 0!==r?r:0,this.formData=e.formData,this.disableKeepAlive=null!==(i=e.disableKeepAlive)&&void 0!==i&&i,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=null!==(o=e.withCredentials)&&void 0!==o&&o,this.abortSignal=e.abortSignal,this.tracingOptions=e.tracingOptions,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||At(),this.allowInsecureConnection=null!==(a=e.allowInsecureConnection)&&void 0!==a&&a,this.enableBrowserStreams=null!==(s=e.enableBrowserStreams)&&void 0!==s&&s}}function It(e){return new Ct(e)}const Ot="exponentialRetryPolicy";function Pt(e={}){var t;return ge([he(Object.assign(Object.assign({},e),{ignoreSystemErrors:!0}))],{maxRetries:null!==(t=e.maxRetries)&&void 0!==t?t:$})}const Rt="systemErrorRetryPolicy";function Nt(e={}){var t;return{name:Rt,sendRequest:ge([he(Object.assign(Object.assign({},e),{ignoreHttpStatusCodes:!0}))],{maxRetries:null!==(t=e.maxRetries)&&void 0!==t?t:$}).sendRequest}}const Dt="throttlingRetryPolicy";function kt(e={}){var t;return{name:Dt,sendRequest:ge([pe()],{maxRetries:null!==(t=e.maxRetries)&&void 0!==t?t:$}).sendRequest}}const Lt={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};const Mt="bearerTokenAuthenticationPolicy";async function jt(e){const{scopes:t,getAccessToken:n,request:r}=e,i={abortSignal:r.abortSignal,tracingOptions:r.tracingOptions},o=await n(t,i);o&&e.request.headers.set("Authorization",`Bearer ${o.token}`)}function Ut(e){var t;const{credential:n,scopes:r,challengeCallbacks:i}=e,o=e.logger||N,a=Object.assign({authorizeRequest:null!==(t=null==i?void 0:i.authorizeRequest)&&void 0!==t?t:jt,authorizeRequestOnChallenge:null==i?void 0:i.authorizeRequestOnChallenge},i),s=n?function(e,t){let n,r=null,i=null;const o=Object.assign(Object.assign({},Lt),t),a={get isRefreshing(){return null!==r},get shouldRefresh(){var e;return!a.isRefreshing&&(null!==(e=null==i?void 0:i.expiresOnTimestamp)&&void 0!==e?e:0)-o.refreshWindowInMse.getToken(t,s)),o.retryIntervalInMs,null!==(c=null==i?void 0:i.expiresOnTimestamp)&&void 0!==c?c:Date.now()).then((e=>(r=null,i=e,n=s.tenantId,i))).catch((e=>{throw r=null,i=null,n=void 0,e}))),r}return async(e,t)=>n!==t.tenantId||Boolean(t.claims)||a.mustRefresh?s(e,t):(a.shouldRefresh&&s(e,t),i)}(n):()=>Promise.resolve(null);return{name:Mt,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");let n,i;await a.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:s,logger:o});try{n=await t(e)}catch(e){i=e,n=e.response}if(a.authorizeRequestOnChallenge&&401===(null==n?void 0:n.status)&&function(e){const t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(n)&&await a.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:s,logger:o}))return t(e);if(i)throw i;return n}}}const Ft="ndJsonPolicy";function Bt(){return{name:Ft,async sendRequest(e,t){if("string"==typeof e.body&&e.body.startsWith("[")){const t=JSON.parse(e.body);Array.isArray(t)&&(e.body=t.map((e=>JSON.stringify(e)+"\n")).join(""))}return t(e)}}}},5521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,{signal:n}={}){return new Promise(((r,i)=>{function o(){null==n||n.removeEventListener("abort",o),e.removeListener(t,a),e.removeListener("error",s)}function a(...e){o(),r(e)}function s(e){o(),i(e)}null==n||n.addEventListener("abort",o),e.on(t,a),e.on("error",s)}))}},8192:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=i(n(1808)),a=i(n(4404)),s=i(n(7310)),c=i(n(8104)),u=i(n(5521)),l=n(8054),p=(0,c.default)("http-proxy-agent");class d extends l.Agent{constructor(e){let t;if(t="string"==typeof e?s.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");p("Creating new HttpProxyAgent instance: %o",t),super(t);const n=Object.assign({},t);var r;this.secureProxy=t.secureProxy||"string"==typeof(r=n.protocol)&&/^https:?$/i.test(r),n.host=n.hostname||n.host,"string"==typeof n.port&&(n.port=parseInt(n.port,10)),!n.port&&n.host&&(n.port=this.secureProxy?443:80),n.host&&n.path&&(delete n.path,delete n.pathname),this.proxy=n}callback(e,t){return r(this,void 0,void 0,(function*(){const{proxy:n,secureProxy:r}=this,i=s.default.parse(e.path);let c;if(i.protocol||(i.protocol="http:"),i.hostname||(i.hostname=t.hostname||t.host||null),null==i.port&&(t.port,1)&&(i.port=String(t.port)),"80"===i.port&&(i.port=""),e.path=s.default.format(i),n.auth&&e.setHeader("Proxy-Authorization",`Basic ${Buffer.from(n.auth).toString("base64")}`),r?(p("Creating `tls.Socket`: %o",n),c=a.default.connect(n)):(p("Creating `net.Socket`: %o",n),c=o.default.connect(n)),e._header){let t,n;p("Regenerating stored HTTP header string for request"),e._header=null,e._implicitHeader(),e.output&&e.output.length>0?(p("Patching connection write() output buffer with updated header"),t=e.output[0],n=t.indexOf("\r\n\r\n")+4,e.output[0]=e._header+t.substring(n),p("Output buffer: %o",e.output)):e.outputData&&e.outputData.length>0&&(p("Patching connection write() output buffer with updated header"),t=e.outputData[0].data,n=t.indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+t.substring(n),p("Output buffer: %o",e.outputData[0].data))}return yield(0,u.default)(c,"connect"),c}))}}t.default=d},4476:function(e,t,n){"use strict";const r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(8192));function i(e){return new r.default(e)}!function(e){e.HttpProxyAgent=r.default,e.prototype=r.default.prototype}(i||(i={})),e.exports=i},166:(e,t,n)=>{"use strict";n.r(t),n.d(t,{webSnippet:()=>r});var r='!function(T,l,y){var S=T.location,k="script",D="instrumentationKey",C="ingestionendpoint",I="disableExceptionTracking",E="ai.device.",b="toLowerCase",w="crossOrigin",N="POST",e="appInsightsSDK",t=y.name||"appInsights";(y.name||T[e])&&(T[e]=t);var n=T[t]||function(d){var g=!1,f=!1,m={initialize:!0,queue:[],sv:"5",version:2,config:d};function v(e,t){var n={},a="Browser";return n[E+"id"]=a[b](),n[E+"type"]=a,n["ai.operation.name"]=S&&S.pathname||"_unknown_",n["ai.internal.sdkVersion"]="javascript:snippet_"+(m.sv||m.version),{time:function(){var e=new Date;function t(e){var t=""+e;return 1===t.length&&(t="0"+t),t}return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+((e.getUTCMilliseconds()/1e3).toFixed(3)+"").slice(2,5)+"Z"}(),iKey:e,name:"Microsoft.ApplicationInsights."+e.replace(/-/g,"")+"."+t,sampleRate:100,tags:n,data:{baseData:{ver:2}}}}var h=d.url||y.src;if(h){function a(e){var t,n,a,i,r,o,s,c,u,p,l;g=!0,m.queue=[],f||(f=!0,t=h,s=function(){var e={},t=d.connectionString;if(t)for(var n=t.split(";"),a=0;a{"use strict";n.d(t,{c:()=>u});var r=n(5834),i=function(){function e(){}return e.prototype.active=function(){return r.I},e.prototype.with=function(e,t,n){for(var r=[],i=3;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(r),!1))},e.prototype.bind=function(e,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}(),o=n(658),a=n(5774),s="context",c=new i,u=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return(0,o.TG)(s,e,a.G.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,t,n){for(var r,i=[],o=3;o0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(i),!1))},e.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return(0,o.Rd)(s)||c},e.prototype.disable=function(){this._getContextManager().disable(),(0,o.J_)(s,a.G.instance())},e}()},5774:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(658),i=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(n),!1))}var a=n(6740),s=function(){function e(){function e(e){return function(){for(var t=[],n=0;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(t),!1))}}var t=this;t.setLogger=function(e,n){var i,o,s;if(void 0===n&&(n={logLevel:a.n.INFO}),e===t){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(i=c.stack)&&void 0!==i?i:c.message),!1}"number"==typeof n&&(n={logLevel:n});var u=(0,r.Rd)("diag"),l=function(e,t){function n(n,r){var i=t[n];return"function"==typeof i&&e>=r?i.bind(t):function(){}}return ea.n.ALL&&(e=a.n.ALL),t=t||{},{error:n("error",a.n.ERROR),warn:n("warn",a.n.WARN),info:n("info",a.n.INFO),debug:n("debug",a.n.DEBUG),verbose:n("verbose",a.n.VERBOSE)}}(null!==(o=n.logLevel)&&void 0!==o?o:a.n.INFO,e);if(u&&!n.suppressOverrideMessage){var p=null!==(s=(new Error).stack)&&void 0!==s?s:"";u.warn("Current logger will be overwritten from "+p),l.warn("Current logger will overwrite one already registered from "+p)}return(0,r.TG)("diag",l,t,!0)},t.disable=function(){(0,r.J_)("diag",t)},t.createComponentLogger=function(e){return new i(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()},2599:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,H:()=>s});var r=n(5774),i=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){var t=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(e,2);return[t[0],t[1]]}))},e.prototype.setEntry=function(t,n){var r=new e(this._entries);return r._entries.set(t,n),r},e.prototype.removeEntry=function(t){var n=new e(this._entries);return n._entries.delete(t),n},e.prototype.removeEntries=function(){for(var t,n,r=[],i=0;i=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),s=a.next();!s.done;s=a.next()){var c=s.value;o._entries.delete(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},e.prototype.clear=function(){return new e},e}(),o=Symbol("BaggageEntryMetadata"),a=r.G.instance();function s(e){return void 0===e&&(e={}),new i(new Map(Object.entries(e)))}function c(e){return"string"!=typeof e&&(a.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:o,toString:function(){return e}}}},6339:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=n(7150).c.getInstance()},5834:(e,t,n)=>{"use strict";function r(e){return Symbol.for(e)}n.d(t,{I:()=>i,Y:()=>r});var i=new function e(t){var n=this;n._currentContext=t?new Map(t):new Map,n.getValue=function(e){return n._currentContext.get(e)},n.setValue=function(t,r){var i=new e(n._currentContext);return i._currentContext.set(t,r),i},n.deleteValue=function(t){var r=new e(n._currentContext);return r._currentContext.delete(t),r}}},928:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var r=n(5774).G.instance()},6740:(e,t,n)=>{"use strict";var r;n.d(t,{n:()=>r}),function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(r||(r={}))},4284:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DiagConsoleLogger:()=>c,DiagLogLevel:()=>u.n,INVALID_SPANID:()=>G.fQ,INVALID_SPAN_CONTEXT:()=>G.Rr,INVALID_TRACEID:()=>G.AE,ProxyTracer:()=>R.T,ProxyTracerProvider:()=>N.K,ROOT_CONTEXT:()=>a.I,SamplingDecision:()=>D.U,SpanKind:()=>k.M,SpanStatusCode:()=>L.Q,TraceFlags:()=>M.r,ValueType:()=>i,baggageEntryMetadataFromString:()=>o.u,context:()=>z.D,createContextKey:()=>a.Y,createNoopMeter:()=>O,createTraceState:()=>q,default:()=>ee,defaultTextMapGetter:()=>P.r,defaultTextMapSetter:()=>P.M,diag:()=>$.K,isSpanContextValid:()=>V.BM,isValidSpanId:()=>V.Lc,isValidTraceId:()=>V.jN,metrics:()=>J,propagation:()=>Q.u,trace:()=>Z.g});var r,i,o=n(2599),a=n(5834),s=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],c=function(){function e(e){return function(){for(var t=[],n=0;n512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var n=t.trim(),r=n.indexOf("=");if(-1!==r){var i=n.slice(0,r),o=n.slice(r+1,t.length);(function(e){return U.test(e)})(i)&&function(e){return F.test(e)&&!B.test(e)}(o)&&e.set(i,o)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}();function q(e){return new H(e)}var V=n(7228),G=n(7007),z=n(6339),$=n(928),W=new(function(){function e(){}return e.prototype.getMeter=function(e,t,n){return E},e}()),K=n(658),Y=n(5774),X="metrics",J=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(e){return(0,K.TG)(X,e,Y.G.instance())},e.prototype.getMeterProvider=function(){return(0,K.Rd)(X)||W},e.prototype.getMeter=function(e,t,n){return this.getMeterProvider().getMeter(e,t,n)},e.prototype.disable=function(){(0,K.J_)(X,Y.G.instance())},e}().getInstance(),Q=n(8303),Z=n(2210);const ee={context:z.D,diag:$.K,metrics:J,propagation:Q.u,trace:Z.g}},658:(e,t,n)=>{"use strict";n.d(t,{Rd:()=>p,TG:()=>l,J_:()=>d});var r="object"==typeof globalThis?globalThis:global,i="1.9.0",o=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,a=function(e){var t=new Set([e]),n=new Set,r=e.match(o);if(!r)return function(){return!1};var i=+r[1],a=+r[2],s=+r[3];if(null!=r[4])return function(t){return t===e};function c(e){return n.add(e),!1}function u(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;var r=e.match(o);if(!r)return c(e);var l=+r[1],p=+r[2],d=+r[3];return null!=r[4]||i!==l?c(e):0===i?a===p&&s<=d?u(e):c(e):a<=p?u(e):c(e)}}(i),s=i.split(".")[0],c=Symbol.for("opentelemetry.js.api."+s),u=r;function l(e,t,n,r){var o;void 0===r&&(r=!1);var a=u[c]=null!==(o=u[c])&&void 0!==o?o:{version:i};if(!r&&a[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(s.stack||s.message),!1}return a.version!==i?(s=new Error("@opentelemetry/api: Registration of version v"+a.version+" for "+e+" does not match previously registered API v"+i),n.error(s.stack||s.message),!1):(a[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+i+"."),!0)}function p(e){var t,n,r=null===(t=u[c])||void 0===t?void 0:t.version;if(r&&a(r))return null===(n=u[c])||void 0===n?void 0:n[e]}function d(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+i+".");var n=u[c];n&&delete n[e]}},8303:(e,t,n)=>{"use strict";n.d(t,{u:()=>g});var r=n(658),i=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}(),o=n(7008),a=n(7150),s=(0,n(5834).Y)("OpenTelemetry Baggage Key");function c(e){return e.getValue(s)||void 0}function u(){return c(a.c.getInstance().active())}function l(e,t){return e.setValue(s,t)}function p(e){return e.deleteValue(s)}var d=n(2599),f=n(5774),h="propagation",m=new i,v=function(){function e(){this.createBaggage=d.H,this.getBaggage=c,this.getActiveBaggage=u,this.setBaggage=l,this.deleteBaggage=p}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return(0,r.TG)(h,e,f.G.instance())},e.prototype.inject=function(e,t,n){return void 0===n&&(n=o.M),this._getGlobalPropagator().inject(e,t,n)},e.prototype.extract=function(e,t,n){return void 0===n&&(n=o.r),this._getGlobalPropagator().extract(e,t,n)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){(0,r.J_)(h,f.G.instance())},e.prototype._getGlobalPropagator=function(){return(0,r.Rd)(h)||m},e}(),g=v.getInstance()},7008:(e,t,n)=>{"use strict";n.d(t,{M:()=>i,r:()=>r});var r={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},i={set:function(e,t,n){null!=e&&(e[t]=n)}}},2210:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(658),i=n(5236),o=n(7228),a=n(3557),s=n(5774),c="trace",u=function(){function e(){this._proxyTracerProvider=new i.K,this.wrapSpanContext=o.kw,this.isSpanContextValid=o.BM,this.deleteSpan=a.TW,this.getSpan=a.Br,this.getActiveSpan=a.HN,this.getSpanContext=a.A3,this.setSpan=a.WZ,this.setSpanContext=a.G3}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var t=(0,r.TG)(c,this._proxyTracerProvider,s.G.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},e.prototype.getTracerProvider=function(){return(0,r.Rd)(c)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){(0,r.J_)(c,s.G.instance()),this._proxyTracerProvider=new i.K},e}().getInstance()},7817:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(7007),i=function(){function e(e){void 0===e&&(e=r.Rr),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.addLink=function(e){return this},e.prototype.addLinks=function(e){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}()},9127:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(7150),i=n(3557),o=n(7817),a=n(7228),s=r.c.getInstance(),c=function(){function e(){}return e.prototype.startSpan=function(e,t,n){if(void 0===n&&(n=s.active()),Boolean(null==t?void 0:t.root))return new o.s;var r,c=n&&(0,i.A3)(n);return"object"==typeof(r=c)&&"string"==typeof r.spanId&&"string"==typeof r.traceId&&"number"==typeof r.traceFlags&&(0,a.BM)(c)?new o.s(c):new o.s},e.prototype.startActiveSpan=function(e,t,n,r){var o,a,c;if(!(arguments.length<2)){2===arguments.length?c=t:3===arguments.length?(o=t,c=n):(o=t,a=n,c=r);var u=null!=a?a:s.active(),l=this.startSpan(e,o,u),p=(0,i.WZ)(u,l);return s.with(p,c,void 0,l)}},e}()},9953:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=new(n(9127).E),i=function(){function e(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}return e.prototype.startSpan=function(e,t,n){return this._getTracer().startSpan(e,t,n)},e.prototype.startActiveSpan=function(e,t,n,r){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):r},e}()},5236:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(9953),i=n(9127),o=new(function(){function e(){}return e.prototype.getTracer=function(e,t,n){return new i.E},e}()),a=function(){function e(){}return e.prototype.getTracer=function(e,t,n){var i;return null!==(i=this.getDelegateTracer(e,t,n))&&void 0!==i?i:new r.T(this,e,t,n)},e.prototype.getDelegate=function(){var e;return null!==(e=this._delegate)&&void 0!==e?e:o},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t,n){var r;return null===(r=this._delegate)||void 0===r?void 0:r.getTracer(e,t,n)},e}()},1227:(e,t,n)=>{"use strict";var r;n.d(t,{U:()=>r}),function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(r||(r={}))},3557:(e,t,n)=>{"use strict";n.d(t,{A3:()=>d,Br:()=>s,G3:()=>p,HN:()=>c,TW:()=>l,WZ:()=>u});var r=n(5834),i=n(7817),o=n(7150),a=(0,r.Y)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(a)||void 0}function c(){return s(o.c.getInstance().active())}function u(e,t){return e.setValue(a,t)}function l(e){return e.deleteValue(a)}function p(e,t){return u(e,new i.s(t))}function d(e){var t;return null===(t=s(e))||void 0===t?void 0:t.spanContext()}},7007:(e,t,n)=>{"use strict";n.d(t,{AE:()=>o,Rr:()=>a,fQ:()=>i});var r=n(8726),i="0000000000000000",o="00000000000000000000000000000000",a={traceId:o,spanId:i,traceFlags:r.r.NONE}},87:(e,t,n)=>{"use strict";var r;n.d(t,{M:()=>r}),function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(r||(r={}))},7228:(e,t,n)=>{"use strict";n.d(t,{BM:()=>u,Lc:()=>c,jN:()=>s,kw:()=>l});var r=n(7007),i=n(7817),o=/^([0-9a-f]{32})$/i,a=/^[0-9a-f]{16}$/i;function s(e){return o.test(e)&&e!==r.AE}function c(e){return a.test(e)&&e!==r.fQ}function u(e){return s(e.traceId)&&c(e.spanId)}function l(e){return new i.s(e)}},1820:(e,t,n)=>{"use strict";var r;n.d(t,{Q:()=>r}),function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(r||(r={}))},8726:(e,t,n)=>{"use strict";var r;n.d(t,{r:()=>r}),function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(r||(r={}))},3420:(e,t,n)=>{"use strict";var r;n.d(t,{I:()=>r}),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"}(r||(r={}))},3250:(e,t,n)=>{"use strict";n.d(t,{Cx:()=>s,H3:()=>u,Vo:()=>r,WM:()=>a,bO:()=>i,bU:()=>o,ef:()=>c});var r="=",i=";",o=",",a="baggage",s=180,c=4096,u=8192},926:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(8303),i=n(8397),o=n(3250),a=n(315),s=function(){function e(){}return e.prototype.inject=function(e,t,n){var s=r.u.getBaggage(e);if(s&&!(0,i.Ll)(e)){var c=(0,a.getKeyPairs)(s).filter((function(e){return e.length<=o.ef})).slice(0,o.Cx),u=(0,a.serializeKeyPairs)(c);u.length>0&&n.set(t,o.WM,u)}},e.prototype.extract=function(e,t,n){var i=n.get(t,o.WM),s=Array.isArray(i)?i.join(o.bU):i;if(!s)return e;var c={};return 0===s.length?e:(s.split(o.bU).forEach((function(e){var t=(0,a.parsePairKeyValue)(e);if(t){var n={value:t.value};t.metadata&&(n.metadata=t.metadata),c[t.key]=n}})),0===Object.entries(c).length?e:r.u.setBaggage(e,r.u.createBaggage(c)))},e.prototype.fields=function(){return[o.WM]},e}()},315:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getKeyPairs:()=>s,parseKeyPairsIntoRecord:()=>u,parsePairKeyValue:()=>c,serializeKeyPairs:()=>a});var r=n(2599),i=n(3250),o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function a(e){return e.reduce((function(e,t){var n=""+e+(""!==e?i.bU:"")+t;return n.length>i.H3?e:n}),"")}function s(e){return e.getAllEntries().map((function(e){var t=o(e,2),n=t[0],r=t[1],a=encodeURIComponent(n)+"="+encodeURIComponent(r.value);return void 0!==r.metadata&&(a+=i.bO+r.metadata.toString()),a}))}function c(e){var t=e.split(i.bO);if(!(t.length<=0)){var n=t.shift();if(n){var o=n.indexOf(i.Vo);if(!(o<=0)){var a,s=decodeURIComponent(n.substring(0,o).trim()),c=decodeURIComponent(n.substring(o+1).trim());return t.length>0&&(a=(0,r.u)(t.join(i.bO))),{key:s,value:c,metadata:a}}}}}function u(e){return"string"!=typeof e||0===e.length?{}:e.split(i.bU).map((function(e){return c(e)})).filter((function(e){return void 0!==e&&e.value.length>0})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}},551:(e,t,n)=>{"use strict";n.d(t,{Do:()=>c,FT:()=>a,sy:()=>s});var r=n(928),i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function a(e){var t,n,a={};if("object"!=typeof e||null==e)return a;try{for(var u=i(Object.entries(e)),l=u.next();!l.done;l=u.next()){var p=o(l.value,2),d=p[0],f=p[1];s(d)?c(f)?Array.isArray(f)?a[d]=f.slice():a[d]=f:r.K.warn("Invalid attribute value set for key: "+d):r.K.warn("Invalid attribute key: "+d)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return a}function s(e){return"string"==typeof e&&e.length>0}function c(e){return null==e||(Array.isArray(e)?function(e){var t,n,r;try{for(var o=i(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(null!=s){if(!r){if(u(s)){r=typeof s;continue}return!1}if(typeof s!==r)return!1}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return!0}(e):u(e))}function u(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}},6220:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,c:()=>i});var r=(0,n(6470).x)();function i(e){r=e}function o(e){try{r(e)}catch(e){}}},6470:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(928);function i(){return function(e){r.K.error(function(e){return"string"==typeof e?e:JSON.stringify(function(e){for(var t={},n=e;null!==n;)Object.getOwnPropertyNames(n).forEach((function(e){if(!t[e]){var r=n[e];r&&(t[e]=String(r))}})),n=Object.getPrototypeOf(n);return t}(e))}(e))}}},7664:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>v,J3:()=>p,Jt:()=>u,KO:()=>h,PW:()=>f,U:()=>c,Us:()=>d,X_:()=>g,aE:()=>l,i5:()=>s,ji:()=>m,vF:()=>y});var r=n(471),i=9,o=Math.pow(10,6),a=Math.pow(10,i);function s(e){var t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*o)]}function c(){var e=r.t.timeOrigin;if("number"!=typeof e){var t=r.t;e=t.timing&&t.timing.fetchStart}return e}function u(e){return y(s(c()),s("number"==typeof e?e:r.t.now()))}function l(e){if(v(e))return e;if("number"==typeof e)return e=a&&(n[1]-=a,n[0]+=1),n}},3869:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AlwaysOffSampler:()=>R,AlwaysOnSampler:()=>N,AnchoredClock:()=>i,BindOnceFuture:()=>X.q,CompositePropagator:()=>T.Y,DEFAULT_ATTRIBUTE_COUNT_LIMIT:()=>B.qG,DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT:()=>B.KR,DEFAULT_ENVIRONMENT:()=>B.J9,DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:()=>B.Ys,DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:()=>B.VH,ExportResultCode:()=>p.I,ParentBasedSampler:()=>M,RPCType:()=>b,RandomIdGenerator:()=>v,SDK_INFO:()=>E.m,TRACE_PARENT_HEADER:()=>x.FX,TRACE_STATE_HEADER:()=>x.C3,TimeoutError:()=>G,TraceIdRatioBasedSampler:()=>j,TraceState:()=>F.n,TracesSamplerValues:()=>q.J,VERSION:()=>J.q,W3CBaggagePropagator:()=>r.a,W3CTraceContextPropagator:()=>x.jf,_globalThis:()=>h,addHrTimes:()=>c.vF,baggageUtils:()=>d,callWithTimeout:()=>z,deleteRPCMetadata:()=>C,getEnv:()=>f.d,getEnvWithoutDefaults:()=>f.v,getRPCMetadata:()=>I,getTimeOrigin:()=>c.U,globalErrorHandler:()=>a.L,hexToBase64:()=>m,hexToBinary:()=>l,hrTime:()=>c.Jt,hrTimeDuration:()=>c.J3,hrTimeToMicroseconds:()=>c.ji,hrTimeToMilliseconds:()=>c.KO,hrTimeToNanoseconds:()=>c.PW,hrTimeToTimeStamp:()=>c.Us,internal:()=>Z,isAttributeKey:()=>o.sy,isAttributeValue:()=>o.Do,isTimeInput:()=>c.X_,isTimeInputHrTime:()=>c.Dt,isTracingSuppressed:()=>U.Ll,isUrlIgnored:()=>K,isWrapped:()=>Y,loggingErrorHandler:()=>s.x,merge:()=>H.T,millisToHrTime:()=>c.i5,otperformance:()=>_.t,parseEnvironment:()=>B.Ds,parseTraceParent:()=>x.j_,sanitizeAttributes:()=>o.FT,setGlobalErrorHandler:()=>a.c,setRPCMetadata:()=>A,suppressTracing:()=>U.hE,timeInputToHrTime:()=>c.aE,unrefTimer:()=>S.g,unsuppressTracing:()=>U.yy,urlMatches:()=>W});var r=n(926),i=function(){function e(e,t){this._monotonicClock=t,this._epochMillis=e.now(),this._performanceMillis=t.now()}return e.prototype.now=function(){var e=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+e},e}(),o=n(551),a=n(6220),s=n(6470),c=n(7664);function u(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function l(e){for(var t=new Uint8Array(e.length/2),n=0,r=0;r>>0,4*t);for(t=0;t0);t++)t===e-1&&(g[e-1]=1);return g.toString("hex",0,e)}}var b,_=n(471),E=n(3290),S=n(2140),T=n(3135),x=n(9588),w=(0,n(5834).Y)("OpenTelemetry SDK Context Key RPC_METADATA");function A(e,t){return e.setValue(w,t)}function C(e){return e.deleteValue(w)}function I(e){return e.getValue(w)}!function(e){e.HTTP="http"}(b||(b={}));var O,P=n(1227),R=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:P.U.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}(),N=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:P.U.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}(),D=n(2210),k=n(7228),L=n(8726),M=function(){function e(e){var t,n,r,i;this._root=e.root,this._root||((0,a.L)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new N),this._remoteParentSampled=null!==(t=e.remoteParentSampled)&&void 0!==t?t:new N,this._remoteParentNotSampled=null!==(n=e.remoteParentNotSampled)&&void 0!==n?n:new R,this._localParentSampled=null!==(r=e.localParentSampled)&&void 0!==r?r:new N,this._localParentNotSampled=null!==(i=e.localParentNotSampled)&&void 0!==i?i:new R}return e.prototype.shouldSample=function(e,t,n,r,i,o){var a=D.g.getSpanContext(e);return a&&(0,k.BM)(a)?a.isRemote?a.traceFlags&L.r.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,o):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,o):a.traceFlags&L.r.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,o):this._localParentNotSampled.shouldSample(e,t,n,r,i,o):this._root.shouldSample(e,t,n,r,i,o)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}(),j=function(){function e(e){void 0===e&&(e=0),this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(4294967295*this._ratio)}return e.prototype.shouldSample=function(e,t){return{decision:(0,k.jN)(t)&&this._accumulate(t)=1?1:e<=0?0:e},e.prototype._accumulate=function(e){for(var t=0,n=0;n>>0}return t},e}(),U=n(8397),F=n(9598),B=n(851),H=n(9009),q=n(9290),V=(O=function(e,t){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},O(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),G=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return V(t,e),t}(Error);function z(e,t){var n,r=new Promise((function(e,r){n=setTimeout((function(){r(new G("Operation timed out."))}),t)}));return Promise.race([e,r]).then((function(e){return clearTimeout(n),e}),(function(e){throw clearTimeout(n),e}))}var $=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function W(e,t){return"string"==typeof t?e===t:!!e.match(t)}function K(e,t){var n,r;if(!t)return!1;try{for(var i=$(t),o=i.next();!o.done;o=i.next())if(W(e,o.value))return!0}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}function Y(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}var X=n(1399),J=n(8923),Q=n(6339),Z={_export:function(e,t){return new Promise((function(n){Q.D.with((0,U.hE)(Q.D.active()),(function(){e.export(t,(function(e){n(e)}))}))}))}}},4241:(e,t,n)=>{"use strict";n.d(t,{d:()=>i,v:()=>o});var r=n(851);function i(){var e=(0,r.Ds)(process.env);return Object.assign({},r.J9,e)}function o(){return(0,r.Ds)(process.env)}},471:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var r=require("perf_hooks").performance},3290:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r,i=n(8923),o=n(5364),a=((r={})[o.d_]="opentelemetry",r[o.QG]="node",r[o.Ft]=o.jC,r[o.AX]=i.q,r)},2140:(e,t,n)=>{"use strict";function r(e){e.unref()}n.d(t,{g:()=>r})},3135:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(928),i=function(){function e(e){var t;void 0===e&&(e={}),this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map((function(e){return"function"==typeof e.fields?e.fields():[]})).reduce((function(e,t){return e.concat(t)}),[])))}return e.prototype.inject=function(e,t,n){var i,o;try{for(var a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._propagators),s=a.next();!s.done;s=a.next()){var c=s.value;try{c.inject(e,t,n)}catch(e){r.K.warn("Failed to inject with "+c.constructor.name+". Err: "+e.message)}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},e.prototype.extract=function(e,t,n){return this._propagators.reduce((function(e,i){try{return i.extract(e,t,n)}catch(e){r.K.warn("Failed to inject with "+i.constructor.name+". Err: "+e.message)}return e}),e)},e.prototype.fields=function(){return this._fields.slice()},e}()},9598:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r="[_0-9a-z-*/]",i=new RegExp("^(?:[a-z]"+r+"{0,255}|[a-z0-9]"+r+"{0,240}@[a-z]"+r+"{0,13})$"),o=/^[ -~]{0,255}[!-~]$/,a=/,|=/,s=function(){function e(e){this._internalState=new Map,e&&this._parse(e)}return e.prototype.set=function(e,t){var n=this._clone();return n._internalState.has(e)&&n._internalState.delete(e),n._internalState.set(e,t),n},e.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},e.prototype.get=function(e){return this._internalState.get(e)},e.prototype.serialize=function(){var e=this;return this._keys().reduce((function(t,n){return t.push(n+"="+e.get(n)),t}),[]).join(",")},e.prototype._parse=function(e){e.length>512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var n=t.trim(),r=n.indexOf("=");if(-1!==r){var s=n.slice(0,r),c=n.slice(r+1,t.length);(function(e){return i.test(e)})(s)&&function(e){return o.test(e)&&!a.test(e)}(c)&&e.set(s,c)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}()},9588:(e,t,n)=>{"use strict";n.d(t,{C3:()=>u,FX:()=>c,j_:()=>p,jf:()=>d});var r=n(2210),i=n(7228),o=n(8726),a=n(8397),s=n(9598),c="traceparent",u="tracestate",l=new RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");function p(e){var t=l.exec(e);return t?"00"===t[1]&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}:null}var d=function(){function e(){}return e.prototype.inject=function(e,t,n){var s=r.g.getSpanContext(e);if(s&&!(0,a.Ll)(e)&&(0,i.BM)(s)){var l="00-"+s.traceId+"-"+s.spanId+"-0"+Number(s.traceFlags||o.r.NONE).toString(16);n.set(t,c,l),s.traceState&&n.set(t,u,s.traceState.serialize())}},e.prototype.extract=function(e,t,n){var i=n.get(t,c);if(!i)return e;var o=Array.isArray(i)?i[0]:i;if("string"!=typeof o)return e;var a=p(o);if(!a)return e;a.isRemote=!0;var l=n.get(t,u);if(l){var d=Array.isArray(l)?l.join(","):l;a.traceState=new s.n("string"==typeof d?d:void 0)}return r.g.setSpanContext(e,a)},e.prototype.fields=function(){return[c,u]},e}()},8397:(e,t,n)=>{"use strict";n.d(t,{Ll:()=>a,hE:()=>i,yy:()=>o});var r=(0,n(5834).Y)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i(e){return e.setValue(r,!0)}function o(e){return e.deleteValue(r)}function a(e){return!0===e.getValue(r)}},1399:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=function(){function e(){var e=this;this._promise=new Promise((function(t,n){e._resolve=t,e._reject=n}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e){this._resolve(e)},e.prototype.reject=function(e){this._reject(e)},e}(),i=function(){function e(e,t){this._callback=e,this._that=t,this._isCalled=!1,this._deferred=new r}return Object.defineProperty(e.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),e.prototype.call=function(){for(var e,t=this,n=[],r=0;r0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(n),!1))).then((function(e){return t._deferred.resolve(e)}),(function(e){return t._deferred.reject(e)}))}catch(e){this._deferred.reject(e)}}return this._deferred.promise},e}()},851:(e,t,n)=>{"use strict";n.d(t,{Ds:()=>S,J9:()=>v,KR:()=>d,VH:()=>m,Ys:()=>h,qG:()=>f});var r=n(6740),i=n(9290),o=",",a=["OTEL_SDK_DISABLED"];function s(e){return a.indexOf(e)>-1}var c=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function u(e){return c.indexOf(e)>-1}var l=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function p(e){return l.indexOf(e)>-1}var d=1/0,f=128,h=128,m=128,v={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:r.n.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_ATTRIBUTE_COUNT_LIMIT:f,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:f,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:f,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:h,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:m,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:i.J.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function g(e,t,n){if(void 0!==n[e]){var r=String(n[e]);t[e]="true"===r.toLowerCase()}}function y(e,t,n,r,i){if(void 0===r&&(r=-1/0),void 0===i&&(i=1/0),void 0!==n[e]){var o=Number(n[e]);isNaN(o)||(t[e]=oi?i:o)}}function b(e,t,n,r){void 0===r&&(r=o);var i=n[e];"string"==typeof i&&(t[e]=i.split(r).map((function(e){return e.trim()})))}var _={ALL:r.n.ALL,VERBOSE:r.n.VERBOSE,DEBUG:r.n.DEBUG,INFO:r.n.INFO,WARN:r.n.WARN,ERROR:r.n.ERROR,NONE:r.n.NONE};function E(e,t,n){var r=n[e];if("string"==typeof r){var i=_[r.toUpperCase()];null!=i&&(t[e]=i)}}function S(e){var t={};for(var n in v){var r=n;if("OTEL_LOG_LEVEL"===r)E(r,t,e);else if(s(r))g(r,t,e);else if(u(r))y(r,t,e);else if(p(r))b(r,t,e);else{var i=e[r];null!=i&&(t[r]=String(i))}}return t}},9009:(e,t,n)=>{"use strict";n.d(t,{T:()=>g});var r,i,o="[object Object]",a="[object Null]",s="[object Undefined]",c=Function.prototype.toString,u=c.call(Object),l=(r=Object.getPrototypeOf,i=Object,function(e){return r(i(e))}),p=Object.prototype,d=p.hasOwnProperty,f=Symbol?Symbol.toStringTag:void 0,h=p.toString;function m(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||function(e){return null==e?void 0===e?s:a:f&&f in Object(e)?function(e){var t=d.call(e,f),n=e[f],r=!1;try{e[f]=void 0,r=!0}catch(e){}var i=h.call(e);return r&&(t?e[f]=n:delete e[f]),i}(e):function(e){return h.call(e)}(e)}(e)!==o)return!1;var t=l(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)===u}var v=20;function g(){for(var e=[],t=0;t0;)n=b(n,e.shift(),0,r);return n}function y(e){return E(e)?e.slice():e}function b(e,t,n,r){var i;if(void 0===n&&(n=0),!(n>v)){if(n++,x(e)||x(t)||S(t))i=y(t);else if(E(e)){if(i=e.slice(),E(t))for(var o=0,a=t.length;o{"use strict";var r;n.d(t,{J:()=>r}),function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"}(r||(r={}))},8923:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var r="1.25.1"},2506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AlwaysOffSampler:()=>E,AlwaysOnSampler:()=>S,BasicTracerProvider:()=>ie,BatchSpanProcessor:()=>re,ConsoleSpanExporter:()=>oe,ForceFlushState:()=>U,InMemorySpanExporter:()=>ae,NoopSpanProcessor:()=>J,ParentBasedSampler:()=>w,RandomIdGenerator:()=>k,SamplingDecision:()=>r,SimpleSpanProcessor:()=>ce,Span:()=>y,TraceIdRatioBasedSampler:()=>A,Tracer:()=>F});var r,i=n(6339),o=n(2210),a=n(928),s=n(7007),c=n(87),u=n(1227),l=n(8726),p=n(8397),d=n(551),f=n(1820),h=n(471),m=n(7664),v=n(3108),g=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},y=function(){function e(e,t,n,r,i,o,a,s,c,u){void 0===a&&(a=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:f.Q.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=n,this._spanContext=r,this.parentSpanId=o,this.kind=i,this.links=a;var l=Date.now();this._performanceStartTime=h.t.now(),this._performanceOffset=l-(this._performanceStartTime+(0,m.U)()),this._startTimeProvided=null!=s,this.startTime=this._getTime(null!=s?s:l),this.resource=e.resource,this.instrumentationLibrary=e.instrumentationLibrary,this._spanLimits=e.getSpanLimits(),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,null!=u&&this.setAttributes(u),this._spanProcessor=e.getActiveSpanProcessor(),this._spanProcessor.onStart(this,t)}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return null==t||this._isSpanEnded()?this:0===e.length?(a.K.warn("Invalid attribute key: "+e),this):(0,d.Do)(t)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),this):(a.K.warn("Invalid attribute value set for key: "+e),this)},e.prototype.setAttributes=function(e){var t,n;try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(e)),i=r.next();!i.done;i=r.next()){var o=g(i.value,2),a=o[0],s=o[1];this.setAttribute(a,s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.addEvent=function(e,t,n){if(this._isSpanEnded())return this;if(0===this._spanLimits.eventCountLimit)return a.K.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(0===this._droppedEventsCount&&a.K.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),(0,m.X_)(t)&&((0,m.X_)(n)||(n=t),t=void 0);var r=(0,d.FT)(t);return this.events.push({name:e,attributes:r,time:this._getTime(n),droppedAttributesCount:0}),this},e.prototype.addLink=function(e){return this.links.push(e),this},e.prototype.addLinks=function(e){var t;return(t=this.links).push.apply(t,function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&a.K.warn("Dropped "+this._droppedEventsCount+" events because eventCountLimit reached"),this._spanProcessor.onEnd(this))},e.prototype._getTime=function(e){if("number"==typeof e&&e=1?1:e<=0?0:e},e.prototype._accumulate=function(e){for(var t=0,n=0;n>>0}return t},e}(),C=(0,b.d)(),I=_.J.AlwaysOn,O=1;function P(){return{sampler:R(C),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:(0,b.d)().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:(0,b.d)().OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:(0,b.d)().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:(0,b.d)().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:(0,b.d)().OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:(0,b.d)().OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:(0,b.d)().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:(0,b.d)().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT}}}function R(e){switch(void 0===e&&(e=(0,b.d)()),e.OTEL_TRACES_SAMPLER){case _.J.AlwaysOn:return new S;case _.J.AlwaysOff:return new E;case _.J.ParentBasedAlwaysOn:return new w({root:new S});case _.J.ParentBasedAlwaysOff:return new w({root:new E});case _.J.TraceIdRatio:return new A(N(e));case _.J.ParentBasedTraceIdRatio:return new w({root:new A(N(e))});default:return a.K.error('OTEL_TRACES_SAMPLER value "'+e.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+I+'".'),new S}}function N(e){if(void 0===e.OTEL_TRACES_SAMPLER_ARG||""===e.OTEL_TRACES_SAMPLER_ARG)return a.K.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to "+O+"."),O;var t=Number(e.OTEL_TRACES_SAMPLER_ARG);return isNaN(t)?(a.K.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to "+O+"."),O):t<0||t>1?(a.K.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to "+O+"."),O):t}var D=n(851),k=function(){this.generateTraceId=M(16),this.generateSpanId=M(8)},L=Buffer.allocUnsafe(16);function M(e){return function(){for(var t=0;t>>0,4*t);for(t=0;t0);t++)t===e-1&&(L[e-1]=1);return L.toString("hex",0,e)}}var j,U,F=function(){function e(e,t,n){this._tracerProvider=n;var r,i,o,a,s=(r=t,i={sampler:R()},o=P(),(a=Object.assign({},o,i,r)).generalLimits=Object.assign({},o.generalLimits,r.generalLimits||{}),a.spanLimits=Object.assign({},o.spanLimits,r.spanLimits||{}),a);this._sampler=s.sampler,this._generalLimits=s.generalLimits,this._spanLimits=s.spanLimits,this._idGenerator=t.idGenerator||new k,this.resource=n.resource,this.instrumentationLibrary=e}return e.prototype.startSpan=function(e,t,n){var r,f,h;void 0===t&&(t={}),void 0===n&&(n=i.D.active()),t.root&&(n=o.g.deleteSpan(n));var m=o.g.getSpan(n);if((0,p.Ll)(n))return a.K.debug("Instrumentation suppressed, returning Noop Span"),o.g.wrapSpanContext(s.Rr);var v,g,b,_=null==m?void 0:m.spanContext(),E=this._idGenerator.generateSpanId();_&&o.g.isSpanContextValid(_)?(v=_.traceId,g=_.traceState,b=_.spanId):v=this._idGenerator.generateTraceId();var S=null!==(r=t.kind)&&void 0!==r?r:c.M.INTERNAL,T=(null!==(f=t.links)&&void 0!==f?f:[]).map((function(e){return{context:e.context,attributes:(0,d.FT)(e.attributes)}})),x=(0,d.FT)(t.attributes),w=this._sampler.shouldSample(n,v,e,S,x,T);g=null!==(h=w.traceState)&&void 0!==h?h:g;var A={traceId:v,spanId:E,traceFlags:w.decision===u.U.RECORD_AND_SAMPLED?l.r.SAMPLED:l.r.NONE,traceState:g};if(w.decision===u.U.NOT_RECORD)return a.K.debug("Recording is off, propagating context in a non-recording span"),o.g.wrapSpanContext(A);var C=(0,d.FT)(Object.assign(x,w.attributes));return new y(this,n,e,A,S,b,T,t.startTime,void 0,C)},e.prototype.startActiveSpan=function(e,t,n,r){var a,s,c;if(!(arguments.length<2)){2===arguments.length?c=t:3===arguments.length?(a=t,c=n):(a=t,s=n,c=r);var u=null!=s?s:i.D.active(),l=this.startSpan(e,a,u),p=o.g.setSpan(u,l);return i.D.with(p,c,void 0,l)}},e.prototype.getGeneralLimits=function(){return this._generalLimits},e.prototype.getSpanLimits=function(){return this._spanLimits},e.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},e}(),B=n(8303),H=n(9009),q=n(3135),V=n(9588),G=n(926),z=n(5364),$=n(3290),W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(e,2),o=i[0],a=i[1];return W(W(W(W({},r._syncAttributes),o),null!==(n=t._syncAttributes)&&void 0!==n?n:t.attributes),a)}));return new e(i,o)},e.EMPTY=new e({}),e}(),Y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},X=function(){function e(e){this._spanProcessors=e}return e.prototype.forceFlush=function(){var e,t,n=[];try{for(var r=Y(this._spanProcessors),i=r.next();!i.done;i=r.next()){var o=i.value;n.push(o.forceFlush())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return new Promise((function(e){Promise.all(n).then((function(){e()})).catch((function(t){(0,x.L)(t||new Error("MultiSpanProcessor: forceFlush failed")),e()}))}))},e.prototype.onStart=function(e,t){var n,r;try{for(var i=Y(this._spanProcessors),o=i.next();!o.done;o=i.next())o.value.onStart(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.onEnd=function(e){var t,n;try{for(var r=Y(this._spanProcessors),i=r.next();!i.done;i=r.next())i.value.onEnd(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.shutdown=function(){var e,t,n=[];try{for(var r=Y(this._spanProcessors),i=r.next();!i.done;i=r.next()){var o=i.value;n.push(o.shutdown())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return new Promise((function(e,t){Promise.all(n).then((function(){e()}),t)}))},e}(),J=function(){function e(){}return e.prototype.onStart=function(e,t){},e.prototype.onEnd=function(e){},e.prototype.shutdown=function(){return Promise.resolve()},e.prototype.forceFlush=function(){return Promise.resolve()},e}(),Q=n(1399),Z=n(3420),ee=n(2140),te=function(){function e(e,t){this._exporter=e,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var n=(0,b.d)();this._maxExportBatchSize="number"==typeof(null==t?void 0:t.maxExportBatchSize)?t.maxExportBatchSize:n.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==t?void 0:t.maxQueueSize)?t.maxQueueSize:n.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==t?void 0:t.scheduledDelayMillis)?t.scheduledDelayMillis:n.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==t?void 0:t.exportTimeoutMillis)?t.exportTimeoutMillis:n.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new Q.q(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(a.K.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return e.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},e.prototype.onStart=function(e,t){},e.prototype.onEnd=function(e){this._shutdownOnce.isCalled||0!=(e.spanContext().traceFlags&l.r.SAMPLED)&&this._addToBuffer(e)},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype._shutdown=function(){var e=this;return Promise.resolve().then((function(){return e.onShutdown()})).then((function(){return e._flushAll()})).then((function(){return e._exporter.shutdown()}))},e.prototype._addToBuffer=function(e){if(this._finishedSpans.length>=this._maxQueueSize)return 0===this._droppedSpansCount&&a.K.debug("maxQueueSize reached, dropping spans"),void this._droppedSpansCount++;this._droppedSpansCount>0&&(a.K.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()},e.prototype._flushAll=function(){var e=this;return new Promise((function(t,n){for(var r=[],i=0,o=Math.ceil(e._finishedSpans.length/e._maxExportBatchSize);i0&&(e._clearTimer(),e._maybeStartTimer())})).catch((function(t){e._isExporting=!1,(0,x.L)(t)}))};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();void 0===this._timer&&(this._timer=setTimeout((function(){return t()}),this._scheduledDelayMillis),(0,ee.g)(this._timer))}},e.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},e}(),ne=(j=function(e,t){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},j(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ne(t,e),t.prototype.onShutdown=function(){},t}(te);!function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"}(U||(U={}));var ie=function(){function e(e){var t;void 0===e&&(e={}),this._registeredSpanProcessors=[],this._tracers=new Map;var n=(0,H.T)({},P(),function(e){var t,n,r,i,o,a,s,c,u,l,p,d,f=Object.assign({},e.spanLimits),h=(0,b.v)();return f.attributeCountLimit=null!==(a=null!==(o=null!==(i=null!==(n=null===(t=e.spanLimits)||void 0===t?void 0:t.attributeCountLimit)&&void 0!==n?n:null===(r=e.generalLimits)||void 0===r?void 0:r.attributeCountLimit)&&void 0!==i?i:h.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT)&&void 0!==o?o:h.OTEL_ATTRIBUTE_COUNT_LIMIT)&&void 0!==a?a:D.qG,f.attributeValueLengthLimit=null!==(d=null!==(p=null!==(l=null!==(c=null===(s=e.spanLimits)||void 0===s?void 0:s.attributeValueLengthLimit)&&void 0!==c?c:null===(u=e.generalLimits)||void 0===u?void 0:u.attributeValueLengthLimit)&&void 0!==l?l:h.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==p?p:h.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==d?d:D.KR,Object.assign({},e,{spanLimits:f})}(e));this.resource=null!==(t=n.resource)&&void 0!==t?t:K.empty(),this.resource=K.default().merge(this.resource),this._config=Object.assign({},n,{resource:this.resource});var r=this._buildExporterFromEnv();if(void 0!==r){var i=new re(r);this.activeSpanProcessor=i}else this.activeSpanProcessor=new J}return e.prototype.getTracer=function(e,t,n){var r=e+"@"+(t||"")+":"+((null==n?void 0:n.schemaUrl)||"");return this._tracers.has(r)||this._tracers.set(r,new F({name:e,version:t,schemaUrl:null==n?void 0:n.schemaUrl},this._config,this)),this._tracers.get(r)},e.prototype.addSpanProcessor=function(e){0===this._registeredSpanProcessors.length&&this.activeSpanProcessor.shutdown().catch((function(e){return a.K.error("Error while trying to shutdown current span processor",e)})),this._registeredSpanProcessors.push(e),this.activeSpanProcessor=new X(this._registeredSpanProcessors)},e.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},e.prototype.register=function(e){void 0===e&&(e={}),o.g.setGlobalTracerProvider(this),void 0===e.propagator&&(e.propagator=this._buildPropagatorFromEnv()),e.contextManager&&i.D.setGlobalContextManager(e.contextManager),e.propagator&&B.u.setGlobalPropagator(e.propagator)},e.prototype.forceFlush=function(){var e=this._config.forceFlushTimeoutMillis,t=this._registeredSpanProcessors.map((function(t){return new Promise((function(n){var r,i=setTimeout((function(){n(new Error("Span processor did not completed within timeout period of "+e+" ms")),r=U.timeout}),e);t.forceFlush().then((function(){clearTimeout(i),r!==U.timeout&&(r=U.resolved,n(r))})).catch((function(e){clearTimeout(i),r=U.error,n(e)}))}))}));return new Promise((function(e,n){Promise.all(t).then((function(t){var r=t.filter((function(e){return e!==U.resolved}));r.length>0?n(r):e()})).catch((function(e){return n([e])}))}))},e.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},e.prototype._getPropagator=function(e){var t;return null===(t=this.constructor._registeredPropagators.get(e))||void 0===t?void 0:t()},e.prototype._getSpanExporter=function(e){var t;return null===(t=this.constructor._registeredExporters.get(e))||void 0===t?void 0:t()},e.prototype._buildPropagatorFromEnv=function(){var e=this,t=Array.from(new Set((0,b.d)().OTEL_PROPAGATORS)),n=t.map((function(t){var n=e._getPropagator(t);return n||a.K.warn('Propagator "'+t+'" requested through environment variable is unavailable.'),n})).reduce((function(e,t){return t&&e.push(t),e}),[]);return 0===n.length?void 0:1===t.length?n[0]:new q.Y({propagators:n})},e.prototype._buildExporterFromEnv=function(){var e=(0,b.d)().OTEL_TRACES_EXPORTER;if("none"!==e&&""!==e){var t=this._getSpanExporter(e);return t||a.K.error('Exporter "'+e+'" requested through environment variable is unavailable.'),t}},e._registeredPropagators=new Map([["tracecontext",function(){return new V.jf}],["baggage",function(){return new G.a}]]),e._registeredExporters=new Map,e}(),oe=function(){function e(){}return e.prototype.export=function(e,t){return this._sendSpans(e,t)},e.prototype.shutdown=function(){return this._sendSpans([]),this.forceFlush()},e.prototype.forceFlush=function(){return Promise.resolve()},e.prototype._exportInfo=function(e){var t;return{resource:{attributes:e.resource.attributes},traceId:e.spanContext().traceId,parentId:e.parentSpanId,traceState:null===(t=e.spanContext().traceState)||void 0===t?void 0:t.serialize(),name:e.name,id:e.spanContext().spanId,kind:e.kind,timestamp:(0,m.ji)(e.startTime),duration:(0,m.ji)(e.duration),attributes:e.attributes,status:e.status,events:e.events,links:e.links}},e.prototype._sendSpans=function(e,t){var n,r;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),o=i.next();!o.done;o=i.next()){var a=o.value;console.dir(this._exportInfo(a),{depth:3})}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}if(t)return t({code:Z.I.SUCCESS})},e}(),ae=function(){function e(){this._finishedSpans=[],this._stopped=!1}return e.prototype.export=function(e,t){var n;if(this._stopped)return t({code:Z.I.FAILED,error:new Error("Exporter has been stopped")});(n=this._finishedSpans).push.apply(n,function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(e),!1)),setTimeout((function(){return t({code:Z.I.SUCCESS})}),0)},e.prototype.shutdown=function(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()},e.prototype.forceFlush=function(){return Promise.resolve()},e.prototype.reset=function(){this._finishedSpans=[]},e.prototype.getFinishedSpans=function(){return this._finishedSpans},e}(),se=n(3869),ce=function(){function e(e){this._exporter=e,this._shutdownOnce=new Q.q(this._shutdown,this),this._unresolvedExports=new Set}return e.prototype.forceFlush=function(){return e=this,t=void 0,r=function(){return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{"use strict";n.r(t),n.d(t,{AWSECSLAUNCHTYPEVALUES_EC2:()=>i.kQ,AWSECSLAUNCHTYPEVALUES_FARGATE:()=>i.qd,AwsEcsLaunchtypeValues:()=>i._t,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:()=>i.M0,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:()=>i.oD,CLOUDPLATFORMVALUES_AWS_EC2:()=>i.$F,CLOUDPLATFORMVALUES_AWS_ECS:()=>i.Tf,CLOUDPLATFORMVALUES_AWS_EKS:()=>i.I_,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:()=>i.Tm,CLOUDPLATFORMVALUES_AWS_LAMBDA:()=>i.$H,CLOUDPLATFORMVALUES_AZURE_AKS:()=>i.ZK,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:()=>i.Zw,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:()=>i.Ed,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:()=>i.wT,CLOUDPLATFORMVALUES_AZURE_VM:()=>i.jj,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:()=>i.He,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:()=>i.ZV,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:()=>i.M7,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:()=>i.nC,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:()=>i.Ce,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:()=>i.pX,CLOUDPROVIDERVALUES_AWS:()=>i.By,CLOUDPROVIDERVALUES_AZURE:()=>i.uQ,CLOUDPROVIDERVALUES_GCP:()=>i.$6,CloudPlatformValues:()=>i.CY,CloudProviderValues:()=>i.LH,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:()=>r.JYm,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:()=>r.r2B,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:()=>r.d1C,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:()=>r.Bnr,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:()=>r.KeR,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:()=>r.mlE,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:()=>r.b3_,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:()=>r.KYp,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:()=>r.n3u,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:()=>r.b8v,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:()=>r.CzP,DBSYSTEMVALUES_ADABAS:()=>r.rTH,DBSYSTEMVALUES_CACHE:()=>r.L9O,DBSYSTEMVALUES_CASSANDRA:()=>r.L_1,DBSYSTEMVALUES_CLOUDSCAPE:()=>r.$Wr,DBSYSTEMVALUES_COCKROACHDB:()=>r.YUC,DBSYSTEMVALUES_COLDFUSION:()=>r.T60,DBSYSTEMVALUES_COSMOSDB:()=>r.xav,DBSYSTEMVALUES_COUCHBASE:()=>r.Cgu,DBSYSTEMVALUES_COUCHDB:()=>r.Tw_,DBSYSTEMVALUES_DB2:()=>r.uWf,DBSYSTEMVALUES_DERBY:()=>r.wo7,DBSYSTEMVALUES_DYNAMODB:()=>r.o0N,DBSYSTEMVALUES_EDB:()=>r.zWg,DBSYSTEMVALUES_ELASTICSEARCH:()=>r.LRS,DBSYSTEMVALUES_FILEMAKER:()=>r.wPe,DBSYSTEMVALUES_FIREBIRD:()=>r.c7L,DBSYSTEMVALUES_FIRSTSQL:()=>r.TDq,DBSYSTEMVALUES_GEODE:()=>r.AOT,DBSYSTEMVALUES_H2:()=>r.tML,DBSYSTEMVALUES_HANADB:()=>r.Mmr,DBSYSTEMVALUES_HBASE:()=>r.Ssu,DBSYSTEMVALUES_HIVE:()=>r.lap,DBSYSTEMVALUES_HSQLDB:()=>r.EJe,DBSYSTEMVALUES_INFORMIX:()=>r._Zt,DBSYSTEMVALUES_INGRES:()=>r.NS1,DBSYSTEMVALUES_INSTANTDB:()=>r.R3Y,DBSYSTEMVALUES_INTERBASE:()=>r.dY9,DBSYSTEMVALUES_MARIADB:()=>r.ARC,DBSYSTEMVALUES_MAXDB:()=>r.xQV,DBSYSTEMVALUES_MEMCACHED:()=>r.NTc,DBSYSTEMVALUES_MONGODB:()=>r.SeY,DBSYSTEMVALUES_MSSQL:()=>r.BI2,DBSYSTEMVALUES_MYSQL:()=>r.LDm,DBSYSTEMVALUES_NEO4J:()=>r.lBX,DBSYSTEMVALUES_NETEZZA:()=>r.WN5,DBSYSTEMVALUES_ORACLE:()=>r.DY0,DBSYSTEMVALUES_OTHER_SQL:()=>r.aRT,DBSYSTEMVALUES_PERVASIVE:()=>r.je9,DBSYSTEMVALUES_POINTBASE:()=>r.wi2,DBSYSTEMVALUES_POSTGRESQL:()=>r.QqV,DBSYSTEMVALUES_PROGRESS:()=>r.Opc,DBSYSTEMVALUES_REDIS:()=>r.oFo,DBSYSTEMVALUES_REDSHIFT:()=>r.A3w,DBSYSTEMVALUES_SQLITE:()=>r.W6R,DBSYSTEMVALUES_SYBASE:()=>r.k6u,DBSYSTEMVALUES_TERADATA:()=>r.nbz,DBSYSTEMVALUES_VERTICA:()=>r.T_e,DbCassandraConsistencyLevelValues:()=>r.xMl,DbSystemValues:()=>r.fLT,FAASDOCUMENTOPERATIONVALUES_DELETE:()=>r.KtE,FAASDOCUMENTOPERATIONVALUES_EDIT:()=>r.W1f,FAASDOCUMENTOPERATIONVALUES_INSERT:()=>r.Ou_,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:()=>r.SGQ,FAASINVOKEDPROVIDERVALUES_AWS:()=>r.pOY,FAASINVOKEDPROVIDERVALUES_AZURE:()=>r.ISb,FAASINVOKEDPROVIDERVALUES_GCP:()=>r.Gwh,FAASTRIGGERVALUES_DATASOURCE:()=>r.s9h,FAASTRIGGERVALUES_HTTP:()=>r.b6Q,FAASTRIGGERVALUES_OTHER:()=>r.fks,FAASTRIGGERVALUES_PUBSUB:()=>r.qf_,FAASTRIGGERVALUES_TIMER:()=>r.P$Q,FaasDocumentOperationValues:()=>r.ZIo,FaasInvokedProviderValues:()=>r.o0s,FaasTriggerValues:()=>r.iD2,HOSTARCHVALUES_AMD64:()=>i.oV,HOSTARCHVALUES_ARM32:()=>i.R2,HOSTARCHVALUES_ARM64:()=>i.GW,HOSTARCHVALUES_IA64:()=>i.Sf,HOSTARCHVALUES_PPC32:()=>i.Co,HOSTARCHVALUES_PPC64:()=>i.bE,HOSTARCHVALUES_X86:()=>i.vo,HTTPFLAVORVALUES_HTTP_1_0:()=>r.w3z,HTTPFLAVORVALUES_HTTP_1_1:()=>r.kB,HTTPFLAVORVALUES_HTTP_2_0:()=>r.w_Y,HTTPFLAVORVALUES_QUIC:()=>r.dQt,HTTPFLAVORVALUES_SPDY:()=>r.iHd,HostArchValues:()=>i.IV,HttpFlavorValues:()=>r.Yid,MESSAGETYPEVALUES_RECEIVED:()=>r.Fa5,MESSAGETYPEVALUES_SENT:()=>r.Ckk,MESSAGINGDESTINATIONKINDVALUES_QUEUE:()=>r.OrI,MESSAGINGDESTINATIONKINDVALUES_TOPIC:()=>r.BZ9,MESSAGINGOPERATIONVALUES_PROCESS:()=>r.gQR,MESSAGINGOPERATIONVALUES_RECEIVE:()=>r.iIR,MessageTypeValues:()=>r._JS,MessagingDestinationKindValues:()=>r.y89,MessagingOperationValues:()=>r.jUs,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:()=>r.gIA,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:()=>r.iNz,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:()=>r.U8S,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:()=>r.m86,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:()=>r._7S,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:()=>r.wM_,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:()=>r.Jxp,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:()=>r.GM8,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:()=>r.Urx,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:()=>r.tTL,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:()=>r.R6O,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:()=>r.IUx,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:()=>r.lq9,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:()=>r.$EH,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:()=>r.uA8,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:()=>r.Gdv,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:()=>r.$_t,NETHOSTCONNECTIONSUBTYPEVALUES_NR:()=>r.iR1,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:()=>r.CWW,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:()=>r.KHW,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:()=>r.fNF,NETHOSTCONNECTIONTYPEVALUES_CELL:()=>r.$A7,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:()=>r.jTi,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:()=>r.zOJ,NETHOSTCONNECTIONTYPEVALUES_WIFI:()=>r.iYs,NETHOSTCONNECTIONTYPEVALUES_WIRED:()=>r.mQ5,NETTRANSPORTVALUES_INPROC:()=>r.AAq,NETTRANSPORTVALUES_IP:()=>r.cko,NETTRANSPORTVALUES_IP_TCP:()=>r.TSv,NETTRANSPORTVALUES_IP_UDP:()=>r.s$E,NETTRANSPORTVALUES_OTHER:()=>r.huK,NETTRANSPORTVALUES_PIPE:()=>r.buh,NETTRANSPORTVALUES_UNIX:()=>r.cxu,NetHostConnectionSubtypeValues:()=>r.oPk,NetHostConnectionTypeValues:()=>r.ZM5,NetTransportValues:()=>r.DiP,OSTYPEVALUES_AIX:()=>i.$X,OSTYPEVALUES_DARWIN:()=>i.GR,OSTYPEVALUES_DRAGONFLYBSD:()=>i.HH,OSTYPEVALUES_FREEBSD:()=>i.sl,OSTYPEVALUES_HPUX:()=>i.d$,OSTYPEVALUES_LINUX:()=>i.YU,OSTYPEVALUES_NETBSD:()=>i.Hj,OSTYPEVALUES_OPENBSD:()=>i.L2,OSTYPEVALUES_SOLARIS:()=>i.tj,OSTYPEVALUES_WINDOWS:()=>i._H,OSTYPEVALUES_Z_OS:()=>i.Wn,OsTypeValues:()=>i.er,RPCGRPCSTATUSCODEVALUES_ABORTED:()=>r.D$8,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:()=>r.HpP,RPCGRPCSTATUSCODEVALUES_CANCELLED:()=>r.I76,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:()=>r.MFQ,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:()=>r.Jic,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:()=>r.fTj,RPCGRPCSTATUSCODEVALUES_INTERNAL:()=>r.imF,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:()=>r.R5B,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:()=>r.ZkD,RPCGRPCSTATUSCODEVALUES_OK:()=>r.$ep,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:()=>r.hTQ,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:()=>r.I5C,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:()=>r.BwG,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:()=>r.wI0,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:()=>r.YXb,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:()=>r.j6o,RPCGRPCSTATUSCODEVALUES_UNKNOWN:()=>r.i8c,RpcGrpcStatusCodeValues:()=>r.yG$,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:()=>r.AFn,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:()=>r.JYd,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:()=>r.uRW,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:()=>r.Kpn,SEMATTRS_AWS_DYNAMODB_COUNT:()=>r.alJ,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:()=>r.MTY,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:()=>r.OTt,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:()=>r.qO7,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:()=>r.qGp,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:()=>r.PK2,SEMATTRS_AWS_DYNAMODB_LIMIT:()=>r.HBi,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:()=>r.lBR,SEMATTRS_AWS_DYNAMODB_PROJECTION:()=>r.hHC,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:()=>r.v9j,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:()=>r.kO6,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:()=>r.rME,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:()=>r.MU2,SEMATTRS_AWS_DYNAMODB_SEGMENT:()=>r.nKl,SEMATTRS_AWS_DYNAMODB_SELECT:()=>r.qM_,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:()=>r.akt,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:()=>r.kPD,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:()=>r.n3K,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:()=>r.MTv,SEMATTRS_CODE_FILEPATH:()=>r.Iip,SEMATTRS_CODE_FUNCTION:()=>r.PGq,SEMATTRS_CODE_LINENO:()=>r.fQ4,SEMATTRS_CODE_NAMESPACE:()=>r.KTF,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:()=>r.XxW,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:()=>r.L08,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:()=>r.FQ3,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:()=>r.rGV,SEMATTRS_DB_CASSANDRA_KEYSPACE:()=>r.Cn2,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:()=>r.Hl$,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:()=>r.pJT,SEMATTRS_DB_CASSANDRA_TABLE:()=>r.aP6,SEMATTRS_DB_CONNECTION_STRING:()=>r.pys,SEMATTRS_DB_HBASE_NAMESPACE:()=>r.I1I,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:()=>r.meL,SEMATTRS_DB_MONGODB_COLLECTION:()=>r.BCN,SEMATTRS_DB_MSSQL_INSTANCE_NAME:()=>r.wr,SEMATTRS_DB_NAME:()=>r.WoE,SEMATTRS_DB_OPERATION:()=>r.P_p,SEMATTRS_DB_REDIS_DATABASE_INDEX:()=>r.TP7,SEMATTRS_DB_SQL_TABLE:()=>r.TMe,SEMATTRS_DB_STATEMENT:()=>r.PAL,SEMATTRS_DB_SYSTEM:()=>r.UBq,SEMATTRS_DB_USER:()=>r.A49,SEMATTRS_ENDUSER_ID:()=>r.Eln,SEMATTRS_ENDUSER_ROLE:()=>r.Lrb,SEMATTRS_ENDUSER_SCOPE:()=>r.cm9,SEMATTRS_EXCEPTION_ESCAPED:()=>r.yEy,SEMATTRS_EXCEPTION_MESSAGE:()=>r.WTV,SEMATTRS_EXCEPTION_STACKTRACE:()=>r.Wji,SEMATTRS_EXCEPTION_TYPE:()=>r.qvI,SEMATTRS_FAAS_COLDSTART:()=>r.qW_,SEMATTRS_FAAS_CRON:()=>r.L4f,SEMATTRS_FAAS_DOCUMENT_COLLECTION:()=>r.HOQ,SEMATTRS_FAAS_DOCUMENT_NAME:()=>r.Bfq,SEMATTRS_FAAS_DOCUMENT_OPERATION:()=>r.RP5,SEMATTRS_FAAS_DOCUMENT_TIME:()=>r.Uld,SEMATTRS_FAAS_EXECUTION:()=>r.OQQ,SEMATTRS_FAAS_INVOKED_NAME:()=>r.OlO,SEMATTRS_FAAS_INVOKED_PROVIDER:()=>r.y6A,SEMATTRS_FAAS_INVOKED_REGION:()=>r.xCm,SEMATTRS_FAAS_TIME:()=>r.bYJ,SEMATTRS_FAAS_TRIGGER:()=>r.tNv,SEMATTRS_HTTP_CLIENT_IP:()=>r.rh7,SEMATTRS_HTTP_FLAVOR:()=>r.QtL,SEMATTRS_HTTP_HOST:()=>r.oMZ,SEMATTRS_HTTP_METHOD:()=>r.ACM,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:()=>r.buQ,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:()=>r.n7U,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:()=>r.ynx,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:()=>r.ljJ,SEMATTRS_HTTP_ROUTE:()=>r.XOM,SEMATTRS_HTTP_SCHEME:()=>r.BM2,SEMATTRS_HTTP_SERVER_NAME:()=>r.VZx,SEMATTRS_HTTP_STATUS_CODE:()=>r.LZ1,SEMATTRS_HTTP_TARGET:()=>r.YOJ,SEMATTRS_HTTP_URL:()=>r.aVl,SEMATTRS_HTTP_USER_AGENT:()=>r.kXj,SEMATTRS_MESSAGE_COMPRESSED_SIZE:()=>r.QJo,SEMATTRS_MESSAGE_ID:()=>r.zMd,SEMATTRS_MESSAGE_TYPE:()=>r.koK,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:()=>r.U8R,SEMATTRS_MESSAGING_CONSUMER_ID:()=>r.d3J,SEMATTRS_MESSAGING_CONVERSATION_ID:()=>r.PqE,SEMATTRS_MESSAGING_DESTINATION:()=>r.cnS,SEMATTRS_MESSAGING_DESTINATION_KIND:()=>r.Uvq,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:()=>r.A2_,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:()=>r.w3E,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:()=>r.gdG,SEMATTRS_MESSAGING_KAFKA_PARTITION:()=>r.f3y,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:()=>r.hlN,SEMATTRS_MESSAGING_MESSAGE_ID:()=>r.XCP,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:()=>r.vRE,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:()=>r.P_D,SEMATTRS_MESSAGING_OPERATION:()=>r.a4k,SEMATTRS_MESSAGING_PROTOCOL:()=>r.Guc,SEMATTRS_MESSAGING_PROTOCOL_VERSION:()=>r.KPM,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:()=>r.KLJ,SEMATTRS_MESSAGING_SYSTEM:()=>r.aY_,SEMATTRS_MESSAGING_TEMP_DESTINATION:()=>r.Ce5,SEMATTRS_MESSAGING_URL:()=>r.LBf,SEMATTRS_NET_HOST_CARRIER_ICC:()=>r.X$c,SEMATTRS_NET_HOST_CARRIER_MCC:()=>r.EoW,SEMATTRS_NET_HOST_CARRIER_MNC:()=>r.eks,SEMATTRS_NET_HOST_CARRIER_NAME:()=>r.uGh,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:()=>r.y2p,SEMATTRS_NET_HOST_CONNECTION_TYPE:()=>r.kNf,SEMATTRS_NET_HOST_IP:()=>r.l08,SEMATTRS_NET_HOST_NAME:()=>r.ncu,SEMATTRS_NET_HOST_PORT:()=>r.uyu,SEMATTRS_NET_PEER_IP:()=>r.r4G,SEMATTRS_NET_PEER_NAME:()=>r.K_1,SEMATTRS_NET_PEER_PORT:()=>r.ylQ,SEMATTRS_NET_TRANSPORT:()=>r.AuT,SEMATTRS_PEER_SERVICE:()=>r.bhq,SEMATTRS_RPC_GRPC_STATUS_CODE:()=>r.Dp0,SEMATTRS_RPC_JSONRPC_ERROR_CODE:()=>r.ff0,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:()=>r.N6Y,SEMATTRS_RPC_JSONRPC_REQUEST_ID:()=>r.Dxf,SEMATTRS_RPC_JSONRPC_VERSION:()=>r.wyN,SEMATTRS_RPC_METHOD:()=>r.mNX,SEMATTRS_RPC_SERVICE:()=>r.Pl4,SEMATTRS_RPC_SYSTEM:()=>r.VxV,SEMATTRS_THREAD_ID:()=>r.ZUr,SEMATTRS_THREAD_NAME:()=>r.hvJ,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:()=>i.Sl,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:()=>i.Wl,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:()=>i.gd,SEMRESATTRS_AWS_ECS_TASK_ARN:()=>i.WK,SEMRESATTRS_AWS_ECS_TASK_FAMILY:()=>i.L1,SEMRESATTRS_AWS_ECS_TASK_REVISION:()=>i.d0,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:()=>i.kT,SEMRESATTRS_AWS_LOG_GROUP_ARNS:()=>i.Q4,SEMRESATTRS_AWS_LOG_GROUP_NAMES:()=>i.Ht,SEMRESATTRS_AWS_LOG_STREAM_ARNS:()=>i.bu,SEMRESATTRS_AWS_LOG_STREAM_NAMES:()=>i.uO,SEMRESATTRS_CLOUD_ACCOUNT_ID:()=>i.js,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:()=>i.sz,SEMRESATTRS_CLOUD_PLATFORM:()=>i.Wv,SEMRESATTRS_CLOUD_PROVIDER:()=>i.Xt,SEMRESATTRS_CLOUD_REGION:()=>i.sN,SEMRESATTRS_CONTAINER_ID:()=>i.aO,SEMRESATTRS_CONTAINER_IMAGE_NAME:()=>i.W_,SEMRESATTRS_CONTAINER_IMAGE_TAG:()=>i.M_,SEMRESATTRS_CONTAINER_NAME:()=>i.Wb,SEMRESATTRS_CONTAINER_RUNTIME:()=>i.Qb,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:()=>i.jT,SEMRESATTRS_DEVICE_ID:()=>i.Y8,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:()=>i.AS,SEMRESATTRS_DEVICE_MODEL_NAME:()=>i.bo,SEMRESATTRS_FAAS_ID:()=>i.YN,SEMRESATTRS_FAAS_INSTANCE:()=>i.cr,SEMRESATTRS_FAAS_MAX_MEMORY:()=>i.Xc,SEMRESATTRS_FAAS_NAME:()=>i.iv,SEMRESATTRS_FAAS_VERSION:()=>i.v,SEMRESATTRS_HOST_ARCH:()=>i.g,SEMRESATTRS_HOST_ID:()=>i.OJ,SEMRESATTRS_HOST_IMAGE_ID:()=>i.fG,SEMRESATTRS_HOST_IMAGE_NAME:()=>i.wG,SEMRESATTRS_HOST_IMAGE_VERSION:()=>i.Kw,SEMRESATTRS_HOST_NAME:()=>i.vm,SEMRESATTRS_HOST_TYPE:()=>i.CR,SEMRESATTRS_K8S_CLUSTER_NAME:()=>i.Ks,SEMRESATTRS_K8S_CONTAINER_NAME:()=>i.Ms,SEMRESATTRS_K8S_CRONJOB_NAME:()=>i.sQ,SEMRESATTRS_K8S_CRONJOB_UID:()=>i.gP,SEMRESATTRS_K8S_DAEMONSET_NAME:()=>i.z4,SEMRESATTRS_K8S_DAEMONSET_UID:()=>i.LZ,SEMRESATTRS_K8S_DEPLOYMENT_NAME:()=>i.Dh,SEMRESATTRS_K8S_DEPLOYMENT_UID:()=>i.mv,SEMRESATTRS_K8S_JOB_NAME:()=>i.Gv,SEMRESATTRS_K8S_JOB_UID:()=>i.Ii,SEMRESATTRS_K8S_NAMESPACE_NAME:()=>i.zo,SEMRESATTRS_K8S_NODE_NAME:()=>i.Ej,SEMRESATTRS_K8S_NODE_UID:()=>i.rp,SEMRESATTRS_K8S_POD_NAME:()=>i.Ih,SEMRESATTRS_K8S_POD_UID:()=>i.D7,SEMRESATTRS_K8S_REPLICASET_NAME:()=>i.kB,SEMRESATTRS_K8S_REPLICASET_UID:()=>i.po,SEMRESATTRS_K8S_STATEFULSET_NAME:()=>i.uX,SEMRESATTRS_K8S_STATEFULSET_UID:()=>i.HZ,SEMRESATTRS_OS_DESCRIPTION:()=>i.zh,SEMRESATTRS_OS_NAME:()=>i.RV,SEMRESATTRS_OS_TYPE:()=>i.Nb,SEMRESATTRS_OS_VERSION:()=>i.V7,SEMRESATTRS_PROCESS_COMMAND:()=>i.CA,SEMRESATTRS_PROCESS_COMMAND_ARGS:()=>i.hg,SEMRESATTRS_PROCESS_COMMAND_LINE:()=>i.Pl,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:()=>i.xH,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:()=>i.GH,SEMRESATTRS_PROCESS_OWNER:()=>i.XT,SEMRESATTRS_PROCESS_PID:()=>i.P_,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:()=>i.$C,SEMRESATTRS_PROCESS_RUNTIME_NAME:()=>i.QG,SEMRESATTRS_PROCESS_RUNTIME_VERSION:()=>i.uR,SEMRESATTRS_SERVICE_INSTANCE_ID:()=>i.sC,SEMRESATTRS_SERVICE_NAME:()=>i.Ze,SEMRESATTRS_SERVICE_NAMESPACE:()=>i.te,SEMRESATTRS_SERVICE_VERSION:()=>i.Yt,SEMRESATTRS_TELEMETRY_AUTO_VERSION:()=>i.qj,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:()=>i.Ft,SEMRESATTRS_TELEMETRY_SDK_NAME:()=>i.d_,SEMRESATTRS_TELEMETRY_SDK_VERSION:()=>i.AX,SEMRESATTRS_WEBENGINE_DESCRIPTION:()=>i.$7,SEMRESATTRS_WEBENGINE_NAME:()=>i.QH,SEMRESATTRS_WEBENGINE_VERSION:()=>i.TL,SemanticAttributes:()=>r.ogj,SemanticResourceAttributes:()=>i.R9,TELEMETRYSDKLANGUAGEVALUES_CPP:()=>i.HB,TELEMETRYSDKLANGUAGEVALUES_DOTNET:()=>i.SG,TELEMETRYSDKLANGUAGEVALUES_ERLANG:()=>i.lE,TELEMETRYSDKLANGUAGEVALUES_GO:()=>i.iK,TELEMETRYSDKLANGUAGEVALUES_JAVA:()=>i.kC,TELEMETRYSDKLANGUAGEVALUES_NODEJS:()=>i.jC,TELEMETRYSDKLANGUAGEVALUES_PHP:()=>i.ov,TELEMETRYSDKLANGUAGEVALUES_PYTHON:()=>i.sI,TELEMETRYSDKLANGUAGEVALUES_RUBY:()=>i.ao,TELEMETRYSDKLANGUAGEVALUES_WEBJS:()=>i.L7,TelemetrySdkLanguageValues:()=>i.Te});var r=n(3108),i=n(5364)},5053:(e,t,n)=>{"use strict";function r(e){for(var t={},n=e.length,r=0;rr})},5364:(e,t,n)=>{"use strict";n.d(t,{$6:()=>pn,$7:()=>rn,$C:()=>$t,$F:()=>Nn,$H:()=>Ln,$X:()=>Pr,AS:()=>et,AX:()=>Zt,By:()=>un,CA:()=>Bt,CR:()=>ut,CY:()=>Wn,Ce:()=>Gn,Co:()=>cr,D7:()=>yt,Dh:()=>xt,Ed:()=>Un,Ej:()=>mt,Ft:()=>Qt,GH:()=>Ft,GR:()=>xr,GW:()=>ar,Gv:()=>Pt,HB:()=>Hr,HH:()=>Ir,HZ:()=>wt,He:()=>$n,Hj:()=>Ar,Ht:()=>Ve,IV:()=>pr,I_:()=>kn,Ih:()=>bt,Ii:()=>Ot,Ks:()=>ht,Kw:()=>ft,L1:()=>Be,L2:()=>Cr,L7:()=>Xr,LH:()=>dn,LZ:()=>Ct,M0:()=>Pn,M7:()=>Vn,M_:()=>Je,Ms:()=>_t,Nb:()=>Dt,OJ:()=>st,P_:()=>jt,Pl:()=>Ht,Q4:()=>Ge,QG:()=>Gt,QH:()=>tn,Qb:()=>Ye,R2:()=>or,R9:()=>on,RV:()=>Lt,SG:()=>qr,Sf:()=>sr,Sl:()=>je,TL:()=>nn,Te:()=>Jr,Tf:()=>Dn,Tm:()=>Mn,V7:()=>Mt,WK:()=>Fe,W_:()=>Xe,Wb:()=>We,Wl:()=>Me,Wn:()=>Nr,Wv:()=>Le,XT:()=>Vt,Xc:()=>at,Xt:()=>Re,Y8:()=>Ze,YN:()=>rt,YU:()=>Tr,Yt:()=>Xt,ZK:()=>Fn,ZV:()=>zn,Ze:()=>Wt,Zw:()=>Hn,_H:()=>Sr,_t:()=>Jn,aO:()=>Ke,ao:()=>Yr,bE:()=>ur,bo:()=>tt,bu:()=>$e,cr:()=>ot,d$:()=>Or,d0:()=>He,d_:()=>Jt,er:()=>Dr,fG:()=>dt,g:()=>lt,gP:()=>Rt,gd:()=>Ue,hg:()=>qt,iK:()=>Gr,iv:()=>nt,jC:()=>$r,jT:()=>Qe,jj:()=>jn,js:()=>Ne,kB:()=>St,kC:()=>zr,kQ:()=>Yn,kT:()=>qe,lE:()=>Vr,mv:()=>Tt,nC:()=>qn,oD:()=>Rn,oV:()=>ir,ov:()=>Wr,pX:()=>cn,po:()=>Et,qd:()=>Xn,qj:()=>en,rp:()=>vt,sC:()=>Yt,sI:()=>Kr,sN:()=>De,sQ:()=>Nt,sl:()=>wr,sz:()=>ke,te:()=>Kt,tj:()=>Rr,uO:()=>ze,uQ:()=>ln,uR:()=>zt,uX:()=>At,v:()=>it,vm:()=>ct,vo:()=>lr,wG:()=>pt,wT:()=>Bn,xH:()=>Ut,z4:()=>It,zh:()=>kt,zo:()=>gt});var r=n(5053),i="cloud.provider",o="cloud.account.id",a="cloud.region",s="cloud.availability_zone",c="cloud.platform",u="aws.ecs.container.arn",l="aws.ecs.cluster.arn",p="aws.ecs.launchtype",d="aws.ecs.task.arn",f="aws.ecs.task.family",h="aws.ecs.task.revision",m="aws.eks.cluster.arn",v="aws.log.group.names",g="aws.log.group.arns",y="aws.log.stream.names",b="aws.log.stream.arns",_="container.name",E="container.id",S="container.runtime",T="container.image.name",x="container.image.tag",w="deployment.environment",A="device.id",C="device.model.identifier",I="device.model.name",O="faas.name",P="faas.id",R="faas.version",N="faas.instance",D="faas.max_memory",k="host.id",L="host.name",M="host.type",j="host.arch",U="host.image.name",F="host.image.id",B="host.image.version",H="k8s.cluster.name",q="k8s.node.name",V="k8s.node.uid",G="k8s.namespace.name",z="k8s.pod.uid",$="k8s.pod.name",W="k8s.container.name",K="k8s.replicaset.uid",Y="k8s.replicaset.name",X="k8s.deployment.uid",J="k8s.deployment.name",Q="k8s.statefulset.uid",Z="k8s.statefulset.name",ee="k8s.daemonset.uid",te="k8s.daemonset.name",ne="k8s.job.uid",re="k8s.job.name",ie="k8s.cronjob.uid",oe="k8s.cronjob.name",ae="os.type",se="os.description",ce="os.name",ue="os.version",le="process.pid",pe="process.executable.name",de="process.executable.path",fe="process.command",he="process.command_line",me="process.command_args",ve="process.owner",ge="process.runtime.name",ye="process.runtime.version",be="process.runtime.description",_e="service.name",Ee="service.namespace",Se="service.instance.id",Te="service.version",xe="telemetry.sdk.name",we="telemetry.sdk.language",Ae="telemetry.sdk.version",Ce="telemetry.auto.version",Ie="webengine.name",Oe="webengine.version",Pe="webengine.description",Re=i,Ne=o,De=a,ke=s,Le=c,Me=u,je=l,Ue=p,Fe=d,Be=f,He=h,qe=m,Ve=v,Ge=g,ze=y,$e=b,We=_,Ke=E,Ye=S,Xe=T,Je=x,Qe=w,Ze=A,et=C,tt=I,nt=O,rt=P,it=R,ot=N,at=D,st=k,ct=L,ut=M,lt=j,pt=U,dt=F,ft=B,ht=H,mt=q,vt=V,gt=G,yt=z,bt=$,_t=W,Et=K,St=Y,Tt=X,xt=J,wt=Q,At=Z,Ct=ee,It=te,Ot=ne,Pt=re,Rt=ie,Nt=oe,Dt=ae,kt=se,Lt=ce,Mt=ue,jt=le,Ut=pe,Ft=de,Bt=fe,Ht=he,qt=me,Vt=ve,Gt=ge,zt=ye,$t=be,Wt=_e,Kt=Ee,Yt=Se,Xt=Te,Jt=xe,Qt=we,Zt=Ae,en=Ce,tn=Ie,nn=Oe,rn=Pe,on=(0,r.i)([i,o,a,s,c,u,l,p,d,f,h,m,v,g,y,b,_,E,S,T,x,w,A,C,I,O,P,R,N,D,k,L,M,j,U,F,B,H,q,V,G,z,$,W,K,Y,X,J,Q,Z,ee,te,ne,re,ie,oe,ae,se,ce,ue,le,pe,de,fe,he,me,ve,ge,ye,be,_e,Ee,Se,Te,xe,we,Ae,Ce,Ie,Oe,Pe]),an="alibaba_cloud",sn="azure",cn=an,un="aws",ln=sn,pn="gcp",dn=(0,r.i)([an,"aws",sn,"gcp"]),fn="alibaba_cloud_ecs",hn="alibaba_cloud_fc",mn="aws_ec2",vn="aws_ecs",gn="aws_eks",yn="aws_lambda",bn="aws_elastic_beanstalk",_n="azure_vm",En="azure_container_instances",Sn="azure_aks",Tn="azure_functions",xn="azure_app_service",wn="gcp_compute_engine",An="gcp_cloud_run",Cn="gcp_kubernetes_engine",In="gcp_cloud_functions",On="gcp_app_engine",Pn=fn,Rn=hn,Nn=mn,Dn=vn,kn=gn,Ln=yn,Mn=bn,jn=_n,Un=En,Fn=Sn,Bn=Tn,Hn=xn,qn=wn,Vn=An,Gn=Cn,zn=In,$n=On,Wn=(0,r.i)([fn,hn,mn,vn,gn,yn,bn,_n,En,Sn,Tn,xn,wn,An,Cn,In,On]),Kn="fargate",Yn="ec2",Xn=Kn,Jn=(0,r.i)(["ec2",Kn]),Qn="amd64",Zn="arm32",er="arm64",tr="ia64",nr="ppc32",rr="ppc64",ir=Qn,or=Zn,ar=er,sr=tr,cr=nr,ur=rr,lr="x86",pr=(0,r.i)([Qn,Zn,er,tr,nr,rr,"x86"]),dr="windows",fr="linux",hr="darwin",mr="freebsd",vr="netbsd",gr="openbsd",yr="dragonflybsd",br="hpux",_r="solaris",Er="z_os",Sr=dr,Tr=fr,xr=hr,wr=mr,Ar=vr,Cr=gr,Ir=yr,Or=br,Pr="aix",Rr=_r,Nr=Er,Dr=(0,r.i)([dr,fr,hr,mr,vr,gr,yr,br,"aix",_r,Er]),kr="dotnet",Lr="erlang",Mr="java",jr="nodejs",Ur="python",Fr="ruby",Br="webjs",Hr="cpp",qr=kr,Vr=Lr,Gr="go",zr=Mr,$r=jr,Wr="php",Kr=Ur,Yr=Fr,Xr=Br,Jr=(0,r.i)(["cpp",kr,Lr,"go",Mr,jr,"php",Ur,Fr,Br])},3108:(e,t,n)=>{"use strict";n.d(t,{$A7:()=>qa,$EH:()=>_s,$Wr:()=>Gi,$_t:()=>Ps,$ep:()=>Xs,A2_:()=>Pr,A3w:()=>qi,A49:()=>Ct,AAq:()=>Na,ACM:()=>Rn,AFn:()=>er,AOT:()=>Ao,ARC:()=>ao,AuT:()=>cn,BCN:()=>Vt,BI2:()=>ji,BM2:()=>Ln,BZ9:()=>Vs,Bfq:()=>en,Bnr:()=>zo,BwG:()=>ic,CWW:()=>Os,Ce5:()=>gr,Cgu:()=>Eo,Ckk:()=>vc,Cn2:()=>Dt,CzP:()=>Vo,D$8:()=>ac,DY0:()=>Fi,DiP:()=>ka,Dp0:()=>Mr,Dxf:()=>Ur,EJe:()=>zi,Eln:()=>Sn,EoW:()=>yn,FQ3:()=>Ft,Fa5:()=>gc,GM8:()=>ls,Gdv:()=>Ss,Guc:()=>yr,Gwh:()=>ba,HBi:()=>Zn,HOQ:()=>Jt,Hl$:()=>kt,HpP:()=>nc,I1I:()=>Ht,I5C:()=>rc,I76:()=>Js,ISb:()=>ya,IUx:()=>xs,Iip:()=>On,JYd:()=>dr,JYm:()=>Uo,Jic:()=>ec,Jxp:()=>Es,KHW:()=>As,KLJ:()=>Cr,KPM:()=>br,KTF:()=>In,KYp:()=>Bo,K_1:()=>pn,KeR:()=>Ho,Kpn:()=>Wn,KtE:()=>da,L08:()=>Bt,L4f:()=>nn,L9O:()=>Qi,LBf:()=>_r,LDm:()=>Ui,LRS:()=>Co,LZ1:()=>Mn,L_1:()=>go,Lrb:()=>Tn,MFQ:()=>pc,MTY:()=>or,MTv:()=>xt,MU2:()=>sr,Mmr:()=>Ki,N6Y:()=>Br,NS1:()=>Yi,NTc:()=>Io,OQQ:()=>Xt,OTt:()=>rr,OlO:()=>on,Opc:()=>$i,OrI:()=>qs,Ou_:()=>la,P$Q:()=>ia,PAL:()=>Pt,PGq:()=>Cn,PK2:()=>Kn,P_D:()=>Tr,P_p:()=>Rt,Pl4:()=>kr,PqE:()=>Sr,QJo:()=>Vr,QqV:()=>Hi,QtL:()=>jn,R3Y:()=>io,R5B:()=>Zs,R6O:()=>bs,RP5:()=>Qt,SGQ:()=>va,SeY:()=>bo,Ssu:()=>yo,T60:()=>vo,TDq:()=>Xi,TMe:()=>Gt,TP7:()=>qt,TSv:()=>Ca,T_e:()=>ho,Tw_:()=>So,U8R:()=>Gr,U8S:()=>ps,UBq:()=>wt,Uld:()=>Zt,Urx:()=>ws,Uvq:()=>vr,VZx:()=>Vn,VxV:()=>Dr,W1f:()=>pa,W6R:()=>lo,WN5:()=>so,WTV:()=>$t,Wji:()=>Wt,WoE:()=>Ot,X$c:()=>_n,XCP:()=>Er,XOM:()=>Gn,XxW:()=>Lt,YOJ:()=>Dn,YUC:()=>Oo,YXb:()=>lc,Yid:()=>Fs,ZIo:()=>fa,ZM5:()=>za,ZUr:()=>wn,ZkD:()=>tc,_7S:()=>hs,_JS:()=>yc,_Zt:()=>ro,a4k:()=>wr,aP6:()=>Mt,aRT:()=>Mi,aVl:()=>Nn,aY_:()=>hr,akt:()=>ar,alJ:()=>lr,b3_:()=>qo,b6Q:()=>na,b8v:()=>Go,bYJ:()=>tn,bhq:()=>En,buQ:()=>Fn,buh:()=>Ra,c7L:()=>eo,cko:()=>Oa,cm9:()=>xn,cnS:()=>mr,cxu:()=>Pa,d1C:()=>Fo,d3J:()=>Ar,dQt:()=>Us,dY9:()=>oo,eks:()=>bn,f3y:()=>Rr,fLT:()=>Po,fNF:()=>ds,fQ4:()=>Pn,fTj:()=>oc,ff0:()=>Fr,fks:()=>oa,gIA:()=>fs,gQR:()=>Ks,gdG:()=>Ir,hHC:()=>Qn,hTQ:()=>sc,hlN:()=>Nr,huK:()=>Da,hvJ:()=>An,i8c:()=>Qs,iD2:()=>aa,iHd:()=>js,iIR:()=>Ws,iNz:()=>vs,iR1:()=>Is,iYs:()=>Ba,imF:()=>uc,j6o:()=>cc,jTi:()=>Va,jUs:()=>Ys,je9:()=>co,k6u:()=>po,kB:()=>Ls,kNf:()=>mn,kO6:()=>Xn,kPD:()=>$n,kXj:()=>Un,koK:()=>Hr,l08:()=>dn,lBR:()=>ir,lBX:()=>wo,lap:()=>Vi,ljJ:()=>qn,lq9:()=>ys,m86:()=>Ts,mNX:()=>Lr,mQ5:()=>Ha,meL:()=>It,mlE:()=>Ko,n3K:()=>ur,n3u:()=>Wo,n7U:()=>Bn,nKl:()=>cr,nbz:()=>fo,ncu:()=>hn,o0N:()=>xo,o0s:()=>_a,oFo:()=>_o,oMZ:()=>kn,oPk:()=>Rs,ogj:()=>zr,pJT:()=>Ut,pOY:()=>ga,pys:()=>At,qGp:()=>tr,qM_:()=>nr,qO7:()=>fr,qW_:()=>rn,qf_:()=>ra,qvI:()=>zt,r2B:()=>$o,r4G:()=>un,rGV:()=>jt,rME:()=>pr,rTH:()=>Zi,rh7:()=>zn,s$E:()=>Ia,s9h:()=>ta,tML:()=>mo,tNv:()=>Yt,tTL:()=>gs,uA8:()=>Cs,uGh:()=>gn,uRW:()=>Jn,uWf:()=>Bi,uyu:()=>fn,v9j:()=>Yn,vRE:()=>xr,w3E:()=>Or,w3z:()=>ks,wI0:()=>dc,wM_:()=>ms,wPe:()=>no,w_Y:()=>Ms,wi2:()=>uo,wo7:()=>to,wr:()=>Nt,wyN:()=>jr,xCm:()=>sn,xMl:()=>Yo,xQV:()=>Wi,xav:()=>To,y2p:()=>vn,y6A:()=>an,y89:()=>Gs,yEy:()=>Kt,yG$:()=>fc,ylQ:()=>ln,ynx:()=>Hn,zMd:()=>qr,zOJ:()=>Ga,zWg:()=>Ji});var r=n(5053),i="aws.lambda.invoked_arn",o="db.system",a="db.connection_string",s="db.user",c="db.jdbc.driver_classname",u="db.name",l="db.statement",p="db.operation",d="db.mssql.instance_name",f="db.cassandra.keyspace",h="db.cassandra.page_size",m="db.cassandra.consistency_level",v="db.cassandra.table",g="db.cassandra.idempotence",y="db.cassandra.speculative_execution_count",b="db.cassandra.coordinator.id",_="db.cassandra.coordinator.dc",E="db.hbase.namespace",S="db.redis.database_index",T="db.mongodb.collection",x="db.sql.table",w="exception.type",A="exception.message",C="exception.stacktrace",I="exception.escaped",O="faas.trigger",P="faas.execution",R="faas.document.collection",N="faas.document.operation",D="faas.document.time",k="faas.document.name",L="faas.time",M="faas.cron",j="faas.coldstart",U="faas.invoked_name",F="faas.invoked_provider",B="faas.invoked_region",H="net.transport",q="net.peer.ip",V="net.peer.port",G="net.peer.name",z="net.host.ip",$="net.host.port",W="net.host.name",K="net.host.connection.type",Y="net.host.connection.subtype",X="net.host.carrier.name",J="net.host.carrier.mcc",Q="net.host.carrier.mnc",Z="net.host.carrier.icc",ee="peer.service",te="enduser.id",ne="enduser.role",re="enduser.scope",ie="thread.id",oe="thread.name",ae="code.function",se="code.namespace",ce="code.filepath",ue="code.lineno",le="http.method",pe="http.url",de="http.target",fe="http.host",he="http.scheme",me="http.status_code",ve="http.flavor",ge="http.user_agent",ye="http.request_content_length",be="http.request_content_length_uncompressed",_e="http.response_content_length",Ee="http.response_content_length_uncompressed",Se="http.server_name",Te="http.route",xe="http.client_ip",we="aws.dynamodb.table_names",Ae="aws.dynamodb.consumed_capacity",Ce="aws.dynamodb.item_collection_metrics",Ie="aws.dynamodb.provisioned_read_capacity",Oe="aws.dynamodb.provisioned_write_capacity",Pe="aws.dynamodb.consistent_read",Re="aws.dynamodb.projection",Ne="aws.dynamodb.limit",De="aws.dynamodb.attributes_to_get",ke="aws.dynamodb.index_name",Le="aws.dynamodb.select",Me="aws.dynamodb.global_secondary_indexes",je="aws.dynamodb.local_secondary_indexes",Ue="aws.dynamodb.exclusive_start_table",Fe="aws.dynamodb.table_count",Be="aws.dynamodb.scan_forward",He="aws.dynamodb.segment",qe="aws.dynamodb.total_segments",Ve="aws.dynamodb.count",Ge="aws.dynamodb.scanned_count",ze="aws.dynamodb.attribute_definitions",$e="aws.dynamodb.global_secondary_index_updates",We="messaging.system",Ke="messaging.destination",Ye="messaging.destination_kind",Xe="messaging.temp_destination",Je="messaging.protocol",Qe="messaging.protocol_version",Ze="messaging.url",et="messaging.message_id",tt="messaging.conversation_id",nt="messaging.message_payload_size_bytes",rt="messaging.message_payload_compressed_size_bytes",it="messaging.operation",ot="messaging.consumer_id",at="messaging.rabbitmq.routing_key",st="messaging.kafka.message_key",ct="messaging.kafka.consumer_group",ut="messaging.kafka.client_id",lt="messaging.kafka.partition",pt="messaging.kafka.tombstone",dt="rpc.system",ft="rpc.service",ht="rpc.method",mt="rpc.grpc.status_code",vt="rpc.jsonrpc.version",gt="rpc.jsonrpc.request_id",yt="rpc.jsonrpc.error_code",bt="rpc.jsonrpc.error_message",_t="message.type",Et="message.id",St="message.compressed_size",Tt="message.uncompressed_size",xt=i,wt=o,At=a,Ct=s,It=c,Ot=u,Pt=l,Rt=p,Nt=d,Dt=f,kt=h,Lt=m,Mt=v,jt=g,Ut=y,Ft=b,Bt=_,Ht=E,qt=S,Vt=T,Gt=x,zt=w,$t=A,Wt=C,Kt=I,Yt=O,Xt=P,Jt=R,Qt=N,Zt=D,en=k,tn=L,nn=M,rn=j,on=U,an=F,sn=B,cn=H,un=q,ln=V,pn=G,dn=z,fn=$,hn=W,mn=K,vn=Y,gn=X,yn=J,bn=Q,_n=Z,En=ee,Sn=te,Tn=ne,xn=re,wn=ie,An=oe,Cn=ae,In=se,On=ce,Pn=ue,Rn=le,Nn=pe,Dn=de,kn=fe,Ln=he,Mn=me,jn=ve,Un=ge,Fn=ye,Bn=be,Hn=_e,qn=Ee,Vn=Se,Gn=Te,zn=xe,$n=we,Wn=Ae,Kn=Ce,Yn=Ie,Xn=Oe,Jn=Pe,Qn=Re,Zn=Ne,er=De,tr=ke,nr=Le,rr=Me,ir=je,or=Ue,ar=Fe,sr=Be,cr=He,ur=qe,lr=Ve,pr=Ge,dr=ze,fr=$e,hr=We,mr=Ke,vr=Ye,gr=Xe,yr=Je,br=Qe,_r=Ze,Er=et,Sr=tt,Tr=nt,xr=rt,wr=it,Ar=ot,Cr=at,Ir=st,Or=ct,Pr=ut,Rr=lt,Nr=pt,Dr=dt,kr=ft,Lr=ht,Mr=mt,jr=vt,Ur=gt,Fr=yt,Br=bt,Hr=_t,qr=Et,Vr=St,Gr=Tt,zr=(0,r.i)([i,o,a,s,c,u,l,p,d,f,h,m,v,g,y,b,_,E,S,T,x,w,A,C,I,O,P,R,N,D,k,L,M,j,U,F,B,H,q,V,G,z,$,W,K,Y,X,J,Q,Z,ee,te,ne,re,ie,oe,ae,se,ce,ue,le,pe,de,fe,he,me,ve,ge,ye,be,_e,Ee,Se,Te,xe,we,Ae,Ce,Ie,Oe,Pe,Re,Ne,De,ke,Le,Me,je,Ue,Fe,Be,He,qe,Ve,Ge,ze,$e,We,Ke,Ye,Xe,Je,Qe,Ze,et,tt,nt,rt,it,ot,at,st,ct,ut,lt,pt,dt,ft,ht,mt,vt,gt,yt,bt,_t,Et,St,Tt]),$r="other_sql",Wr="mssql",Kr="mysql",Yr="oracle",Xr="postgresql",Jr="redshift",Qr="hive",Zr="cloudscape",ei="hsqldb",ti="progress",ni="maxdb",ri="hanadb",ii="ingres",oi="firstsql",ai="cache",si="adabas",ci="firebird",ui="derby",li="filemaker",pi="informix",di="instantdb",fi="interbase",hi="mariadb",mi="netezza",vi="pervasive",gi="pointbase",yi="sqlite",bi="sybase",_i="teradata",Ei="vertica",Si="coldfusion",Ti="cassandra",xi="hbase",wi="mongodb",Ai="redis",Ci="couchbase",Ii="couchdb",Oi="cosmosdb",Pi="dynamodb",Ri="neo4j",Ni="geode",Di="elasticsearch",ki="memcached",Li="cockroachdb",Mi=$r,ji=Wr,Ui=Kr,Fi=Yr,Bi="db2",Hi=Xr,qi=Jr,Vi=Qr,Gi=Zr,zi=ei,$i=ti,Wi=ni,Ki=ri,Yi=ii,Xi=oi,Ji="edb",Qi=ai,Zi=si,eo=ci,to=ui,no=li,ro=pi,io=di,oo=fi,ao=hi,so=mi,co=vi,uo=gi,lo=yi,po=bi,fo=_i,ho=Ei,mo="h2",vo=Si,go=Ti,yo=xi,bo=wi,_o=Ai,Eo=Ci,So=Ii,To=Oi,xo=Pi,wo=Ri,Ao=Ni,Co=Di,Io=ki,Oo=Li,Po=(0,r.i)([$r,Wr,Kr,Yr,"db2",Xr,Jr,Qr,Zr,ei,ti,ni,ri,ii,oi,"edb",ai,si,ci,ui,li,pi,di,fi,hi,mi,vi,gi,yi,bi,_i,Ei,"h2",Si,Ti,xi,wi,Ai,Ci,Ii,Oi,Pi,Ri,Ni,Di,ki,Li]),Ro="each_quorum",No="quorum",Do="local_quorum",ko="three",Lo="local_one",Mo="serial",jo="local_serial",Uo="all",Fo=Ro,Bo=No,Ho=Do,qo="one",Vo="two",Go=ko,zo=Lo,$o="any",Wo=Mo,Ko=jo,Yo=(0,r.i)(["all",Ro,No,Do,"one","two",ko,Lo,"any",Mo,jo]),Xo="datasource",Jo="http",Qo="pubsub",Zo="timer",ea="other",ta=Xo,na=Jo,ra=Qo,ia=Zo,oa=ea,aa=(0,r.i)([Xo,Jo,Qo,Zo,ea]),sa="insert",ca="edit",ua="delete",la=sa,pa=ca,da=ua,fa=(0,r.i)([sa,ca,ua]),ha="alibaba_cloud",ma="azure",va=ha,ga="aws",ya=ma,ba="gcp",_a=(0,r.i)([ha,"aws",ma,"gcp"]),Ea="ip_tcp",Sa="ip_udp",Ta="unix",xa="pipe",wa="inproc",Aa="other",Ca=Ea,Ia=Sa,Oa="ip",Pa=Ta,Ra=xa,Na=wa,Da=Aa,ka=(0,r.i)([Ea,Sa,"ip",Ta,xa,wa,Aa]),La="wifi",Ma="wired",ja="cell",Ua="unavailable",Fa="unknown",Ba=La,Ha=Ma,qa=ja,Va=Ua,Ga=Fa,za=(0,r.i)([La,Ma,ja,Ua,Fa]),$a="gprs",Wa="edge",Ka="umts",Ya="cdma",Xa="evdo_0",Ja="evdo_a",Qa="cdma2000_1xrtt",Za="hsdpa",es="hsupa",ts="hspa",ns="iden",rs="evdo_b",is="ehrpd",os="hspap",as="td_scdma",ss="iwlan",cs="nrnsa",us="lte_ca",ls=$a,ps=Wa,ds=Ka,fs=Ya,hs=Xa,ms=Ja,vs=Qa,gs=Za,ys=es,bs=ts,_s=ns,Es=rs,Ss="lte",Ts=is,xs=os,ws="gsm",As=as,Cs=ss,Is="nr",Os=cs,Ps=us,Rs=(0,r.i)([$a,Wa,Ka,Ya,Xa,Ja,Qa,Za,es,ts,ns,rs,"lte",is,os,"gsm",as,ss,"nr",cs,us]),Ns="SPDY",Ds="QUIC",ks="1.0",Ls="1.1",Ms="2.0",js=Ns,Us=Ds,Fs={HTTP_1_0:"1.0",HTTP_1_1:"1.1",HTTP_2_0:"2.0",SPDY:Ns,QUIC:Ds},Bs="queue",Hs="topic",qs=Bs,Vs=Hs,Gs=(0,r.i)([Bs,Hs]),zs="receive",$s="process",Ws=zs,Ks=$s,Ys=(0,r.i)([zs,$s]),Xs=0,Js=1,Qs=2,Zs=3,ec=4,tc=5,nc=6,rc=7,ic=8,oc=9,ac=10,sc=11,cc=12,uc=13,lc=14,pc=15,dc=16,fc={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15,UNAUTHENTICATED:16},hc="SENT",mc="RECEIVED",vc=hc,gc=mc,yc=(0,r.i)([hc,mc])},725:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.oneDataSystemClientFactory=void 0,t.oneDataSystemClientFactory=async(e,t,r)=>{let i=await(async(e,t,r)=>{const i=await Promise.resolve().then((()=>o(n(9987)))),a=await Promise.resolve().then((()=>o(n(1480)))),s=new i.AppInsightsCore,c=new a.PostChannel,u={instrumentationKey:e,endpointUrl:"https://mobile.events.data.microsoft.com/OneCollector/1.0",loggingLevelTelemetry:0,loggingLevelConsole:0,disableCookiesUsage:!0,disableDbgExt:!0,disableInstrumentationKeyValidation:!0,channels:[[c]]};if(r){u.extensionConfig={};const e={alwaysUseXhrOverride:!0,httpXHROverride:r};u.extensionConfig[c.identifier]=e}const l=t.workspace.getConfiguration("telemetry").get("internalTesting");return s.initialize(u,[]),s.addTelemetryInitializer((e=>{l&&(e.ext=e.ext??{},e.ext.utc=e.ext.utc??{},e.ext.utc.flags=8462029)})),s})(e,t,r);return{logEvent:(e,t)=>{try{i?.track({name:e,baseData:{name:e,properties:t?.properties,measurements:t?.measurements}})}catch(e){throw new Error("Failed to log event to app insights!\n"+e.message)}},flush:async()=>{try{return new Promise(((e,t)=>{i?i.flush(!0,(e=>{e||t("Failed to flush app 1DS!")})):e()}))}catch(e){throw new Error("Failed to flush 1DS!\n"+e.message)}},dispose:async()=>new Promise((e=>{i?i.unload(!1,(()=>{e(),i=void 0}),1e3):e()}))}}},3456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseTelemetryReporter=void 0,t.BaseTelemetryReporter=class{constructor(e,t,n){this.telemetrySender=e,this.vscodeAPI=t,this.userOptIn=!1,this.errorOptIn=!1,this.disposables=[],this._onDidChangeTelemetryLevel=new this.vscodeAPI.EventEmitter,this.onDidChangeTelemetryLevel=this._onDidChangeTelemetryLevel.event,this.telemetryLogger=this.vscodeAPI.env.createTelemetryLogger(this.telemetrySender,n),this.updateUserOptIn(),this.telemetryLogger.onDidChangeEnableStates((()=>{this.updateUserOptIn()}))}updateUserOptIn(){this.errorOptIn=this.telemetryLogger.isErrorsEnabled,this.userOptIn=this.telemetryLogger.isUsageEnabled,(this.telemetryLogger.isErrorsEnabled||this.telemetryLogger.isUsageEnabled)&&this.telemetrySender.instantiateSender(),this._onDidChangeTelemetryLevel.fire(this.telemetryLevel)}get telemetryLevel(){return this.errorOptIn&&this.userOptIn?"all":this.errorOptIn?"error":"off"}internalSendTelemetryEvent(e,t,n,r){r?this.telemetrySender.sendEventData(e,{properties:t,measurements:n}):this.telemetryLogger.logUsage(e,{properties:t,measurements:n})}sendTelemetryEvent(e,t,n){this.internalSendTelemetryEvent(e,t,n,!1)}sendRawTelemetryEvent(e,t,n){const r={...t};for(const e of Object.keys(r??{})){const t=r[e];"string"==typeof e&&void 0!==t&&(r[e]=new this.vscodeAPI.TelemetryTrustedValue("string"==typeof t?t:t.value))}this.sendTelemetryEvent(e,r,n)}sendDangerousTelemetryEvent(e,t,n){this.telemetrySender.instantiateSender(),this.internalSendTelemetryEvent(e,t,n,!0)}internalSendTelemetryErrorEvent(e,t,n,r){r?this.telemetrySender.sendEventData(e,{properties:t,measurements:n}):this.telemetryLogger.logError(e,{properties:t,measurements:n})}sendTelemetryErrorEvent(e,t,n){this.internalSendTelemetryErrorEvent(e,t,n,!1)}sendDangerousTelemetryErrorEvent(e,t,n){this.telemetrySender.instantiateSender(),this.internalSendTelemetryErrorEvent(e,t,n,!0)}async dispose(){return await this.telemetrySender.dispose(),this.telemetryLogger.dispose(),Promise.all(this.disposables.map((e=>e.dispose())))}}},2015:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BaseTelemetrySender=void 0,function(e){e[e.NOT_INSTANTIATED=0]="NOT_INSTANTIATED",e[e.INSTANTIATING=1]="INSTANTIATING",e[e.INSTANTIATED=2]="INSTANTIATED"}(n||(n={})),t.BaseTelemetrySender=class{constructor(e,t){this._instantiationStatus=n.NOT_INSTANTIATED,this._eventQueue=[],this._exceptionQueue=[],this._clientFactory=t,this._key=e}sendEventData(e,t){this._telemetryClient?this._telemetryClient.logEvent(e,t):this._instantiationStatus!==n.INSTANTIATED&&this._eventQueue.push({eventName:e,data:t})}sendErrorData(e,t){if(!this._telemetryClient)return void(this._instantiationStatus!==n.INSTANTIATED&&this._exceptionQueue.push({exception:e,data:t}));const r={stack:e.stack,message:e.message,name:e.name};t?t.properties={...t.properties,...r}:t={properties:r},this._telemetryClient.logEvent("unhandlederror",t)}async flush(){return this._telemetryClient?.flush()}async dispose(){this._telemetryClient&&(await this._telemetryClient.dispose(),this._telemetryClient=void 0)}_flushQueues(){this._eventQueue.forEach((({eventName:e,data:t})=>this.sendEventData(e,t))),this._eventQueue=[],this._exceptionQueue.forEach((({exception:e,data:t})=>this.sendErrorData(e,t))),this._exceptionQueue=[]}instantiateSender(){this._instantiationStatus===n.NOT_INSTANTIATED&&(this._instantiationStatus=n.INSTANTIATING,this._clientFactory(this._key).then((e=>{this._telemetryClient=e,this._instantiationStatus=n.INSTANTIATED,this._flushQueues()})).catch((e=>{console.error(e),this._instantiationStatus=n.INSTANTIATED})))}}},5888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryUtil=void 0;class n{static applyReplacements(e,t){for(const n of Object.keys(e))for(const r of t)r.lookup.test(n)&&(void 0!==r.replacementString?e[n]=r.replacementString:delete e[n])}static shouldUseOneDataSystemSDK(e){return 74===e.length&&"-"===e[32]&&"-"===e[41]&&"-"===e[46]&&"-"===e[51]&&"-"===e[56]&&"-"===e[69]}static getAdditionalCommonProperties(e){return{"common.os":e.platform,"common.nodeArch":e.architecture,"common.platformversion":(e.release||"").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/,"$1$2$3"),"common.telemetryclientversion":"0.8.5"}}static getInstance(){return n._instance||(n._instance=new n),n._instance}}t.TelemetryUtil=n},2291:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=o(n(2037)),s=o(n(9496)),c=o(n(5687)),u=n(3456),l=n(2015),p=n(5888),d=n(725);class f extends u.BaseTelemetryReporter{constructor(e,t){let r=e=>(async(e,t)=>{let r;try{process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL="1";const t=await Promise.resolve().then((()=>o(n(9574))));t.defaultClient?(r=new t.TelemetryClient(e),r.channel.setUseDiskRetryCaching(!0)):(t.setup(e).setAutoCollectRequests(!1).setAutoCollectPerformance(!1).setAutoCollectExceptions(!1).setAutoCollectDependencies(!1).setAutoDependencyCorrelation(!1).setAutoCollectConsole(!1).setAutoCollectHeartbeat(!1).setAutoCollectIncomingRequestAzureFunctions(!1).setUseDiskRetryCaching(!0).start(),r=t.defaultClient),s&&s.env&&(r.context.tags[r.context.keys.userId]=s.env.machineId,r.context.tags[r.context.keys.sessionId]=s.env.sessionId,r.context.tags[r.context.keys.cloudRole]=s.env.appName,r.context.tags[r.context.keys.cloudRoleInstance]=s.env.appName)}catch(e){return Promise.reject("Failed to initialize app insights!\n"+e.message)}return t?.length&&function(e,t){e.addTelemetryProcessor((e=>(Array.isArray(e.tags)?e.tags.forEach((e=>p.TelemetryUtil.applyReplacements(e,t))):e.tags&&p.TelemetryUtil.applyReplacements(e.tags,t),e.data.baseData&&p.TelemetryUtil.applyReplacements(e.data.baseData,t),!0)))}(r,t),{logEvent:(e,t)=>{try{r?.trackEvent({name:e,properties:t?.properties,measurements:t?.measurements})}catch(e){throw new Error("Failed to log event to app insights!\n"+e.message)}},flush:async()=>{try{r?.flush()}catch(e){throw new Error("Failed to flush app insights!\n"+e.message)}},dispose:async()=>{r?.flush({isAppCrashing:!0}),r=void 0}}})(e,t);p.TelemetryUtil.shouldUseOneDataSystemSDK(e)&&(r=e=>(0,d.oneDataSystemClientFactory)(e,s,{sendPOST:(e,t)=>{const n={method:"POST",headers:{...e.headers,"Content-Type":"application/json","Content-Length":Buffer.byteLength(e.data)}};try{const r=c.request(e.urlString,n,(e=>{e.on("data",(function(n){t(e.statusCode??200,e.headers,n.toString())})),e.on("error",(function(){t(0,{})}))}));r.write(e.data,(e=>{e&&t(0,{})})),r.end()}catch{t(0,{})}}}));const i={release:a.release(),platform:a.platform(),architecture:a.arch()},u=new l.BaseTelemetrySender(e,r);if(e&&0===e.indexOf("AIF-"))throw new Error("AIF keys are no longer supported. Please switch to 1DS keys for 1st party extensions");super(u,s,{additionalCommonProperties:p.TelemetryUtil.getAdditionalCommonProperties(i)})}}t.default=f},9987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AppInsightsCore:()=>ae,BaseCore:()=>ce,BaseTelemetryPlugin:()=>G.i,CoreUtils:()=>ie.Tr,DiagnosticLogger:()=>R.AQ,ESPromise:()=>pe,ESPromiseScheduler:()=>ge,EventHelper:()=>Ee.zB,EventLatency:()=>w,EventPersistence:()=>C,EventPropertyType:()=>A,EventsDiscardedReason:()=>_e.h,FullVersionString:()=>ie.vs,InternalAppInsightsCore:()=>ne,InternalBaseCore:()=>Z,LoggingSeverity:()=>S,MinChannelPriorty:()=>be,NotificationManager:()=>te,PerfEvent:()=>N.zn,PerfManager:()=>N.Jk,ProcessTelemetryContext:()=>j.Vi,TraceLevel:()=>I,Undefined:()=>xe.jA,Utils:()=>ie.cQ,ValueKind:()=>x,ValueSanitizer:()=>ye,Version:()=>ie.Gf,_ExtendedInternalMessageId:()=>O,_InternalLogMessage:()=>R.lQ,_InternalMessageId:()=>T,__getRegisteredEvents:()=>Se.um,_logInternalMessage:()=>R.L4,_throwInternal:()=>R.kP,_warnToConsole:()=>R.jV,addEventHandler:()=>Se.Ib,addEventListeners:()=>Se.yw,addPageHideEventListener:()=>Se.TJ,addPageShowEventListener:()=>Se.nD,addPageUnloadEventListener:()=>Se.c9,areCookiesSupported:()=>H.p7,arrForEach:()=>a.tO,arrIndexOf:()=>a.UA,arrMap:()=>a.Mr,arrReduce:()=>a.Xz,attachEvent:()=>Se.pZ,cookieAvailable:()=>H.p7,createCookieMgr:()=>H.Nz,createEnumStyle:()=>o.By,createGuid:()=>ie.cm,createProcessTelemetryContext:()=>j.CD,createTraceParent:()=>we.SU,createUniqueNamespace:()=>q.J,createUnloadHandlerContainer:()=>$.Y,dateNow:()=>a.m6,deleteCookie:()=>ie.kT,detachEvent:()=>Se.pD,disableCookies:()=>ie.oF,disallowsSameSiteNone:()=>H.UY,doPerf:()=>N.Lm,dumpObj:()=>D.eU,eventOff:()=>Se.QY,eventOn:()=>Se.XO,extend:()=>ie.l7,findW3cTraceParent:()=>we.lq,formatTraceParent:()=>we.aR,generateW3CId:()=>Ee.DO,getCommonSchemaMetaData:()=>ie.Vv,getConsole:()=>D.dr,getCookie:()=>ie.ej,getCookieValue:()=>ie.Do,getCrypto:()=>D.MX,getDocument:()=>D.Me,getExceptionName:()=>a.jj,getFieldValueType:()=>ie.Sy,getGlobal:()=>L.Rd,getGlobalInst:()=>D.a8,getHistory:()=>D.s1,getIEVersion:()=>D.sA,getISOString:()=>a.Y6,getJSON:()=>D.xA,getLocation:()=>D.k$,getMsCrypto:()=>D.gz,getNavigator:()=>D.jW,getPerformance:()=>D.r,getSetValue:()=>a.qK,getTenantId:()=>ie.jM,getTime:()=>ie.hK,getWindow:()=>D.Jj,hasDocument:()=>D.Nv,hasHistory:()=>D.fE,hasJSON:()=>D.nS,hasNavigator:()=>D.d6,hasOwnProperty:()=>a.nr,hasWindow:()=>D.Ym,isArray:()=>a.kJ,isArrayValid:()=>ie.JT,isBeaconsSupported:()=>D.MF,isBoolean:()=>a.jn,isChromium:()=>ie.mJ,isDate:()=>a.J_,isDocumentObjectAvailable:()=>ie.x9,isError:()=>a.VZ,isFetchSupported:()=>D.JO,isFunction:()=>a.mf,isIE:()=>D.w1,isLatency:()=>ie.r7,isNotTruthy:()=>a.F,isNullOrUndefined:()=>a.le,isNumber:()=>a.hj,isObject:()=>a.Kn,isReactNative:()=>D.b$,isSampledFlag:()=>we.Pn,isString:()=>a.HD,isTruthy:()=>a.fQ,isTypeof:()=>a.Ym,isUint8ArrayAvailable:()=>ie.IZ,isUndefined:()=>a.o8,isValidSpanId:()=>we.Lc,isValidTraceId:()=>we.jN,isValidTraceParent:()=>we.J6,isValueAssigned:()=>ie.Sn,isValueKind:()=>ie.oS,isWindowObjectAvailable:()=>ie.dH,isXhrSupported:()=>D.Z3,mergeEvtNamespace:()=>Se.jU,newGuid:()=>Ee.GW,newId:()=>Te.pZ,normalizeJsName:()=>a.Gf,objCreate:()=>L.pu,objDefineAccessors:()=>a.l_,objForEachKey:()=>a.rW,objFreeze:()=>a.FL,objKeys:()=>a.FY,objSeal:()=>a.Xi,openXhr:()=>ie.ot,optimizeObject:()=>a.Ax,parseTraceParent:()=>we.j_,perfNow:()=>Ee.Jj,proxyAssign:()=>a.cf,proxyFunctionAs:()=>a.Oi,proxyFunctions:()=>a.Vb,random32:()=>Te._l,randomValue:()=>Te.az,removeEventHandler:()=>Se.C1,removeEventListeners:()=>Se.nJ,removePageHideEventListener:()=>Se.C9,removePageShowEventListener:()=>Se.Yl,removePageUnloadEventListener:()=>Se.JA,safeGetCookieMgr:()=>H.JP,safeGetLogger:()=>R.vH,sanitizeProperty:()=>ie.yj,setCookie:()=>ie.d8,setEnableEnvMocks:()=>D.dI,setProcessTelemetryTimings:()=>ie.if,setValue:()=>a.sO,strContains:()=>a._Q,strEndsWith:()=>a.Id,strFunction:()=>xe.cb,strObject:()=>xe.fK,strPrototype:()=>xe.hB,strStartsWith:()=>a.xe,strTrim:()=>a.nd,strUndefined:()=>xe.jA,throwError:()=>a._y,toISOString:()=>a.Y6,useXDomainRequest:()=>D.cp});var r,i=n(5806),o=n(9503),a=n(986),s="Failed",c=s+"MonitorAjax",u="Track",l="Start",p="Stop",d="Event",f="AuthContext",h="Exception",m="Local",v="Session",g="Storage",y="Browser",b="Cannot",_="Buffer",E="InstrumentationKey",S=(0,o.By)({CRITICAL:1,WARNING:2}),T=(0,o.By)(((r={})[y+"DoesNotSupport"+m+g]=0,r[y+b+"Read"+m+g]=1,r[y+b+"Read"+v+g]=2,r[y+b+"Write"+m+g]=3,r[y+b+"Write"+v+g]=4,r[y+s+"RemovalFrom"+m+g]=5,r[y+s+"RemovalFrom"+v+g]=6,r[b+"SendEmptyTelemetry"]=7,r.ClientPerformanceMathError=8,r["ErrorParsingAI"+v+"Cookie"]=9,r.ErrorPVCalc=10,r[h+"WhileLoggingError"]=11,r[s+"AddingTelemetryTo"+_]=12,r[c+"Abort"]=13,r[c+"Dur"]=14,r[c+"Open"]=15,r[c+"RSC"]=16,r[c+"Send"]=17,r[c+"GetCorrelationHeader"]=18,r[s+"ToAddHandlerForOnBeforeUnload"]=19,r[s+"ToSendQueuedTelemetry"]=20,r[s+"ToReportDataLoss"]=21,r["Flush"+s]=22,r.MessageLimitPerPVExceeded=23,r.MissingRequiredFieldSpecification=24,r.NavigationTimingNotSupported=25,r.OnError=26,r[v+"RenewalDateIsZero"]=27,r.SenderNotInitialized=28,r[l+u+d+s]=29,r[p+u+d+s]=30,r[l+u+s]=31,r[p+u+s]=32,r.TelemetrySampledAndNotSent=33,r[u+d+s]=34,r[u+h+s]=35,r[u+"Metric"+s]=36,r[u+"PV"+s]=37,r[u+"PV"+s+"Calc"]=38,r[u+"Trace"+s]=39,r["Transmission"+s]=40,r[s+"ToSet"+g+_]=41,r[s+"ToRestore"+g+_]=42,r.InvalidBackendResponse=43,r[s+"ToFixDepricatedValues"]=44,r.InvalidDurationValue=45,r.TelemetryEnvelopeInvalid=46,r.CreateEnvelopeError=47,r[b+"SerializeObject"]=48,r[b+"SerializeObjectNonSerializable"]=49,r.CircularReferenceDetected=50,r["Clear"+f+s]=51,r[h+"Truncated"]=52,r.IllegalCharsInName=53,r.ItemNotInArray=54,r.MaxAjaxPerPVExceeded=55,r.MessageTruncated=56,r.NameTooLong=57,r.SampleRateOutOfRange=58,r["Set"+f+s]=59,r["Set"+f+s+"AccountName"]=60,r.StringValueTooLong=61,r.StartCalledMoreThanOnce=62,r.StopCalledWithoutStart=63,r["TelemetryInitializer"+s]=64,r.TrackArgumentsNotSpecified=65,r.UrlTooLong=66,r[v+g+_+"Full"]=67,r[b+"AccessCookie"]=68,r.IdTooLong=69,r.InvalidEvent=70,r[c+"SetRequestHeader"]=71,r["Send"+y+"InfoOnUserInit"]=72,r["Plugin"+h]=73,r["Notification"+h]=74,r.SnippetScriptLoadFailure=99,r["Invalid"+E]=100,r[b+"ParseAiBlobValue"]=101,r.InvalidContentBlob=102,r[u+"PageAction"+d+s]=103,r[s+"AddingCustomDefinedRequestContext"]=104,r["InMemory"+g+_+"Full"]=105,r[E+"Deprecation"]=106,r)),x=(0,o.By)({NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,Pii_IPv6ScrubLastHextets:14,Pii_DropValue:15,CustomerContent_GenericContent:32}),w=(0,o.By)({Normal:1,CostDeferred:2,RealTime:3,Immediate:4}),A=(0,o.By)({Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9}),C=(0,o.By)({Normal:1,Critical:2}),I=(0,o.By)({NONE:0,ERROR:1,WARNING:2,INFORMATION:3}),O=(0,a.FL)((0,i.uc)((0,i.uc)({},T),(0,o.By)({AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}))),P=n(1976),R=n(2075),N=n(9430),D=n(5559),k=n(3467),L=n(1784),M=n(9760),j=n(9827),U=n(1616),F=500;function B(e,t,n){t&&(0,a.kJ)(t)&&t[k.R5]>0&&(t=t.sort((function(e,t){return e[M.yi]-t[M.yi]})),(0,a.tO)(t,(function(e){e[M.yi]0)){var r=(0,a.v4)(t.diagnosticLogInterval);r&&r>0||(r=1e4),T=setInterval((function(){clearInterval(T),T=0,G()}),r)}return T}function A(){n=!1,t=(0,a.mm)(!0,{},X),e[k.TC]=t,e[k.eZ]=new R.AQ(t),e[k.iC]=[],g=new z,r=[],o=null,s=null,c=null,u=null,l=null,d=null,p=[],f=null,h=null,m=null,v=!1,y=null,b=(0,q.J)("AIBaseCore",!0),_=(0,$.Y)(),S=null}function C(){var n=(0,j.CD)(P(),t,e);return n[k.Fc](w),n}function I(n){var r=function(e,t,n){var r,i=[],o={};return(0,a.tO)(n,(function(t){((0,a.le)(t)||(0,a.le)(t[k.VL]))&&(0,a._y)(W);var n=t[M.yi],r=t[k.pZ];t&&n&&((0,a.le)(o[n])?o[n]=r:(0,R.jV)(e,"Two extensions have same priority #"+n+" - "+o[n]+", "+r)),(!n||n<500)&&i[k.MW](t)})),(r={all:n})[M.oV]=i,r}(e[k.eZ],0,p);d=r[M.oV],l=null;var i=r.all;if(m=(0,a.FL)(function(e,t,n){var r=[];if(e&&(0,a.tO)(e,(function(e){return B(r,e,n)})),t){var i=[];(0,a.tO)(t,(function(e){e[M.yi]>F&&i[k.MW](e)})),B(r,i,n)}return r}(h,i,e)),f){var o=(0,a.UA)(i,f);-1!==o&&i[k.cb](o,1),-1!==(o=(0,a.UA)(d,f))&&d[k.cb](o,1),f._setQueue(m)}else f=function(e,t){function n(){return(0,j.CD)(null,t[k.TC],t,null)}function r(e,t,n,r){var i=e?e[k.R5]+1:1;function o(){0==--i&&(r&&r(),r=null)}i>0&&(0,a.tO)(e,(function(e){if(e&&e.queue[k.R5]>0){var r=e.chain,a=t[k.zV](r);a[k.Fc](o),n(a)}else i--})),o()}var i=!1,o={identifier:"ChannelControllerPlugin",priority:F,initialize:function(t,n,r,o){i=!0,(0,a.tO)(e,(function(e){e&&e.queue[k.R5]>0&&(0,U.bP)((0,j.CD)(e.chain,t,n),r)}))},isInitialized:function(){return i},processTelemetry:function(t,i){r(e,i||n(),(function(e){e[k.uL](t)}),(function(){i[k.uL](t)}))},update:function(t,n){var i=n||{reason:0};return r(e,t,(function(e){e[k.uL](i)}),(function(){t[k.uL](i)})),!0},pause:function(){r(e,n(),(function(e){e.iterate((function(e){e.pause&&e.pause()}))}),null)},resume:function(){r(e,n(),(function(e){e.iterate((function(e){e.resume&&e.resume()}))}),null)},teardown:function(t,n){var o=n||{reason:0,isAsync:!1};return r(e,t,(function(e){e[k.uL](o)}),(function(){t[k.uL](o),i=!1})),!0},getChannel:function(t){var n=null;return e&&e[k.R5]>0&&(0,a.tO)(e,(function(e){if(e&&e.queue[k.R5]>0&&((0,a.tO)(e.queue,(function(e){if(e[k.pZ]===t)return n=e,-1})),n))return-1})),n},flush:function(t,i,o,a){var s=1,c=!1,u=null;function l(){s--,c&&0===s&&(u&&(clearTimeout(u),u=null),i&&i(c),i=null)}return a=a||5e3,r(e,n(),(function(e){e.iterate((function(e){if(e[k.kL]){s++;var n=!1;e[k.kL](t,(function(){n=!0,l()}),o)||n||(t&&null==u?u=setTimeout((function(){u=null,l()}),a):l())}}))}),(function(){c=!0,l()})),!0},_setQueue:function(t){e=t}};return o}(m,e);i[k.MW](f),d[k.MW](f),e[k.iC]=(0,U.AA)(i),f[k.VL](t,e,i);var s=C();(0,U.bP)(s,i),e[k.iC]=(0,a.FL)((0,U.AA)(d||[])).slice(),n&&function(t){var n=(0,j.xy)(P(),e);n[k.Fc](w),e._updateHook&&!0===e._updateHook(n,t)||n[k.uL](t)}(n)}function O(t){var n,r=null,i=null;return(0,a.tO)(e[k.iC],(function(e){if(e[k.pZ]===t&&e!==f&&e!==g)return i=e,-1})),!i&&f&&(i=f.getChannel(t)),i&&((n={plugin:i})[k.$h]=function(e){(0,U.OY)(i)[M.mE]=!e},n.isEnabled=function(){var e=(0,U.OY)(i);return!e[k.fi]&&!e[M.mE]},n.remove=function(e,t){var n;void 0===e&&(e=!0);var r=[i],o=((n={reason:1})[k.d]=e,n);D(r,o,(function(e){e&&I({reason:32,removed:r}),t&&t(e)}))},r=n),r}function P(){if(!l){var n=(d||[]).slice();-1===(0,a.UA)(n,g)&&n[k.MW](g),l=(0,j.jV)((0,U.AA)(n),t,e)}return l}function D(n,r,i){if(n&&n[k.R5]>0){var o=(0,j.jV)(n,t,e),s=(0,j.Bt)(o,e);s[k.Fc]((function(){var e=!1,t=[];(0,a.tO)(p,(function(r,i){Q(r,n)?e=!0:t[k.MW](r)})),p=t;var r=[];h&&((0,a.tO)(h,(function(t,i){var o=[];(0,a.tO)(t,(function(t){Q(t,n)?e=!0:o[k.MW](t)})),r[k.MW](o)})),h=r),i&&i(e),w()})),s[k.uL](r)}else i(!1)}function G(){if(e[k.eZ]&&e[k.eZ].queue){var n=e[k.eZ].queue.slice(0);e[k.eZ].queue[k.R5]=0,(0,a.tO)(n,(function(n){var r,i=((r={})[k.I]=y||"InternalMessageId: "+n[k.Gc],r.iKey=(0,a.v4)(t[k.p$]),r.time=(0,a.Y6)(new Date),r.baseType=R.lQ.dataType,r.baseData={message:n[k.gU]},r);e.track(i)}))}}function Z(e,t,n,r){return f?f[k.kL](e,t,n||6,r):(t&&t(!1),!0)}function ee(t){var n=e[k.eZ];n?((0,R.kP)(n,2,73,t),w()):(0,a._y)(t)}A(),e[k.yl]=function(){return n},e[k.VL]=function(r,s,u,l){var d,f;v&&(0,a._y)(Y),e[k.yl]()&&(0,a._y)("Core should not be initialized more than once"),t=r||{},e[k.TC]=t,(0,a.le)(r[k.p$])&&(0,a._y)("Please provide instrumentation key"),o=l,e[K]=l,!0===(f=(0,a.v4)(t.disableDbgExt))&&E&&(o[k.n7](E),E=null),o&&!E&&!0!==f&&(E=(0,V.p)(t),o[k.g](E)),!(d=(0,a.v4)(t.enablePerfMgr))&&c&&(c=null),d&&(0,a.qK)(t,M.DN,J),(0,a.qK)(t,M.Zh,{}).NotificationManager=o,u&&(e[k.eZ]=u);var g=(0,a.qK)(t,M.js,[]);(p=[])[k.MW].apply(p,(0,i.$h)((0,i.$h)([],s,!1),g,!1)),h=(0,a.qK)(t,M.Z,[]),I(null),m&&0!==m[k.R5]||(0,a._y)("No "+M.Z+" available"),n=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return m&&(0,a.tO)(m,(function(t){e[k.MW](t.queue)})),(0,a.FL)(e)},e.track=function(n){n.iKey=n.iKey||t[k.p$],n[k.Z_]=n[k.Z_]||(0,a.Y6)(new Date),n.ver=n.ver||"4.0",!v&&e[k.yl]()?C()[k.uL](n):r[k.MW](n)},e[k.SD]=C,e[k.tb]=function(){return o||(o=function(){var e;return(0,L.pu)(((e={})[k.g]=function(e){},e[k.n7]=function(e){},e[M.uC]=function(e){},e[M.$F]=function(e,t){},e[M.f_]=function(e,t){},e))}(),e[K]=o),o},e[k.g]=function(e){o&&o[k.g](e)},e[k.n7]=function(e){o&&o[k.n7](e)},e.getCookieMgr=function(){return u||(u=(0,H.Nz)(t,e[k.eZ])),u},e.setCookieMgr=function(e){u=e},e[M.kl]=function(){if(!s&&!c&&(0,a.v4)(t.enablePerfMgr)){var n=(0,a.v4)(t[M.DN]);(0,a.mf)(n)&&(c=n(e,e[k.tb]()))}return s||c||(0,N.j5)()},e.setPerfMgr=function(e){s=e},e.eventCnt=function(){return r[k.R5]},e.releaseQueue=function(){if(n&&r[k.R5]>0){var e=r;r=[],(0,a.tO)(e,(function(e){C()[k.uL](e)}))}},e.pollInternalLogs=function(e){return y=e||null,x=!1,T&&(clearInterval(T),T=null),w(!0)},e[k.LS]=function(){x=!0,T&&(clearInterval(T),T=0,G())},(0,a.Vb)(e,(function(){return g}),["addTelemetryInitializer"]),e.unload=function(t,r,i){var o;void 0===t&&(t=!0),n||(0,a._y)("SDK is not initialized"),v&&(0,a._y)(Y);var s=((o={reason:50})[k.d]=t,o.flushComplete=!1,o),c=(0,j.Bt)(P(),e);function u(t){s.flushComplete=t,v=!0,_.run(c,s),e[k.LS](),c[k.uL](s)}c[k.Fc]((function(){A(),r&&r(s)}),e),G(),Z(t,u,6,i)||u(!1)},e[k.TO]=O,e.addPlugin=function(e,t,n,r){if(!e)return r&&r(!1),void ee(W);var i=O(e[k.pZ]);if(i&&!t)return r&&r(!1),void ee("Plugin ["+e[k.pZ]+"] is already loaded!");var o={reason:16};function a(t){p[k.MW](e),o.added=[e],I(o),r&&r(!0)}if(i){var s=[i.plugin];D(s,{reason:2,isAsync:!!n},(function(e){e?(o.removed=s,o.reason|=32,a()):r&&r(!1)}))}else a()},e.evtNamespace=function(){return b},e[k.kL]=Z,e.getTraceCtx=function(e){return S||(S=(0,U.Yn)()),S},e.setTraceCtx=function(e){S=e||null},(0,a.Oi)(e,"addUnloadCb",(function(){return _}),"add")}))}return e.__ieDyn=1,e}();function ee(e,t,n,r){(0,a.tO)(e,(function(e){if(e&&e[t])if(n)setTimeout((function(){return r(e)}),0);else try{r(e)}catch(e){}}))}var te=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;(0,P.Z)(e,this,(function(e){e[k.g]=function(t){e.listeners[k.MW](t)},e[k.n7]=function(t){for(var n=(0,a.UA)(e[k.dE],t);n>-1;)e.listeners[k.cb](n,1),n=(0,a.UA)(e[k.dE],t)},e[M.uC]=function(t){ee(e[k.dE],M.uC,!0,(function(e){e[M.uC](t)}))},e[M.$F]=function(t,n){ee(e[k.dE],M.$F,!0,(function(e){e[M.$F](t,n)}))},e[M.f_]=function(t,n){ee(e[k.dE],M.f_,n,(function(e){e[M.f_](t,n)}))},e[M.C$]=function(t){t&&(!n&&t[k.PL]()||ee(e[k.dE],M.C$,!1,(function(e){t[k.d]?setTimeout((function(){return e[M.C$](t)}),0):e[M.C$](t)})))}}))}return e.__ieDyn=1,e}(),ne=function(e){function t(){var n=e.call(this)||this;return(0,P.Z)(t,n,(function(e,t){function n(t){var n=e[k.tb]();n&&n[M.$F]([t],2)}e[k.VL]=function(e,n,r,i){t[k.VL](e,n,r||new R.AQ(e),i||new te(e))},e.track=function(r){(0,N.Lm)(e[M.kl](),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),(0,a._y)("Invalid telemetry item")),function(e){(0,a.le)(e[k.I])&&(n(e),(0,a._y)("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),n}return(0,i.ne)(t,e),t.__ieDyn=1,t}(Z),re=n(8142),ie=n(8055),oe=function(e){function t(){var n=e.call(this)||this;return n.pluginVersionStringArr=[],(0,P.Z)(t,n,(function(e,t){e.logger&&e.logger.queue||(e.logger=new R.AQ({loggingLevelConsole:1})),e.initialize=function(n,r,i,o){(0,N.Lm)(e,(function(){return"AppInsightsCore.initialize"}),(function(){var s=e.pluginVersionStringArr;if(n){n.endpointUrl||(n.endpointUrl=re.YT);var c=n.propertyStorageOverride;!c||c.getProperty&&c.setProperty||(0,a._y)("Invalid property storage override passed."),n.channels&&(0,a.tO)(n.channels,(function(e){e&&(0,a.tO)(e,(function(e){if(e.identifier&&e.version){var t=e.identifier+"="+e.version;s.push(t)}}))}))}e.getWParam=function(){return"undefined"!=typeof document||n.enableWParam?0:-1},r&&(0,a.tO)(r,(function(e){if(e&&e.identifier&&e.version){var t=e.identifier+"="+e.version;s.push(t)}})),e.pluginVersionString=s.join(";"),e.pluginVersionStringArr=s;try{t.initialize(n,r,i,o),e.pollInternalLogs("InternalLog")}catch(t){var u=e.logger,l=(0,D.eU)(t);-1!==l.indexOf("channels")&&(l+="\n - Channels must be provided through config.channels only!"),(0,R.kP)(u,1,514,"SDK Initialization Failed - no telemetry will be sent: "+l)}}),(function(){return{config:n,extensions:r,logger:i,notificationManager:o}}))},e.track=function(n){(0,N.Lm)(e,(function(){return"AppInsightsCore.track"}),(function(){var r=n;if(r){r.timings=r.timings||{},r.timings.trackStart=(0,ie.hK)(),(0,ie.r7)(r.latency)||(r.latency=1);var i=r.ext=r.ext||{};i.sdk=i.sdk||{},i.sdk.ver=ie.vs;var o=r.baseData=r.baseData||{};o[re.o6]=o[re.o6]||{};var a=o[re.o6];a[re.p8]=a[re.p8]||e.pluginVersionString||re.qS}t.track(r)}),(function(){return{item:n}}),!n.sync)}})),n}return(0,i.ne)(t,e),t.__ieDyn=1,t}(ne);const ae=oe;var se=function(e){function t(){var n=e.call(this)||this;return(0,P.Z)(t,n,(function(e,t){e.initialize=function(n,r,i,o){n&&!n.endpointUrl&&(n.endpointUrl=re.YT),e.getWParam=function(){return ie.x9||n.enableWParam?0:-1};try{t.initialize(n,r,i,o)}catch(t){(0,R.kP)(e.logger,1,514,"Initialization Failed: "+(0,D.eU)(t)+"\n - Note: Channels must be provided through config.channels only")}},e.track=function(e){var n=e;if(n){var r=n.ext=n.ext||{};r.sdk=r.sdk||{},r.sdk.ver=ie.vs}t.track(n)}})),n}return(0,i.ne)(t,e),t.__ieDyn=1,t}(Z);const ce=se;var ue=a.mf;function le(e,t,n){return function(r){e[t]=r,n()}}const pe=function(){function e(t){var n=0,r=null,i=[];function o(){if(i.length>0){var e=i.slice();i=[],setTimeout((function(){for(var t=0,n=e.length;t")+"."+de;function o(e){var t=(0,L.Rd)();t&&t.QUnit&&console&&console.log("ESPromiseScheduler["+i+"] "+e)}function a(e){(0,R.jV)(n,"ESPromiseScheduler["+i+"] "+e)}de++,(0,P.Z)(e,this,(function(e){var t=null,n=0;function s(e,t){for(var n=0;n0){for(var c=0;c{"use strict";n.d(t,{YT:()=>i,o6:()=>a,p8:()=>o,qS:()=>r});var r="",i="https://browser.events.data.microsoft.com/OneCollector/1.0/",o="version",a="properties"},8055:(e,t,n)=>{"use strict";n.d(t,{Do:()=>N,Gf:()=>f,IZ:()=>x,JT:()=>j,Sn:()=>S,Sy:()=>F,Tr:()=>H,Vv:()=>C,cQ:()=>B,cm:()=>D,d8:()=>O,dH:()=>E,ej:()=>R,hK:()=>L,if:()=>U,jM:()=>T,kT:()=>P,l7:()=>k,mJ:()=>q,oF:()=>I,oS:()=>M,ot:()=>V,r7:()=>w,vs:()=>h,x9:()=>_,yj:()=>A});var r,i=n(5559),o=n(986),a=n(6291),s=n(2281),c=n(8526),u=n(8422),l=n(7042),p=n(1784),d=n(8142),f="3.2.18",h="1DS-Web-JS-"+f,m="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",v="withCredentials",g="timeout",y=((r={})[0]=0,r[2]=6,r[1]=1,r[3]=7,r[4098]=6,r[4097]=1,r[4099]=7,r),b=null,_=Boolean((0,i.Me)()),E=Boolean((0,i.Jj)());function S(e){return!(e===d.qS||(0,o.le)(e))}function T(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return d.qS}function x(){return null===b&&(b=!(0,o.o8)(Uint8Array)&&!function(){var e=(0,i.jW)();if(!(0,o.o8)(e)&&e.userAgent){var t=e.userAgent.toLowerCase();if((t.indexOf("safari")>=0||t.indexOf("firefox")>=0)&&t.indexOf("chrome")<0)return!0}return!1}()&&!(0,i.b$)()),b}function w(e){return!!(e&&(0,o.hj)(e)&&e>=1&&e<=4)}function A(e,t,n){if(!t&&!S(t)||"string"!=typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||(0,o.kJ)(t))t={value:t};else if("object"!==r||c.CY.call(t,"value")){if((0,o.le)(t.value)||t.value===d.qS||!(0,o.HD)(t.value)&&!(0,o.hj)(t.value)&&!(0,o.jn)(t.value)&&!(0,o.kJ)(t.value))return null}else t={value:n?JSON.stringify(t):t};if((0,o.kJ)(t.value)&&!j(t.value))return null;if(!(0,o.le)(t.kind)){if((0,o.kJ)(t.value)||!M(t.kind))return null;t.value=t.value.toString()}return t}function C(e,t,n){var r=-1;if(!(0,o.o8)(e))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(e){return e>=0&&e<=9}(n))-1===r&&(r=0),r|=n;else{var i=y[F(e)]||-1;-1!==r&&-1!==i?r|=i:6===i&&(r=i)}return r}function I(){(0,a.JP)(null).setEnabled(!1)}function O(e,t,n){(0,a.p7)(null)&&(0,a.JP)(null).set(e,t,86400*n,null,"/")}function P(e){(0,a.p7)(null)&&(0,a.JP)(null).del(e)}function R(e){return(0,a.p7)(null)?N((0,a.JP)(null),e):d.qS}function N(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||d.qS}function D(e){void 0===e&&(e="D");var t=(0,s.GW)();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,d.qS)),t}function k(e,t,n,r,i){var a={},s=!1,u=0,l=arguments.length,p=arguments;for("[object Boolean]"===Object[c.hB].toString.call(p[0])&&(s=p[0],u++);u0&&e<=13||32===e}function j(e){return e.length>0}function U(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=L()}function F(e){var t=0;if(null!=e){var n=typeof e;"string"===n?t=1:"number"===n?t=2:"boolean"===n?t=3:n===c.fK&&(t=4,(0,o.kJ)(e)?(t=4096,e.length>0&&(t|=F(e[0]))):c.CY.call(e,"value")&&(t=8192|F(e.value)))}return t}var B={Version:f,FullVersionString:h,strUndefined:c.jA,strObject:c.fK,Undefined:c.jA,arrForEach:o.tO,arrIndexOf:o.UA,arrMap:o.Mr,arrReduce:o.Xz,objKeys:o.FY,toISOString:o.Y6,isReactNative:i.b$,isString:o.HD,isNumber:o.hj,isBoolean:o.jn,isFunction:o.mf,isArray:o.kJ,isObject:o.Kn,strTrim:o.nd,isDocumentObjectAvailable:_,isWindowObjectAvailable:E,isValueAssigned:S,getTenantId:T,isBeaconsSupported:i.MF,isUint8ArrayAvailable:x,isLatency:w,sanitizeProperty:A,getISOString:o.Y6,useXDomainRequest:i.cp,getCommonSchemaMetaData:C,cookieAvailable:a.p7,disallowsSameSiteNone:a.UY,setCookie:O,deleteCookie:P,getCookie:R,createGuid:D,extend:k,getTime:L,isValueKind:M,isArrayValid:j,objDefineAccessors:o.l_,addPageUnloadEventListener:u.c9,setProcessTelemetryTimings:U,addEventHandler:u.Ib,getFieldValueType:F,strEndsWith:o.Id,objForEachKey:o.rW},H={_canUseCookies:void 0,isTypeof:o.Ym,isUndefined:o.o8,isNullOrUndefined:o.le,hasOwnProperty:o.nr,isFunction:o.mf,isObject:o.Kn,isDate:o.J_,isArray:o.kJ,isError:o.VZ,isString:o.HD,isNumber:o.hj,isBoolean:o.jn,toISOString:o.Y6,arrForEach:o.tO,arrIndexOf:o.UA,arrMap:o.Mr,arrReduce:o.Xz,strTrim:o.nd,objCreate:p.pu,objKeys:o.FY,objDefineAccessors:o.l_,addEventHandler:u.Ib,dateNow:o.m6,isIE:i.w1,disableCookies:I,newGuid:s.GW,perfNow:s.Jj,newId:l.pZ,randomValue:l.az,random32:l._l,mwcRandomSeed:l.CN,mwcRandom32:l.F6,generateW3CId:s.DO};function q(){return!!(0,i.a8)("chrome")}function V(e,t,n,r,i,o){function a(e,t,n){try{e[t]=n}catch(e){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var s=new XMLHttpRequest;return r&&a(s,m,r),n&&a(s,v,n),s.open(e,t,!i),n&&a(s,v,n),!i&&o&&a(s,g,o),s}},1480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BE_PROFILE:()=>v,NRT_PROFILE:()=>m,PostChannel:()=>me,RT_PROFILE:()=>h});var r=n(5806),i=n(1976),o=n(9430),a=n(8422),s=n(5282),c=n(8055),u=n(986),l=n(5559),p=n(6826),d=n(2075),f=n(4423),h="REAL_TIME",m="NEAR_REAL_TIME",v="BEST_EFFORT",g="",y="POST",b="drop",_="requeue",E="application/x-json-stream",S="cache-control",T="content-type",x="kill-duration",w="time-delta-millis",A="client-version",C="client-id",I="time-delta-to-apply-millis",O="upload-time",P="apikey",R="AuthMsaDeviceTicket",N="AuthXToken",D="msfpc",k="trace",L="user";function M(e){var t=(e.ext||{}).intweb;return t&&(0,c.Sn)(t[D])?t[D]:null}function j(e){for(var t=null,n=0;null===t&&n(0,u.m6)()||(delete n[r],!1)}}))}return e.__ieDyn=1,e}();var H=n(8526);function q(e){var t,n=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,e)*n,Math.min(t,6e5)}var V,G=2e6,z=Math.min(G,65e3),$="metadata",W="f",K=/\./,Y=function(){function e(t,n,r,a){var s="data",l="baseData",p=!!a,d=n,f={};(0,i.Z)(e,this,(function(e){function n(e,t,i,o,a,s,l){(0,u.rW)(e,(function(e,h){var m=null;if(h||(0,c.Sn)(h)){var v=i,g=e,y=a,b=t;if(p&&!o&&K.test(e)){var _=e.split("."),E=_.length;if(E>1){y&&(y=y.slice());for(var S=0;S=7&&(n=(0,u.xe)(e,"ext.metadata")||(0,u.xe)(e,"ext.web")),f[e]=n),n}(v);if(m=!x&&d&&d.handleField(v,g)?d.value(v,g,h,r):(0,c.yj)(g,h,r)){var w=m.value;if(b[g]=w,s&&s(y,g,m),l&&"object"==typeof w&&!(0,u.kJ)(w)){var A=y;A&&(A=A.slice()).push(g),n(h,w,v+"."+g,o,A,s,l)}}}}))}e.createPayload=function(e,t,n,r,i,o){return{apiKeys:[],payloadBlob:g,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:o,sendReason:i}},e.appendPayload=function(n,r,i){var a=n&&r&&!n.overflow;return a&&(0,o.Lm)(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=r.events(),o=n.payloadBlob,a=n.numEvents,s=!1,c=[],l=[],p=n.isBeacon,d=p?65e3:3984588,f=p?z:G,h=0,m=0;h=i){n.overflow=r.split(h);break}var g=e.getEventBlob(v);if(g&&g.length<=f){var y=g.length;if(o.length+y>d){n.overflow=r.split(h);break}o&&(o+="\n"),o+=g,++m>20&&(o.substr(0,1),m=0),s=!0,a++}else g?c.push(v):l.push(v),t.splice(h,1),h--}h++}if(c&&c.length>0&&n.sizeExceed.push(U.create(r.iKey(),c)),l&&l.length>0&&n.failedEvts.push(U.create(r.iKey(),l)),s){n.batches.push(r),n.payloadBlob=o,n.numEvents=a;var b=r.iKey();-1===(0,u.UA)(n.apiKeys,b)&&n.apiKeys.push(b)}}),(function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:i}})),a},e.getEventBlob=function(e){try{return(0,o.Lm)(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+(0,c.jM)(e.iKey);var r={},i=e.ext;i&&(t.ext=r,(0,u.rW)(i,(function(e,t){n(t,r[e]={},"ext."+e,!0,null,null,!0)})));var o=t[s]={};o.baseType=e.baseType;var a=o[l]={};return n(e.baseData,a,l,!1,[l],(function(e,t,n){X(r,e,t,n)}),!0),n(e.data,o,s,!1,[],(function(e,t,n){X(r,e,t,n)}),!0),JSON.stringify(t)}),(function(){return{item:e}}))}catch(e){return null}}}))}return e.__ieDyn=1,e}();function X(e,t,n,r){if(r&&e){var i=(0,c.Vv)(r.value,r.kind,r.propertyType);if(i>-1){var o=e[$];o||(o=e[$]={f:{}});var a=o[W];if(a||(a=o[W]={}),t)for(var s=0;s0)for(var i=t.toLowerCase(),o=0;o0&&(r&&ee[t]?(e.hdrs[ee[t]]=n,e.useHdrs=!0):e.url+="&"+t+"="+n)}function ae(e,t){return t&&((0,u.hj)(t)?e=[t].concat(e):(0,u.kJ)(t)&&(e=t.concat(e))),e}ne(R,R,!1),ne(A,A),ne(C,"Client-Id"),ne(P,P),ne(I,I),ne(O,O),ne(N,N);var se=function(){function e(t,n,r,a,s){this._responseHandlers=[];var p,f,h,m,v,_,R,N,k,L,M="?cors=true&"+T.toLowerCase()+"="+E,j=new B,U=!1,V=new F,G=!1,z=0,$=!0,W=[],K={},X=[],ee=null,ne=!1,se=!1,ce=!1;(0,i.Z)(e,this,(function(e){var i=!0;function F(e,t){for(var n=0,r=null,i=0;null==r&&i0&&(l.headers=e.headers),fetch(o,l).then((function(e){var n={},r=g,i=e.headers;i&&i.forEach((function(e,t){n[t]=e})),e.body&&e.text().then((function(e){r=e})),c||(c=!0,pe(t,e.status,n,r),Te(r))})).catch((function(e){c||(c=!0,pe(t,0,{}))})),a&&!c&&(c=!0,pe(t,200,{})),!c&&e.timeout>0&&s.set((function(){c||(c=!0,pe(t,500,{}))}),e.timeout)}function le(e,t,n){var r=e.urlString;function o(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var r=t.getResponseHeader(n);r&&(e[n]=(0,u.nd)(r))}return e}function a(e,n){pe(t,e.status,function(e){var t={};return e.getAllResponseHeaders?t=function(e){var t={};if((0,u.HD)(e)){var n=(0,u.nd)(e).split(/[\r\n]+/);(0,u.tO)(n,(function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var r=(0,u.nd)(e.substring(0,n)).toLowerCase(),i=(0,u.nd)(e.substring(n+1));t[r]=i}else t[(0,u.nd)(e)]=1}}))}return t}(e.getAllResponseHeaders()):(t=o(t,e,w),t=o(t,e,x),t=o(t,e,"kill-duration-seconds")),t}(e),n)}n&&e.disableXhrSync&&(n=!1);var s=(0,c.ot)(y,r,i,!0,n,e.timeout);(0,u.rW)(e.headers,(function(e,t){s.setRequestHeader(e,t)})),s.onload=function(){var e=re(s);a(s,e),Te(e)},s.onerror=function(){a(s)},s.ontimeout=function(){a(s)},s.send(e.data)}function pe(e,t,n,r){try{e(t,n,r)}catch(e){(0,d.kP)(f,2,518,(0,l.eU)(e))}}function de(e,t,n){var r=200,i=e._thePayload,o=e.urlString+(L?Q:g);try{var a=(0,l.jW)();if(!a.sendBeacon(o,e.data))if(i){var s=[];(0,u.tO)(i.batches,(function(e){if(s&&e&&e.count()>0){for(var t=e.events(),n=0;n0&&!U&&h[t]&&ee&&(r=0!==t||me()&&(n>0||V.allowRequestSending())),r}function ye(e){var t={};return e&&(0,u.tO)(e,(function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}})),t}function be(e,n,r,i,a){if(e&&0!==e.length)if(U)xe(e,1,i);else{i=he(i);try{var s=e,u=0!==i;(0,o.Lm)(m,(function(){return"HttpManager:_sendBatches"}),(function(o){o&&(e=e.slice(0));for(var s=[],l=null,p=(0,c.hK)(),d=h[i]||(u?h[1]:h[0]),f=d&&d._transport,m=k&&(se||fe(i)||3===f||d._isSync&&2===f);ge(e,i,n);){var v=e.shift();v&&v.count()>0&&(j.isTenantKilled(v.iKey())?s.push(v):(l=l||ee.createPayload(n,r,u,m,a,i),ee.appendPayload(l,v,t)?null!==l.overflow&&(e=[l.overflow].concat(e),l.overflow=null,Ee(l,p,(0,c.hK)(),a),p=(0,c.hK)(),l=null):(Ee(l,p,(0,c.hK)(),a),p=(0,c.hK)(),e=[v].concat(e),l=null)))}l&&Ee(l,p,(0,c.hK)(),a),e.length>0&&(X=e.concat(X)),xe(s,8004,i)}),(function(){return{batches:ye(s),retryCount:n,isTeardown:r,isSynchronous:u,sendReason:a,useSendBeacon:fe(i),sendType:i}}),!u)}catch(e){(0,d.kP)(f,2,48,"Unexpected Exception sending batch: "+(0,l.eU)(e))}}}function _e(e,t,n){e[t]=e[t]||{},e[t][p.identifier]=n}function Ee(t,n,i,a){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var s=!!e.sendHook,v=h[t.sendType];!fe(t.sendType)&&t.isBeacon&&2===t.sendReason&&(v=h[2]||h[3]||v);var y=ce;(t.isBeacon||3===v._transport)&&(y=!1);var b=function(e,t){var n={url:M,hdrs:{},useHdrs:!1};t?(n.hdrs=(0,c.l7)(n.hdrs,K),n.useHdrs=(0,u.FY)(n.hdrs).length>0):(0,u.rW)(K,(function(e,t){te[e]?oe(n,te[e],t,!1):(n.hdrs[e]=t,n.useHdrs=!0)})),oe(n,C,"NO_AUTH",t),oe(n,A,c.vs,t);var r=g;(0,u.tO)(e.apiKeys,(function(e){r.length>0&&(r+=","),r+=e})),oe(n,P,r,t),oe(n,O,(0,u.m6)().toString(),t);var i=function(e){for(var t=0;t=0&&(n.url+="&w="+o)}for(var a=0;a0?C[J]++:C[J]=1}xe(t.batches,1e3+(a||0),t.sendType,!0);var O={data:t.payloadBlob,urlString:b.url,headers:b.hdrs,_thePayload:t,_sendReason:a,timeout:_,disableXhrSync:R,disableFetchKeepAlive:N};y&&(ie(O.headers,S)||(O.headers[S]="no-cache, no-store"),ie(O.headers,T)||(O.headers[T]=E));var P=null;v&&(P=function(n){V.firstRequestSent();var i=function(n,i){!function(t,n,i,o){var a,s=9e3,l=null,d=!1,f=!1;try{var h=!0;if(typeof t!==H.jA){if(n){V.setClockSkew(n[w]);var m=n[x]||n["kill-duration-seconds"];(0,u.tO)(j.setKillSwitchTenants(n["kill-tokens"],m),(function(e){(0,u.tO)(i.batches,(function(t){if(t.iKey()===e){l=l||[];var n=t.split(0);i.numEvents-=n.count(),l.push(n)}}))}))}if(200==t||204==t)return void(s=200);((a=t)>=300&&a<500&&408!=a&&429!=a||501==a||505==a||i.numEvents<=0)&&(h=!1),s=9e3+t%1e3}if(h){s=100;var v=i.retryCnt;0===i.sendType&&(v0&&function(e,t){ne&&(0,u.tO)(e,(function(e){_e(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),xe(t.batches,n,t.sendType,!0)}finally{0===t.sendType&&(z--,5!==r&&e.sendQueuedRequests(t.sendType,r))}}(i,s,o,f)),xe(l,8004,i.sendType)}}(n,i,t,a)},o=t.isTeardown||t.isSync;try{v.sendPOST(n,i,o),e.sendListener&&e.sendListener(O,n,o,t.isBeacon)}catch(e){(0,d.jV)(f,"Unexpected exception sending payload. Ex:"+(0,l.eU)(e)),pe(i,0,{})}}),(0,o.Lm)(m,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(P)if(0===t.sendType&&z++,s&&!t.isBeacon&&3!==v._transport){var n={data:O.data,urlString:O.urlString,headers:(0,c.l7)({},O.headers),timeout:O.timeout,disableXhrSync:O.disableXhrSync,disableFetchKeepAlive:O.disableFetchKeepAlive},r=!1;(0,o.Lm)(m,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(n,(function(e){r=!0,$||e._thePayload||(e._thePayload=e._thePayload||O._thePayload,e._sendReason=e._sendReason||O._sendReason),P(e)}),t.isSync||t.isTeardown)}catch(e){r||P(O)}}))}else P(O)}))}),(function(){return{thePayload:t,serializationStart:n,serializationCompleted:i,sendReason:a}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&xe(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&xe(t.failedEvts,8002,t.sendType)}function Se(e,t,n){t?e():s.set(e,n)}function Te(t){var n=e._responseHandlers;try{for(var r=0;r0&&a){var i=a[(u=t,l=Z[u],(0,c.Sn)(l)||(l="oth",u>=9e3&&u<=9999?l="rspFail":u>=8e3&&u<=8999?l=b:u>=1e3&&u<=1999&&(l="send")),l)];if(i){var s=0!==n;(0,o.Lm)(m,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){Se((function(){try{i.call(a,e,t,s,n)}catch(e){(0,d.kP)(f,1,74,"send request notification failed: "+e)}}),r||s,0)}),(function(){return{batches:ye(e),reason:t,isSync:s,sendSync:r,sendType:n}}),!s)}}var u,l}e.initialize=function(e,t,n,r,o){var a;o||(o={}),M=e+M,ce=!!(0,u.o8)(o.avoidOptions)||!o.avoidOptions,m=t,v=t.getCookieMgr(),ne=!m.config.disableEventTimings;var s=!!m.config.enableCompoundKey;f=(p=n).diagLog();var c=o.valueSanitizer,g=o.stringifyObjects;(0,u.o8)(o.enableCompoundKey)||(s=!!o.enableCompoundKey),_=o.xhrTimeout,R=!!o.disableXhrSync,N=!!o.disableFetchKeepAlive,L=!1!==o.addNoResponse,G=!(0,l.b$)(),ee=new Y(m,c,g,s),(0,u.le)(o.useSendBeacon)||(G=!!o.useSendBeacon);var y=r,b=o.alwaysUseXhrOverride?r:null,E=o.alwaysUseXhrOverride?r:null,S=[3,2];if(!r){$=!1;var T=(0,l.k$)();T&&T.protocol&&"file:"===T.protocol.toLowerCase()&&(i=!1);var x=[];(0,l.b$)()?(x=[2,1],S=[2,1,3]):x=[1,2,3],(r=F(x=ae(x,o.transports),!1))||(0,d.jV)(f,"No available transport to send events"),y=F(x,!0)}b||(b=F(S=ae(S,o.unloadTransports),!0)),k=!$&&(G&&(0,l.MF)()||!N&&(0,l.JO)(!0)),(a={})[0]=r,a[1]=y||F([1,2,3],!0),a[2]=b||y||F([1],!0),a[3]=E||F([2,3],!0)||y||F([1],!0),h=a},e._getDbgPlgTargets=function(){return[h[0],j,ee,h]},e.addQueryStringParameter=function(e,t){for(var n=0;n0){if(j.isTenantKilled(e.iKey()))return!1;X.push(e)}return!0},e.teardown=function(){X.length>0&&be(ve(),0,!0,2,2)},e.pause=function(){U=!0},e.resume=function(){U=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,n){e&&e.count()>0&&((0,u.le)(t)&&(t=1),se&&(t=he(t),n=2),be([e],0,!1,t,n||0))}}))}return e.__ieDyn=1,e}();function ce(e,t){for(var n=[],r=2;r0){var o=i.split(0,r),a=o.count();if(a>0)return 4===n?C-=a:O-=a,be(pe,[o],p.h.QueueFull),!0}n++}return oe(),!1}(e.iKey,e.latency,a,s)&&(o=!ie(e,t))}o&&ye(pe,[e],p.h.QueueFull)}function Y(e,t,n){var r=ae(e,t,n);return g.sendQueuedRequests(t,n),r}function X(){return O>0}function J(){if(V>=0&&ae(V,0,_)&&g.sendQueuedRequests(0,_),C>0&&!j&&!A){var e=N[D][2];e>=0&&(j=Z((function(){j=null,Y(4,0,1),J()}),e))}var t=N[D][1];!M&&!w&&t>=0&&!A&&(X()?M=Z((function(){M=null,Y(0===B?3:1,0,1),B++,B%=2,J()}),t):B=0)}function Q(){n=null,T=!1,x=[],w=null,A=!1,C=0,I=500,O=0,P=1e4,N={},D=h,M=null,j=null,F=0,B=0,f=null,H={},y=void 0,b=0,V=-1,_=null,G=!0,z=!1,$=6,W=2,E=null,S=le(),g=new se(500,2,1,{requeue:ve,send:_e,sent:Ee,drop:Se,rspFail:Te,oth:xe},S),me(),H[4]={batches:[],iKeyMap:{}},H[3]={batches:[],iKeyMap:{}},H[2]={batches:[],iKeyMap:{}},H[1]={batches:[],iKeyMap:{}},we()}function Z(e,t){0===t&&F&&(t=1);var n=1e3;return F&&(n=q(F-1)),S.set(e,t*n)}function ee(){return null!==M&&(S.clear(M),M=null,B=0,!0)}function te(e,t){ee(),w&&(S.clear(w),w=null),A||Y(1,e,t)}function ne(e,t,n){var r=H[t];r||(r=H[t=1]);var i=r.iKeyMap[e];return!i&&n&&(i=U.create(e),r.batches.push(i),r.iKeyMap[e]=i),i}function re(t,n){g.canSendRequest()&&!F&&(y>0&&O>y&&(n=!0),n&&null==w&&e.flush(t,null,20))}function ie(e,t){G&&(e=(0,u.Ax)(e));var n=e.latency,r=ne(e.iKey,n,!0);return!!r.addEvent(e)&&(4!==n?(O++,t&&0===e.sendAttempt&&re(!e.sync,b>0&&r.count()>=b)):C++,!0)}function oe(){for(var e=0,t=0,n=function(n){var r=H[n];r&&r.batches&&(0,u.tO)(r.batches,(function(r){4===n?e+=r.count():t+=r.count()}))},r=1;r<=4;r++)n(r);O=t,C=e}function ae(t,n,r){var i=!1,a=0===n;return!a||g.canSendRequest()?(0,o.Lm)(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],n=4;n>=t;){var r=H[n];r&&r.batches&&r.batches.length>0&&((0,u.tO)(r.batches,(function(t){g.addBatch(t)?i=i||t&&t.count()>0:e=e.concat(t.events()),4===n?C-=t.count():O-=t.count()})),r.batches=[],r.iKeyMap={}),n--}e.length>0&&ye(pe,e,p.h.KillSwitch),i&&V>=t&&(V=-1,_=0)}),(function(){return{latency:t,sendType:n,sendReason:r}}),!a):(V=V>=0?Math.min(V,t):t,_=Math.max(_,r)),i}function ce(e,t){Y(1,0,t),oe(),ue((function(){e&&e(),x.length>0?w=Z((function(){w=null,ce(x.shift(),t)}),0):(w=null,J())}))}function ue(e){g.isCompletelyIdle()?e():w=Z((function(){w=null,ue(e)}),.25)}function me(){(N={})[h]=[2,1,0],N[m]=[6,3,0],N[v]=[18,9,0]}function ve(t,n){var r=[],i=$;z&&(i=W),(0,u.tO)(t,(function(t){t&&t.count()>0&&(0,u.tO)(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt0&&ye(pe,r,p.h.NonRetryableStatus),z&&te(2,2)}function ge(t,n){var r=e._notificationManager||{},i=r[t];if(i)try{i.apply(r,n)}catch(n){(0,d.kP)(e.diagLog(),1,74,t+" notification failed: "+n)}}function ye(e,t){for(var n=[],r=2;r0&&ge(e,[t].concat(n))}function be(e,t){for(var n=[],r=2;r0&&(0,u.tO)(t,(function(t){t&&t.count()>0&&ge(e,[t.events()].concat(n))}))}function _e(e,t,n){e&&e.length>0&&ge("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function Ee(e,t){be("eventsSent",e,t),J()}function Se(e,t){be(pe,e,t>=8e3&&t<=8999?t-8e3:p.h.Unknown)}function Te(e){be(pe,e,p.h.NonRetryableStatus),J()}function xe(e,t){be(pe,e,p.h.Unknown),J()}function we(){b=n&&n.disableAutoBatchFlushLimit?0:Math.max(1500,P/6)}Q(),e._getDbgPlgTargets=function(){return[g]},e.initialize=function(l,p,d){(0,o.Lm)(p,(function(){return"PostChannel:initialize"}),(function(){var o=p;t.initialize(l,p,d);try{p.addUnloadCb,E=(0,a.jU)((0,s.J)(e.identifier),p.evtNamespace&&p.evtNamespace());var h=e._getTelCtx();l.extensionConfig[e.identifier]=l.extensionConfig[e.identifier]||{},n=h.getExtCfg(e.identifier),S=le(n.setTimeoutOverride,n.clearTimeoutOverride),G=!n.disableOptimizeObj&&(0,c.mJ)(),function(e){var t=e.getWParam;e.getWParam=function(){var e=0;return n.ignoreMc1Ms0CookieProcessing&&(e|=2),e|t()}}(o),n.eventsLimitInMem>0&&(P=n.eventsLimitInMem),n.immediateEventLimit>0&&(I=n.immediateEventLimit),n.autoFlushEventsLimit>0&&(y=n.autoFlushEventsLimit),(0,u.hj)(n[fe])&&($=n[fe]),(0,u.hj)(n[he])&&(W=n[he]),we(),n.httpXHROverride&&n.httpXHROverride.sendPOST&&(f=n.httpXHROverride),(0,c.Sn)(l.anonCookieName)&&g.addQueryStringParameter("anoncknm",l.anonCookieName),g.sendHook=n.payloadPreprocessor,g.sendListener=n.payloadListener;var m=n.overrideEndpointUrl?n.overrideEndpointUrl:l.endpointUrl;e._notificationManager=p.getNotifyMgr(),g.initialize(m,e.core,e,f,n);var v=l.disablePageUnloadEvents||[];(0,a.c9)(r,v,E),(0,a.TJ)(r,v,E),(0,a.nD)(i,l.disablePageShowEvents,E)}catch(t){throw e.setInitialized(!1),t}}),(function(){return{coreConfig:l,core:p,extensions:d}}))},e.processTelemetry=function(t,r){(0,c.if)(t,e.identifier);var i=(r=e._getTelCtx(r)).getExtCfg(e.identifier),o=!!n.disableTelemetry;i&&(o=o||!!i.disableTelemetry);var a=t;o||T||(n[de]&&(a.iKey=n[de]),i&&i[de]&&(a.iKey=i[de]),K(a,!0),z?te(2,2):J()),e.processNext(a,r)},e._doTeardown=function(e,t){te(2,2),T=!0,g.teardown(),(0,a.JA)(null,E),(0,a.C9)(null,E),(0,a.Yl)(null,E),Q()},e.setEventQueueLimits=function(e,t){P=e>0?e:1e4,y=t>0?t:0,we();var n=O>e;if(!n&&b>0)for(var r=1;!n&&r<=3;r++){var i=H[r];i&&i.batches&&(0,u.tO)(i.batches,(function(e){e&&e.count()>=b&&(n=!0)}))}re(!0,n)},e.pause=function(){ee(),A=!0,g.pause()},e.resume=function(){A=!1,g.resume(),J()},e.addResponseHandler=function(e){g._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){ee(),me(),D=h,J(),(0,u.rW)(e,(function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;if(t.splice(0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var i=t[0]/t[1];t[0]=Math.ceil(i)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),N[e]=t}}))},e.flush=function(e,t,n){if(void 0===e&&(e=!0),!A)if(n=n||1,e)null==w?(ee(),ae(1,0,n),w=Z((function(){w=null,ce(t,n)}),0)):x.push(t);else{var r=ee();Y(1,1,n),null!=t&&t(),r&&J()}},e.setMsaAuthTicket=function(e){g.addHeader(R,e)},e.hasEvents=X,e._setTransmitProfile=function(e){D!==e&&void 0!==N[e]&&(ee(),D=e,J())},e._backOffTransmission=function(){F<4&&(F++,ee(),J())},e._clearBackOff=function(){F&&(F=0,ee(),J())},(0,u.l_)(e,"_setTimeoutOverride",(function(){return S.set}),(function(e){S=le(e,S.clear)})),(0,u.l_)(e,"_clearTimeoutOverride",(function(){return S.clear}),(function(e){S=le(S.set,e)}))})),r}return(0,r.ne)(t,e),t.__ieDyn=1,t}(f.i)},9503:(e,t,n)=>{"use strict";n.d(t,{By:()=>i});var r=n(986);function i(e){var t={};return(0,r.rW)(e,(function(e,n){t[e]=n,t[n]=e})),(0,r._A)(t)}},6826:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var r=(0,n(9503).By)({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5})},4423:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(1976),i=n(3467),o=n(986),a=n(9760),s=n(9827),c=n(6038),u="getPlugin",l=function(){function e(){var t,n,l,p,d,f=this;function h(e){void 0===e&&(e=null);var t=e;if(!t){var r=n||(0,s.CD)(null,{},f[a.oV]);t=l&&l[u]?r[i.zV](null,l[u]):r[i.zV](null,l)}return t}function m(e,t,r){e&&(0,o.sO)(e,a.Zh,[],null,o.le),!r&&t&&(r=t[i.SD]()[i.W2]());var c=l;l&&l[u]&&(c=l[u]()),f[a.oV]=t,n=(0,s.CD)(r,e,t,c)}function v(){t=!1,f[a.oV]=null,n=null,l=null,d=[],p=(0,c.Y)()}v(),(0,r.Z)(e,f,(function(e){e[i.VL]=function(e,n,r,i){m(e,n,i),t=!0},e[i.fi]=function(t,n){var r,c=e[a.oV];if(c&&(!t||c===t[a.oV]())){var f,h=!1,m=t||(0,s.Bt)(null,c,l&&l[u]?l[u]():l),g=n||((r={reason:0})[i.d]=!1,r);return e[i.F3]&&!0===e[i.F3](m,g,y)?f=!0:y(),f}function y(){if(!h){h=!0,p.run(m,n);var e=d;d=[],(0,o.tO)(e,(function(e){e.rm()})),!0===f&&m[i.uL](g),v()}}},e[i.Tu]=function(t,n){var r=e[a.oV];if(r&&(!t||r===t[a.oV]())){var o,c=!1,p=t||(0,s.xy)(null,r,l&&l[u]?l[u]():l),d=n||{reason:0};return e._doUpdate&&!0===e._doUpdate(p,d,f)?o=!0:f(),o}function f(){c||(c=!0,m(p.getCfg(),p.core(),p[i.W2]()))}},e._addHook=function(e){e&&((0,o.kJ)(e)?d=d.concat(e):d[i.MW](e))},(0,o.Oi)(e,"_addUnloadCb",(function(){return p}),"add")})),f[i.mc]=function(e){return h(e)[i.mc]()},f[i.yl]=function(){return t},f.setInitialized=function(e){t=e},f[i.Jd]=function(e){l=e},f[i.uL]=function(e,t){t?t[i.uL](e):l&&(0,o.mf)(l[a.hL])&&l[a.hL](e,null)},f._getTelCtx=h}return e.__ieDyn=1,e}()},6291:(e,t,n)=>{"use strict";n.d(t,{JP:()=>w,Nz:()=>A,UY:()=>D,kj:()=>S,p7:()=>C});var r=n(3467),i=n(2075),o=n(5559),a=n(986),s=n(9760),c="toGMTString",u="toUTCString",l="cookie",p="expires",d="enabled",f="isCookieUseDisabled",h="disableCookiesUsage",m="_ckMgr",v=null,g=null,y=null,b=(0,o.Me)(),_={},E={};function S(e,t){var n=A[m]||E[m];return n||(n=A[m]=A(e,t),E[m]=n),n}function T(e){return!e||e.isEnabled()}function x(e,t){return!!(t&&e&&(0,a.kJ)(e.ignoreCookies))&&-1!==e.ignoreCookies[r.ou](t)}function w(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var i=t[r.Lk];n=i[m]?i[m]:A(t)}return n||(n=S(t,(e||{})[r.eZ])),n}function A(e,t){var n,i=function(e){var t=e[r.Lk]=e[r.Lk]||{};if((0,a.sO)(t,"domain",e.cookieDomain,a.BX,a.le),(0,a.sO)(t,"path",e.cookiePath||"/",null,a.le),(0,a.le)(t[d])){var n=void 0;(0,a.o8)(e[f])||(n=!e[f]),(0,a.o8)(e[h])||(n=!e[h]),t[d]=n}return t}(e||E),l=i.path||"/",v=i.domain,y=!1!==i[d],b=((n={isEnabled:function(){var e=y&&C(t),n=E[m];return e&&n&&b!==n&&(e=T(n)),e}})[r.$h]=function(e){y=!1!==e},n.set=function(e,t,n,d,f){var h=!1;if(T(b)&&!function(e,t){return!!(t&&e&&(0,a.kJ)(e.blockedCookies)&&-1!==e.blockedCookies[r.ou](t))||x(e,t)}(i,e)){var m={},y=(0,a.nd)(t||s.qS),_=y[r.ou](";");if(-1!==_&&(y=(0,a.nd)(t[r.zc](0,_)),m=I(t[r.zc](_+1))),(0,a.sO)(m,"domain",d||v,a.fQ,a.o8),!(0,a.le)(n)){var E=(0,o.w1)();if((0,a.o8)(m[p])){var S=(0,a.m6)()+1e3*n;if(S>0){var w=new Date;w.setTime(S),(0,a.sO)(m,p,O(w,E?c:u)||O(w,E?c:u)||s.qS,a.fQ)}}E||(0,a.sO)(m,"max-age",s.qS+n,null,a.o8)}var A=(0,o.k$)();A&&"https:"===A.protocol&&((0,a.sO)(m,"secure",null,null,a.o8),null===g&&(g=!D(((0,o.jW)()||{})[r.qV])),g&&(0,a.sO)(m,"SameSite","None",null,a.o8)),(0,a.sO)(m,"path",f||l,null,a.o8),(i.setCookie||N)(e,P(y,m)),h=!0}return h},n.get=function(e){var t=s.qS;return T(b)&&!x(i,e)&&(t=(i.getCookie||R)(e)),t},n.del=function(e,t){var n=!1;return T(b)&&(n=b.purge(e,t)),n},n.purge=function(e,n){var r,a=!1;if(C(t)){var c=((r={}).path=n||"/",r[p]="Thu, 01 Jan 1970 00:00:01 GMT",r);(0,o.w1)()||(c["max-age"]="0"),(i.delCookie||N)(e,P(s.qS,c)),a=!0}return a},n);return b[m]=b,b}function C(e){if(null===v){v=!1;try{v=void 0!==(b||{})[l]}catch(t){(0,i.kP)(e,2,68,"Cannot access document.cookie - "+(0,a.jj)(t),{exception:(0,o.eU)(t)})}}return v}function I(e){var t={};if(e&&e[r.R5]){var n=(0,a.nd)(e)[r.w6](";");(0,a.tO)(n,(function(e){if(e=(0,a.nd)(e||s.qS)){var n=e[r.ou]("=");-1===n?t[e]=null:t[(0,a.nd)(e[r.zc](0,n))]=(0,a.nd)(e[r.zc](n+1))}}))}return t}function O(e,t){return(0,a.mf)(e[t])?e[t]():null}function P(e,t){var n=e||s.qS;return(0,a.rW)(t,(function(e,t){n+="; "+e+((0,a.le)(t)?s.qS:"="+t)})),n}function R(e){var t=s.qS;if(b){var n=b[l]||s.qS;y!==n&&(_=I(n),y=n),t=(0,a.nd)(_[e]||s.qS)}return t}function N(e,t){b&&(b[l]=e+"="+t)}function D(e){return!(!(0,a.HD)(e)||!(0,a._Q)(e,"CPU iPhone OS 12")&&!(0,a._Q)(e,"iPad; CPU OS 12")&&!((0,a._Q)(e,"Macintosh; Intel Mac OS X 10_14")&&(0,a._Q)(e,"Version/")&&(0,a._Q)(e,"Safari"))&&(!(0,a._Q)(e,"Macintosh; Intel Mac OS X 10_14")||!(0,a.Id)(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!(0,a._Q)(e,"Chrome/5")&&!(0,a._Q)(e,"Chrome/6")&&(!(0,a._Q)(e,"UnrealEngine")||(0,a._Q)(e,"Chrome"))&&!(0,a._Q)(e,"UCBrowser/12")&&!(0,a._Q)(e,"UCBrowser/11"))}},2281:(e,t,n)=>{"use strict";n.d(t,{DO:()=>m,GW:()=>f,Jj:()=>h,zB:()=>g});var r,i=n(1784),o=n(3467),a=n(6291),s=n(5559),c=n(8422),u=n(986),l=n(9760),p=n(7042),d=null;function f(){var e=m();return e[o.zc](0,8)+"-"+e[o.zc](8,12)+"-"+e[o.zc](12,16)+"-"+e[o.zc](16,20)+"-"+e[o.zc](20)}function h(){var e=(0,s.r)();return e&&e.now?e.now():(0,u.m6)()}function m(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=l.qS,r=0;r<4;r++)n+=t[15&(e=(0,p._l)())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&(0,p._l)())|0];return n[o.Jn](0,8)+n[o.Jn](9,4)+"4"+n[o.Jn](13,3)+i+n[o.Jn](16,3)+n[o.Jn](19,12)}var v={_canUseCookies:void 0,isTypeof:u.Ym,isUndefined:u.o8,isNullOrUndefined:u.le,hasOwnProperty:u.nr,isFunction:u.mf,isObject:u.Kn,isDate:u.J_,isArray:u.kJ,isError:u.VZ,isString:u.HD,isNumber:u.hj,isBoolean:u.jn,toISOString:u.Y6,arrForEach:u.tO,arrIndexOf:u.UA,arrMap:u.Mr,arrReduce:u.Xz,strTrim:u.nd,objCreate:i.pu,objKeys:u.FY,objDefineAccessors:u.l_,addEventHandler:c.Ib,dateNow:u.m6,isIE:s.w1,disableCookies:function(){var e,t,n,i;(n=(0,a.kj)(e,t),i=v._canUseCookies,null===d&&(d=[],r=i,(0,u.l_)(v,"_canUseCookies",(function(){return r}),(function(e){r=e,(0,u.tO)(d,(function(t){t[o.$h](e)}))}))),-1===(0,u.UA)(d,n)&&d[o.MW](n),(0,u.jn)(i)&&n[o.$h](i),(0,u.jn)(r)&&n[o.$h](r),n)[o.$h](!1)},newGuid:f,perfNow:h,newId:p.pZ,randomValue:p.az,random32:p._l,mwcRandomSeed:p.CN,mwcRandom32:p.F6,generateW3CId:m},g={Attach:c.pZ,AttachEvent:c.pZ,Detach:c.pD,DetachEvent:c.pD}},5282:(e,t,n)=>{"use strict";n.d(t,{J:()=>f,K:()=>h});var r=n(8526),i=n(3467),o=n(986),a=n(9760),s=n(7042),c=r.RJ,u="2.8.18",l="."+(0,s.pZ)(6),p=0;function d(e){return 1===e[i.xv]||9===e[i.xv]||!+e[i.xv]}function f(e,t){return void 0===t&&(t=!1),(0,o.Gf)(e+p+++(t?"."+u:a.qS)+l)}function h(e){var t={id:f("_aiData-"+(e||a.qS)+"."+u),accept:function(e){return d(e)},get:function(e,n,r,i){var a=e[t.id];return a?a[(0,o.Gf)(n)]:(i&&((a=function(e,t){var n=t[e.id];if(!n){n={};try{d(t)&&(function(e,t,n){if(c)try{return c(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch(e){}return!1}(t,e.id,n)||(t[e.id]=n))}catch(e){}}return n}(t,e))[(0,o.Gf)(n)]=r),r)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}},4559:(e,t,n)=>{"use strict";n.d(t,{j:()=>u,p:()=>l});var r,i=n(3467),o=n(5559),a=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],s=null;function c(e,t){return function(){var n=arguments,r=u(t);if(r){var o=r.listener;o&&o[e]&&o[e][i.ZV](o,n)}}}function u(e){var t,n=s;return n||!0===e.disableDbgExt||(n=s||((t=(0,o.a8)("Microsoft"))&&(s=t.ApplicationInsights),s)),n?n.ChromeDbgExt:null}function l(e){if(!r){r={};for(var t=0;t{"use strict";n.d(t,{AQ:()=>f,L4:()=>g,jV:()=>v,kP:()=>m,lQ:()=>p,vH:()=>d});var r=n(1976),i=n(3467),o=n(4559),a=n(5559),s=n(986),c=n(9760);function u(e){return e?'"'+e[i.i7](/\"/g,c.qS)+'"':c.qS}function l(e,t){var n=(0,a.dr)();if(n){var r="log";n[e]&&(r=e),(0,s.mf)(n[r])&&n[r](t)}}var p=function(){function e(e,t,n,r){void 0===n&&(n=!1);var o=this;o[i.Gc]=e,o[i.gU]=(n?"AI: ":"AI (Internal): ")+e;var s=c.qS;(0,a.nS)()&&(s=(0,a.xA)().stringify(r));var l=(t?" message:"+u(t):c.qS)+(r?" props:"+u(s):c.qS);o[i.gU]+=l}return e.dataType="MessageData",e}();function d(e,t){return(e||{})[i.eZ]||new f(t)}var f=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,u,d,f,h=0,m={};(0,r.Z)(e,this,(function(e){function r(t,n){if(!(h>=d)){var r=!0,o="AITR_"+n[i.Gc];if(m[o]?r=!1:m[o]=!0,r&&(t<=u&&(e.queue[i.MW](n),h++,v(1===t?"error":"warn",n)),h===d)){var a="Internal events throttle limit per PageView reached for this app.",s=new p(23,a,!1);e.queue[i.MW](s),1===t?e[c.ys](a):e[c.cL](a)}}}function v(e,n){var r=(0,o.j)(t||{});r&&r[i.mc]&&r[i.mc](e,n)}!function(e){n=(0,s.v4)(e.loggingLevelConsole,0),u=(0,s.v4)(e.loggingLevelTelemetry,1),d=(0,s.v4)(e.maxMessageLimit,25),f=(0,s.v4)(e.enableDebug,(0,s.v4)(e[i.Fr],!1))}(t||{}),e.consoleLoggingLevel=function(){return n},e.telemetryLoggingLevel=function(){return u},e.maxInternalMessageLimit=function(){return d},e[i.Fr]=function(){return f},e.throwInternal=function(t,o,u,l,d){void 0===d&&(d=!1);var h=new p(o,u,d,l);if(f)throw(0,a.eU)(h);var g=1===t?c.ys:c.cL;if((0,s.o8)(h[i.gU]))v("throw"+(1===t?"Critical":"Warning"),h);else{if(d){var y=+h[i.Gc];!m[y]&&n>=t&&(e[g](h[i.gU]),m[y]=!0)}else n>=t&&e[g](h[i.gU]);r(t,h)}},e[c.cL]=function(e){l("warn",e),v("warning",e)},e[c.ys]=function(e){l("error",e),v("error",e)},e.resetInternalMessageCount=function(){h=0,m={}},e[i.jk]=r}))}return e.__ieDyn=1,e}();function h(e){return e||new f}function m(e,t,n,r,i,o){void 0===o&&(o=!1),h(e).throwInternal(t,n,r,i,o)}function v(e,t){h(e)[c.cL](t)}function g(e,t,n){h(e)[i.jk](t,n)}},5559:(e,t,n)=>{"use strict";n.d(t,{JO:()=>J,Jj:()=>N,MF:()=>X,MX:()=>G,Me:()=>k,Nv:()=>D,Ym:()=>R,Z3:()=>Z,a8:()=>P,b$:()=>$,cp:()=>Q,d6:()=>L,dI:()=>O,dr:()=>B,eU:()=>Y,ed:()=>te,fE:()=>j,gz:()=>z,jW:()=>M,k$:()=>F,nS:()=>q,pI:()=>ne,r:()=>H,s1:()=>U,sA:()=>K,w1:()=>W,xA:()=>V});var r=n(8526),i=n(1784),o=n(3467),a=n(986),s=n(9760),c="window",u="document",l="documentMode",p="navigator",d="history",f="location",h="console",m="performance",v="JSON",g="crypto",y="msCrypto",b="ReactNative",_="msie",E="trident/",S="XMLHttpRequest",T=null,x=null,w=!1,A=null,C=null;function I(e,t){var n=!1;if(e){try{if(!(n=t in e)){var i=e[r.hB];i&&(n=t in i)}}catch(e){}if(!n)try{var o=new e;n=!(0,a.o8)(o[t])}catch(e){}}return n}function O(e){w=e}function P(e){var t=(0,i.Rd)();return t&&t[e]?t[e]:e===c&&R()?window:null}function R(){return Boolean(typeof window===r.fK&&window)}function N(){return R()?window:P(c)}function D(){return Boolean(typeof document===r.fK&&document)}function k(){return D()?document:P(u)}function L(){return Boolean(typeof navigator===r.fK&&navigator)}function M(){return L()?navigator:P(p)}function j(){return Boolean(typeof history===r.fK&&history)}function U(){return j()?history:P(d)}function F(e){if(e&&w){var t=P("__mockLocation");if(t)return t}return typeof location===r.fK&&location?location:P(f)}function B(){return typeof console!==r.jA?console:P(h)}function H(){return P(m)}function q(){return Boolean(typeof JSON===r.fK&&JSON||null!==P(v))}function V(){return q()?JSON||P(v):null}function G(){return P(g)}function z(){return P(y)}function $(){var e=M();return!(!e||!e.product)&&e.product===b}function W(){var e=M();if(e&&(e[o.qV]!==x||null===T)){var t=((x=e[o.qV])||s.qS)[o.T1]();T=(0,a._Q)(t,_)||(0,a._Q)(t,E)}return T}function K(e){if(void 0===e&&(e=null),!e){var t=M()||{};e=t?(t[o.qV]||s.qS)[o.T1]():s.qS}var n=(e||s.qS)[o.T1]();if((0,a._Q)(n,_)){var r=k()||{};return Math.max(parseInt(n[o.w6](_)[1]),r[l]||0)}if((0,a._Q)(n,E)){var i=parseInt(n[o.w6](E)[1]);if(i)return i+4}return null}function Y(e){var t=Object[r.hB].toString[o._S](e),n=s.qS;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[o.I]+"'":q()&&(n=V().stringify(e)),t+n}function X(){return null===C&&(C=L()&&Boolean(M().sendBeacon)),C}function J(e){var t=!1;try{t=!!P("fetch");var n=P("Request");t&&e&&n&&(t=I(n,"keepalive"))}catch(e){}return t}function Q(){return null===A&&(A=typeof XDomainRequest!==r.jA)&&Z()&&(A=A&&!I(P(S),"withCredentials")),A}function Z(){var e=!1;try{e=!!P(S)}catch(e){}return e}function ee(e,t){if(e)for(var n=0;n0?r[0]:{}).serverTiming,e).description}return t}},8422:(e,t,n)=>{"use strict";n.d(t,{C1:()=>U,C9:()=>z,Ib:()=>j,JA:()=>V,QY:()=>k,TJ:()=>G,XO:()=>D,Yl:()=>W,c9:()=>q,jU:()=>N,nD:()=>$,nJ:()=>H,pD:()=>M,pZ:()=>L,um:()=>I,yw:()=>B});var r=n(3467),i=n(5282),o=n(5559),a=n(986),s=n(9760),c="on",u="attachEvent",l="addEventListener",p="detachEvent",d="removeEventListener",f="events",h="visibilitychange",m="pagehide",v="pageshow",g="unload",y="beforeunload",b=(0,i.J)("aiEvtPageHide"),_=(0,i.J)("aiEvtPageShow"),E=/\.[\.]+/g,S=/[\.]+$/,T=1,x=(0,i.K)("events"),w=/^([^.]*)(?:\.(.+)|)/;function A(e){return e&&e[r.i7]?e[r.i7](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,s.qS):e}function C(e,t){var n;if(t){var i=s.qS;(0,a.kJ)(t)?(i=s.qS,(0,a.tO)(t,(function(e){(e=A(e))&&("."!==e[0]&&(e="."+e),i+=e)}))):i=A(t),i&&("."!==i[0]&&(i="."+i),e=(e||s.qS)+i)}var o=w.exec(e||s.qS)||[];return(n={})[r.P6]=o[1],n.ns=(o[2]||s.qS).replace(E,".").replace(S,s.qS)[r.w6](".").sort().join("."),n}function I(e,t,n){var i=[],o=x.get(e,f,{},!1),c=C(t,n);return(0,a.rW)(o,(function(e,t){(0,a.tO)(t,(function(e){var t;c[r.P6]&&c[r.P6]!==e.evtName[r.P6]||c.ns&&c.ns!=c.ns||i[r.MW](((t={})[r.I]=e.evtName[r.P6]+(e.evtName.ns?"."+e.evtName.ns:s.qS),t.handler=e[r.Kn],t))}))})),i}function O(e,t,n){void 0===n&&(n=!0);var r=x.get(e,f,{},n),i=r[t];return i||(i=r[t]=[]),i}function P(e,t,n,i){e&&t&&t[r.P6]&&(e[d]?e[d](t[r.P6],n,i):e[p]&&e[p](c+t[r.P6],n))}function R(e,t,n,i){for(var o=t[r.R5];o--;){var a=t[o];a&&(n.ns&&n.ns!==a.evtName.ns||i&&!i(a)||(P(e,a.evtName,a[r.Kn],a.capture),t[r.cb](o,1)))}}function N(e,t){return t?C("xx",(0,a.kJ)(t)?[e].concat(t):[e,t]).ns[r.w6]("."):e}function D(e,t,n,i,o){var a;void 0===o&&(o=!1);var s=!1;if(e)try{var p=C(t,i);if(s=function(e,t,n,i){var o=!1;return e&&t&&t[r.P6]&&n&&(e[l]?(e[l](t[r.P6],n,i),o=!0):e[u]&&(e[u](c+t[r.P6],n),o=!0)),o}(e,p,n,o),s&&x.accept(e)){var d=((a={guid:T++,evtName:p})[r.Kn]=n,a.capture=o,a);O(e,p.type)[r.MW](d)}}catch(e){}return s}function k(e,t,n,i,o){if(void 0===o&&(o=!1),e)try{var s=C(t,i),c=!1;!function(e,t,n){if(t[r.P6])R(e,O(e,t[r.P6]),t,n);else{var i=x.get(e,f,{});(0,a.rW)(i,(function(r,i){R(e,i,t,n)})),0===(0,a.FY)(i)[r.R5]&&x.kill(e,f)}}(e,s,(function(e){return!((!s.ns||n)&&e[r.Kn]!==n||(c=!0,0))})),c||P(e,s,n,o)}catch(e){}}function L(e,t,n,r){return void 0===r&&(r=!1),D(e,t,n,null,r)}function M(e,t,n,r){void 0===r&&(r=!1),k(e,t,n,null,r)}function j(e,t,n){var r=!1,i=(0,o.Jj)();i&&(r=D(i,e,t,n),r=D(i.body,e,t,n)||r);var a=(0,o.Me)();return a&&(r=D(a,e,t,n)||r),r}function U(e,t,n){var r=(0,o.Jj)();r&&(k(r,e,t,n),k(r.body,e,t,n));var i=(0,o.Me)();i&&k(i,e,t,n)}function F(e,t,n,i){var o=!1;return t&&e&&e[r.R5]>0&&(0,a.tO)(e,(function(e){e&&(n&&-1!==(0,a.UA)(n,e)||(o=j(e,t,i)||o))})),o}function B(e,t,n,i){var o=!1;return t&&e&&(0,a.kJ)(e)&&!(o=F(e,t,n,i))&&n&&n[r.R5]>0&&(o=F(e,t,null,i)),o}function H(e,t,n){e&&(0,a.kJ)(e)&&(0,a.tO)(e,(function(e){e&&U(e,t,n)}))}function q(e,t,n){return B([y,g,m],e,t,n)}function V(e,t){H([y,g,m],e,t)}function G(e,t,n){var r=N(b,n),i=F([m],e,t,r);return t&&-1!==(0,a.UA)(t,h)||(i=F([h],(function(t){var n=(0,o.Me)();e&&n&&"hidden"===n.visibilityState&&e(t)}),t,r)||i),!i&&t&&(i=G(e,null,n)),i}function z(e,t){var n=N(b,t);H([m],e,n),H([h],null,n)}function $(e,t,n){var r=N(_,n),i=F([v],e,t,r);return!(i=F([h],(function(t){var n=(0,o.Me)();e&&n&&"visible"===n.visibilityState&&e(t)}),t,r)||i)&&t&&(i=$(e,null,n)),i}function W(e,t){var n=N(_,t);H([v],e,n),H([h],null,n)}},986:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>we,BX:()=>j,F:()=>ye,FL:()=>pe,FY:()=>se,Gf:()=>H,HD:()=>Y,Id:()=>V,J_:()=>$,Kn:()=>F,Mr:()=>ne,Oi:()=>Te,UA:()=>te,VZ:()=>K,Vb:()=>xe,Xi:()=>de,Xz:()=>re,Y6:()=>Z,Ym:()=>k,_A:()=>le,_Q:()=>z,_y:()=>_e,cf:()=>Se,fQ:()=>be,hj:()=>X,jj:()=>he,jn:()=>J,kJ:()=>W,l_:()=>ce,le:()=>M,m6:()=>fe,mf:()=>B,mm:()=>Ae,nd:()=>ie,nr:()=>U,o8:()=>L,qK:()=>ve,rW:()=>q,sO:()=>me,tO:()=>ee,v4:()=>ge,xe:()=>G});var r=n(8526),i=n(1784),o=n(3467),a=n(9760),s="toISOString",c="endsWith",u="startsWith",l="indexOf",p="map",d="reduce",f="trim",h="toString",m="__proto__",v="constructor",g=r.RJ,y=r.Pw.freeze,b=r.Pw.seal,_=r.Pw.keys,E=String[r.hB],S=E[f],T=E[c],x=E[u],w=Date[r.hB][s],A=Array.isArray,C=r.V4[h],I=r.CY[h],O=I[o._S](r.Pw),P=/-([a-z])/g,R=/([^\w\d_$])/g,N=/^(\d+[\w\d_$])/,D=Object.getPrototypeOf;function k(e,t){return typeof e===t}function L(e){return void 0===e||typeof e===r.jA}function M(e){return null===e||L(e)}function j(e){return!M(e)}function U(e,t){return!(!e||!r.CY[o._S](e,t))}function F(e){return!(!e||typeof e!==r.fK)}function B(e){return!(!e||typeof e!==r.cb)}function H(e){var t=e;return t&&Y(t)&&(t=(t=(t=t[o.i7](P,(function(e,t){return t.toUpperCase()})))[o.i7](R,"_"))[o.i7](N,(function(e,t){return"_"+t}))),t}function q(e,t){if(e)for(var n in e)r.CY[o._S](e,n)&&t[o._S](e,n,e[n])}function V(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=T?e[c](t):function(e,t){var n=!1,r=t?t[o.R5]:0,i=e?e[o.R5]:0;if(r&&i&&i>=r&&!(n=e===t)){for(var a=i-1,s=r-1;s>=0;s--){if(e[a]!=t[s])return!1;a--}n=!0}return n}(e,t)),n}function G(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=x?e[u](t):function(e,t){var n=!1,r=t?t[o.R5]:0;if(e&&r&&e[o.R5]>=r&&!(n=e===t)){for(var i=0;i=0?i:r-Math.abs(i),0);a=3)r=arguments[2];else{for(;a0&&J(u)&&(p=u,u=c[d]||{},d++),F(u)||(u={});d{"use strict";n.d(t,{$F:()=>f,C$:()=>m,DN:()=>a,Z:()=>i,Zh:()=>c,cL:()=>g,f_:()=>h,hL:()=>l,js:()=>u,kl:()=>y,mE:()=>s,oV:()=>o,qS:()=>r,uC:()=>d,yi:()=>p,ys:()=>v});var r="",i="channels",o="core",a="createPerfMgr",s="disabled",c="extensionConfig",u="extensions",l="processTelemetry",p="priority",d="eventsSent",f="eventsDiscarded",h="eventsSendRequest",m="perfEvent",v="errorToConsole",g="warnToConsole",y="getPerfMgr"},9430:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>d,Lm:()=>h,j5:()=>m,zn:()=>p});var r=n(1976),i=n(3467),o=n(986),a=n(9760),s="ctx",c="ParentContextKey",u="ChildrenContextKey",l=null,p=function(){function e(t,n,r){var a,l=this,p=!1;l.start=(0,o.m6)(),l[i.I]=t,l[i.d]=r,l[i.PL]=function(){return!1},(0,o.mf)(n)&&(p=(0,o.l_)(l,"payload",(function(){return!a&&(0,o.mf)(n)&&(a=n(),n=null),a}))),l[i.T]=function(t){return t?t===e[c]||t===e[u]?l[t]:(l[s]||{})[t]:null},l[i.wu]=function(t,n){t&&(t===e[c]?(l[t]||(l[i.PL]=function(){return!0}),l[t]=n):t===e[u]?l[t]=n:(l[s]=l[s]||{})[t]=n)},l[i.Km]=function(){var t=0,r=l[i.T](e[u]);if((0,o.kJ)(r))for(var a=0;a{"use strict";n.d(t,{Bt:()=>v,CD:()=>m,Vi:()=>b,jV:()=>y,xy:()=>g});var r=n(3467),i=n(2075),o=n(5559),a=n(986),s=n(9760),c=n(9430),u=n(1616),l="TelemetryPluginChain",p="_hasRun",d="_getTelCtx",f=0;function h(e,t,n,c){var u=null,l=[];null!==c&&(u=c?function(e,t,n){for(;e;){if(e[r.TO]()===n)return e;e=e[r.W2]()}return y([n],t[r.TC]||{},t)}(e,n,c):e);var p={_next:function(){var e=u;if(u=e?e[r.W2]():null,!e){var t=l;t&&t[r.R5]>0&&((0,a.tO)(t,(function(e){try{e.func[r._S](e.self,e.args)}catch(e){(0,i.kP)(n[r.eZ],2,73,"Unexpected Exception during onComplete - "+(0,o.eU)(e))}})),l=[])}return e},ctx:{core:function(){return n},diagLog:function(){return(0,i.vH)(n,t)},getCfg:function(){return t},getExtCfg:d,getConfig:function(e,n,r){void 0===r&&(r=!1);var i,o=d(e,null);return o&&!(0,a.le)(o[n])?i=o[n]:t&&!(0,a.le)(t[n])&&(i=t[n]),(0,a.le)(i)?r:i},hasNext:function(){return!!u},getNext:function(){return u},setNext:function(e){u=e},iterate:function(e){for(var t;t=p._next();){var n=t[r.TO]();n&&e(n)}},onComplete:function(e,t){for(var n=[],i=2;i0){var b=null;(0,a.tO)(e,(function(e){if(g||h!==e||(g=!0),g&&e&&(0,a.mf)(e[s.hL])){var y=function(e,t,n){var h,v=null,g=(0,a.mf)(e[s.hL]),y=(0,a.mf)(e[r.Jd]),b={getPlugin:function(){return e},getNext:function(){return v},processTelemetry:function(i,o){_(o=o||function(){var r;return e&&(0,a.mf)(e[d])&&(r=e[d]()),r||(r=m(b,t,n)),r}(),(function(t){if(!e||!g)return!1;var n=(0,u.OY)(e);return!n[r.fi]&&!n[s.mE]&&(y&&e[r.Jd](v),e[s.hL](i,t),!0)}),"processTelemetry",(function(){return{item:i}}),!i.sync)||o[r.uL](i)},unload:function(t,n){_(t,(function(){var i=!1;if(e){var o=(0,u.OY)(e),a=e[s.oV]||o[s.oV];!e||a&&a!==t.core()||o[r.fi]||(o[s.oV]=null,o[r.fi]=!0,o[r.yl]=!1,e[r.fi]&&!0===e[r.fi](t,n)&&(i=!0))}return i}),"unload",(function(){}),n[r.d])||t[r.uL](n)},update:function(t,n){_(t,(function(){var i=!1;if(e){var o=(0,u.OY)(e),a=e[s.oV]||o[s.oV];!e||a&&a!==t.core()||o[r.fi]||e[r.Tu]&&!0===e[r.Tu](t,n)&&(i=!0)}return i}),"update",(function(){}),!1)||t[r.uL](n)},_id:h=e?e[r.pZ]+"-"+e[s.yi]+"-"+f++:"Unknown-0-"+f++,_setNext:function(e){v=e}};function _(t,n,a,u,d){var f=!1,m=e?e[r.pZ]:l,g=t[p];return g||(g=t[p]={}),t.setNext(v),e&&(0,c.Lm)(t[s.oV](),(function(){return m+":"+a}),(function(){g[h]=!0;try{var e=v?v._id:s.qS;e&&(g[e]=!1),f=n(t)}catch(e){var c=!v||g[v._id];c&&(f=!0),v&&c||(0,i.kP)(t[r.mc](),1,73,"Plugin ["+m+"] failed during "+a+" - "+(0,o.eU)(e)+", run flags: "+(0,o.eU)(g))}}),u,d),f}return(0,a.FL)(b)}(e,t,n);v||(v=y),b&&b._setNext(y),b=y}}))}return h&&!v?y([h],t,n):v}var b=function(e,t,n,r){var i=m(e,t,n,r);(0,a.Vb)(this,i,(0,a.FY)(i))}},7042:(e,t,n)=>{"use strict";n.d(t,{CN:()=>v,F6:()=>g,_l:()=>m,az:()=>h,pZ:()=>y});var r=n(3467),i=n(5559),o=n(986),a=n(9760),s=4294967296,c=4294967295,u=!1,l=123456789,p=987654321;function d(e){e<0&&(e>>>=0),l=123456789+e&c,p=987654321-e&c,u=!0}function f(){try{var e=2147483647&(0,o.m6)();d((Math.random()*s^e)+e)}catch(e){}}function h(e){return e>0?Math.floor(m()/c*(e+1))>>>0:0}function m(e){var t=0,n=(0,i.MX)()||(0,i.gz)();return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&c),0===t&&(0,i.w1)()&&(u||f(),t=g()&c),0===t&&(t=Math.floor(s*Math.random()|0)),e||(t>>>=0),t}function v(e){e?d(e):f()}function g(e){var t=((p=36969*(65535&p)+(p>>16)&c)<<16)+(65535&(l=18e3*(65535&l)+(l>>16)&c))>>>0&c|0;return e||(t>>>=0),t}function y(e){void 0===e&&(e=22);for(var t=m()>>>0,n=0,i=a.qS;i[r.R5]>>=6,5===n&&(t=(m()<<2&4294967295|3&t)>>>0,n=0);return i}},1616:(e,t,n)=>{"use strict";n.d(t,{AA:()=>p,OY:()=>u,Yn:()=>d,bP:()=>l});var r=n(3467),i=n(5282),o=n(986),a=n(9760),s=n(870),c=(0,i.K)("plugin");function u(e){return c.get(e,"state",{},!0)}function l(e,t){for(var n,i=[],s=null,c=e[r.W2]();c;){var l=c[r.TO]();l&&(s&&(0,o.mf)(s[r.Jd])&&(0,o.mf)(l[a.hL])&&s[r.Jd](l),((0,o.mf)(l[r.yl])?l[r.yl]():(n=u(l))[r.yl])||i[r.MW](l),s=l,c=c[r.W2]())}(0,o.tO)(i,(function(i){var o=e[a.oV]();i[r.VL](e.getCfg(),o,t,e[r.W2]()),n=u(i),i[a.oV]||n[a.oV]||(n[a.oV]=o),n[r.yl]=!0,delete n[r.fi]}))}function p(e){return e.sort((function(e,t){var n=0;if(t){var r=(0,o.mf)(t[a.hL]);(0,o.mf)(e[a.hL])?n=r?e[a.yi]-t[a.yi]:1:r&&(n=-1)}else n=e?1:-1;return n}))}function d(e){var t={};return{getName:function(){return t[r.I]},setName:function(n){e&&e.setName(n),t[r.I]=n},getTraceId:function(){return t[r.nY]},setTraceId:function(n){e&&e.setTraceId(n),(0,s.jN)(n)&&(t[r.nY]=n)},getSpanId:function(){return t[r._d]},setSpanId:function(n){e&&e.setSpanId(n),(0,s.Lc)(n)&&(t[r._d]=n)},getTraceFlags:function(){return t[r.T0]},setTraceFlags:function(n){e&&e.setTraceFlags(n),t[r.T0]=n}}}},6038:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var r=n(3467),i=n(2075),o=n(5559),a=n(986);function s(){var e=[];return{add:function(t){t&&e[r.MW](t)},run:function(t,n){(0,a.tO)(e,(function(e){try{e(t,n)}catch(e){(0,i.kP)(t[r.mc](),2,73,"Unexpected error calling unload handler - "+(0,o.eU)(e))}})),e=[]}}}},870:(e,t,n)=>{"use strict";n.d(t,{J6:()=>E,Lc:()=>_,Pn:()=>S,SU:()=>g,aR:()=>T,jN:()=>b,j_:()=>y,lq:()=>x});var r=n(3467),i=n(2281),o=n(5559),a=n(986),s=n(9760),c=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]{1,64})?$/i,u="00",l="ff",p="00000000000000000000000000000000",d="0000000000000000",f=1;function h(e,t,n){return!(!e||e[r.R5]!==t||e===n||!e.match(/^[\da-f]*$/i))}function m(e,t,n){return h(e,t)?e:n}function v(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[r.R5]<2;)t="0"+t;return t}function g(e,t,n,o){var a;return(a={})[r.PA]=h(o,2,l)?o:u,a[r.nY]=b(e)?e:(0,i.DO)(),a.spanId=_(t)?t:(0,i.DO)()[r.Jn](0,16),a.traceFlags=n>=0&&n<=255?n:1,a}function y(e,t){var n;if(!e)return null;if((0,a.kJ)(e)&&(e=e[0]||""),!e||!(0,a.HD)(e)||e[r.R5]>8192)return null;if(-1!==e[r.ou](",")){var i=e[r.w6](",");e=i[t>0&&i[r.R5]>t?t:0]}var o=c.exec((0,a.nd)(e));return o&&o[1]!==l&&o[2]!==p&&o[3]!==d?((n={version:(o[1]||s.qS)[r.T1](),traceId:(o[2]||s.qS)[r.T1](),spanId:(o[3]||s.qS)[r.T1]()})[r.T0]=parseInt(o[4],16),n):null}function b(e){return h(e,32,p)}function _(e){return h(e,16,d)}function E(e){return!!(e&&h(e[r.PA],2,l)&&h(e[r.nY],32,p)&&h(e[r._d],16,d)&&h(v(e[r.T0]),2))}function S(e){return!!E(e)&&(e[r.T0]&f)===f}function T(e){if(e){var t=v(e[r.T0]);h(t,2)||(t="01");var n=e[r.PA]||u;return"00"!==n&&"ff"!==n&&(n=u),"".concat(n.toLowerCase(),"-").concat(m(e.traceId,32,p).toLowerCase(),"-").concat(m(e.spanId,16,d).toLowerCase(),"-").concat(t.toLowerCase())}return""}function x(e){var t="traceparent",n=y((0,o.ed)(t),e);return n||(n=y((0,o.pI)(t),e)),n}},3467:(e,t,n)=>{"use strict";n.d(t,{$h:()=>F,F3:()=>I,Fc:()=>b,Fr:()=>G,Gc:()=>w,I:()=>i,Jd:()=>N,Jn:()=>B,Km:()=>ee,Kn:()=>Y,LS:()=>y,Lk:()=>k,MW:()=>s,P6:()=>K,PA:()=>ie,PL:()=>J,R5:()=>d,SD:()=>m,T:()=>Q,T0:()=>re,T1:()=>$,TC:()=>u,TO:()=>_,Tu:()=>O,VL:()=>r,W2:()=>P,ZV:()=>q,Z_:()=>f,_S:()=>W,_d:()=>ne,cb:()=>T,d:()=>C,dE:()=>X,eZ:()=>p,fi:()=>x,g:()=>v,gU:()=>A,i7:()=>V,iC:()=>S,jk:()=>z,kL:()=>E,mc:()=>R,n7:()=>g,nY:()=>te,ou:()=>L,p$:()=>l,pZ:()=>a,qV:()=>j,tb:()=>o,uL:()=>h,w6:()=>U,wu:()=>Z,xv:()=>H,yl:()=>c,zV:()=>D,zc:()=>M});var r="initialize",i="name",o="getNotifyMgr",a="identifier",s="push",c="isInitialized",u="config",l="instrumentationKey",p="logger",d="length",f="time",h="processNext",m="getProcessTelContext",v="addNotificationListener",g="removeNotificationListener",y="stopPollingInternalLogs",b="onComplete",_="getPlugin",E="flush",S="_extensions",T="splice",x="teardown",w="messageId",A="message",C="isAsync",I="_doTeardown",O="update",P="getNext",R="diagLog",N="setNextPlugin",D="createNew",k="cookieCfg",L="indexOf",M="substring",j="userAgent",U="split",F="setEnabled",B="substr",H="nodeType",q="apply",V="replace",G="enableDebugExceptions",z="logInternalMessage",$="toLowerCase",W="call",K="type",Y="handler",X="listeners",J="isChildEvt",Q="getCtx",Z="setCtx",ee="complete",te="traceId",ne="spanId",re="traceFlags",ie="version"},8526:(e,t,n)=>{"use strict";n.d(t,{CY:()=>f,Pw:()=>c,RJ:()=>d,V4:()=>u,bO:()=>s,cb:()=>r,fK:()=>i,hB:()=>a,jA:()=>o,rl:()=>l,yu:()=>p});var r="function",i="object",o="undefined",a="prototype",s="hasOwnProperty",c=Object,u=c[a],l=c.assign,p=c.create,d=c.defineProperty,f=u[s]},1784:(e,t,n)=>{"use strict";n.d(t,{Rd:()=>o,ZU:()=>a,pu:()=>s});var r=n(8526),i=null;function o(e){void 0===e&&(e=!0);var t=!1===e?null:i;return t||(typeof globalThis!==r.jA&&(t=globalThis),t||typeof self===r.jA||(t=self),t||typeof window===r.jA||(t=window),t||typeof global===r.jA||(t=global),i=t),t}function a(e){throw new TypeError(e)}function s(e){var t=r.yu;if(t)return t(e);if(null==e)return{};var n=typeof e;function i(){}return n!==r.fK&&n!==r.cb&&a("Object prototype may only be an Object:"+e),i[r.hB]=e,new i}},5806:(e,t,n)=>{"use strict";n.d(t,{$h:()=>c,ne:()=>s,uc:()=>o});var r=n(8526),i=n(1784),o=(((0,i.Rd)()||{}).Symbol,((0,i.Rd)()||{}).Reflect,r.rl||function(e){for(var t,n=1,i=arguments.length;n{"use strict";var r;n.d(t,{Z:()=>F});var i,o="undefined",a="constructor",s="prototype",c="function",u="_dynInstFuncs",l="_isDynProxy",p="_dynClass",d="_dynCls$",f="_dynInstChk",h=f,m="_dfOpts",v="_unknown_",g="__proto__",y="_dyn"+g,b="__dynProto$Gbl",_="_dynInstProto",E="useBaseInst",S="setInstFuncs",T=Object,x=T.getPrototypeOf,w=T.getOwnPropertyNames,A=(typeof globalThis!==o&&(i=globalThis),i||typeof self===o||(i=self),i||typeof window===o||(i=window),i||typeof global===o||(i=global),i||{}),C=A[b]||(A[b]={o:(r={},r[S]=!0,r[E]=!0,r),n:1e3});function I(e,t){return e&&T[s].hasOwnProperty.call(e,t)}function O(e){return e&&(e===T[s]||e===Array[s])}function P(e){return O(e)||e===Function[s]}function R(e){var t;if(e){if(x)return x(e);var n=e[g]||e[s]||(e[a]?e[a][s]:null);t=e[y]||n,I(e,y)||(delete e[_],t=e[y]=e[_]||e[y],e[_]=n)}return t}function N(e,t){var n=[];if(w)n=w(e);else for(var r in e)"string"==typeof r&&I(e,r)&&n.push(r);if(n&&n.length>0)for(var i=0;i=0;n--)if(e[n]===t)return!0;return!1}function j(e,t,n,r,i){if(!O(e)){var o=n[u]=n[u]||L();if(!O(o)){var a=o[t]=o[t]||L();!1!==o[h]&&(o[h]=!!i),O(a)||N(n,(function(t){D(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!I(e,t)||e[t]&&!e[t][l])&&(e[t]=function(e,t){var n=function(){var r=function(e,t,n,r){var i=null;if(e&&I(n,p)){var o=e[u]||L();if((i=(o[n[p]]||L())[t])||k("Missing ["+t+"] "+c),!i[f]&&!1!==o[h]){for(var a=!I(e,t),s=R(e),l=[];a&&s&&!P(s)&&!M(l,s);){var d=s[t];if(d){a=d===r;break}l.push(s),s=R(s)}try{a&&(e[t]=i),i[f]=1}catch(e){o[h]=!1}}}return i}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=R(t)[e]),typeof r!==c&&k("["+e+"] is not a "+c),r}(t,e,n);return r.apply(this,arguments)};return n[l]=1,n}(e,t)))}))}}}function U(e,t){return I(e,s)?e.name||t||v:((e||{})[a]||{}).name||t||v}function F(e,t,n,r){I(e,s)||k("theClass is an invalid class definition.");var i=e[s];(function(e,t){if(x){for(var n=[],r=R(t);r&&!P(r)&&!M(n,r);){if(r===e)return!0;n.push(r),r=R(r)}return!1}return!0})(i,t)||k("["+U(e)+"] not in hierarchy of ["+U(t)+"]");var o=null;I(i,p)?o=i[p]:(o=d+U(e,"_")+"$"+C.n,C.n++,i[p]=o);var a=F[m],c=!!a[E];c&&r&&void 0!==r[E]&&(c=!!r[E]);var f=function(e){var t=L();return N(e,(function(n){!t[n]&&D(e,n,!1)&&(t[n]=e[n])})),t}(t),v=function(e,t,n,r){function i(e,t,n){var i=t[n];if(i[l]&&r){var o=e[u]||{};!1!==o[h]&&(i=(o[t[p]]||{})[n]||i)}return function(){return i.apply(e,arguments)}}var o=L();N(n,(function(e){o[e]=i(t,n,e)}));for(var a=R(e),s=[];a&&!P(a)&&!M(s,a);)N(a,(function(e){!o[e]&&D(a,e,!x)&&(o[e]=i(t,a,e))})),s.push(a),a=R(a);return o}(i,t,f,c);n(t,v);var g=!!x&&!!a[S];g&&r&&(g=!!r[S]),j(i,o,t,f,!1!==g)}F[m]=C.o},4536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PythonExtension=t.PVSC_EXTENSION_ID=void 0;const r=n(9496);t.PVSC_EXTENSION_ID="ms-python.python",(t.PythonExtension||(t.PythonExtension={})).api=async function(){const e=r.extensions.getExtension(t.PVSC_EXTENSION_ID);if(void 0===e)throw new Error("Python extension is not installed or is disabled");return e.isActive||await e.activate(),e.exports}},8054:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=n(2361),o=r(n(8104)),a=r(n(6304)),s=o.default("agent-base");function c(){const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}function u(e,t){return new u.Agent(e,t)}!function(e){class t extends i.EventEmitter{constructor(e,t){super();let n=t;"function"==typeof e?this.callback=e:e&&(n=e),this.timeout=null,n&&"number"==typeof n.timeout&&(this.timeout=n.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:c()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:c()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,n){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const n=Object.assign({},t);"boolean"!=typeof n.secureEndpoint&&(n.secureEndpoint=c()),null==n.host&&(n.host="localhost"),null==n.port&&(n.port=n.secureEndpoint?443:80),null==n.protocol&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,e._last=!0,e.shouldKeepAlive=!1;let r=!1,i=null;const o=n.timeout||this.timeout,u=t=>{e._hadError||(e.emit("error",t),e._hadError=!0)},l=()=>{i=null,r=!0;const e=new Error(`A "socket" was not created for HTTP request before ${o}ms`);e.code="ETIMEOUT",u(e)},p=e=>{r||(null!==i&&(clearTimeout(i),i=null),u(e))},d=t=>{if(r)return;if(null!=i&&(clearTimeout(i),i=null),o=t,Boolean(o)&&"function"==typeof o.addRequest)return s("Callback returned another Agent instance %o",t.constructor.name),void t.addRequest(e,n);var o;if(t)return t.once("free",(()=>{this.freeSocket(t,n)})),void e.onSocket(t);const a=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);u(a)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(s("Converting legacy callback function to promise"),this.promisifiedCallback=a.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof o&&o>0&&(i=setTimeout(l,o)),"port"in n&&"number"!=typeof n.port&&(n.port=Number(n.port));try{s("Resolving socket for %o request: %o",n.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,n)).then(d,p)}catch(e){Promise.reject(e).catch(p)}}else u(new Error("`callback` is not defined"))}freeSocket(e,t){s("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){s("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype}(u||(u={})),e.exports=u},6304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){return new Promise(((r,i)=>{e.call(this,t,n,((e,t)=>{e?i(e):r(t)}))}))}}},699:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]3||parseInt(e[0])>2&&parseInt(e[1])>2},e.shouldUseClsHooked=function(){var e=process.versions.node.split(".");return parseInt(e[0])>8||parseInt(e[0])>=8&&parseInt(e[1])>=2},e.canUseClsHooked=function(){var e=process.versions.node.split("."),t=parseInt(e[0])>8||parseInt(e[0])>=8&&parseInt(e[1])>=0,n=parseInt(e[0])<8||parseInt(e[0])<=8&&parseInt(e[1])<2,r=parseInt(e[0])>4||parseInt(e[0])>=4&&parseInt(e[1])>=7;return!(t&&n)&&r},e.enabled=!1,e.hasEverEnabled=!1,e.forceClsHooked=void 0,e.CONTEXT_NAME="ApplicationInsights-Context",e}();t.CorrelationContextManager=d;var f=function(){function e(e){this.props=[],this.addHeaderData(e)}return e.prototype.addHeaderData=function(e){var t=e?e.split(", "):[];this.props=t.map((function(e){var t=e.split("=");return{key:t[0],value:t[1]}})).concat(this.props)},e.prototype.serializeToHeader=function(){return this.props.map((function(e){return e.key+"="+e.value})).join(", ")},e.prototype.getProperty=function(e){for(var t=0;t0&&e.forEach((function(e){var n=e.name;if(void 0!==n){var r=e.value;switch(typeof r){case"function":case"object":break;case"string":t+=" "+n+': "'+r+'",\r\n';break;default:t+=" "+n+": "+r+",\r\n"}}}))}catch(e){this._isEnabled=!1,a.info("Parse client web instrumentation error. Web Instrumentation is disabled")}return t},e.prototype._initialize=function(){this._isInitialized=!0;var t=r.createServer,n=i.createServer,o=this._isEnabled;r.createServer=function(n){var r=n;return r&&(n=function(t,n){var i=n.write,c="GET"==t.method;n.write=function(t,r,u){try{if(o&&c){var l=s.getContentEncodingFromHeaders(n),p=void 0;if("string"==typeof r&&(p=r),null==l)e.INSTANCE.ValidateInjection(n,t)&&(arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,void 0,p));else if(l.length){var d=l[0];arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,d)}}}catch(e){a.warn("Inject snippet error: "+e)}return i.apply(n,arguments)};var u=n.end;return n.end=function(t,r,i){if(o&&c)try{if(o&&c){var l=s.getContentEncodingFromHeaders(n),p=void 0;if("string"==typeof r&&(p=r),null==l)e.INSTANCE.ValidateInjection(n,t)&&(arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,void 0,p));else if(l.length){var d=l[0];arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,d)}}}catch(e){a.warn("Inject snipet error: "+e)}return u.apply(n,arguments)},r(t,n)}),t(n)},i.createServer=function(t,r){var i=r;if(i)return r=function(t,n){var r="GET"==t.method,c=n.write,u=n.end;return n.write=function(t,i,u){try{if(o&&r){var l=s.getContentEncodingFromHeaders(n),p=void 0;if("string"==typeof i&&(p=i),null==l)e.INSTANCE.ValidateInjection(n,t)&&(arguments[0]=this.InjectWebSnippet(n,t,void 0,p));else if(l.length){var d=l[0];arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,d)}}}catch(e){a.warn("Inject snippet error: "+e)}return c.apply(n,arguments)},n.end=function(t,i,c){try{if(o&&r){var l=s.getContentEncodingFromHeaders(n),p=void 0;if("string"==typeof i&&(p=i),null==l)e.INSTANCE.ValidateInjection(n,t)&&(arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,void 0,p));else if(l.length){var d=l[0];arguments[0]=e.INSTANCE.InjectWebSnippet(n,t,d)}}}catch(e){a.warn("Inject snippet error: "+e)}return u.apply(n,arguments)},i(t,n)},n(t,r)}},e.prototype.ValidateInjection=function(t,n){try{if(!t||!n||200!=t.statusCode)return!1;if(!s.isContentTypeHeaderHtml(t))return!1;var r=n.slice().toString();if(r.indexOf("")>=0&&r.indexOf("")>=0&&r.indexOf(e._aiUrl)<0&&r.indexOf(e._aiDeprecatedUrl)<0)return!0}catch(e){a.info("validate injections error: "+e)}return!1},e.prototype.InjectWebSnippet=function(t,n,r,i){try{if(r)t.removeHeader("Content-Length"),n=this._getInjectedCompressBuffer(t,n,r),t.setHeader("Content-Length",n.length);else{var o=n.toString(),c=o.indexOf("");if(c<0)return n;var u=s.insertSnippetByIndex(c,o,e._snippet);if("string"==typeof n)t.removeHeader("Content-Length"),n=u,t.setHeader("Content-Length",Buffer.byteLength(n));else if(Buffer.isBuffer(n)){var l=i||"utf8";if(s.isBufferType(n,l)){t.removeHeader("Content-Length");var p=Buffer.from(u).toString(l);n=Buffer.from(p,l),t.setHeader("Content-Length",n.length)}}}}catch(e){a.warn("Failed to inject web snippet and change content-lenght headers. Exception:"+e)}return n},e.prototype._getInjectedCompressBuffer=function(e,t,n){try{switch(n){case s.contentEncodingMethod.GZIP:var r=o.gunzipSync(t);if(this.ValidateInjection(e,r)){var i=this.InjectWebSnippet(e,r);t=o.gzipSync(i)}break;case s.contentEncodingMethod.DEFLATE:var c=o.inflateSync(t);if(this.ValidateInjection(e,c)){var u=this.InjectWebSnippet(e,c);t=o.deflateSync(u)}break;case s.contentEncodingMethod.BR:var l=s.getBrotliDecompressSync(o),p=s.getBrotliCompressSync(o);if(l&&p){var d=l(t);this.ValidateInjection(e,d)&&(t=p(this.InjectWebSnippet(e,d)));break}}}catch(e){a.info("get web injection compress buffer error: "+e)}return t},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e}();e.exports=d},211:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t["_MS.links"]=p.stringify(o)),t}(e),e.attributes[u.AzNamespace]&&(e.kind===s.SpanKind.INTERNAL&&(t.dependencyTypeName=u.DependencyTypeName.InProc+" | "+e.attributes[u.AzNamespace]),e.attributes[u.AzNamespace]===u.MicrosoftEventHub&&l.parseEventHubSpan(e,t)),t}},9879:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.enable=t.subscriber=void 0;var a=n(4284),s=n(3580),c=n(4953),u=o(n(5946)),l=n(699),p=[];t.subscriber=function(e){try{var t=e.data,n=u.spanToTelemetryContract(t);l.AsyncScopeManager.with(t,(function(){p.forEach((function(e){t.kind===a.SpanKind.SERVER||t.kind===a.SpanKind.CONSUMER?e.trackRequest(n):t.kind!==a.SpanKind.CLIENT&&t.kind!==a.SpanKind.INTERNAL&&t.kind!==a.SpanKind.PRODUCER||e.trackDependency(n)}))}))}catch(e){}},t.enable=function(e,n){if(e){if(p.find((function(e){return e==n})))return;0===p.length&&c.channel.subscribe("azure-coretracing",t.subscriber,c.trueFilter,(function(e,t){var r=n.getStatsbeat();r&&r.addInstrumentation(s.StatsbeatInstrumentation.AZURE_CORE_TRACING)})),p.push(n)}else 0===(p=p.filter((function(e){return e!=n}))).length&&c.channel.unsubscribe("azure-coretracing",t.subscriber)}},5823:(e,t,n)=>{"use strict";t.wp=void 0;var r=n(5290),i=n(3580),o=n(4953),a=[],s={10:r.SeverityLevel.Verbose,20:r.SeverityLevel.Verbose,30:r.SeverityLevel.Information,40:r.SeverityLevel.Warning,50:r.SeverityLevel.Error,60:r.SeverityLevel.Critical},c=function(e){var t=e.data.result,n=s[e.data.level];a.forEach((function(e){try{var r=JSON.parse(t);if(r.err){var i=new Error(r.err.message);return i.name=r.err.name,i.stack=r.err.stack,e.config.enableLoggerErrorToTrace?void e.trackTrace({message:t,severity:n}):void e.trackException({exception:i})}}catch(e){}e.trackTrace({message:t,severity:n})}))};t.wp=function(e,t){if(e){if(a.find((function(e){return e==t})))return;0===a.length&&o.channel.subscribe("bunyan",c,o.trueFilter,(function(e,n){var r=t.getStatsbeat();r&&r.addInstrumentation(i.StatsbeatInstrumentation.BUNYAN)})),a.push(t)}else 0===(a=a.filter((function(e){return e!=t}))).length&&o.channel.unsubscribe("bunyan",c)}},4309:(e,t,n)=>{"use strict";t.wp=void 0;var r=n(5290),i=n(3580),o=n(4953),a=[],s=function(e){var t=e.data.message;a.forEach((function(n){t instanceof Error&&!n.config.enableLoggerErrorToTrace?n.trackException({exception:t}):t instanceof Error?n.trackTrace({message:t.toString(),severity:e.data.stderr?r.SeverityLevel.Error:r.SeverityLevel.Information}):(t.lastIndexOf("\n")==t.length-1&&(t=t.substring(0,t.length-1)),n.trackTrace({message:t,severity:e.data.stderr?r.SeverityLevel.Warning:r.SeverityLevel.Information}))}))};t.wp=function(e,t){if(e){if(a.find((function(e){return e==t})))return;0===a.length&&o.channel.subscribe("console",s,o.trueFilter,(function(e,n){var r=t.getStatsbeat();r&&r.addInstrumentation(i.StatsbeatInstrumentation.CONSOLE)})),a.push(t)}else 0===(a=a.filter((function(e){return e!=t}))).length&&o.channel.unsubscribe("console",s)}},7396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerContextPreservation=t.IsInitialized=void 0;var r=n(5574),i=n(3063);t.IsInitialized=!i.JsonConfig.getInstance().noDiagnosticChannel;var o="DiagnosticChannel";if(t.IsInitialized){var a=n(4106),s=i.JsonConfig.getInstance().noPatchModules.split(","),c={bunyan:a.bunyan,console:a.console,mongodb:a.mongodb,mongodbCore:a.mongodbCore,mysql:a.mysql,redis:a.redis,pg:a.pg,pgPool:a.pgPool,winston:a.winston,azuresdk:a.azuresdk};for(var u in c)-1===s.indexOf(u)&&(c[u].enable(),r.info(o,"Subscribed to "+u+" events"));s.length>0&&r.info(o,"Some modules will not be patched",s)}else r.info(o,"Not subscribing to dependency autocollection because APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL was set");t.registerContextPreservation=function(e){t.IsInitialized&&n(4953).channel.addContextPreservation(e)}},7886:(e,t,n)=>{"use strict";t.wp=t.qP=void 0;var r=n(3580),i=n(4953),o=[];t.qP=function(e){"ismaster"!==e.data.event.commandName&&o.forEach((function(t){var n=e.data.startedData&&e.data.startedData.databaseName||"Unknown database";t.trackDependency({target:n,data:e.data.event.commandName,name:e.data.event.commandName,duration:e.data.event.duration,success:e.data.succeeded,resultCode:e.data.succeeded?"0":"1",time:e.data.startedData.time,dependencyTypeName:"mongodb"})}))},t.wp=function(e,n){if(e){if(o.find((function(e){return e==n})))return;0===o.length&&i.channel.subscribe("mongodb",t.qP,i.trueFilter,(function(e,t){var i=n.getStatsbeat();i&&i.addInstrumentation(r.StatsbeatInstrumentation.MONGODB)})),o.push(n)}else 0===(o=o.filter((function(e){return e!=n}))).length&&i.channel.unsubscribe("mongodb",t.qP)}},4777:(e,t,n)=>{"use strict";t.wp=t.qP=void 0;var r=n(3580),i=n(4953),o=[];t.qP=function(e){o.forEach((function(t){var n=e.data.query||{},r=n.sql||"Unknown query",i=!e.data.err,o=(n._connection||{}).config||{},a=o.socketPath?o.socketPath:(o.host||"localhost")+":"+o.port;t.trackDependency({target:a,data:r,name:r,duration:e.data.duration,success:i,resultCode:i?"0":"1",time:e.data.time,dependencyTypeName:"mysql"})}))},t.wp=function(e,n){if(e){if(o.find((function(e){return e==n})))return;0===o.length&&i.channel.subscribe("mysql",t.qP,i.trueFilter,(function(e,t){var i=n.getStatsbeat();i&&i.addInstrumentation(r.StatsbeatInstrumentation.MYSQL)})),o.push(n)}else 0===(o=o.filter((function(e){return e!=n}))).length&&i.channel.unsubscribe("mysql",t.qP)}},9843:(e,t,n)=>{"use strict";t.wp=t.qP=void 0;var r=n(3580),i=n(4953),o=[];t.qP=function(e){o.forEach((function(t){var n=e.data.query,r=n.preparable&&n.preparable.text||n.plan||n.text||"unknown query",i=!e.data.error,o=e.data.database.host+":"+e.data.database.port;t.trackDependency({target:o,data:r,name:r,duration:e.data.duration,success:i,resultCode:i?"0":"1",time:e.data.time,dependencyTypeName:"postgres"})}))},t.wp=function(e,n){if(e){if(o.find((function(e){return e==n})))return;0===o.length&&i.channel.subscribe("postgres",t.qP,i.trueFilter,(function(e,t){var i=n.getStatsbeat();i&&i.addInstrumentation(r.StatsbeatInstrumentation.POSTGRES)})),o.push(n)}else 0===(o=o.filter((function(e){return e!=n}))).length&&i.channel.unsubscribe("postgres",t.qP)}},5071:(e,t,n)=>{"use strict";t.wp=t.qP=void 0;var r=n(3580),i=n(4953),o=[];t.qP=function(e){o.forEach((function(t){"info"!==e.data.commandObj.command&&t.trackDependency({target:e.data.address,name:e.data.commandObj.command,data:e.data.commandObj.command,duration:e.data.duration,success:!e.data.err,resultCode:e.data.err?"1":"0",time:e.data.time,dependencyTypeName:"redis"})}))},t.wp=function(e,n){if(e){if(o.find((function(e){return e==n})))return;0===o.length&&i.channel.subscribe("redis",t.qP,i.trueFilter,(function(e,t){var i=n.getStatsbeat();i&&i.addInstrumentation(r.StatsbeatInstrumentation.REDIS)})),o.push(n)}else 0===(o=o.filter((function(e){return e!=n}))).length&&i.channel.unsubscribe("redis",t.qP)}},454:(e,t,n)=>{"use strict";t.wp=void 0;var r=n(3580),i=n(5290),o=n(4953),a=[],s={syslog:function(e){var t={emerg:i.SeverityLevel.Critical,alert:i.SeverityLevel.Critical,crit:i.SeverityLevel.Critical,error:i.SeverityLevel.Error,warning:i.SeverityLevel.Warning,notice:i.SeverityLevel.Information,info:i.SeverityLevel.Information,debug:i.SeverityLevel.Verbose};return void 0===t[e]?i.SeverityLevel.Information:t[e]},npm:function(e){var t={error:i.SeverityLevel.Error,warn:i.SeverityLevel.Warning,info:i.SeverityLevel.Information,verbose:i.SeverityLevel.Verbose,debug:i.SeverityLevel.Verbose,silly:i.SeverityLevel.Verbose};return void 0===t[e]?i.SeverityLevel.Information:t[e]},unknown:function(e){return i.SeverityLevel.Information}},c=function(e){var t=e.data.message,n=s[e.data.levelKind](e.data.level);a.forEach((function(r){t instanceof Error&&!r.config.enableLoggerErrorToTrace?r.trackException({exception:t,properties:e.data.meta}):t instanceof Error?r.trackTrace({message:t.toString(),severity:n,properties:e.data.meta}):r.trackTrace({message:t,severity:n,properties:e.data.meta})}))};t.wp=function(e,t){if(e){if(a.find((function(e){return e==t})))return;0===a.length&&o.channel.subscribe("winston",c,o.trueFilter,(function(e,n){var i=t.getStatsbeat();i&&i.addInstrumentation(r.StatsbeatInstrumentation.WINSTON)})),a.push(t)}else 0===(a=a.filter((function(e){return e!=t}))).length&&o.channel.unsubscribe("winston",c)}},3580:(e,t)=>{"use strict";var n,r,i,o,a,s,c,u,l,p;Object.defineProperty(t,"__esModule",{value:!0}),t.WEB_INSTRUMENTATION_DEPRECATED_SOURCE=t.WEB_INSTRUMENTATION_DEFAULT_SOURCE=t.TIME_SINCE_ENQUEUED=t.ENQUEUED_TIME=t.MessageBusDestination=t.MicrosoftEventHub=t.AzNamespace=t.AttachTypePrefix=t.HttpRequestCookieNames=t.StatsbeatNetworkCategory=t.StatsbeatFeatureType=t.StatsbeatInstrumentation=t.StatsbeatFeature=t.StatsbeatCounter=t.StatsbeatAttach=t.StatsbeatResourceProvider=t.StatsbeatTelemetryName=t.HeartBeatMetricName=t.DependencyTypeName=t.TelemetryTypeStringToQuickPulseDocumentType=t.TelemetryTypeStringToQuickPulseType=t.QuickPulseType=t.QuickPulseDocumentType=t.PerformanceToQuickPulseCounter=t.MetricId=t.PerformanceCounter=t.QuickPulseCounter=t.DEFAULT_LIVEMETRICS_HOST=t.DEFAULT_LIVEMETRICS_ENDPOINT=t.DEFAULT_BREEZE_ENDPOINT=t.APPLICATION_INSIGHTS_SDK_VERSION=void 0,t.APPLICATION_INSIGHTS_SDK_VERSION="2.9.5",t.DEFAULT_BREEZE_ENDPOINT="https://dc.services.visualstudio.com",t.DEFAULT_LIVEMETRICS_ENDPOINT="https://rt.services.visualstudio.com",t.DEFAULT_LIVEMETRICS_HOST="rt.services.visualstudio.com",function(e){e.COMMITTED_BYTES="\\Memory\\Committed Bytes",e.PROCESSOR_TIME="\\Processor(_Total)\\% Processor Time",e.REQUEST_RATE="\\ApplicationInsights\\Requests/Sec",e.REQUEST_FAILURE_RATE="\\ApplicationInsights\\Requests Failed/Sec",e.REQUEST_DURATION="\\ApplicationInsights\\Request Duration",e.DEPENDENCY_RATE="\\ApplicationInsights\\Dependency Calls/Sec",e.DEPENDENCY_FAILURE_RATE="\\ApplicationInsights\\Dependency Calls Failed/Sec",e.DEPENDENCY_DURATION="\\ApplicationInsights\\Dependency Call Duration",e.EXCEPTION_RATE="\\ApplicationInsights\\Exceptions/Sec"}(r=t.QuickPulseCounter||(t.QuickPulseCounter={})),function(e){e.PRIVATE_BYTES="\\Process(??APP_WIN32_PROC??)\\Private Bytes",e.AVAILABLE_BYTES="\\Memory\\Available Bytes",e.PROCESSOR_TIME="\\Processor(_Total)\\% Processor Time",e.PROCESS_TIME="\\Process(??APP_WIN32_PROC??)\\% Processor Time",e.REQUEST_RATE="\\ASP.NET Applications(??APP_W3SVC_PROC??)\\Requests/Sec",e.REQUEST_DURATION="\\ASP.NET Applications(??APP_W3SVC_PROC??)\\Request Execution Time"}(i=t.PerformanceCounter||(t.PerformanceCounter={})),(p=t.MetricId||(t.MetricId={})).REQUESTS_DURATION="requests/duration",p.DEPENDENCIES_DURATION="dependencies/duration",p.EXCEPTIONS_COUNT="exceptions/count",p.TRACES_COUNT="traces/count",t.PerformanceToQuickPulseCounter=((n={})[i.PROCESSOR_TIME]=r.PROCESSOR_TIME,n[i.REQUEST_RATE]=r.REQUEST_RATE,n[i.REQUEST_DURATION]=r.REQUEST_DURATION,n[r.COMMITTED_BYTES]=r.COMMITTED_BYTES,n[r.REQUEST_FAILURE_RATE]=r.REQUEST_FAILURE_RATE,n[r.DEPENDENCY_RATE]=r.DEPENDENCY_RATE,n[r.DEPENDENCY_FAILURE_RATE]=r.DEPENDENCY_FAILURE_RATE,n[r.DEPENDENCY_DURATION]=r.DEPENDENCY_DURATION,n[r.EXCEPTION_RATE]=r.EXCEPTION_RATE,n),t.QuickPulseDocumentType={Event:"Event",Exception:"Exception",Trace:"Trace",Metric:"Metric",Request:"Request",Dependency:"RemoteDependency",Availability:"Availability",PageView:"PageView"},t.QuickPulseType={Event:"EventTelemetryDocument",Exception:"ExceptionTelemetryDocument",Trace:"TraceTelemetryDocument",Metric:"MetricTelemetryDocument",Request:"RequestTelemetryDocument",Dependency:"DependencyTelemetryDocument",Availability:"AvailabilityTelemetryDocument",PageView:"PageViewTelemetryDocument"},t.TelemetryTypeStringToQuickPulseType={EventData:t.QuickPulseType.Event,ExceptionData:t.QuickPulseType.Exception,MessageData:t.QuickPulseType.Trace,MetricData:t.QuickPulseType.Metric,RequestData:t.QuickPulseType.Request,RemoteDependencyData:t.QuickPulseType.Dependency,AvailabilityData:t.QuickPulseType.Availability,PageViewData:t.QuickPulseType.PageView},t.TelemetryTypeStringToQuickPulseDocumentType={EventData:t.QuickPulseDocumentType.Event,ExceptionData:t.QuickPulseDocumentType.Exception,MessageData:t.QuickPulseDocumentType.Trace,MetricData:t.QuickPulseDocumentType.Metric,RequestData:t.QuickPulseDocumentType.Request,RemoteDependencyData:t.QuickPulseDocumentType.Dependency,AvailabilityData:t.QuickPulseDocumentType.Availability,PageViewData:t.QuickPulseDocumentType.PageView},t.DependencyTypeName={Grpc:"GRPC",Http:"HTTP",InProc:"InProc",Sql:"SQL",QueueMessage:"Queue Message"},t.HeartBeatMetricName="HeartbeatState",t.StatsbeatTelemetryName="Statsbeat",t.StatsbeatResourceProvider={appsvc:"appsvc",aks:"aks",functions:"functions",vm:"vm",unknown:"unknown"},t.StatsbeatAttach={codeless:"IntegratedAuto",sdk:"Manual"},t.StatsbeatCounter={REQUEST_SUCCESS:"Request_Success_Count",REQUEST_FAILURE:"Request_Failure_Count",REQUEST_DURATION:"Request_Duration",RETRY_COUNT:"Retry_Count",THROTTLE_COUNT:"Throttle_Count",EXCEPTION_COUNT:"Exception_Count",ATTACH:"Attach",FEATURE:"Feature"},(l=t.StatsbeatFeature||(t.StatsbeatFeature={}))[l.NONE=0]="NONE",l[l.DISK_RETRY=1]="DISK_RETRY",l[l.AAD_HANDLING=2]="AAD_HANDLING",l[l.BROWSER_SDK_LOADER=4]="BROWSER_SDK_LOADER",l[l.LIVE_METRICS=16]="LIVE_METRICS",l[l.NATIVE_METRICS=8192]="NATIVE_METRICS",(u=t.StatsbeatInstrumentation||(t.StatsbeatInstrumentation={}))[u.NONE=0]="NONE",u[u.AZURE_CORE_TRACING=1]="AZURE_CORE_TRACING",u[u.MONGODB=2]="MONGODB",u[u.MYSQL=4]="MYSQL",u[u.REDIS=8]="REDIS",u[u.POSTGRES=16]="POSTGRES",u[u.BUNYAN=32]="BUNYAN",u[u.WINSTON=64]="WINSTON",u[u.CONSOLE=128]="CONSOLE",(c=t.StatsbeatFeatureType||(t.StatsbeatFeatureType={}))[c.Feature=0]="Feature",c[c.Instrumentation=1]="Instrumentation",(s=t.StatsbeatNetworkCategory||(t.StatsbeatNetworkCategory={}))[s.Breeze=0]="Breeze",s[s.Quickpulse=1]="Quickpulse",(a=t.HttpRequestCookieNames||(t.HttpRequestCookieNames={})).SESSION="ai_session",a.USER="ai_user",a.AUTH_USER="ai_authUser",(o=t.AttachTypePrefix||(t.AttachTypePrefix={})).INTEGRATED_AUTO="i",o.MANUAL="m",t.AzNamespace="az.namespace",t.MicrosoftEventHub="Microsoft.EventHub",t.MessageBusDestination="message_bus.destination",t.ENQUEUED_TIME="enqueuedTime",t.TIME_SINCE_ENQUEUED="timeSinceEnqueued",t.WEB_INSTRUMENTATION_DEFAULT_SOURCE="https://js.monitor.azure.com/scripts/b/ai",t.WEB_INSTRUMENTATION_DEPRECATED_SOURCE="https://az416426.vo.msecnd.net/scripts/b/ai"},9382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.domainSupportsProperties=t.RemoteDependencyDataConstants=void 0;var r=n(9958),i=function(){function e(){}return e.TYPE_HTTP="Http",e.TYPE_AI="Http (tracked component)",e}();t.RemoteDependencyDataConstants=i,t.domainSupportsProperties=function(e){return"properties"in e||e instanceof r.EventData||e instanceof r.ExceptionData||e instanceof r.MessageData||e instanceof r.MetricData||e instanceof r.PageViewData||e instanceof r.RemoteDependencyData||e instanceof r.RequestData}},7220:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return i(t,e),t}(n(8934));e.exports=o},4101:e=>{"use strict";e.exports=function(){}},9871:e=>{"use strict";e.exports=function(){this.applicationVersion="ai.application.ver",this.deviceId="ai.device.id",this.deviceLocale="ai.device.locale",this.deviceModel="ai.device.model",this.deviceOEMName="ai.device.oemName",this.deviceOSVersion="ai.device.osVersion",this.deviceType="ai.device.type",this.locationIp="ai.location.ip",this.operationId="ai.operation.id",this.operationName="ai.operation.name",this.operationParentId="ai.operation.parentId",this.operationSyntheticSource="ai.operation.syntheticSource",this.operationCorrelationVector="ai.operation.correlationVector",this.sessionId="ai.session.id",this.sessionIsFirst="ai.session.isFirst",this.userAccountId="ai.user.accountId",this.userId="ai.user.id",this.userAuthUserId="ai.user.authUserId",this.cloudRole="ai.cloud.role",this.cloudRoleInstance="ai.cloud.roleInstance",this.internalSdkVersion="ai.internal.sdkVersion",this.internalAgentVersion="ai.internal.agentVersion",this.internalNodeName="ai.internal.nodeName"}},320:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){return e.call(this)||this}return i(t,e),t}(n(4101));e.exports=o},8602:(e,t,n)=>{"use strict";var r=n(495);e.exports=function(){this.kind=r.Measurement}},495:e=>{"use strict";var t;!function(e){e[e.Measurement=0]="Measurement",e[e.Aggregation=1]="Aggregation"}(t||(t={})),e.exports=t},8934:e=>{"use strict";e.exports=function(){}},7300:e=>{"use strict";e.exports=function(){this.ver=1,this.sampleRate=100,this.tags={}}},4526:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return i(t,e),t}(n(8934));e.exports=o},935:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.exceptions=[],t.properties={},t.measurements={},t}return i(t,e),t}(n(8934));e.exports=o},8082:e=>{"use strict";e.exports=function(){this.hasFullStack=!0,this.parsedStack=[]}},901:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t}return i(t,e),t}(n(8934));e.exports=o},3092:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.metrics=[],t.properties={},t}return i(t,e),t}(n(8934));e.exports=o},6279:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return i(t,e),t}(n(4526));e.exports=o},6290:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.success=!0,t.properties={},t.measurements={},t}return i(t,e),t}(n(8934));e.exports=o},7339:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return i(t,e),t}(n(8934));e.exports=o},9697:e=>{"use strict";var t;!function(e){e[e.Verbose=0]="Verbose",e[e.Information=1]="Information",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.Critical=4]="Critical"}(t||(t={})),e.exports=t},6781:e=>{"use strict";e.exports=function(){}},9958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AvailabilityData=n(7220),t.Base=n(4101),t.ContextTagKeys=n(9871),t.Data=n(320),t.DataPoint=n(8602),t.DataPointType=n(495),t.Domain=n(8934),t.Envelope=n(7300),t.EventData=n(4526),t.ExceptionData=n(935),t.ExceptionDetails=n(8082),t.MessageData=n(901),t.MetricData=n(3092),t.PageViewData=n(6279),t.RemoteDependencyData=n(6290),t.RequestData=n(7339),t.SeverityLevel=n(9697),t.StackFrame=n(6781)},6522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4429:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5323:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6647:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5977:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9477),t),i(n(4429),t),i(n(532),t),i(n(9003),t),i(n(5323),t),i(n(6522),t),i(n(6647),t),i(n(8937),t)},3382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1727:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5481:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryType=t.TelemetryTypeString=t.baseTypeToTelemetryType=t.telemetryTypeToBaseType=void 0,t.telemetryTypeToBaseType=function(e){switch(e){case n.Event:return"EventData";case n.Exception:return"ExceptionData";case n.Trace:return"MessageData";case n.Metric:return"MetricData";case n.Request:return"RequestData";case n.Dependency:return"RemoteDependencyData";case n.Availability:return"AvailabilityData";case n.PageView:return"PageViewData"}},t.baseTypeToTelemetryType=function(e){switch(e){case"EventData":return n.Event;case"ExceptionData":return n.Exception;case"MessageData":return n.Trace;case"MetricData":return n.Metric;case"RequestData":return n.Request;case"RemoteDependencyData":return n.Dependency;case"AvailabilityData":return n.Availability;case"PageViewData":return n.PageView}},t.TelemetryTypeString={Event:"EventData",Exception:"ExceptionData",Trace:"MessageData",Metric:"MetricData",Request:"RequestData",Dependency:"RemoteDependencyData",Availability:"AvailabilityData",PageView:"PageViewData"},function(e){e[e.Event=0]="Event",e[e.Exception=1]="Exception",e[e.Trace=2]="Trace",e[e.Metric=3]="Metric",e[e.Request=4]="Request",e[e.Dependency=5]="Dependency",e[e.Availability=6]="Availability",e[e.PageView=7]="PageView"}(n=t.TelemetryType||(t.TelemetryType={}))},5539:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2626:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(1727),t),i(n(8010),t),i(n(2637),t),i(n(4381),t),i(n(2334),t),i(n(5539),t),i(n(8836),t),i(n(1143),t),i(n(2166),t),i(n(3382),t),i(n(4013),t),i(n(6375),t),i(n(5481),t)},5290:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9382),t),i(n(9958),t),i(n(2626),t),i(n(5977),t)},521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregatedMetricCounter=void 0;t.AggregatedMetricCounter=function(e){this.dimensions=e,this.totalCount=0,this.lastTotalCount=0,this.intervalExecutionTime=0,this.lastTime=+new Date,this.lastIntervalExecutionTime=0}},7535:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreaggregatedMetricPropertyNames=void 0,t.PreaggregatedMetricPropertyNames={cloudRoleInstance:"cloud/roleInstance",cloudRoleName:"cloud/roleName",operationSynthetic:"operation/synthetic",requestSuccess:"Request.Success",requestResultCode:"request/resultCode",dependencyType:"Dependency.Type",dependencyTarget:"dependency/target",dependencySuccess:"Dependency.Success",dependencyResultCode:"dependency/resultCode",traceSeverityLevel:"trace/severityLevel"}},287:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureVirtualMachine=void 0;var r=n(5574),i=n(5740),o=n(8723),a=function(){function e(){}return e.getAzureComputeMetadata=function(t,n){var a,s=this,c={},u=((a={method:"GET"})[o.disableCollectionRequestOption]=!0,a.headers={Metadata:"True"},a),l=i.makeRequest(t,"http://169.254.169.254/metadata/instance/compute?api-version=2017-12-01&format=json",u,(function(t){if(200===t.statusCode){c.isVM=!0;var i="";t.on("data",(function(e){i+=e})),t.on("end",(function(){try{var t=JSON.parse(i);c.id=t.vmId||"",c.subscriptionId=t.subscriptionId||"",c.osType=t.osType||""}catch(t){r.info(e.TAG,t)}n(c)}))}else n(c)}),!1,!1);l&&(setTimeout((function(){s._requestTimedOut=!0,l.abort()}),e.HTTP_TIMEOUT),l.on("error",(function(t){s._requestTimedOut&&t&&(t.name="telemetry timeout",t.message="telemetry request timed out"),t&&t.message&&t.message.indexOf("UNREACH")>-1?c.isVM=!1:r.info(e.TAG,t),n(c)})),l.end())},e.HTTP_TIMEOUT=2500,e.TAG="AzureVirtualMachine",e}();t.AzureVirtualMachine=a},3504:(e,t,n)=>{"use strict";var r=n(5574),i=n(5740),o=function(){function e(e,t,n,r){this._buffer=[],this._lastSend=0,this._isDisabled=e,this._getBatchSize=t,this._getBatchIntervalMs=n,this._sender=r}return e.prototype.setUseDiskRetryCaching=function(e,t,n){this._sender.setDiskRetryMode(e,t,n)},e.prototype.send=function(e){var t=this;this._isDisabled()||(e?(this._buffer.push(e),this._buffer.length>=this._getBatchSize()?this.triggerSend(!1):!this._timeoutHandle&&this._buffer.length>0&&(this._timeoutHandle=setTimeout((function(){t._timeoutHandle=null,t.triggerSend(!1)}),this._getBatchIntervalMs()))):r.warn("Cannot send null/undefined telemetry"))},e.prototype.triggerSend=function(e,t){var n=this._buffer.length<1;n||(e||i.isNodeExit?(this._sender.saveOnCrash(this._buffer),"function"==typeof t&&t("data saved on crash")):this._sender.send(this._buffer,t)),this._lastSend=+new Date,this._buffer=[],clearTimeout(this._timeoutHandle),this._timeoutHandle=null,n&&"function"==typeof t&&t("no data to send")},e}();e.exports=o},9253:(e,t,n)=>{"use strict";var r=n(9962),i=n(5158),o=n(5574),a=n(3580),s=n(7310),c=n(3063),u=function(){function e(t){this._endpointBase=a.DEFAULT_BREEZE_ENDPOINT,this._mergeConfig();var n=this._connectionString,r=i.parse(t),o=i.parse(n),c=!r.instrumentationkey&&Object.keys(r).length>0?null:t,u=this._instrumentationKey;this.instrumentationKey=r.instrumentationkey||c||o.instrumentationkey||u;var l=""+(this.endpointUrl||r.ingestionendpoint||o.ingestionendpoint||this._endpointBase);l.endsWith("/")&&(l=l.slice(0,-1)),this.endpointUrl=l+"/v2.1/track",this.maxBatchSize=this.maxBatchSize||250,this.maxBatchIntervalMs=this.maxBatchIntervalMs||15e3,this.disableAppInsights=this.disableAppInsights||!1,this.samplingPercentage=this.samplingPercentage||100,this.correlationIdRetryIntervalMs=this.correlationIdRetryIntervalMs||3e4,this.enableWebInstrumentation=this.enableWebInstrumentation||this.enableAutoWebSnippetInjection||!1,this.webInstrumentationConfig=this.webInstrumentationConfig||null,this.enableAutoWebSnippetInjection=this.enableWebInstrumentation,this.correlationHeaderExcludedDomains=this.correlationHeaderExcludedDomains||["*.core.windows.net","*.core.chinacloudapi.cn","*.core.cloudapi.de","*.core.usgovcloudapi.net","*.core.microsoft.scloud","*.core.eaglex.ic.gov"],this.ignoreLegacyHeaders=this.ignoreLegacyHeaders||!1,this.profileQueryEndpoint=r.ingestionendpoint||o.ingestionendpoint||process.env[e.ENV_profileQueryEndpoint]||this._endpointBase,this.quickPulseHost=this.quickPulseHost||r.liveendpoint||o.liveendpoint||process.env[e.ENV_quickPulseHost]||a.DEFAULT_LIVEMETRICS_HOST,this.webInstrumentationConnectionString=this.webInstrumentationConnectionString||this._webInstrumentationConnectionString||"",this.webSnippetConnectionString=this.webInstrumentationConnectionString,this.quickPulseHost.match(/^https?:\/\//)&&(this.quickPulseHost=new s.URL(this.quickPulseHost).host),this.aadAudience=r.aadaudience||o.aadaudience}return Object.defineProperty(e.prototype,"profileQueryEndpoint",{get:function(){return this._profileQueryEndpoint},set:function(e){this._profileQueryEndpoint=e,this.correlationId=r.correlationIdPrefix},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instrumentationKey",{get:function(){return this._instrumentationKey},set:function(t){e._validateInstrumentationKey(t)||o.warn("An invalid instrumentation key was provided. There may be resulting telemetry loss",this.instrumentationKey),this._instrumentationKey=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"webSnippetConnectionString",{get:function(){return this._webInstrumentationConnectionString},set:function(e){this._webInstrumentationConnectionString=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"webInstrumentationConnectionString",{get:function(){return this._webInstrumentationConnectionString},set:function(e){this._webInstrumentationConnectionString=e},enumerable:!1,configurable:!0}),e.prototype._mergeConfig=function(){var e=c.JsonConfig.getInstance();this._connectionString=e.connectionString,this._instrumentationKey=e.instrumentationKey,this.correlationHeaderExcludedDomains=e.correlationHeaderExcludedDomains,this.correlationIdRetryIntervalMs=e.correlationIdRetryIntervalMs,this.disableAllExtendedMetrics=e.disableAllExtendedMetrics,this.disableAppInsights=e.disableAppInsights,this.disableStatsbeat=e.disableStatsbeat,this.distributedTracingMode=e.distributedTracingMode,this.enableAutoCollectConsole=e.enableAutoCollectConsole,this.enableLoggerErrorToTrace=e.enableLoggerErrorToTrace,this.enableAutoCollectDependencies=e.enableAutoCollectDependencies,this.enableAutoCollectIncomingRequestAzureFunctions=e.enableAutoCollectIncomingRequestAzureFunctions,this.enableAutoCollectExceptions=e.enableAutoCollectExceptions,this.enableAutoCollectExtendedMetrics=e.enableAutoCollectExtendedMetrics,this.enableAutoCollectExternalLoggers=e.enableAutoCollectExternalLoggers,this.enableAutoCollectHeartbeat=e.enableAutoCollectHeartbeat,this.enableAutoCollectPerformance=e.enableAutoCollectPerformance,this.enableAutoCollectPreAggregatedMetrics=e.enableAutoCollectPreAggregatedMetrics,this.enableAutoCollectRequests=e.enableAutoCollectRequests,this.enableAutoDependencyCorrelation=e.enableAutoDependencyCorrelation,this.enableInternalDebugLogging=e.enableInternalDebugLogging,this.enableInternalWarningLogging=e.enableInternalWarningLogging,this.enableResendInterval=e.enableResendInterval,this.enableMaxBytesOnDisk=e.enableMaxBytesOnDisk,this.enableSendLiveMetrics=e.enableSendLiveMetrics,this.enableUseAsyncHooks=e.enableUseAsyncHooks,this.enableUseDiskRetryCaching=e.enableUseDiskRetryCaching,this.endpointUrl=e.endpointUrl,this.extendedMetricDisablers=e.extendedMetricDisablers,this.ignoreLegacyHeaders=e.ignoreLegacyHeaders,this.maxBatchIntervalMs=e.maxBatchIntervalMs,this.maxBatchSize=e.maxBatchSize,this.proxyHttpUrl=e.proxyHttpUrl,this.proxyHttpsUrl=e.proxyHttpsUrl,this.quickPulseHost=e.quickPulseHost,this.samplingPercentage=e.samplingPercentage,this.enableWebInstrumentation=e.enableWebInstrumentation,this._webInstrumentationConnectionString=e.webInstrumentationConnectionString,this.webInstrumentationConfig=e.webInstrumentationConfig,this.webInstrumentationSrc=e.webInstrumentationSrc},e._validateInstrumentationKey=function(e){return new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(e)},e.ENV_azurePrefix="APPSETTING_",e.ENV_iKey="APPINSIGHTS_INSTRUMENTATIONKEY",e.legacy_ENV_iKey="APPINSIGHTS_INSTRUMENTATION_KEY",e.ENV_profileQueryEndpoint="APPINSIGHTS_PROFILE_QUERY_ENDPOINT",e.ENV_quickPulseHost="APPINSIGHTS_QUICKPULSE_HOST",e}();e.exports=u},5158:(e,t,n)=>{"use strict";var r=n(3580),i=function(){function e(){}return e.parse=function(t){if(!t)return{};var n=t.split(e._FIELDS_SEPARATOR).reduce((function(t,n){var r=n.split(e._FIELD_KEY_VALUE_SEPARATOR);if(2===r.length){var i=r[0].toLowerCase(),o=r[1];t[i]=o}return t}),{});if(Object.keys(n).length>0){if(n.endpointsuffix){var i=n.location?n.location+".":"";n.ingestionendpoint=n.ingestionendpoint||"https://"+i+"dc."+n.endpointsuffix,n.liveendpoint=n.liveendpoint||"https://"+i+"live."+n.endpointsuffix}n.ingestionendpoint=n.ingestionendpoint||r.DEFAULT_BREEZE_ENDPOINT,n.liveendpoint=n.liveendpoint||r.DEFAULT_LIVEMETRICS_ENDPOINT}return n},e.isIkeyValid=function(e){return!(!e||""==e)&&new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(e)},e._FIELDS_SEPARATOR=";",e._FIELD_KEY_VALUE_SEPARATOR="=",e}();e.exports=i},4470:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=n(2037),s=n(7147),c=n(1017),u=n(5290),l=n(3580),p=n(5574),d=o(n(95)),f=o(n(3580)),h=function(){function e(e){this.keys=new u.ContextTagKeys,this.tags={},this._loadApplicationContext(e),this._loadDeviceContext(),this._loadInternalContext()}return e.prototype._loadApplicationContext=function(t){try{if(t=t||c.resolve(__dirname,"../../../../package.json"),!e.appVersion[t]){e.appVersion[t]="unknown";var n=JSON.parse(s.readFileSync(t,"utf8"));n&&"string"==typeof n.version&&(e.appVersion[t]=n.version)}this.tags[this.keys.applicationVersion]=e.appVersion[t]}catch(e){p.info("Failed to read app version: ",e)}},e.prototype._loadDeviceContext=function(){var t=a&&a.hostname(),n=e.DefaultRoleName;process.env.WEBSITE_SITE_NAME&&(n=process.env.WEBSITE_SITE_NAME),process.env.WEBSITE_INSTANCE_ID&&(t=process.env.WEBSITE_INSTANCE_ID),this.tags[this.keys.deviceId]="",this.tags[this.keys.cloudRoleInstance]=t,this.tags[this.keys.deviceOSVersion]=a&&a.type()+" "+a.release(),this.tags[this.keys.cloudRole]=n,this.tags["ai.device.osArchitecture"]=a&&a.arch(),this.tags["ai.device.osPlatform"]=a&&a.platform()},e.prototype._loadInternalContext=function(){e.sdkPrefix||(this.tags[this.keys.internalSdkVersion]=""+d.getResourceProvider()+d.getOsPrefix()+f.AttachTypePrefix.MANUAL+"_node:"+e.sdkVersion)},e.DefaultRoleName="Web",e.appVersion={},e.sdkVersion=l.APPLICATION_INSIGHTS_SDK_VERSION,e.sdkPrefix=null,e}();e.exports=h},9962:(e,t,n)=>{"use strict";var r=n(5740),i=function(){function e(){}return e.queryCorrelationId=function(e,t){},e.cancelCorrelationIdQuery=function(e,t){},e.generateRequestId=function(t){if(t){"."!==(t="|"==t[0]?t:"|"+t)[t.length-1]&&(t+=".");var n=(e.currentRootId++).toString(16);return e.appendSuffix(t,n,"_")}return e.generateRootId()},e.getRootId=function(e){var t=e.indexOf(".");t<0&&(t=e.length);var n="|"===e[0]?1:0;return e.substring(n,t)},e.generateRootId=function(){return"|"+r.w3cTraceId()+"."},e.appendSuffix=function(t,n,i){if(t.length+n.lengtho)for(;o>1;--o){var a=t[o-1];if("."===a||"_"===a)break}if(o<=1)return e.generateRootId();for(n=r.randomu32().toString(16);n.length<8;)n="0"+n;return t.substring(0,o)+n+"#"},e.correlationIdPrefix="cid-v1:",e.w3cEnabled=!0,e.HTTP_TIMEOUT=2500,e.requestIdMaxLength=1024,e.currentRootId=r.randomu32(),e}();e.exports=i},9813:(e,t,n)=>{"use strict";var r=n(5290),i=n(5740),o=n(894),a=n(5574),s=function(){function e(){}return e.createEnvelope=function(t,n,o,a,s){var c=null;switch(n){case r.TelemetryType.Trace:c=e.createTraceData(t);break;case r.TelemetryType.Dependency:c=e.createDependencyData(t);break;case r.TelemetryType.Event:c=e.createEventData(t);break;case r.TelemetryType.Exception:c=e.createExceptionData(t);break;case r.TelemetryType.Request:c=e.createRequestData(t);break;case r.TelemetryType.Metric:c=e.createMetricData(t);break;case r.TelemetryType.Availability:c=e.createAvailabilityData(t);break;case r.TelemetryType.PageView:c=e.createPageViewData(t)}if(c&&c.baseData&&r.domainSupportsProperties(c.baseData)){if(o)if(c.baseData.properties)for(var u in o)c.baseData.properties[u]||(c.baseData.properties[u]=o[u]);else c.baseData.properties=o;e.addAzureFunctionsCorrelationProperties(c.baseData.properties),c.baseData.properties&&(c.baseData.properties=i.validateStringMap(c.baseData.properties))}var l=s&&s.instrumentationKey||"",p=new r.Envelope;return p.data=c,p.iKey=l,p.name="Microsoft.ApplicationInsights."+l.replace(/-/g,"")+"."+c.baseType.substr(0,c.baseType.length-4),p.tags=this.getTags(a,t.tagOverrides),p.time=(new Date).toISOString(),p.ver=1,p.sampleRate=s?s.samplingPercentage:100,n===r.TelemetryType.Metric&&(p.sampleRate=100),p},e.addAzureFunctionsCorrelationProperties=function(e){var t=o.CorrelationContextManager.getCurrentContext();if(t&&t.customProperties&&t.customProperties.getProperty instanceof Function){e=e||{};var n=t.customProperties.getProperty("InvocationId");n&&(e.InvocationId=n),(n=t.customProperties.getProperty("ProcessId"))&&(e.ProcessId=n),(n=t.customProperties.getProperty("LogLevel"))&&(e.LogLevel=n),(n=t.customProperties.getProperty("Category"))&&(e.Category=n),(n=t.customProperties.getProperty("HostInstanceId"))&&(e.HostInstanceId=n),(n=t.customProperties.getProperty("AzFuncLiveLogsSessionId"))&&(e.AzFuncLiveLogsSessionId=n)}},e.truncateProperties=function(e){if(e.properties)try{for(var t={},n=Object.keys(e.properties),r=Object.values(e.properties),o=0;o0,o.exceptions.push(s);var c=new r.Data;return c.baseType=r.telemetryTypeToBaseType(r.TelemetryType.Exception),c.baseData=o,c},e.createRequestData=function(e){var t,n,o,a,s=new r.RequestData;e.id?s.id=e.id:s.id=i.w3cTraceId(),s.name=null===(t=e.name)||void 0===t?void 0:t.substring(0,1024),s.url=null===(n=e.url)||void 0===n?void 0:n.substring(0,2048),s.source=null===(o=e.source)||void 0===o?void 0:o.substring(0,1024),s.duration=i.msToTimeSpan(e.duration),s.responseCode=null===(a=e.resultCode?e.resultCode.toString():"0")||void 0===a?void 0:a.substring(0,1024),s.success=e.success,s.properties=this.truncateProperties(e),s.measurements=e.measurements;var c=new r.Data;return c.baseType=r.telemetryTypeToBaseType(r.TelemetryType.Request),c.baseData=s,c},e.createMetricData=function(e){var t,n=new r.MetricData;n.metrics=[];var i=new r.DataPoint;i.count=isNaN(e.count)?1:e.count,i.kind=r.DataPointType.Aggregation,i.max=isNaN(e.max)?e.value:e.max,i.min=isNaN(e.min)?e.value:e.min,i.name=null===(t=e.name)||void 0===t?void 0:t.substring(0,1024),i.stdDev=isNaN(e.stdDev)?0:e.stdDev,i.value=e.value,i.ns=e.namespace,n.metrics.push(i),n.properties=this.truncateProperties(e);var o=new r.Data;return o.baseType=r.telemetryTypeToBaseType(r.TelemetryType.Metric),o.baseData=n,o},e.createAvailabilityData=function(e){var t,n,o=new r.AvailabilityData;e.id?o.id=e.id:o.id=i.w3cTraceId(),o.name=null===(t=e.name)||void 0===t?void 0:t.substring(0,1024),o.duration=i.msToTimeSpan(e.duration),o.success=e.success,o.runLocation=e.runLocation,o.message=null===(n=e.message)||void 0===n?void 0:n.substring(0,8192),o.measurements=e.measurements,o.properties=this.truncateProperties(e);var a=new r.Data;return a.baseType=r.telemetryTypeToBaseType(r.TelemetryType.Availability),a.baseData=o,a},e.createPageViewData=function(e){var t,n,o=new r.PageViewData;o.name=null===(t=e.name)||void 0===t?void 0:t.substring(0,1024),o.duration=i.msToTimeSpan(e.duration),o.url=null===(n=e.url)||void 0===n?void 0:n.substring(0,2048),o.measurements=e.measurements,o.properties=this.truncateProperties(e);var a=new r.Data;return a.baseType=r.telemetryTypeToBaseType(r.TelemetryType.PageView),a.baseData=o,a},e.getTags=function(e,t){var n=o.CorrelationContextManager.getCurrentContext(),r={};if(e&&e.tags)for(var i in e.tags)r[i]=e.tags[i];if(t)for(var i in t)r[i]=t[i];return n&&(r[e.keys.operationId]=r[e.keys.operationId]||n.operation.id,r[e.keys.operationName]=r[e.keys.operationName]||n.operation.name,r[e.keys.operationParentId]=r[e.keys.operationParentId]||n.operation.parentId),r},e.parseStack=function(e){var t=void 0;if("string"==typeof e){var n=e.split("\n");t=[];for(var r=0,i=0,o=0;o<=n.length;o++){var a=n[o];if(c.regex.test(a)){var s=new c(n[o],r++);i+=s.sizeInBytes,t.push(s)}}if(i>32768)for(var u=0,l=t.length-1,p=0,d=u,f=l;u32768){var h=f-d+1;t.splice(d,h);break}d=u,f=l,u++,l--}}return t},e}(),c=function(){function e(t,n){this.sizeInBytes=0,this.level=n,this.method="",this.assembly=i.trim(t);var r=t.match(e.regex);r&&r.length>=5&&(this.method=i.trim(r[2])||this.method,this.fileName=i.trim(r[4])||"",this.line=parseInt(r[5])||0),this.sizeInBytes+=this.method.length,this.sizeInBytes+=this.fileName.length,this.sizeInBytes+=this.assembly.length,this.sizeInBytes+=e.baseSize,this.sizeInBytes+=this.level.toString().length,this.sizeInBytes+=this.line.toString().length}return e.regex=/^(\s+at)?(.*?)(\@|\s\(|\s)([^\(\n]+):(\d+):(\d+)(\)?)$/,e.baseSize=58,e}();e.exports=s},2640:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3370:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]this.maxSizeBytes?[4,this._createBackupFile(t)]:[3,14];case 13:return i.sent(),[3,16];case 14:return[4,u.appendFileAsync(this._fileFullPath,t)];case 15:i.sent(),i.label=16;case 16:return[3,18];case 17:return o=i.sent(),console.log(this.TAG,"Failed to create backup file: "+(o&&o.message)),[3,18];case 18:return[2]}}))}))},e.prototype._createBackupFile=function(e){return r(this,void 0,void 0,(function(){var t,n,r;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,4,5]),[4,u.readFileAsync(this._fileFullPath)];case 1:return t=i.sent(),n=c.join(this._tempDir,(new Date).getTime()+"."+this._logFileName),[4,u.writeFileAsync(n,t)];case 2:return i.sent(),[3,5];case 3:return r=i.sent(),console.log("Failed to generate backup log file",r),[3,5];case 4:return u.writeFileAsync(this._fileFullPath,e),[7];case 5:return[2]}}))}))},e.prototype._fileCleanupTask=function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a=this;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,6,,7]),[4,u.readdirAsync(this._tempDir)];case 1:(e=(e=i.sent()).filter((function(e){return c.basename(e).indexOf(a._backUpNameFormat)>-1}))).sort((function(e,t){var n=new Date(parseInt(e.split(a._backUpNameFormat)[0])),r=new Date(parseInt(t.split(a._backUpNameFormat)[0]));return n=r?1:void 0})),t=e.length,n=0,i.label=2;case 2:return n{"use strict";var r=n(3370),i=function(){function e(){}return e.info=function(e){for(var t=[],n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getResourceProvider=t.getOsPrefix=t.isFunctionApp=t.isWebApp=t.isLinux=t.isWindows=void 0,t.isWindows=function(){return"win32"===process.platform},t.isLinux=function(){return"linux"===process.platform},t.isWebApp=function(){return!(!process.env.WEBSITE_SITE_NAME||process.env.FUNCTIONS_WORKER_RUNTIME)},t.isFunctionApp=function(){return!!process.env.FUNCTIONS_WORKER_RUNTIME},t.getOsPrefix=function(){return t.isWindows()?"w":t.isLinux()?"l":"u"},t.getResourceProvider=function(){return t.isWebApp()?"a":t.isFunctionApp()?"f":"u"}},7148:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?t:null,InstrumentationKey:n.instrumentationKey||"",Metrics:e.length>0?e:null,InvariantVersion:1,Timestamp:"/Date("+Date.now()+")/",Version:r.tags[r.keys.internalSdkVersion],StreamId:u,MachineName:o,Instance:a,RoleName:s}},e.createQuickPulseMetric=function(e){return{Name:e.name,Value:e.value,Weight:e.count||1}},e.telemetryEnvelopeToQuickPulseDocument=function(t){switch(t.data.baseType){case o.TelemetryTypeString.Event:return e.createQuickPulseEventDocument(t);case o.TelemetryTypeString.Exception:return e.createQuickPulseExceptionDocument(t);case o.TelemetryTypeString.Trace:return e.createQuickPulseTraceDocument(t);case o.TelemetryTypeString.Dependency:return e.createQuickPulseDependencyDocument(t);case o.TelemetryTypeString.Request:return e.createQuickPulseRequestDocument(t)}return null},e.createQuickPulseEventDocument=function(t){var n=e.createQuickPulseDocument(t),i=t.data.baseData.name;return r(r({},n),{Name:i})},e.createQuickPulseTraceDocument=function(t){var n=e.createQuickPulseDocument(t),i=t.data.baseData.severityLevel||0;return r(r({},n),{Message:t.data.baseData.message,SeverityLevel:o.SeverityLevel[i]})},e.createQuickPulseExceptionDocument=function(t){var n=e.createQuickPulseDocument(t),i=t.data.baseData.exceptions,o="",a="",s="";return i&&i.length>0&&(i[0].parsedStack&&i[0].parsedStack.length>0?i[0].parsedStack.forEach((function(e){o+=e.assembly+"\n"})):i[0].stack&&i[0].stack.length>0&&(o=i[0].stack),a=i[0].message,s=i[0].typeName),r(r({},n),{Exception:o,ExceptionMessage:a,ExceptionType:s})},e.createQuickPulseRequestDocument=function(t){var n=e.createQuickPulseDocument(t),i=t.data.baseData;return r(r({},n),{Name:i.name,Success:i.success,Duration:i.duration,ResponseCode:i.responseCode,OperationName:i.name})},e.createQuickPulseDependencyDocument=function(t){var n=e.createQuickPulseDocument(t),i=t.data.baseData;return r(r({},n),{Name:i.name,Target:i.target,Success:i.success,Duration:i.duration,ResultCode:i.resultCode,CommandName:i.data,OperationName:n.OperationId,DependencyTypeName:i.type})},e.createQuickPulseDocument=function(t){var n,r;return t.data.baseType?(r=a.TelemetryTypeStringToQuickPulseType[t.data.baseType],n=a.TelemetryTypeStringToQuickPulseDocumentType[t.data.baseType]):c.warn("Document type invalid; not sending live metric document",t.data.baseType),{DocumentType:n,__type:r,OperationId:t.tags[e.keys.operationId],Version:"1.0",Properties:e.aggregateProperties(t)}},e.aggregateProperties=function(e){var t=[],n=e.data.baseData.measurements||{};for(var r in n)if(n.hasOwnProperty(r)){var i={key:r,value:n[r]};t.push(i)}var o=e.data.baseData.properties||{};for(var r in o)o.hasOwnProperty(r)&&(i={key:r,value:o[r]},t.push(i));return t},e.keys=new o.ContextTagKeys,e}();e.exports=l},9184:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?n:this._config.quickPulseHost,_.method="POST",_.path="/QuickPulseService.svc/"+h+"?ikey="+this._config.instrumentationKey,_.headers=((E={Expect:"100-continue"})["x-ms-qps-transmission-time"]=c.getTransmissionTime(),E["Content-Type"]="application/json",E["Content-Length"]=Buffer.byteLength(r),E),v=_,m&&m.length>0&&m.forEach((function(e){return v.headers[e.name]=e.value})),"post"!==h)return[3,4];if(!(g=this._getAuthorizationHandler?this._getAuthorizationHandler(this._config):null))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,g.addAuthorizationHeader(v)];case 2:return i.sent(),[3,4];case 3:return y=i.sent(),s.info(e.TAG,"Failed to get AAD bearer token for the Application. Error:",y),[2];case 4:return this._config.httpsAgent?v.agent=this._config.httpsAgent:v.agent=u.tlsRestrictedAgent,(b=o.request(v,(function(e){if(200==e.statusCode){var t="true"===e.headers["x-ms-qps-subscribed"],n=null;try{n=e.headers[d]?new l.URL(e.headers[d].toString()).host:null}catch(e){S._onError("Failed to parse redirect header from QuickPulse: "+u.dumpObj(e))}var r=e.headers[p]?parseInt(e.headers[p].toString()):null;S._consecutiveErrors=0,f(t,e,n,r)}else S._onError("StatusCode:"+e.statusCode+" StatusMessage:"+e.statusMessage),f()}))).on("error",(function(e){S._onError(e),f()})),b.write(r),b.end(),[2]}}))}))},e.prototype._onError=function(t){this._consecutiveErrors++;var n="Transient error connecting to the Live Metrics endpoint. This packet will not appear in your Live Metrics Stream. Error:";this._consecutiveErrors%e.MAX_QPS_FAILURES_BEFORE_WARN==0?(n="Live Metrics endpoint could not be reached "+this._consecutiveErrors+" consecutive times. Most recent error:",s.warn(e.TAG,n,t)):s.info(e.TAG,n,t)},e.TAG="QuickPulseSender",e.MAX_QPS_FAILURES_BEFORE_WARN=25,e}();e.exports=f},3668:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?this._pollingIntervalHint:e.PING_INTERVAL,o=this._isCollectingData?e.POST_INTERVAL:r,this._isCollectingData&&Date.now()-this._lastSuccessTime>=e.MAX_POST_WAIT_TIME&&!this._lastSendSucceeded?(this._isCollectingData=!1,o=e.FALLBACK_INTERVAL):!this._isCollectingData&&Date.now()-this._lastSuccessTime>=e.MAX_PING_WAIT_TIME&&!this._lastSendSucceeded&&(o=e.FALLBACK_INTERVAL),this._lastSendSucceeded=null,this._handle=setTimeout(this._goQuickPulse.bind(this),o),this._handle.unref(),[2]}}))}))},e.prototype._ping=function(e){this._sender.ping(e,this._redirectedHost,this._quickPulseDone.bind(this))},e.prototype._post=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this._sender.post(e,this._redirectedHost,this._quickPulseDone.bind(this))];case 1:return t.sent(),[2]}}))}))},e.prototype._quickPulseDone=function(e,t,n,r){null!=e?(this._isCollectingData!==e&&(o.info("Live Metrics sending data",e),this.enableCollectors(e)),this._isCollectingData=e,n&&n.length>0&&(this._redirectedHost=n,o.info("Redirecting endpoint to: ",n)),r&&r>0&&(this._pollingIntervalHint=r),t&&t.statusCode<300&&t.statusCode>=200?(this._lastSuccessTime=Date.now(),this._lastSendSucceeded=!0):this._lastSendSucceeded=!1):this._lastSendSucceeded=!1},e.MAX_POST_WAIT_TIME=2e4,e.MAX_PING_WAIT_TIME=6e4,e.FALLBACK_INTERVAL=6e4,e.PING_INTERVAL=5e3,e.POST_INTERVAL=1e3,e}();e.exports=l},3751:e=>{"use strict";e.exports={getTransmissionTime:function(){return 1e4*(Date.now()+621355968e5)}}},9036:e=>{"use strict";e.exports={requestContextHeader:"request-context",requestContextSourceKey:"appId",requestContextTargetKey:"appId",requestIdHeader:"request-id",parentIdHeader:"x-ms-request-id",rootIdHeader:"x-ms-request-root-id",correlationContextHeader:"correlation-context",traceparentHeader:"traceparent",traceStateHeader:"tracestate"}},2588:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=0&&(this._resendInterval=Math.floor(n)),"number"==typeof r&&r>=0&&(this._maxBytesOnDisk=Math.floor(r)),t&&!m.FileAccessControl.OS_PROVIDES_FILE_PROTECTION&&(this._enableDiskRetryMode=!1,this._logWarn("Ignoring request to enable disk retry mode. Sufficient file protection capabilities were not detected.")),this._enableDiskRetryMode?(this._statsbeat&&this._statsbeat.addFeature(u.StatsbeatFeature.DISK_RETRY),this._fileCleanupTimer||(this._fileCleanupTimer=setTimeout((function(){i._fileCleanupTask()}),e.CLEANUP_TIMEOUT),this._fileCleanupTimer.unref())):(this._statsbeat&&this._statsbeat.removeFeature(u.StatsbeatFeature.DISK_RETRY),this._fileCleanupTimer&&clearTimeout(this._fileCleanupTimer))},e.prototype.send=function(t,n){return r(this,void 0,void 0,(function(){var r,o,a,s,p,m,g,y,b=this;return i(this,(function(i){switch(i.label){case 0:if(!t)return[3,5];if(r=this._redirectedHost||this._config.endpointUrl,o=new f.URL(r).hostname,a={method:"POST",withCredentials:!1,headers:{"Content-Type":"application/x-json-stream"}},!(s=this._getAuthorizationHandler?this._getAuthorizationHandler(this._config):null))return[3,4];this._statsbeat&&this._statsbeat.addFeature(u.StatsbeatFeature.AAD_HANDLING),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,s.addAuthorizationHeader(a)];case 2:return i.sent(),[3,4];case 3:return p=i.sent(),m="Failed to get AAD bearer token for the Application.",this._enableDiskRetryMode&&(m+="This batch of telemetry items will be retried. ",this._storeToDisk(t)),m+="Error:"+p.toString(),this._logWarn(m),"function"==typeof n&&n(m),[2];case 4:g="",t.forEach((function(e){var t=d.stringify(e);"string"==typeof t&&(g+=t+"\n")})),g.length>0&&(g=g.substring(0,g.length-1)),y=Buffer.from?Buffer.from(g):new Buffer(g),c.gzip(y,(function(i,s){var c=s;i?(b._logWarn(d.dumpObj(i)),c=y,a.headers["Content-Length"]=y.length.toString()):(a.headers["Content-Encoding"]="gzip",a.headers["Content-Length"]=s.length.toString()),b._logInfo(d.dumpObj(a)),a[l.disableCollectionRequestOption]=!0;var p=+new Date,f=d.makeRequest(b._config,r,a,(function(e){e.setEncoding("utf-8");var r="";e.on("data",(function(e){r+=e})),e.on("end",(function(){var i,a=+new Date-p;if(b._numConsecutiveFailures=0,r.includes("Invalid instrumentation key")&&400===e.statusCode&&(h.warn("Instrumentation key was invalid, please check the iKey"),null===(i=b._shutdownStatsbeat)||void 0===i||i.call(b)),b._isStatsbeatSender&&!b._statsbeatHasReachedIngestionAtLeastOnce&&(v.includes(e.statusCode)?b._statsbeatHasReachedIngestionAtLeastOnce=!0:b._statsbeatFailedToIngest()),b._statsbeat&&(402==e.statusCode||439==e.statusCode?b._statsbeat.countThrottle(u.StatsbeatNetworkCategory.Breeze,o,e.statusCode):b._statsbeat.countRequest(u.StatsbeatNetworkCategory.Breeze,o,a,200===e.statusCode,e.statusCode)),b._enableDiskRetryMode)if(200===e.statusCode)b._resendTimer||(b._resendTimer=setTimeout((function(){b._resendTimer=null,b._sendFirstFileOnDisk()}),b._resendInterval),b._resendTimer.unref());else if(b._isRetriable(e.statusCode))try{b._statsbeat&&b._statsbeat.countRetry(u.StatsbeatNetworkCategory.Breeze,o,e.statusCode);var s=JSON.parse(r),c=[];s.errors&&(s.errors.forEach((function(e){429!=e.statusCode&&500!=e.statusCode&&503!=e.statusCode||c.push(t[e.index])})),c.length>0&&b._storeToDisk(c))}catch(e){b._storeToDisk(t)}if(307===e.statusCode||308===e.statusCode)if(b._numConsecutiveRedirects++,b._numConsecutiveRedirects<10){var l=e.headers.location?e.headers.location.toString():null;l&&(b._redirectedHost=l,b.send(t,n))}else b._statsbeat&&b._statsbeat.countException(u.StatsbeatNetworkCategory.Breeze,o,{name:"Circular Redirect",message:"Error sending telemetry because of circular redirects."}),"function"==typeof n&&n("Error sending telemetry because of circular redirects.");else b._numConsecutiveRedirects=0,"function"==typeof n&&n(r),b._logInfo(r),"function"==typeof b._onSuccess&&b._onSuccess(r)}))}));f.setTimeout(e.HTTP_TIMEOUT,(function(){b._requestTimedOut=!0,f.abort()})),f.on("error",(function(r){if(b._isStatsbeatSender&&!b._statsbeatHasReachedIngestionAtLeastOnce&&b._statsbeatFailedToIngest(),b._numConsecutiveFailures++,b._statsbeat&&b._statsbeat.countException(u.StatsbeatNetworkCategory.Breeze,o,r),!b._enableDiskRetryMode||b._numConsecutiveFailures>0&&b._numConsecutiveFailures%e.MAX_CONNECTION_FAILURES_BEFORE_WARN==0){var i="Ingestion endpoint could not be reached. This batch of telemetry items has been lost. Use Disk Retry Caching to enable resending of failed telemetry. Error:";b._enableDiskRetryMode&&(i="Ingestion endpoint could not be reached "+b._numConsecutiveFailures+" consecutive times. There may be resulting telemetry loss. Most recent error:"),b._logWarn(i,d.dumpObj(r))}else i="Transient failure to reach ingestion endpoint. This batch of telemetry items will be retried. Error:",b._logInfo(i,d.dumpObj(r));b._onErrorHelper(r),"function"==typeof n&&(r?(b._requestTimedOut&&(r.name="telemetry timeout",r.message="telemetry request timed out"),n(d.dumpObj(r))):n("Error sending telemetry")),b._enableDiskRetryMode&&b._storeToDisk(t)})),f.write(c),f.end()})),i.label=5;case 5:return[2]}}))}))},e.prototype.saveOnCrash=function(e){this._enableDiskRetryMode&&this._storeToDiskSync(d.stringify(e))},e.prototype._isRetriable=function(e){return 206===e||401===e||403===e||408===e||429===e||500===e||502===e||503===e||504===e},e.prototype._logInfo=function(t){for(var n=[],r=1;r=3&&this._shutdownStatsbeat())},e.prototype._storeToDisk=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,a,c,u;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),this._logInfo("Checking existence of data storage directory: "+this._tempDir),[4,p.confirmDirExists(this._tempDir)];case 1:return i.sent(),[3,3];case 2:return t=i.sent(),this._logWarn("Failed to create folder to put telemetry: "+d.dumpObj(t)),this._onErrorHelper(t),[2];case 3:return i.trys.push([3,5,,6]),[4,m.FileAccessControl.applyACLRules(this._tempDir)];case 4:return i.sent(),[3,6];case 5:return n=i.sent(),this._logWarn("Failed to apply file access control to folder: "+d.dumpObj(n)),this._onErrorHelper(n),[2];case 6:return i.trys.push([6,8,,9]),[4,p.getShallowDirectorySize(this._tempDir)];case 7:return(r=i.sent())>this._maxBytesOnDisk?(this._logWarn("Not saving data due to max size limit being met. Directory size in bytes is: "+r),[2]):[3,9];case 8:return o=i.sent(),this._logWarn("Failed to read directory for retriable telemetry: "+d.dumpObj(o)),this._onErrorHelper(o),[2];case 9:return i.trys.push([9,11,,12]),a=(new Date).getTime()+".ai.json",c=s.join(this._tempDir,a),this._logInfo("saving data to disk at: "+c),[4,p.writeFileAsync(c,d.stringify(e),{mode:384})];case 10:return i.sent(),[3,12];case 11:return u=i.sent(),this._logWarn("Failed to persist telemetry to disk: "+d.dumpObj(u)),this._onErrorHelper(u),[2];case 12:return[2]}}))}))},e.prototype._storeToDiskSync=function(e){try{this._logInfo("Checking existence of data storage directory: "+this._tempDir),o.existsSync(this._tempDir)||o.mkdirSync(this._tempDir),m.FileAccessControl.applyACLRulesSync(this._tempDir);var t=p.getShallowDirectorySizeSync(this._tempDir);if(t>this._maxBytesOnDisk)return void this._logInfo("Not saving data due to max size limit being met. Directory size in bytes is: "+t);var n=(new Date).getTime()+".ai.json",r=s.join(this._tempDir,n);this._logInfo("saving data before crash to disk at: "+r),o.writeFileSync(r,e,{mode:384})}catch(e){this._logWarn("Error while saving data to disk: "+d.dumpObj(e)),this._onErrorHelper(e)}},e.prototype._sendFirstFileOnDisk=function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,6,,7]),[4,p.readdirAsync(this._tempDir)];case 1:return(e=(e=i.sent()).filter((function(e){return s.basename(e).indexOf(".ai.json")>-1}))).length>0?(t=e[0],n=s.join(this._tempDir,t),[4,p.readFileAsync(n)]):[3,5];case 2:return r=i.sent(),[4,p.unlinkAsync(n)];case 3:return i.sent(),o=JSON.parse(r.toString()),[4,this.send(o)];case 4:i.sent(),i.label=5;case 5:return[3,7];case 6:return a=i.sent(),this._onErrorHelper(a),[3,7];case 7:return[2]}}))}))},e.prototype._onErrorHelper=function(e){"function"==typeof this._onError&&this._onError(e)},e.prototype._fileCleanupTask=function(){return r(this,void 0,void 0,(function(){var t,n,r,o,a,c=this;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,6,,7]),[4,p.readdirAsync(this._tempDir)];case 1:if(!((t=(t=i.sent()).filter((function(e){return s.basename(e).indexOf(".ai.json")>-1}))).length>0))return[3,5];n=0,i.label=2;case 2:return nr?(o=s.join(this._tempDir,t[n]),[4,p.unlinkAsync(o).catch((function(e){c._onErrorHelper(e)}))]):[3,4]):[3,5];case 3:i.sent(),i.label=4;case 4:return n++,[3,2];case 5:return[3,7];case 6:return"ENOENT"!=(a=i.sent()).code&&this._onErrorHelper(a),[3,7];case 7:return[2]}}))}))},e.TAG="Sender",e.WAIT_BETWEEN_RESEND=6e4,e.MAX_BYTES_ON_DISK=52428800,e.MAX_CONNECTION_FAILURES_BEFORE_WARN=5,e.CLEANUP_TIMEOUT=36e5,e.FILE_RETEMPTION_PERIOD=6048e5,e.TEMPDIR_PREFIX="appInsights-node",e.HTTP_TIMEOUT=2e4,e}();e.exports=g},2570:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isContentTypeHeaderHtml=t.insertSnippetByIndex=t.getContentEncodingFromHeaders=t.isSupportedContentEncoding=t.findBufferEncodingType=t.isBufferType=t.getBrotliDecompressSync=t.getBrotliDecompressAsync=t.getBrotliCompressSync=t.getBrotliCompressAsync=t.inflateAsync=t.deflateAsync=t.gunzipAsync=t.gzipAsync=t.isBrotliSupperted=t.bufferEncodingTypes=t.contentEncodingMethod=void 0;var r,i=n(9796),o=n(3837);!function(e){e.GZIP="gzip",e.DEFLATE="deflate",e.BR="br"}(r=t.contentEncodingMethod||(t.contentEncodingMethod={})),t.bufferEncodingTypes=["utf8","utf16le","latin1","base64","hex","ascii","binary","ucs2"],t.isBrotliSupperted=function(){var e=process.versions.node.split(".")[0];return parseInt(e)>=10},t.gzipAsync=o.promisify(i.gzip),t.gunzipAsync=o.promisify(i.gunzip),t.deflateAsync=o.promisify(i.deflate),t.inflateAsync=o.promisify(i.inflate),t.getBrotliCompressAsync=function(e){return t.isBrotliSupperted()&&"function"==typeof e.brotliCompress?o.promisify(e.brotliCompress):null},t.getBrotliCompressSync=function(e){return t.isBrotliSupperted()&&"function"==typeof e.brotliCompressSync?e.brotliCompressSync:null},t.getBrotliDecompressAsync=function(e){return t.isBrotliSupperted()&&"function"==typeof e.brotliDecompress?o.promisify(e.brotliDecompress):null},t.getBrotliDecompressSync=function(e){return t.isBrotliSupperted()&&"function"==typeof e.brotliDecompressSync?e.brotliDecompressSync:null},t.isBufferType=function(e,t){var n=t||"utf8",r=!1;return Buffer.isEncoding(n)&&(r=Buffer.from(e.toString(n),n).toJSON().data.toString()===e.toJSON().data.toString()),r},t.findBufferEncodingType=function(e){var n=null;for(var r in t.bufferEncodingTypes){var i=t.bufferEncodingTypes[r];if(Buffer.isEncoding(i)&&t.isBufferType(e,i)){n=i;break}}return n},t.isSupportedContentEncoding=function(e){var t=null;switch(e){case"gzip":t=r.GZIP;break;case"br":t=r.BR;break;case"deflate":t=r.DEFLATE}return t},t.getContentEncodingFromHeaders=function(e){var n=[],r=e.getHeader("Content-Encoding");if(!r)return null;if("string"==typeof r){var i=t.isSupportedContentEncoding(r);i&&n.push(i)}return n},t.insertSnippetByIndex=function(e,t,n){return e<0?null:t.substring(0,e)+'