@nsshunt/stsuxvue 1.0.139 → 1.0.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"stsuxvue.cjs","names":["defineStore","_cloneDeep","defineAsyncComponent","ref","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","reactive","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","computed","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","Aacute","aacute","Acirc","acirc","acute","AElig","aelig","Agrave","agrave","amp","AMP","apos","Aring","aring","Atilde","atilde","Auml","auml","brvbar","Ccedil","ccedil","cedil","cent","copy","COPY","curren","deg","divide","Eacute","eacute","Ecirc","ecirc","Egrave","egrave","ETH","eth","Euml","euml","frac12","frac14","frac34","gt","GT","Iacute","iacute","Icirc","icirc","iexcl","Igrave","igrave","iquest","Iuml","iuml","laquo","lt","LT","macr","Map","micro","middot","nbsp","not","Ntilde","ntilde","Oacute","oacute","Ocirc","ocirc","Ograve","ograve","ordf","ordm","Oslash","oslash","Otilde","otilde","Ouml","ouml","para","plusmn","pound","quot","QUOT","raquo","reg","REG","sect","shy","sup1","sup2","sup3","szlig","THORN","thorn","times","Uacute","uacute","Ucirc","ucirc","Ugrave","ugrave","uml","Uuml","uuml","Yacute","yacute","yen","yuml","amp","gt","lt","quot","_text","getPrototypeOf","getGlobal","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","Convert","computed","Gauge","DOMPurify","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createVNode","_createTextVNode","_toDisplayString","_createElementVNode","_unref","_createElementBlock","_createCommentVNode","_Fragment","_renderList","UXBarChart","_sfc_main","ANSI_BACKGROUND_OFFSET","wrapAnsi16","wrapAnsi256","wrapAnsi16m","styles","foregroundColorNames","backgroundColorNames","assembleStyles","ansiStyles","level","colorSupport","supportsColor","stringReplaceAll","stringEncaseCRLFWithFirstIndex","stdoutColor","stderrColor","supportsColor","GENERATOR","STYLER","IS_EMPTY","levelMapping","styles","applyOptions","chalkFactory","createChalk","ansiStyles","createBuilder","createStyler","getModelAnsi","proto","applyStyle","stringReplaceAll","stringEncaseCRLFWithFirstIndex","chalk","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","Convert","computed","Gauge","chalk","DOMPurify","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createElementVNode","_createTextVNode","_toDisplayString","_createElementBlock","_createCommentVNode","_createVNode","_Fragment","_renderList","_unref","UXLineChart","UXBarChart","_sfc_main","_hoisted_1","_hoisted_2","ref","chalk","Gauge","computed","_resolveComponent","_openBlock","_createBlock","_withCtx","_createElementVNode","_createTextVNode","_toDisplayString","_createElementBlock","_createCommentVNode","_createVNode","_sfc_main","_hoisted_1","_hoisted_2","computed","Gauge","chalk","_openBlock","_createElementBlock","_Fragment","_renderList","_createBlock","_resolveDynamicComponent","UXModelInstrumentServiceSmall","UXModelInstrumentServiceCommon","_createCommentVNode","_sfc_main","isFunction","utils","utils","$internals","utils","parseHeaders","utils","stringifySafely","utils","encode","utils","utils","platform","platform","utils","utils","utils","transitionalDefaults","platform","utils","platform","platform","utils","utils","encodeUTF8","utils","platform","isURLSameOrigin","cookies","platform","transitionalDefaults","utils","utils","utils","platform","xhrAdapter","fetchAdapter.getFetch","utils","utils","adapters","validators","validator","utils","transitionalDefaults","utils","utils","adapters","import_tiny_emitter","isNode","io","Gauge","GaugeTypes","isNode","STSAxiosConfig","defaultLogger","_hoisted_1","defaultLogger","chalk","reactive","computed","ref","Sleep","_resolveComponent","_openBlock","_createBlock","_withCtx","_createTextVNode","_toDisplayString","_createVNode","_unref","_isRef","UXModelNode","_createElementVNode","_sfc_main","chalk","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createVNode","_createElementVNode","_createElementBlock","_Fragment","_renderList","_createTextVNode","_toDisplayString","_createCommentVNode","_sfc_main"],"sources":["../src/stores/modelStore.ts","../src/commonTypes.ts","../src/components/UXBarChart.vue","../src/components/UXBarChart.vue","../src/components/UXLineChart.vue","../src/components/UXLineChart.vue","../src/components/UXMultiBarChart.vue","../src/components/UXMultiBarChart.vue","../src/components/UXRadialChart.vue","../src/components/UXRadialChart.vue","../node_modules/entities/lib/maps/entities.json","../node_modules/entities/lib/maps/legacy.json","../node_modules/entities/lib/maps/xml.json","../node_modules/entities/lib/maps/decode.json","../node_modules/entities/lib/decode_codepoint.js","../node_modules/entities/lib/decode.js","../node_modules/entities/lib/encode.js","../node_modules/entities/lib/index.js","../node_modules/ansi-to-html/lib/ansi_to_html.js","../node_modules/dompurify/dist/purify.es.mjs","../src/components/UXModelInstrumentAgentCommon.vue","../src/components/UXModelInstrumentAgentCommon.vue","../node_modules/chalk/source/vendor/ansi-styles/index.js","../node_modules/chalk/source/vendor/supports-color/browser.js","../node_modules/chalk/source/utilities.js","../node_modules/chalk/source/index.js","../src/components/UXModelInstrumentServiceCommon.vue","../src/components/UXModelInstrumentServiceCommon.vue","../src/components/UXModelInstrumentServiceSmall.vue","../src/components/UXModelInstrumentServiceSmall.vue","../src/components/UXModelNode.vue","../src/components/UXModelNode.vue","../node_modules/tiny-emitter/index.js","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/utils.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/sanitizeHeaderValue.js","../node_modules/axios/lib/core/AxiosHeaders.js","../node_modules/axios/lib/core/AxiosError.js","../node_modules/axios/lib/helpers/toFormData.js","../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/defaults/transitional.js","../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../node_modules/axios/lib/platform/browser/classes/FormData.js","../node_modules/axios/lib/platform/browser/classes/Blob.js","../node_modules/axios/lib/platform/browser/index.js","../node_modules/axios/lib/platform/common/utils.js","../node_modules/axios/lib/platform/index.js","../node_modules/axios/lib/helpers/toURLEncodedForm.js","../node_modules/axios/lib/helpers/formDataToJSON.js","../node_modules/axios/lib/core/methodList.js","../node_modules/axios/lib/defaults/index.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/cancel/CanceledError.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js","../node_modules/axios/lib/helpers/parseProtocol.js","../node_modules/axios/lib/helpers/speedometer.js","../node_modules/axios/lib/helpers/throttle.js","../node_modules/axios/lib/helpers/progressEventReducer.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/setFormDataHeaders.js","../node_modules/axios/lib/helpers/resolveConfig.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/helpers/composeSignals.js","../node_modules/axios/lib/helpers/trackStream.js","../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js","../node_modules/axios/lib/env/data.js","../node_modules/axios/lib/adapters/fetch.js","../node_modules/axios/lib/adapters/adapters.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/HttpStatusCode.js","../node_modules/axios/lib/axios.js","../node_modules/@nsshunt/stssocketioutils/dist/tiny-emitter-Ci1ma0VV.js","../node_modules/@nsshunt/stssocketioutils/dist/index.mjs","../node_modules/@nsshunt/stsinstrumentmanagerclient/dist/index.mjs","../src/components/UXModelNavigator.vue","../src/components/UXModelNavigator.vue","../src/components/UXTestForm.vue","../src/components/UXTestForm.vue"],"sourcesContent":["/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { defineStore } from \"pinia\";\nimport _cloneDeep from \"lodash.clonedeep\";\n\nimport { type ISubscriptionKey } from \"@nsshunt/stsinstrumentmanagerclient\";\nimport { type JSONObject } from \"@nsshunt/stsutils\";\n\n//import { ObservabilitySubscriberManager } from './../plugins/observabilitySubscriberManager'\n\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\n\nexport interface IModelMeta {\n detailView: boolean;\n}\n\nexport interface IModelStore {\n serviceModel: JSONObject;\n agentModel: JSONObject;\n modelMeta: Record<string, IModelMeta>;\n serviceModelSubscriptionKey: ISubscriptionKey | null;\n agentModelSubscriptionKey: ISubscriptionKey | null;\n friendlyName: Record<string, string>;\n friendNameIndex: number;\n state: string;\n}\nexport interface IModelStores {\n _models: Record<string, IModelStore>;\n _state: Record<string, string>;\n //_observabilitySubscriberManager: Record<string, ObservabilitySubscriberManager | null>\n}\n\nexport enum _estate {\n IDLE = \"idle\",\n STARTING = \"starting\",\n STARTED = \"started\",\n STOPPING = \"stopping\",\n DELAYED_START = \"delayed_start\",\n}\n\nexport const ModelStore = defineStore(\"__sts__ModelStore\", {\n // State\n // https://pinia.vuejs.org/core-concepts/state.html\n state: (): IModelStores => {\n return {\n _models: {},\n _state: {},\n //_observabilitySubscriberManager: { }\n };\n /*\n serviceModel: { },\n agentModel: { },\n modelMeta: { },\n serviceModelSubscriptionKey: null,\n agentModelSubscriptionKey: null,\n friendlyName: { },\n friendNameIndex: 1\n */\n },\n\n // Getters\n // https://pinia.vuejs.org/core-concepts/getters.html\n\n // Actions\n // https://pinia.vuejs.org/core-concepts/actions.html\n actions: {\n /*\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n UpdateModel(model: MasterModel): void {\n //this.masterModel.serviceModel = _cloneDeep(model.serviceModel.model);\n //this.masterModel.agentModel = _cloneDeep(model.agentModel.model);\n },\n UpdateLogDataDirect(modeNode: any, logData: string[]): void {\n if (modeNode.instruments) {\n modeNode.instruments[Gauge.LOGGER] = {\n '_': 'd',\n val: _cloneDeep(logData)\n } as any\n modeNode.instruments[Gauge.LOGGER_COPY] = {\n '_': 'd',\n val: _cloneDeep(logData)\n } as any\n }\n },\n UpdateLogData(modeNode: any, logData: string[]): void {\n this.UpdateLogDataDirect(modeNode, [ ]);\n if (modeNode.instruments && modeNode.children) {\n for (const [k, v] of Object.entries(modeNode.children) as any) {\n this.UpdateLogDataDirect(v, [ ]);\n }\n }\n },\n UpdateModelEx(model: ModelNode): void {\n try {\n this.model = _cloneDeep((model as any).data);\n if (!this.model.context?.serviceInstanceId) {\n // Remove aggregated logs (legacy instruments when logs part of payload) for non serviceInstanceId 'levels'\n this.UpdateLogData(this.model, [ ]);\n }\n } catch (error) {\n console.error(chalk.red(`${error}`));\n //console.error(chalk.red(`${JSON.stringify(this.model)}`));\n }\n },\n UpdateModelLogs(nodeId: string, logMessages: string[]): void {\n const topicSplit = nodeId.split('_');\n const serviceInstanceId = `${topicSplit[0]}@${topicSplit[1]}`;\n const serviceInstanceProcessId = `${topicSplit[2]}@${topicSplit[3]}`;\n\n //topic = (serviceInstanceId + '_' + serviceInstanceProcessId).replace(/@/g, '_');\n if (this.model.children) {\n for (const [k, v] of Object.entries(this.model.children) as any) {\n if (v.context.serviceInstanceId.localeCompare(serviceInstanceId) === 0) {\n if (v.context.serviceInstanceProcessId.localeCompare(serviceInstanceProcessId) === 0) {\n this.UpdateLogDataDirect(v, logMessages);\n }\n }\n }\n }\n },\n */\n\n GetSate(modelId: string): string {\n if (!this._state[modelId]) {\n this._state[modelId] = _estate.IDLE;\n }\n return this._state[modelId];\n },\n\n UpdateSate(modelId: string, newSate: string): void {\n this._state[modelId] = newSate;\n },\n\n /*\n UpdateObservabilitySubscriberManager(modelId: string, observabilitySubscriberManager: ObservabilitySubscriberManager | null): void {\n if (observabilitySubscriberManager === null) {\n delete this._observabilitySubscriberManager[modelId];\n } else {\n this._observabilitySubscriberManager[modelId] = observabilitySubscriberManager;\n }\n },\n */\n\n SetupNewModelId(modelId: string): void {\n this._models[modelId] = {\n serviceModel: {},\n agentModel: {},\n modelMeta: {},\n serviceModelSubscriptionKey: null,\n agentModelSubscriptionKey: null,\n friendlyName: {},\n friendNameIndex: 1,\n state: \"idle\",\n };\n },\n\n UpdateServiceModel(\n modelId: string,\n model: JSONObject,\n subscriptionKey: ISubscriptionKey\n ): void {\n try {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n this._models[modelId].serviceModel = _cloneDeep(model);\n this._models[modelId].serviceModelSubscriptionKey =\n subscriptionKey;\n } catch (error) {\n console.error(error);\n }\n },\n\n UpdateAgentModel(\n modelId: string,\n model: JSONObject,\n subscriptionKey: ISubscriptionKey\n ): void {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n this._models[modelId].agentModel = _cloneDeep(model);\n this._models[modelId].agentModelSubscriptionKey = subscriptionKey;\n //console.log(`agentModel: ${this.agentModel}`);\n //console.log(`agentModelSubscriptionKey: ${JSON.stringify(this.agentModelSubscriptionKey)}`);\n },\n\n GetFriendName(modelId: string, id: string): string {\n try {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n if (!this._models[modelId].friendlyName[id]) {\n this._models[modelId].friendlyName[id] =\n `FN${this._models[modelId].friendNameIndex++}@${id.split(\"@\")[1]}`;\n }\n return this._models[modelId].friendlyName[id];\n } catch (error) {\n return `Error: ${error}`;\n }\n },\n },\n});\n","export const URI_BASE_STSUXVUE: string = \"/\";\n\nexport interface IRadioGroupElement {\n key: string;\n label: string;\n value: string;\n}\n\nexport interface IFormDataElement {\n elementType: string;\n model?: string | number | boolean;\n label?: string;\n hint?: string;\n description?: string;\n radioGroup?: IRadioGroupElement[];\n}\n\nexport type IFormData = IFormDataElement[];\n\nexport interface IObservabilitySubscriberManagerOptions {\n modelId: string;\n consumeInstrumentationMode: string;\n instrumentManagerEndpoint: string;\n instrumentManagerPort: string;\n instrumentManagerAPIRoot: string;\n}\n","<script setup lang=\"ts\">\nimport { ref, defineAsyncComponent } from \"vue\";\n\n//import VueApexCharts from 'vue3-apexcharts'\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n//const VueApexCharts = () => import('vue3-apexcharts')\n\nconst series = [\n {\n name: \"Duration (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n {\n name: \"Latency (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n];\n\nconst options = {\n chart: {\n type: \"bar\",\n height: 350,\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n },\n plotOptions: {\n bar: {\n horizontal: false,\n columnWidth: \"55%\",\n endingShape: \"rounded\",\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n show: true,\n width: 2,\n colors: [\"transparent\"],\n },\n xaxis: {\n categories: [\"10\", \"20\", \"50\", \"100\", \"1000\", \"5000\", \"EE\"],\n },\n yaxis: {\n title: {\n text: \"count\",\n },\n },\n fill: {\n opacity: 1,\n },\n tooltip: {\n enabled: false,\n y: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n formatter: function (val: any) {\n return \"$ \" + val + \" thousands\";\n },\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst barChart = ref(null);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst UpdateGraph = (durationSeries: any[], latencySeries: any[]) => {\n series[0].data = durationSeries.map((v) => v[0]);\n series[1].data = latencySeries.map((v) => v[0]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (barChart.value as any).updateSeries(series, true);\n};\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"barChart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { ref, defineAsyncComponent } from \"vue\";\n\n//import VueApexCharts from 'vue3-apexcharts'\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n//const VueApexCharts = () => import('vue3-apexcharts')\n\nconst series = [\n {\n name: \"Duration (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n {\n name: \"Latency (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n];\n\nconst options = {\n chart: {\n type: \"bar\",\n height: 350,\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n },\n plotOptions: {\n bar: {\n horizontal: false,\n columnWidth: \"55%\",\n endingShape: \"rounded\",\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n show: true,\n width: 2,\n colors: [\"transparent\"],\n },\n xaxis: {\n categories: [\"10\", \"20\", \"50\", \"100\", \"1000\", \"5000\", \"EE\"],\n },\n yaxis: {\n title: {\n text: \"count\",\n },\n },\n fill: {\n opacity: 1,\n },\n tooltip: {\n enabled: false,\n y: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n formatter: function (val: any) {\n return \"$ \" + val + \" thousands\";\n },\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst barChart = ref(null);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst UpdateGraph = (durationSeries: any[], latencySeries: any[]) => {\n series[0].data = durationSeries.map((v) => v[0]);\n series[1].data = latencySeries.map((v) => v[0]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (barChart.value as any).updateSeries(series, true);\n};\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"barChart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { reactive, defineAsyncComponent } from \"vue\";\n//import ApexCharts, { type ApexOptions } from \"apexcharts\";\n\n//import VueApexCharts from 'vue3-apexcharts'\n//const VueApexCharts = () => import('vue3-apexcharts')\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nlet interval = 0;\n\ninterface dataPoint {\n x: number;\n y: number;\n}\ninterface series {\n data: dataPoint[];\n}\n\nconst series: series[] = reactive([{ data: [] }]);\n\nconst UpdateGraph = (val: number) => {\n series[0].data.push({\n x: interval++,\n y: val,\n });\n if (series[0].data.length > 50) {\n series[0].data.shift();\n }\n};\n\nconst options = {\n chart: {\n id: \"realtime\",\n height: 50,\n type: \"area\",\n animations: {\n enabled: false,\n easing: \"linear\",\n dynamicAnimation: {\n speed: 1000,\n },\n },\n toolbar: {\n show: false,\n },\n zoom: {\n enabled: false,\n },\n sparkline: {\n enabled: false,\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n curve: \"smooth\",\n width: 3,\n colors: [\"#6e1db5\"],\n },\n markers: {\n size: 0,\n },\n fill: {\n //colors: ['#BDD5F5'],\n //gradientToColors: ['#EE2A17'],\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 100, 100],\n },\n },\n tooltip: {\n enabled: false,\n },\n xaxis: {\n //type: \"datetime\",\n //range: 777600000\n type: \"numeric\",\n range: 25,\n tickAmount: 8,\n labels: {\n show: false,\n },\n },\n yaxis: {\n min: 0,\n //max: 100,\n tickAmount: 5,\n labels: {\n formatter: function (val: any, index: any) {\n return val.toFixed(2);\n },\n },\n },\n legend: {\n show: false,\n },\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { reactive, defineAsyncComponent } from \"vue\";\n//import ApexCharts, { type ApexOptions } from \"apexcharts\";\n\n//import VueApexCharts from 'vue3-apexcharts'\n//const VueApexCharts = () => import('vue3-apexcharts')\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nlet interval = 0;\n\ninterface dataPoint {\n x: number;\n y: number;\n}\ninterface series {\n data: dataPoint[];\n}\n\nconst series: series[] = reactive([{ data: [] }]);\n\nconst UpdateGraph = (val: number) => {\n series[0].data.push({\n x: interval++,\n y: val,\n });\n if (series[0].data.length > 50) {\n series[0].data.shift();\n }\n};\n\nconst options = {\n chart: {\n id: \"realtime\",\n height: 50,\n type: \"area\",\n animations: {\n enabled: false,\n easing: \"linear\",\n dynamicAnimation: {\n speed: 1000,\n },\n },\n toolbar: {\n show: false,\n },\n zoom: {\n enabled: false,\n },\n sparkline: {\n enabled: false,\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n curve: \"smooth\",\n width: 3,\n colors: [\"#6e1db5\"],\n },\n markers: {\n size: 0,\n },\n fill: {\n //colors: ['#BDD5F5'],\n //gradientToColors: ['#EE2A17'],\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 100, 100],\n },\n },\n tooltip: {\n enabled: false,\n },\n xaxis: {\n //type: \"datetime\",\n //range: 777600000\n type: \"numeric\",\n range: 25,\n tickAmount: 8,\n labels: {\n show: false,\n },\n },\n yaxis: {\n min: 0,\n //max: 100,\n tickAmount: 5,\n labels: {\n formatter: function (val: any, index: any) {\n return val.toFixed(2);\n },\n },\n },\n legend: {\n show: false,\n },\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"100\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n style=\"background: red\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\n\nimport type { JSONObject } from \"@nsshunt/stsutils\";\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst props = defineProps<{\n series: JSONObject[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = {\n chart: {\n id: \"multibarrealtime\",\n //height: 0,\n type: \"bar\",\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n offsetX: 0,\n offsetY: 0,\n parentHeightOffset: 0,\n },\n plotOptions: {\n bar: {\n barHeight: \"100%\",\n distributed: true,\n horizontal: true,\n /*\n dataLabels: {\n position: 'left',\n }\n */\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n dataLabels: {\n enabled: true,\n textAnchor: \"start\",\n //distributed: true,\n style: {\n colors: [\"#fff\"],\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars\n formatter: function (val: any, opt: any) {\n //return opt.w.globals.labels[opt.dataPointIndex] + \": \" + val\n return val;\n },\n offsetX: -10,\n offsetY: 0,\n dropShadow: {\n enabled: true,\n },\n },\n stroke: {\n width: 1,\n colors: [\"#fff\"],\n },\n xaxis: {\n categories: [\"AR\", \"TCP\", \"Pool\"],\n },\n yaxis: {\n labels: {\n show: true,\n },\n },\n legend: {\n show: false,\n },\n tooltip: {\n enabled: false,\n },\n grid: {\n show: true,\n padding: {\n top: -20,\n right: 20,\n bottom: -5,\n left: 5,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"100\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n style=\"background: red\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\n\nimport type { JSONObject } from \"@nsshunt/stsutils\";\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst props = defineProps<{\n series: JSONObject[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = {\n chart: {\n id: \"multibarrealtime\",\n //height: 0,\n type: \"bar\",\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n offsetX: 0,\n offsetY: 0,\n parentHeightOffset: 0,\n },\n plotOptions: {\n bar: {\n barHeight: \"100%\",\n distributed: true,\n horizontal: true,\n /*\n dataLabels: {\n position: 'left',\n }\n */\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n dataLabels: {\n enabled: true,\n textAnchor: \"start\",\n //distributed: true,\n style: {\n colors: [\"#fff\"],\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars\n formatter: function (val: any, opt: any) {\n //return opt.w.globals.labels[opt.dataPointIndex] + \": \" + val\n return val;\n },\n offsetX: -10,\n offsetY: 0,\n dropShadow: {\n enabled: true,\n },\n },\n stroke: {\n width: 1,\n colors: [\"#fff\"],\n },\n xaxis: {\n categories: [\"AR\", \"TCP\", \"Pool\"],\n },\n yaxis: {\n labels: {\n show: true,\n },\n },\n legend: {\n show: false,\n },\n tooltip: {\n enabled: false,\n },\n grid: {\n show: true,\n padding: {\n top: -20,\n right: 20,\n bottom: -5,\n left: 5,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"140\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, defineAsyncComponent } from \"vue\";\n\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nconst props = defineProps<{\n series: number[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = computed(() => {\n return {\n chart: {\n id: \"realtime\",\n //height: 0,\n type: \"radialBar\",\n },\n plotOptions: {\n radialBar: {\n offsetY: 0,\n startAngle: 0,\n endAngle: 270,\n hollow: {\n margin: 5,\n size: \"30%\",\n background: \"transparent\",\n image: undefined,\n },\n dataLabels: {\n name: {\n show: false,\n },\n value: {\n show: false,\n },\n },\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n labels: props.labels,\n legend: {\n show: true,\n floating: true,\n fontSize: \"14px\",\n position: \"left\",\n offsetX: 180,\n offsetY: 6,\n labels: {\n useSeriesColors: true,\n },\n markers: {\n size: 0,\n },\n //formatter: function(seriesName: string, opts: JSONObject) {\n //return seriesName + \": \" + opts.w.globals.series[opts.seriesIndex]\n //},\n itemMargin: {\n vertical: 0,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any;\n});\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"140\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, defineAsyncComponent } from \"vue\";\n\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nconst props = defineProps<{\n series: number[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = computed(() => {\n return {\n chart: {\n id: \"realtime\",\n //height: 0,\n type: \"radialBar\",\n },\n plotOptions: {\n radialBar: {\n offsetY: 0,\n startAngle: 0,\n endAngle: 270,\n hollow: {\n margin: 5,\n size: \"30%\",\n background: \"transparent\",\n image: undefined,\n },\n dataLabels: {\n name: {\n show: false,\n },\n value: {\n show: false,\n },\n },\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n labels: props.labels,\n legend: {\n show: true,\n floating: true,\n fontSize: \"14px\",\n position: \"left\",\n offsetX: 180,\n offsetY: 6,\n labels: {\n useSeriesColors: true,\n },\n markers: {\n size: 0,\n },\n //formatter: function(seriesName: string, opts: JSONObject) {\n //return seriesName + \": \" + opts.w.globals.series[opts.seriesIndex]\n //},\n itemMargin: {\n vertical: 0,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any;\n});\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Abreve\":\"Ă\",\"abreve\":\"ă\",\"ac\":\"∾\",\"acd\":\"∿\",\"acE\":\"∾̳\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"Acy\":\"А\",\"acy\":\"а\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"af\":\"⁡\",\"Afr\":\"𝔄\",\"afr\":\"𝔞\",\"Agrave\":\"À\",\"agrave\":\"à\",\"alefsym\":\"ℵ\",\"aleph\":\"ℵ\",\"Alpha\":\"Α\",\"alpha\":\"α\",\"Amacr\":\"Ā\",\"amacr\":\"ā\",\"amalg\":\"⨿\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"⩕\",\"And\":\"⩓\",\"and\":\"∧\",\"andd\":\"⩜\",\"andslope\":\"⩘\",\"andv\":\"⩚\",\"ang\":\"∠\",\"ange\":\"⦤\",\"angle\":\"∠\",\"angmsdaa\":\"⦨\",\"angmsdab\":\"⦩\",\"angmsdac\":\"⦪\",\"angmsdad\":\"⦫\",\"angmsdae\":\"⦬\",\"angmsdaf\":\"⦭\",\"angmsdag\":\"⦮\",\"angmsdah\":\"⦯\",\"angmsd\":\"∡\",\"angrt\":\"∟\",\"angrtvb\":\"⊾\",\"angrtvbd\":\"⦝\",\"angsph\":\"∢\",\"angst\":\"Å\",\"angzarr\":\"⍼\",\"Aogon\":\"Ą\",\"aogon\":\"ą\",\"Aopf\":\"𝔸\",\"aopf\":\"𝕒\",\"apacir\":\"⩯\",\"ap\":\"≈\",\"apE\":\"⩰\",\"ape\":\"≊\",\"apid\":\"≋\",\"apos\":\"'\",\"ApplyFunction\":\"⁡\",\"approx\":\"≈\",\"approxeq\":\"≊\",\"Aring\":\"Å\",\"aring\":\"å\",\"Ascr\":\"𝒜\",\"ascr\":\"𝒶\",\"Assign\":\"≔\",\"ast\":\"*\",\"asymp\":\"≈\",\"asympeq\":\"≍\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"awconint\":\"∳\",\"awint\":\"⨑\",\"backcong\":\"≌\",\"backepsilon\":\"϶\",\"backprime\":\"‵\",\"backsim\":\"∽\",\"backsimeq\":\"⋍\",\"Backslash\":\"∖\",\"Barv\":\"⫧\",\"barvee\":\"⊽\",\"barwed\":\"⌅\",\"Barwed\":\"⌆\",\"barwedge\":\"⌅\",\"bbrk\":\"⎵\",\"bbrktbrk\":\"⎶\",\"bcong\":\"≌\",\"Bcy\":\"Б\",\"bcy\":\"б\",\"bdquo\":\"„\",\"becaus\":\"∵\",\"because\":\"∵\",\"Because\":\"∵\",\"bemptyv\":\"⦰\",\"bepsi\":\"϶\",\"bernou\":\"ℬ\",\"Bernoullis\":\"ℬ\",\"Beta\":\"Β\",\"beta\":\"β\",\"beth\":\"ℶ\",\"between\":\"≬\",\"Bfr\":\"𝔅\",\"bfr\":\"𝔟\",\"bigcap\":\"⋂\",\"bigcirc\":\"◯\",\"bigcup\":\"⋃\",\"bigodot\":\"⨀\",\"bigoplus\":\"⨁\",\"bigotimes\":\"⨂\",\"bigsqcup\":\"⨆\",\"bigstar\":\"★\",\"bigtriangledown\":\"▽\",\"bigtriangleup\":\"△\",\"biguplus\":\"⨄\",\"bigvee\":\"⋁\",\"bigwedge\":\"⋀\",\"bkarow\":\"⤍\",\"blacklozenge\":\"⧫\",\"blacksquare\":\"▪\",\"blacktriangle\":\"▴\",\"blacktriangledown\":\"▾\",\"blacktriangleleft\":\"◂\",\"blacktriangleright\":\"▸\",\"blank\":\"␣\",\"blk12\":\"▒\",\"blk14\":\"░\",\"blk34\":\"▓\",\"block\":\"█\",\"bne\":\"=⃥\",\"bnequiv\":\"≡⃥\",\"bNot\":\"⫭\",\"bnot\":\"⌐\",\"Bopf\":\"𝔹\",\"bopf\":\"𝕓\",\"bot\":\"⊥\",\"bottom\":\"⊥\",\"bowtie\":\"⋈\",\"boxbox\":\"⧉\",\"boxdl\":\"┐\",\"boxdL\":\"╕\",\"boxDl\":\"╖\",\"boxDL\":\"╗\",\"boxdr\":\"┌\",\"boxdR\":\"╒\",\"boxDr\":\"╓\",\"boxDR\":\"╔\",\"boxh\":\"─\",\"boxH\":\"═\",\"boxhd\":\"┬\",\"boxHd\":\"╤\",\"boxhD\":\"╥\",\"boxHD\":\"╦\",\"boxhu\":\"┴\",\"boxHu\":\"╧\",\"boxhU\":\"╨\",\"boxHU\":\"╩\",\"boxminus\":\"⊟\",\"boxplus\":\"⊞\",\"boxtimes\":\"⊠\",\"boxul\":\"┘\",\"boxuL\":\"╛\",\"boxUl\":\"╜\",\"boxUL\":\"╝\",\"boxur\":\"└\",\"boxuR\":\"╘\",\"boxUr\":\"╙\",\"boxUR\":\"╚\",\"boxv\":\"│\",\"boxV\":\"║\",\"boxvh\":\"┼\",\"boxvH\":\"╪\",\"boxVh\":\"╫\",\"boxVH\":\"╬\",\"boxvl\":\"┤\",\"boxvL\":\"╡\",\"boxVl\":\"╢\",\"boxVL\":\"╣\",\"boxvr\":\"├\",\"boxvR\":\"╞\",\"boxVr\":\"╟\",\"boxVR\":\"╠\",\"bprime\":\"‵\",\"breve\":\"˘\",\"Breve\":\"˘\",\"brvbar\":\"¦\",\"bscr\":\"𝒷\",\"Bscr\":\"ℬ\",\"bsemi\":\"⁏\",\"bsim\":\"∽\",\"bsime\":\"⋍\",\"bsolb\":\"⧅\",\"bsol\":\"\\\\\",\"bsolhsub\":\"⟈\",\"bull\":\"•\",\"bullet\":\"•\",\"bump\":\"≎\",\"bumpE\":\"⪮\",\"bumpe\":\"≏\",\"Bumpeq\":\"≎\",\"bumpeq\":\"≏\",\"Cacute\":\"Ć\",\"cacute\":\"ć\",\"capand\":\"⩄\",\"capbrcup\":\"⩉\",\"capcap\":\"⩋\",\"cap\":\"∩\",\"Cap\":\"⋒\",\"capcup\":\"⩇\",\"capdot\":\"⩀\",\"CapitalDifferentialD\":\"ⅅ\",\"caps\":\"∩︀\",\"caret\":\"⁁\",\"caron\":\"ˇ\",\"Cayleys\":\"ℭ\",\"ccaps\":\"⩍\",\"Ccaron\":\"Č\",\"ccaron\":\"č\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"Ccirc\":\"Ĉ\",\"ccirc\":\"ĉ\",\"Cconint\":\"∰\",\"ccups\":\"⩌\",\"ccupssm\":\"⩐\",\"Cdot\":\"Ċ\",\"cdot\":\"ċ\",\"cedil\":\"¸\",\"Cedilla\":\"¸\",\"cemptyv\":\"⦲\",\"cent\":\"¢\",\"centerdot\":\"·\",\"CenterDot\":\"·\",\"cfr\":\"𝔠\",\"Cfr\":\"ℭ\",\"CHcy\":\"Ч\",\"chcy\":\"ч\",\"check\":\"✓\",\"checkmark\":\"✓\",\"Chi\":\"Χ\",\"chi\":\"χ\",\"circ\":\"ˆ\",\"circeq\":\"≗\",\"circlearrowleft\":\"↺\",\"circlearrowright\":\"↻\",\"circledast\":\"⊛\",\"circledcirc\":\"⊚\",\"circleddash\":\"⊝\",\"CircleDot\":\"⊙\",\"circledR\":\"®\",\"circledS\":\"Ⓢ\",\"CircleMinus\":\"⊖\",\"CirclePlus\":\"⊕\",\"CircleTimes\":\"⊗\",\"cir\":\"○\",\"cirE\":\"⧃\",\"cire\":\"≗\",\"cirfnint\":\"⨐\",\"cirmid\":\"⫯\",\"cirscir\":\"⧂\",\"ClockwiseContourIntegral\":\"∲\",\"CloseCurlyDoubleQuote\":\"”\",\"CloseCurlyQuote\":\"’\",\"clubs\":\"♣\",\"clubsuit\":\"♣\",\"colon\":\":\",\"Colon\":\"∷\",\"Colone\":\"⩴\",\"colone\":\"≔\",\"coloneq\":\"≔\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"∁\",\"compfn\":\"∘\",\"complement\":\"∁\",\"complexes\":\"ℂ\",\"cong\":\"≅\",\"congdot\":\"⩭\",\"Congruent\":\"≡\",\"conint\":\"∮\",\"Conint\":\"∯\",\"ContourIntegral\":\"∮\",\"copf\":\"𝕔\",\"Copf\":\"ℂ\",\"coprod\":\"∐\",\"Coproduct\":\"∐\",\"copy\":\"©\",\"COPY\":\"©\",\"copysr\":\"℗\",\"CounterClockwiseContourIntegral\":\"∳\",\"crarr\":\"↵\",\"cross\":\"✗\",\"Cross\":\"⨯\",\"Cscr\":\"𝒞\",\"cscr\":\"𝒸\",\"csub\":\"⫏\",\"csube\":\"⫑\",\"csup\":\"⫐\",\"csupe\":\"⫒\",\"ctdot\":\"⋯\",\"cudarrl\":\"⤸\",\"cudarrr\":\"⤵\",\"cuepr\":\"⋞\",\"cuesc\":\"⋟\",\"cularr\":\"↶\",\"cularrp\":\"⤽\",\"cupbrcap\":\"⩈\",\"cupcap\":\"⩆\",\"CupCap\":\"≍\",\"cup\":\"∪\",\"Cup\":\"⋓\",\"cupcup\":\"⩊\",\"cupdot\":\"⊍\",\"cupor\":\"⩅\",\"cups\":\"∪︀\",\"curarr\":\"↷\",\"curarrm\":\"⤼\",\"curlyeqprec\":\"⋞\",\"curlyeqsucc\":\"⋟\",\"curlyvee\":\"⋎\",\"curlywedge\":\"⋏\",\"curren\":\"¤\",\"curvearrowleft\":\"↶\",\"curvearrowright\":\"↷\",\"cuvee\":\"⋎\",\"cuwed\":\"⋏\",\"cwconint\":\"∲\",\"cwint\":\"∱\",\"cylcty\":\"⌭\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"daleth\":\"ℸ\",\"darr\":\"↓\",\"Darr\":\"↡\",\"dArr\":\"⇓\",\"dash\":\"‐\",\"Dashv\":\"⫤\",\"dashv\":\"⊣\",\"dbkarow\":\"⤏\",\"dblac\":\"˝\",\"Dcaron\":\"Ď\",\"dcaron\":\"ď\",\"Dcy\":\"Д\",\"dcy\":\"д\",\"ddagger\":\"‡\",\"ddarr\":\"⇊\",\"DD\":\"ⅅ\",\"dd\":\"ⅆ\",\"DDotrahd\":\"⤑\",\"ddotseq\":\"⩷\",\"deg\":\"°\",\"Del\":\"∇\",\"Delta\":\"Δ\",\"delta\":\"δ\",\"demptyv\":\"⦱\",\"dfisht\":\"⥿\",\"Dfr\":\"𝔇\",\"dfr\":\"𝔡\",\"dHar\":\"⥥\",\"dharl\":\"⇃\",\"dharr\":\"⇂\",\"DiacriticalAcute\":\"´\",\"DiacriticalDot\":\"˙\",\"DiacriticalDoubleAcute\":\"˝\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"˜\",\"diam\":\"⋄\",\"diamond\":\"⋄\",\"Diamond\":\"⋄\",\"diamondsuit\":\"♦\",\"diams\":\"♦\",\"die\":\"¨\",\"DifferentialD\":\"ⅆ\",\"digamma\":\"ϝ\",\"disin\":\"⋲\",\"div\":\"÷\",\"divide\":\"÷\",\"divideontimes\":\"⋇\",\"divonx\":\"⋇\",\"DJcy\":\"Ђ\",\"djcy\":\"ђ\",\"dlcorn\":\"⌞\",\"dlcrop\":\"⌍\",\"dollar\":\"$\",\"Dopf\":\"𝔻\",\"dopf\":\"𝕕\",\"Dot\":\"¨\",\"dot\":\"˙\",\"DotDot\":\"⃜\",\"doteq\":\"≐\",\"doteqdot\":\"≑\",\"DotEqual\":\"≐\",\"dotminus\":\"∸\",\"dotplus\":\"∔\",\"dotsquare\":\"⊡\",\"doublebarwedge\":\"⌆\",\"DoubleContourIntegral\":\"∯\",\"DoubleDot\":\"¨\",\"DoubleDownArrow\":\"⇓\",\"DoubleLeftArrow\":\"⇐\",\"DoubleLeftRightArrow\":\"⇔\",\"DoubleLeftTee\":\"⫤\",\"DoubleLongLeftArrow\":\"⟸\",\"DoubleLongLeftRightArrow\":\"⟺\",\"DoubleLongRightArrow\":\"⟹\",\"DoubleRightArrow\":\"⇒\",\"DoubleRightTee\":\"⊨\",\"DoubleUpArrow\":\"⇑\",\"DoubleUpDownArrow\":\"⇕\",\"DoubleVerticalBar\":\"∥\",\"DownArrowBar\":\"⤓\",\"downarrow\":\"↓\",\"DownArrow\":\"↓\",\"Downarrow\":\"⇓\",\"DownArrowUpArrow\":\"⇵\",\"DownBreve\":\"̑\",\"downdownarrows\":\"⇊\",\"downharpoonleft\":\"⇃\",\"downharpoonright\":\"⇂\",\"DownLeftRightVector\":\"⥐\",\"DownLeftTeeVector\":\"⥞\",\"DownLeftVectorBar\":\"⥖\",\"DownLeftVector\":\"↽\",\"DownRightTeeVector\":\"⥟\",\"DownRightVectorBar\":\"⥗\",\"DownRightVector\":\"⇁\",\"DownTeeArrow\":\"↧\",\"DownTee\":\"⊤\",\"drbkarow\":\"⤐\",\"drcorn\":\"⌟\",\"drcrop\":\"⌌\",\"Dscr\":\"𝒟\",\"dscr\":\"𝒹\",\"DScy\":\"Ѕ\",\"dscy\":\"ѕ\",\"dsol\":\"⧶\",\"Dstrok\":\"Đ\",\"dstrok\":\"đ\",\"dtdot\":\"⋱\",\"dtri\":\"▿\",\"dtrif\":\"▾\",\"duarr\":\"⇵\",\"duhar\":\"⥯\",\"dwangle\":\"⦦\",\"DZcy\":\"Џ\",\"dzcy\":\"џ\",\"dzigrarr\":\"⟿\",\"Eacute\":\"É\",\"eacute\":\"é\",\"easter\":\"⩮\",\"Ecaron\":\"Ě\",\"ecaron\":\"ě\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"ecir\":\"≖\",\"ecolon\":\"≕\",\"Ecy\":\"Э\",\"ecy\":\"э\",\"eDDot\":\"⩷\",\"Edot\":\"Ė\",\"edot\":\"ė\",\"eDot\":\"≑\",\"ee\":\"ⅇ\",\"efDot\":\"≒\",\"Efr\":\"𝔈\",\"efr\":\"𝔢\",\"eg\":\"⪚\",\"Egrave\":\"È\",\"egrave\":\"è\",\"egs\":\"⪖\",\"egsdot\":\"⪘\",\"el\":\"⪙\",\"Element\":\"∈\",\"elinters\":\"⏧\",\"ell\":\"ℓ\",\"els\":\"⪕\",\"elsdot\":\"⪗\",\"Emacr\":\"Ē\",\"emacr\":\"ē\",\"empty\":\"∅\",\"emptyset\":\"∅\",\"EmptySmallSquare\":\"◻\",\"emptyv\":\"∅\",\"EmptyVerySmallSquare\":\"▫\",\"emsp13\":\" \",\"emsp14\":\" \",\"emsp\":\" \",\"ENG\":\"Ŋ\",\"eng\":\"ŋ\",\"ensp\":\" \",\"Eogon\":\"Ę\",\"eogon\":\"ę\",\"Eopf\":\"𝔼\",\"eopf\":\"𝕖\",\"epar\":\"⋕\",\"eparsl\":\"⧣\",\"eplus\":\"⩱\",\"epsi\":\"ε\",\"Epsilon\":\"Ε\",\"epsilon\":\"ε\",\"epsiv\":\"ϵ\",\"eqcirc\":\"≖\",\"eqcolon\":\"≕\",\"eqsim\":\"≂\",\"eqslantgtr\":\"⪖\",\"eqslantless\":\"⪕\",\"Equal\":\"⩵\",\"equals\":\"=\",\"EqualTilde\":\"≂\",\"equest\":\"≟\",\"Equilibrium\":\"⇌\",\"equiv\":\"≡\",\"equivDD\":\"⩸\",\"eqvparsl\":\"⧥\",\"erarr\":\"⥱\",\"erDot\":\"≓\",\"escr\":\"ℯ\",\"Escr\":\"ℰ\",\"esdot\":\"≐\",\"Esim\":\"⩳\",\"esim\":\"≂\",\"Eta\":\"Η\",\"eta\":\"η\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"euro\":\"€\",\"excl\":\"!\",\"exist\":\"∃\",\"Exists\":\"∃\",\"expectation\":\"ℰ\",\"exponentiale\":\"ⅇ\",\"ExponentialE\":\"ⅇ\",\"fallingdotseq\":\"≒\",\"Fcy\":\"Ф\",\"fcy\":\"ф\",\"female\":\"♀\",\"ffilig\":\"ffi\",\"fflig\":\"ff\",\"ffllig\":\"ffl\",\"Ffr\":\"𝔉\",\"ffr\":\"𝔣\",\"filig\":\"fi\",\"FilledSmallSquare\":\"◼\",\"FilledVerySmallSquare\":\"▪\",\"fjlig\":\"fj\",\"flat\":\"♭\",\"fllig\":\"fl\",\"fltns\":\"▱\",\"fnof\":\"ƒ\",\"Fopf\":\"𝔽\",\"fopf\":\"𝕗\",\"forall\":\"∀\",\"ForAll\":\"∀\",\"fork\":\"⋔\",\"forkv\":\"⫙\",\"Fouriertrf\":\"ℱ\",\"fpartint\":\"⨍\",\"frac12\":\"½\",\"frac13\":\"⅓\",\"frac14\":\"¼\",\"frac15\":\"⅕\",\"frac16\":\"⅙\",\"frac18\":\"⅛\",\"frac23\":\"⅔\",\"frac25\":\"⅖\",\"frac34\":\"¾\",\"frac35\":\"⅗\",\"frac38\":\"⅜\",\"frac45\":\"⅘\",\"frac56\":\"⅚\",\"frac58\":\"⅝\",\"frac78\":\"⅞\",\"frasl\":\"⁄\",\"frown\":\"⌢\",\"fscr\":\"𝒻\",\"Fscr\":\"ℱ\",\"gacute\":\"ǵ\",\"Gamma\":\"Γ\",\"gamma\":\"γ\",\"Gammad\":\"Ϝ\",\"gammad\":\"ϝ\",\"gap\":\"⪆\",\"Gbreve\":\"Ğ\",\"gbreve\":\"ğ\",\"Gcedil\":\"Ģ\",\"Gcirc\":\"Ĝ\",\"gcirc\":\"ĝ\",\"Gcy\":\"Г\",\"gcy\":\"г\",\"Gdot\":\"Ġ\",\"gdot\":\"ġ\",\"ge\":\"≥\",\"gE\":\"≧\",\"gEl\":\"⪌\",\"gel\":\"⋛\",\"geq\":\"≥\",\"geqq\":\"≧\",\"geqslant\":\"⩾\",\"gescc\":\"⪩\",\"ges\":\"⩾\",\"gesdot\":\"⪀\",\"gesdoto\":\"⪂\",\"gesdotol\":\"⪄\",\"gesl\":\"⋛︀\",\"gesles\":\"⪔\",\"Gfr\":\"𝔊\",\"gfr\":\"𝔤\",\"gg\":\"≫\",\"Gg\":\"⋙\",\"ggg\":\"⋙\",\"gimel\":\"ℷ\",\"GJcy\":\"Ѓ\",\"gjcy\":\"ѓ\",\"gla\":\"⪥\",\"gl\":\"≷\",\"glE\":\"⪒\",\"glj\":\"⪤\",\"gnap\":\"⪊\",\"gnapprox\":\"⪊\",\"gne\":\"⪈\",\"gnE\":\"≩\",\"gneq\":\"⪈\",\"gneqq\":\"≩\",\"gnsim\":\"⋧\",\"Gopf\":\"𝔾\",\"gopf\":\"𝕘\",\"grave\":\"`\",\"GreaterEqual\":\"≥\",\"GreaterEqualLess\":\"⋛\",\"GreaterFullEqual\":\"≧\",\"GreaterGreater\":\"⪢\",\"GreaterLess\":\"≷\",\"GreaterSlantEqual\":\"⩾\",\"GreaterTilde\":\"≳\",\"Gscr\":\"𝒢\",\"gscr\":\"ℊ\",\"gsim\":\"≳\",\"gsime\":\"⪎\",\"gsiml\":\"⪐\",\"gtcc\":\"⪧\",\"gtcir\":\"⩺\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"≫\",\"gtdot\":\"⋗\",\"gtlPar\":\"⦕\",\"gtquest\":\"⩼\",\"gtrapprox\":\"⪆\",\"gtrarr\":\"⥸\",\"gtrdot\":\"⋗\",\"gtreqless\":\"⋛\",\"gtreqqless\":\"⪌\",\"gtrless\":\"≷\",\"gtrsim\":\"≳\",\"gvertneqq\":\"≩︀\",\"gvnE\":\"≩︀\",\"Hacek\":\"ˇ\",\"hairsp\":\" \",\"half\":\"½\",\"hamilt\":\"ℋ\",\"HARDcy\":\"Ъ\",\"hardcy\":\"ъ\",\"harrcir\":\"⥈\",\"harr\":\"↔\",\"hArr\":\"⇔\",\"harrw\":\"↭\",\"Hat\":\"^\",\"hbar\":\"ℏ\",\"Hcirc\":\"Ĥ\",\"hcirc\":\"ĥ\",\"hearts\":\"♥\",\"heartsuit\":\"♥\",\"hellip\":\"…\",\"hercon\":\"⊹\",\"hfr\":\"𝔥\",\"Hfr\":\"ℌ\",\"HilbertSpace\":\"ℋ\",\"hksearow\":\"⤥\",\"hkswarow\":\"⤦\",\"hoarr\":\"⇿\",\"homtht\":\"∻\",\"hookleftarrow\":\"↩\",\"hookrightarrow\":\"↪\",\"hopf\":\"𝕙\",\"Hopf\":\"ℍ\",\"horbar\":\"―\",\"HorizontalLine\":\"─\",\"hscr\":\"𝒽\",\"Hscr\":\"ℋ\",\"hslash\":\"ℏ\",\"Hstrok\":\"Ħ\",\"hstrok\":\"ħ\",\"HumpDownHump\":\"≎\",\"HumpEqual\":\"≏\",\"hybull\":\"⁃\",\"hyphen\":\"‐\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"ic\":\"⁣\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"Icy\":\"И\",\"icy\":\"и\",\"Idot\":\"İ\",\"IEcy\":\"Е\",\"iecy\":\"е\",\"iexcl\":\"¡\",\"iff\":\"⇔\",\"ifr\":\"𝔦\",\"Ifr\":\"ℑ\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"ii\":\"ⅈ\",\"iiiint\":\"⨌\",\"iiint\":\"∭\",\"iinfin\":\"⧜\",\"iiota\":\"℩\",\"IJlig\":\"IJ\",\"ijlig\":\"ij\",\"Imacr\":\"Ī\",\"imacr\":\"ī\",\"image\":\"ℑ\",\"ImaginaryI\":\"ⅈ\",\"imagline\":\"ℐ\",\"imagpart\":\"ℑ\",\"imath\":\"ı\",\"Im\":\"ℑ\",\"imof\":\"⊷\",\"imped\":\"Ƶ\",\"Implies\":\"⇒\",\"incare\":\"℅\",\"in\":\"∈\",\"infin\":\"∞\",\"infintie\":\"⧝\",\"inodot\":\"ı\",\"intcal\":\"⊺\",\"int\":\"∫\",\"Int\":\"∬\",\"integers\":\"ℤ\",\"Integral\":\"∫\",\"intercal\":\"⊺\",\"Intersection\":\"⋂\",\"intlarhk\":\"⨗\",\"intprod\":\"⨼\",\"InvisibleComma\":\"⁣\",\"InvisibleTimes\":\"⁢\",\"IOcy\":\"Ё\",\"iocy\":\"ё\",\"Iogon\":\"Į\",\"iogon\":\"į\",\"Iopf\":\"𝕀\",\"iopf\":\"𝕚\",\"Iota\":\"Ι\",\"iota\":\"ι\",\"iprod\":\"⨼\",\"iquest\":\"¿\",\"iscr\":\"𝒾\",\"Iscr\":\"ℐ\",\"isin\":\"∈\",\"isindot\":\"⋵\",\"isinE\":\"⋹\",\"isins\":\"⋴\",\"isinsv\":\"⋳\",\"isinv\":\"∈\",\"it\":\"⁢\",\"Itilde\":\"Ĩ\",\"itilde\":\"ĩ\",\"Iukcy\":\"І\",\"iukcy\":\"і\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"Jcirc\":\"Ĵ\",\"jcirc\":\"ĵ\",\"Jcy\":\"Й\",\"jcy\":\"й\",\"Jfr\":\"𝔍\",\"jfr\":\"𝔧\",\"jmath\":\"ȷ\",\"Jopf\":\"𝕁\",\"jopf\":\"𝕛\",\"Jscr\":\"𝒥\",\"jscr\":\"𝒿\",\"Jsercy\":\"Ј\",\"jsercy\":\"ј\",\"Jukcy\":\"Є\",\"jukcy\":\"є\",\"Kappa\":\"Κ\",\"kappa\":\"κ\",\"kappav\":\"ϰ\",\"Kcedil\":\"Ķ\",\"kcedil\":\"ķ\",\"Kcy\":\"К\",\"kcy\":\"к\",\"Kfr\":\"𝔎\",\"kfr\":\"𝔨\",\"kgreen\":\"ĸ\",\"KHcy\":\"Х\",\"khcy\":\"х\",\"KJcy\":\"Ќ\",\"kjcy\":\"ќ\",\"Kopf\":\"𝕂\",\"kopf\":\"𝕜\",\"Kscr\":\"𝒦\",\"kscr\":\"𝓀\",\"lAarr\":\"⇚\",\"Lacute\":\"Ĺ\",\"lacute\":\"ĺ\",\"laemptyv\":\"⦴\",\"lagran\":\"ℒ\",\"Lambda\":\"Λ\",\"lambda\":\"λ\",\"lang\":\"⟨\",\"Lang\":\"⟪\",\"langd\":\"⦑\",\"langle\":\"⟨\",\"lap\":\"⪅\",\"Laplacetrf\":\"ℒ\",\"laquo\":\"«\",\"larrb\":\"⇤\",\"larrbfs\":\"⤟\",\"larr\":\"←\",\"Larr\":\"↞\",\"lArr\":\"⇐\",\"larrfs\":\"⤝\",\"larrhk\":\"↩\",\"larrlp\":\"↫\",\"larrpl\":\"⤹\",\"larrsim\":\"⥳\",\"larrtl\":\"↢\",\"latail\":\"⤙\",\"lAtail\":\"⤛\",\"lat\":\"⪫\",\"late\":\"⪭\",\"lates\":\"⪭︀\",\"lbarr\":\"⤌\",\"lBarr\":\"⤎\",\"lbbrk\":\"❲\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"⦋\",\"lbrksld\":\"⦏\",\"lbrkslu\":\"⦍\",\"Lcaron\":\"Ľ\",\"lcaron\":\"ľ\",\"Lcedil\":\"Ļ\",\"lcedil\":\"ļ\",\"lceil\":\"⌈\",\"lcub\":\"{\",\"Lcy\":\"Л\",\"lcy\":\"л\",\"ldca\":\"⤶\",\"ldquo\":\"“\",\"ldquor\":\"„\",\"ldrdhar\":\"⥧\",\"ldrushar\":\"⥋\",\"ldsh\":\"↲\",\"le\":\"≤\",\"lE\":\"≦\",\"LeftAngleBracket\":\"⟨\",\"LeftArrowBar\":\"⇤\",\"leftarrow\":\"←\",\"LeftArrow\":\"←\",\"Leftarrow\":\"⇐\",\"LeftArrowRightArrow\":\"⇆\",\"leftarrowtail\":\"↢\",\"LeftCeiling\":\"⌈\",\"LeftDoubleBracket\":\"⟦\",\"LeftDownTeeVector\":\"⥡\",\"LeftDownVectorBar\":\"⥙\",\"LeftDownVector\":\"⇃\",\"LeftFloor\":\"⌊\",\"leftharpoondown\":\"↽\",\"leftharpoonup\":\"↼\",\"leftleftarrows\":\"⇇\",\"leftrightarrow\":\"↔\",\"LeftRightArrow\":\"↔\",\"Leftrightarrow\":\"⇔\",\"leftrightarrows\":\"⇆\",\"leftrightharpoons\":\"⇋\",\"leftrightsquigarrow\":\"↭\",\"LeftRightVector\":\"⥎\",\"LeftTeeArrow\":\"↤\",\"LeftTee\":\"⊣\",\"LeftTeeVector\":\"⥚\",\"leftthreetimes\":\"⋋\",\"LeftTriangleBar\":\"⧏\",\"LeftTriangle\":\"⊲\",\"LeftTriangleEqual\":\"⊴\",\"LeftUpDownVector\":\"⥑\",\"LeftUpTeeVector\":\"⥠\",\"LeftUpVectorBar\":\"⥘\",\"LeftUpVector\":\"↿\",\"LeftVectorBar\":\"⥒\",\"LeftVector\":\"↼\",\"lEg\":\"⪋\",\"leg\":\"⋚\",\"leq\":\"≤\",\"leqq\":\"≦\",\"leqslant\":\"⩽\",\"lescc\":\"⪨\",\"les\":\"⩽\",\"lesdot\":\"⩿\",\"lesdoto\":\"⪁\",\"lesdotor\":\"⪃\",\"lesg\":\"⋚︀\",\"lesges\":\"⪓\",\"lessapprox\":\"⪅\",\"lessdot\":\"⋖\",\"lesseqgtr\":\"⋚\",\"lesseqqgtr\":\"⪋\",\"LessEqualGreater\":\"⋚\",\"LessFullEqual\":\"≦\",\"LessGreater\":\"≶\",\"lessgtr\":\"≶\",\"LessLess\":\"⪡\",\"lesssim\":\"≲\",\"LessSlantEqual\":\"⩽\",\"LessTilde\":\"≲\",\"lfisht\":\"⥼\",\"lfloor\":\"⌊\",\"Lfr\":\"𝔏\",\"lfr\":\"𝔩\",\"lg\":\"≶\",\"lgE\":\"⪑\",\"lHar\":\"⥢\",\"lhard\":\"↽\",\"lharu\":\"↼\",\"lharul\":\"⥪\",\"lhblk\":\"▄\",\"LJcy\":\"Љ\",\"ljcy\":\"љ\",\"llarr\":\"⇇\",\"ll\":\"≪\",\"Ll\":\"⋘\",\"llcorner\":\"⌞\",\"Lleftarrow\":\"⇚\",\"llhard\":\"⥫\",\"lltri\":\"◺\",\"Lmidot\":\"Ŀ\",\"lmidot\":\"ŀ\",\"lmoustache\":\"⎰\",\"lmoust\":\"⎰\",\"lnap\":\"⪉\",\"lnapprox\":\"⪉\",\"lne\":\"⪇\",\"lnE\":\"≨\",\"lneq\":\"⪇\",\"lneqq\":\"≨\",\"lnsim\":\"⋦\",\"loang\":\"⟬\",\"loarr\":\"⇽\",\"lobrk\":\"⟦\",\"longleftarrow\":\"⟵\",\"LongLeftArrow\":\"⟵\",\"Longleftarrow\":\"⟸\",\"longleftrightarrow\":\"⟷\",\"LongLeftRightArrow\":\"⟷\",\"Longleftrightarrow\":\"⟺\",\"longmapsto\":\"⟼\",\"longrightarrow\":\"⟶\",\"LongRightArrow\":\"⟶\",\"Longrightarrow\":\"⟹\",\"looparrowleft\":\"↫\",\"looparrowright\":\"↬\",\"lopar\":\"⦅\",\"Lopf\":\"𝕃\",\"lopf\":\"𝕝\",\"loplus\":\"⨭\",\"lotimes\":\"⨴\",\"lowast\":\"∗\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"↙\",\"LowerRightArrow\":\"↘\",\"loz\":\"◊\",\"lozenge\":\"◊\",\"lozf\":\"⧫\",\"lpar\":\"(\",\"lparlt\":\"⦓\",\"lrarr\":\"⇆\",\"lrcorner\":\"⌟\",\"lrhar\":\"⇋\",\"lrhard\":\"⥭\",\"lrm\":\"‎\",\"lrtri\":\"⊿\",\"lsaquo\":\"‹\",\"lscr\":\"𝓁\",\"Lscr\":\"ℒ\",\"lsh\":\"↰\",\"Lsh\":\"↰\",\"lsim\":\"≲\",\"lsime\":\"⪍\",\"lsimg\":\"⪏\",\"lsqb\":\"[\",\"lsquo\":\"‘\",\"lsquor\":\"‚\",\"Lstrok\":\"Ł\",\"lstrok\":\"ł\",\"ltcc\":\"⪦\",\"ltcir\":\"⩹\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"≪\",\"ltdot\":\"⋖\",\"lthree\":\"⋋\",\"ltimes\":\"⋉\",\"ltlarr\":\"⥶\",\"ltquest\":\"⩻\",\"ltri\":\"◃\",\"ltrie\":\"⊴\",\"ltrif\":\"◂\",\"ltrPar\":\"⦖\",\"lurdshar\":\"⥊\",\"luruhar\":\"⥦\",\"lvertneqq\":\"≨︀\",\"lvnE\":\"≨︀\",\"macr\":\"¯\",\"male\":\"♂\",\"malt\":\"✠\",\"maltese\":\"✠\",\"Map\":\"⤅\",\"map\":\"↦\",\"mapsto\":\"↦\",\"mapstodown\":\"↧\",\"mapstoleft\":\"↤\",\"mapstoup\":\"↥\",\"marker\":\"▮\",\"mcomma\":\"⨩\",\"Mcy\":\"М\",\"mcy\":\"м\",\"mdash\":\"—\",\"mDDot\":\"∺\",\"measuredangle\":\"∡\",\"MediumSpace\":\" \",\"Mellintrf\":\"ℳ\",\"Mfr\":\"𝔐\",\"mfr\":\"𝔪\",\"mho\":\"℧\",\"micro\":\"µ\",\"midast\":\"*\",\"midcir\":\"⫰\",\"mid\":\"∣\",\"middot\":\"·\",\"minusb\":\"⊟\",\"minus\":\"−\",\"minusd\":\"∸\",\"minusdu\":\"⨪\",\"MinusPlus\":\"∓\",\"mlcp\":\"⫛\",\"mldr\":\"…\",\"mnplus\":\"∓\",\"models\":\"⊧\",\"Mopf\":\"𝕄\",\"mopf\":\"𝕞\",\"mp\":\"∓\",\"mscr\":\"𝓂\",\"Mscr\":\"ℳ\",\"mstpos\":\"∾\",\"Mu\":\"Μ\",\"mu\":\"μ\",\"multimap\":\"⊸\",\"mumap\":\"⊸\",\"nabla\":\"∇\",\"Nacute\":\"Ń\",\"nacute\":\"ń\",\"nang\":\"∠⃒\",\"nap\":\"≉\",\"napE\":\"⩰̸\",\"napid\":\"≋̸\",\"napos\":\"ʼn\",\"napprox\":\"≉\",\"natural\":\"♮\",\"naturals\":\"ℕ\",\"natur\":\"♮\",\"nbsp\":\" \",\"nbump\":\"≎̸\",\"nbumpe\":\"≏̸\",\"ncap\":\"⩃\",\"Ncaron\":\"Ň\",\"ncaron\":\"ň\",\"Ncedil\":\"Ņ\",\"ncedil\":\"ņ\",\"ncong\":\"≇\",\"ncongdot\":\"⩭̸\",\"ncup\":\"⩂\",\"Ncy\":\"Н\",\"ncy\":\"н\",\"ndash\":\"–\",\"nearhk\":\"⤤\",\"nearr\":\"↗\",\"neArr\":\"⇗\",\"nearrow\":\"↗\",\"ne\":\"≠\",\"nedot\":\"≐̸\",\"NegativeMediumSpace\":\"​\",\"NegativeThickSpace\":\"​\",\"NegativeThinSpace\":\"​\",\"NegativeVeryThinSpace\":\"​\",\"nequiv\":\"≢\",\"nesear\":\"⤨\",\"nesim\":\"≂̸\",\"NestedGreaterGreater\":\"≫\",\"NestedLessLess\":\"≪\",\"NewLine\":\"\\n\",\"nexist\":\"∄\",\"nexists\":\"∄\",\"Nfr\":\"𝔑\",\"nfr\":\"𝔫\",\"ngE\":\"≧̸\",\"nge\":\"≱\",\"ngeq\":\"≱\",\"ngeqq\":\"≧̸\",\"ngeqslant\":\"⩾̸\",\"nges\":\"⩾̸\",\"nGg\":\"⋙̸\",\"ngsim\":\"≵\",\"nGt\":\"≫⃒\",\"ngt\":\"≯\",\"ngtr\":\"≯\",\"nGtv\":\"≫̸\",\"nharr\":\"↮\",\"nhArr\":\"⇎\",\"nhpar\":\"⫲\",\"ni\":\"∋\",\"nis\":\"⋼\",\"nisd\":\"⋺\",\"niv\":\"∋\",\"NJcy\":\"Њ\",\"njcy\":\"њ\",\"nlarr\":\"↚\",\"nlArr\":\"⇍\",\"nldr\":\"‥\",\"nlE\":\"≦̸\",\"nle\":\"≰\",\"nleftarrow\":\"↚\",\"nLeftarrow\":\"⇍\",\"nleftrightarrow\":\"↮\",\"nLeftrightarrow\":\"⇎\",\"nleq\":\"≰\",\"nleqq\":\"≦̸\",\"nleqslant\":\"⩽̸\",\"nles\":\"⩽̸\",\"nless\":\"≮\",\"nLl\":\"⋘̸\",\"nlsim\":\"≴\",\"nLt\":\"≪⃒\",\"nlt\":\"≮\",\"nltri\":\"⋪\",\"nltrie\":\"⋬\",\"nLtv\":\"≪̸\",\"nmid\":\"∤\",\"NoBreak\":\"⁠\",\"NonBreakingSpace\":\" \",\"nopf\":\"𝕟\",\"Nopf\":\"ℕ\",\"Not\":\"⫬\",\"not\":\"¬\",\"NotCongruent\":\"≢\",\"NotCupCap\":\"≭\",\"NotDoubleVerticalBar\":\"∦\",\"NotElement\":\"∉\",\"NotEqual\":\"≠\",\"NotEqualTilde\":\"≂̸\",\"NotExists\":\"∄\",\"NotGreater\":\"≯\",\"NotGreaterEqual\":\"≱\",\"NotGreaterFullEqual\":\"≧̸\",\"NotGreaterGreater\":\"≫̸\",\"NotGreaterLess\":\"≹\",\"NotGreaterSlantEqual\":\"⩾̸\",\"NotGreaterTilde\":\"≵\",\"NotHumpDownHump\":\"≎̸\",\"NotHumpEqual\":\"≏̸\",\"notin\":\"∉\",\"notindot\":\"⋵̸\",\"notinE\":\"⋹̸\",\"notinva\":\"∉\",\"notinvb\":\"⋷\",\"notinvc\":\"⋶\",\"NotLeftTriangleBar\":\"⧏̸\",\"NotLeftTriangle\":\"⋪\",\"NotLeftTriangleEqual\":\"⋬\",\"NotLess\":\"≮\",\"NotLessEqual\":\"≰\",\"NotLessGreater\":\"≸\",\"NotLessLess\":\"≪̸\",\"NotLessSlantEqual\":\"⩽̸\",\"NotLessTilde\":\"≴\",\"NotNestedGreaterGreater\":\"⪢̸\",\"NotNestedLessLess\":\"⪡̸\",\"notni\":\"∌\",\"notniva\":\"∌\",\"notnivb\":\"⋾\",\"notnivc\":\"⋽\",\"NotPrecedes\":\"⊀\",\"NotPrecedesEqual\":\"⪯̸\",\"NotPrecedesSlantEqual\":\"⋠\",\"NotReverseElement\":\"∌\",\"NotRightTriangleBar\":\"⧐̸\",\"NotRightTriangle\":\"⋫\",\"NotRightTriangleEqual\":\"⋭\",\"NotSquareSubset\":\"⊏̸\",\"NotSquareSubsetEqual\":\"⋢\",\"NotSquareSuperset\":\"⊐̸\",\"NotSquareSupersetEqual\":\"⋣\",\"NotSubset\":\"⊂⃒\",\"NotSubsetEqual\":\"⊈\",\"NotSucceeds\":\"⊁\",\"NotSucceedsEqual\":\"⪰̸\",\"NotSucceedsSlantEqual\":\"⋡\",\"NotSucceedsTilde\":\"≿̸\",\"NotSuperset\":\"⊃⃒\",\"NotSupersetEqual\":\"⊉\",\"NotTilde\":\"≁\",\"NotTildeEqual\":\"≄\",\"NotTildeFullEqual\":\"≇\",\"NotTildeTilde\":\"≉\",\"NotVerticalBar\":\"∤\",\"nparallel\":\"∦\",\"npar\":\"∦\",\"nparsl\":\"⫽⃥\",\"npart\":\"∂̸\",\"npolint\":\"⨔\",\"npr\":\"⊀\",\"nprcue\":\"⋠\",\"nprec\":\"⊀\",\"npreceq\":\"⪯̸\",\"npre\":\"⪯̸\",\"nrarrc\":\"⤳̸\",\"nrarr\":\"↛\",\"nrArr\":\"⇏\",\"nrarrw\":\"↝̸\",\"nrightarrow\":\"↛\",\"nRightarrow\":\"⇏\",\"nrtri\":\"⋫\",\"nrtrie\":\"⋭\",\"nsc\":\"⊁\",\"nsccue\":\"⋡\",\"nsce\":\"⪰̸\",\"Nscr\":\"𝒩\",\"nscr\":\"𝓃\",\"nshortmid\":\"∤\",\"nshortparallel\":\"∦\",\"nsim\":\"≁\",\"nsime\":\"≄\",\"nsimeq\":\"≄\",\"nsmid\":\"∤\",\"nspar\":\"∦\",\"nsqsube\":\"⋢\",\"nsqsupe\":\"⋣\",\"nsub\":\"⊄\",\"nsubE\":\"⫅̸\",\"nsube\":\"⊈\",\"nsubset\":\"⊂⃒\",\"nsubseteq\":\"⊈\",\"nsubseteqq\":\"⫅̸\",\"nsucc\":\"⊁\",\"nsucceq\":\"⪰̸\",\"nsup\":\"⊅\",\"nsupE\":\"⫆̸\",\"nsupe\":\"⊉\",\"nsupset\":\"⊃⃒\",\"nsupseteq\":\"⊉\",\"nsupseteqq\":\"⫆̸\",\"ntgl\":\"≹\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"ntlg\":\"≸\",\"ntriangleleft\":\"⋪\",\"ntrianglelefteq\":\"⋬\",\"ntriangleright\":\"⋫\",\"ntrianglerighteq\":\"⋭\",\"Nu\":\"Ν\",\"nu\":\"ν\",\"num\":\"#\",\"numero\":\"№\",\"numsp\":\" \",\"nvap\":\"≍⃒\",\"nvdash\":\"⊬\",\"nvDash\":\"⊭\",\"nVdash\":\"⊮\",\"nVDash\":\"⊯\",\"nvge\":\"≥⃒\",\"nvgt\":\">⃒\",\"nvHarr\":\"⤄\",\"nvinfin\":\"⧞\",\"nvlArr\":\"⤂\",\"nvle\":\"≤⃒\",\"nvlt\":\"<⃒\",\"nvltrie\":\"⊴⃒\",\"nvrArr\":\"⤃\",\"nvrtrie\":\"⊵⃒\",\"nvsim\":\"∼⃒\",\"nwarhk\":\"⤣\",\"nwarr\":\"↖\",\"nwArr\":\"⇖\",\"nwarrow\":\"↖\",\"nwnear\":\"⤧\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"oast\":\"⊛\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"ocir\":\"⊚\",\"Ocy\":\"О\",\"ocy\":\"о\",\"odash\":\"⊝\",\"Odblac\":\"Ő\",\"odblac\":\"ő\",\"odiv\":\"⨸\",\"odot\":\"⊙\",\"odsold\":\"⦼\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"ofcir\":\"⦿\",\"Ofr\":\"𝔒\",\"ofr\":\"𝔬\",\"ogon\":\"˛\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ogt\":\"⧁\",\"ohbar\":\"⦵\",\"ohm\":\"Ω\",\"oint\":\"∮\",\"olarr\":\"↺\",\"olcir\":\"⦾\",\"olcross\":\"⦻\",\"oline\":\"‾\",\"olt\":\"⧀\",\"Omacr\":\"Ō\",\"omacr\":\"ō\",\"Omega\":\"Ω\",\"omega\":\"ω\",\"Omicron\":\"Ο\",\"omicron\":\"ο\",\"omid\":\"⦶\",\"ominus\":\"⊖\",\"Oopf\":\"𝕆\",\"oopf\":\"𝕠\",\"opar\":\"⦷\",\"OpenCurlyDoubleQuote\":\"“\",\"OpenCurlyQuote\":\"‘\",\"operp\":\"⦹\",\"oplus\":\"⊕\",\"orarr\":\"↻\",\"Or\":\"⩔\",\"or\":\"∨\",\"ord\":\"⩝\",\"order\":\"ℴ\",\"orderof\":\"ℴ\",\"ordf\":\"ª\",\"ordm\":\"º\",\"origof\":\"⊶\",\"oror\":\"⩖\",\"orslope\":\"⩗\",\"orv\":\"⩛\",\"oS\":\"Ⓢ\",\"Oscr\":\"𝒪\",\"oscr\":\"ℴ\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"osol\":\"⊘\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"otimesas\":\"⨶\",\"Otimes\":\"⨷\",\"otimes\":\"⊗\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"ovbar\":\"⌽\",\"OverBar\":\"‾\",\"OverBrace\":\"⏞\",\"OverBracket\":\"⎴\",\"OverParenthesis\":\"⏜\",\"para\":\"¶\",\"parallel\":\"∥\",\"par\":\"∥\",\"parsim\":\"⫳\",\"parsl\":\"⫽\",\"part\":\"∂\",\"PartialD\":\"∂\",\"Pcy\":\"П\",\"pcy\":\"п\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"‰\",\"perp\":\"⊥\",\"pertenk\":\"‱\",\"Pfr\":\"𝔓\",\"pfr\":\"𝔭\",\"Phi\":\"Φ\",\"phi\":\"φ\",\"phiv\":\"ϕ\",\"phmmat\":\"ℳ\",\"phone\":\"☎\",\"Pi\":\"Π\",\"pi\":\"π\",\"pitchfork\":\"⋔\",\"piv\":\"ϖ\",\"planck\":\"ℏ\",\"planckh\":\"ℎ\",\"plankv\":\"ℏ\",\"plusacir\":\"⨣\",\"plusb\":\"⊞\",\"pluscir\":\"⨢\",\"plus\":\"+\",\"plusdo\":\"∔\",\"plusdu\":\"⨥\",\"pluse\":\"⩲\",\"PlusMinus\":\"±\",\"plusmn\":\"±\",\"plussim\":\"⨦\",\"plustwo\":\"⨧\",\"pm\":\"±\",\"Poincareplane\":\"ℌ\",\"pointint\":\"⨕\",\"popf\":\"𝕡\",\"Popf\":\"ℙ\",\"pound\":\"£\",\"prap\":\"⪷\",\"Pr\":\"⪻\",\"pr\":\"≺\",\"prcue\":\"≼\",\"precapprox\":\"⪷\",\"prec\":\"≺\",\"preccurlyeq\":\"≼\",\"Precedes\":\"≺\",\"PrecedesEqual\":\"⪯\",\"PrecedesSlantEqual\":\"≼\",\"PrecedesTilde\":\"≾\",\"preceq\":\"⪯\",\"precnapprox\":\"⪹\",\"precneqq\":\"⪵\",\"precnsim\":\"⋨\",\"pre\":\"⪯\",\"prE\":\"⪳\",\"precsim\":\"≾\",\"prime\":\"′\",\"Prime\":\"″\",\"primes\":\"ℙ\",\"prnap\":\"⪹\",\"prnE\":\"⪵\",\"prnsim\":\"⋨\",\"prod\":\"∏\",\"Product\":\"∏\",\"profalar\":\"⌮\",\"profline\":\"⌒\",\"profsurf\":\"⌓\",\"prop\":\"∝\",\"Proportional\":\"∝\",\"Proportion\":\"∷\",\"propto\":\"∝\",\"prsim\":\"≾\",\"prurel\":\"⊰\",\"Pscr\":\"𝒫\",\"pscr\":\"𝓅\",\"Psi\":\"Ψ\",\"psi\":\"ψ\",\"puncsp\":\" \",\"Qfr\":\"𝔔\",\"qfr\":\"𝔮\",\"qint\":\"⨌\",\"qopf\":\"𝕢\",\"Qopf\":\"ℚ\",\"qprime\":\"⁗\",\"Qscr\":\"𝒬\",\"qscr\":\"𝓆\",\"quaternions\":\"ℍ\",\"quatint\":\"⨖\",\"quest\":\"?\",\"questeq\":\"≟\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"rAarr\":\"⇛\",\"race\":\"∽̱\",\"Racute\":\"Ŕ\",\"racute\":\"ŕ\",\"radic\":\"√\",\"raemptyv\":\"⦳\",\"rang\":\"⟩\",\"Rang\":\"⟫\",\"rangd\":\"⦒\",\"range\":\"⦥\",\"rangle\":\"⟩\",\"raquo\":\"»\",\"rarrap\":\"⥵\",\"rarrb\":\"⇥\",\"rarrbfs\":\"⤠\",\"rarrc\":\"⤳\",\"rarr\":\"→\",\"Rarr\":\"↠\",\"rArr\":\"⇒\",\"rarrfs\":\"⤞\",\"rarrhk\":\"↪\",\"rarrlp\":\"↬\",\"rarrpl\":\"⥅\",\"rarrsim\":\"⥴\",\"Rarrtl\":\"⤖\",\"rarrtl\":\"↣\",\"rarrw\":\"↝\",\"ratail\":\"⤚\",\"rAtail\":\"⤜\",\"ratio\":\"∶\",\"rationals\":\"ℚ\",\"rbarr\":\"⤍\",\"rBarr\":\"⤏\",\"RBarr\":\"⤐\",\"rbbrk\":\"❳\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"⦌\",\"rbrksld\":\"⦎\",\"rbrkslu\":\"⦐\",\"Rcaron\":\"Ř\",\"rcaron\":\"ř\",\"Rcedil\":\"Ŗ\",\"rcedil\":\"ŗ\",\"rceil\":\"⌉\",\"rcub\":\"}\",\"Rcy\":\"Р\",\"rcy\":\"р\",\"rdca\":\"⤷\",\"rdldhar\":\"⥩\",\"rdquo\":\"”\",\"rdquor\":\"”\",\"rdsh\":\"↳\",\"real\":\"ℜ\",\"realine\":\"ℛ\",\"realpart\":\"ℜ\",\"reals\":\"ℝ\",\"Re\":\"ℜ\",\"rect\":\"▭\",\"reg\":\"®\",\"REG\":\"®\",\"ReverseElement\":\"∋\",\"ReverseEquilibrium\":\"⇋\",\"ReverseUpEquilibrium\":\"⥯\",\"rfisht\":\"⥽\",\"rfloor\":\"⌋\",\"rfr\":\"𝔯\",\"Rfr\":\"ℜ\",\"rHar\":\"⥤\",\"rhard\":\"⇁\",\"rharu\":\"⇀\",\"rharul\":\"⥬\",\"Rho\":\"Ρ\",\"rho\":\"ρ\",\"rhov\":\"ϱ\",\"RightAngleBracket\":\"⟩\",\"RightArrowBar\":\"⇥\",\"rightarrow\":\"→\",\"RightArrow\":\"→\",\"Rightarrow\":\"⇒\",\"RightArrowLeftArrow\":\"⇄\",\"rightarrowtail\":\"↣\",\"RightCeiling\":\"⌉\",\"RightDoubleBracket\":\"⟧\",\"RightDownTeeVector\":\"⥝\",\"RightDownVectorBar\":\"⥕\",\"RightDownVector\":\"⇂\",\"RightFloor\":\"⌋\",\"rightharpoondown\":\"⇁\",\"rightharpoonup\":\"⇀\",\"rightleftarrows\":\"⇄\",\"rightleftharpoons\":\"⇌\",\"rightrightarrows\":\"⇉\",\"rightsquigarrow\":\"↝\",\"RightTeeArrow\":\"↦\",\"RightTee\":\"⊢\",\"RightTeeVector\":\"⥛\",\"rightthreetimes\":\"⋌\",\"RightTriangleBar\":\"⧐\",\"RightTriangle\":\"⊳\",\"RightTriangleEqual\":\"⊵\",\"RightUpDownVector\":\"⥏\",\"RightUpTeeVector\":\"⥜\",\"RightUpVectorBar\":\"⥔\",\"RightUpVector\":\"↾\",\"RightVectorBar\":\"⥓\",\"RightVector\":\"⇀\",\"ring\":\"˚\",\"risingdotseq\":\"≓\",\"rlarr\":\"⇄\",\"rlhar\":\"⇌\",\"rlm\":\"‏\",\"rmoustache\":\"⎱\",\"rmoust\":\"⎱\",\"rnmid\":\"⫮\",\"roang\":\"⟭\",\"roarr\":\"⇾\",\"robrk\":\"⟧\",\"ropar\":\"⦆\",\"ropf\":\"𝕣\",\"Ropf\":\"ℝ\",\"roplus\":\"⨮\",\"rotimes\":\"⨵\",\"RoundImplies\":\"⥰\",\"rpar\":\")\",\"rpargt\":\"⦔\",\"rppolint\":\"⨒\",\"rrarr\":\"⇉\",\"Rrightarrow\":\"⇛\",\"rsaquo\":\"›\",\"rscr\":\"𝓇\",\"Rscr\":\"ℛ\",\"rsh\":\"↱\",\"Rsh\":\"↱\",\"rsqb\":\"]\",\"rsquo\":\"’\",\"rsquor\":\"’\",\"rthree\":\"⋌\",\"rtimes\":\"⋊\",\"rtri\":\"▹\",\"rtrie\":\"⊵\",\"rtrif\":\"▸\",\"rtriltri\":\"⧎\",\"RuleDelayed\":\"⧴\",\"ruluhar\":\"⥨\",\"rx\":\"℞\",\"Sacute\":\"Ś\",\"sacute\":\"ś\",\"sbquo\":\"‚\",\"scap\":\"⪸\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Sc\":\"⪼\",\"sc\":\"≻\",\"sccue\":\"≽\",\"sce\":\"⪰\",\"scE\":\"⪴\",\"Scedil\":\"Ş\",\"scedil\":\"ş\",\"Scirc\":\"Ŝ\",\"scirc\":\"ŝ\",\"scnap\":\"⪺\",\"scnE\":\"⪶\",\"scnsim\":\"⋩\",\"scpolint\":\"⨓\",\"scsim\":\"≿\",\"Scy\":\"С\",\"scy\":\"с\",\"sdotb\":\"⊡\",\"sdot\":\"⋅\",\"sdote\":\"⩦\",\"searhk\":\"⤥\",\"searr\":\"↘\",\"seArr\":\"⇘\",\"searrow\":\"↘\",\"sect\":\"§\",\"semi\":\";\",\"seswar\":\"⤩\",\"setminus\":\"∖\",\"setmn\":\"∖\",\"sext\":\"✶\",\"Sfr\":\"𝔖\",\"sfr\":\"𝔰\",\"sfrown\":\"⌢\",\"sharp\":\"♯\",\"SHCHcy\":\"Щ\",\"shchcy\":\"щ\",\"SHcy\":\"Ш\",\"shcy\":\"ш\",\"ShortDownArrow\":\"↓\",\"ShortLeftArrow\":\"←\",\"shortmid\":\"∣\",\"shortparallel\":\"∥\",\"ShortRightArrow\":\"→\",\"ShortUpArrow\":\"↑\",\"shy\":\"­\",\"Sigma\":\"Σ\",\"sigma\":\"σ\",\"sigmaf\":\"ς\",\"sigmav\":\"ς\",\"sim\":\"∼\",\"simdot\":\"⩪\",\"sime\":\"≃\",\"simeq\":\"≃\",\"simg\":\"⪞\",\"simgE\":\"⪠\",\"siml\":\"⪝\",\"simlE\":\"⪟\",\"simne\":\"≆\",\"simplus\":\"⨤\",\"simrarr\":\"⥲\",\"slarr\":\"←\",\"SmallCircle\":\"∘\",\"smallsetminus\":\"∖\",\"smashp\":\"⨳\",\"smeparsl\":\"⧤\",\"smid\":\"∣\",\"smile\":\"⌣\",\"smt\":\"⪪\",\"smte\":\"⪬\",\"smtes\":\"⪬︀\",\"SOFTcy\":\"Ь\",\"softcy\":\"ь\",\"solbar\":\"⌿\",\"solb\":\"⧄\",\"sol\":\"/\",\"Sopf\":\"𝕊\",\"sopf\":\"𝕤\",\"spades\":\"♠\",\"spadesuit\":\"♠\",\"spar\":\"∥\",\"sqcap\":\"⊓\",\"sqcaps\":\"⊓︀\",\"sqcup\":\"⊔\",\"sqcups\":\"⊔︀\",\"Sqrt\":\"√\",\"sqsub\":\"⊏\",\"sqsube\":\"⊑\",\"sqsubset\":\"⊏\",\"sqsubseteq\":\"⊑\",\"sqsup\":\"⊐\",\"sqsupe\":\"⊒\",\"sqsupset\":\"⊐\",\"sqsupseteq\":\"⊒\",\"square\":\"□\",\"Square\":\"□\",\"SquareIntersection\":\"⊓\",\"SquareSubset\":\"⊏\",\"SquareSubsetEqual\":\"⊑\",\"SquareSuperset\":\"⊐\",\"SquareSupersetEqual\":\"⊒\",\"SquareUnion\":\"⊔\",\"squarf\":\"▪\",\"squ\":\"□\",\"squf\":\"▪\",\"srarr\":\"→\",\"Sscr\":\"𝒮\",\"sscr\":\"𝓈\",\"ssetmn\":\"∖\",\"ssmile\":\"⌣\",\"sstarf\":\"⋆\",\"Star\":\"⋆\",\"star\":\"☆\",\"starf\":\"★\",\"straightepsilon\":\"ϵ\",\"straightphi\":\"ϕ\",\"strns\":\"¯\",\"sub\":\"⊂\",\"Sub\":\"⋐\",\"subdot\":\"⪽\",\"subE\":\"⫅\",\"sube\":\"⊆\",\"subedot\":\"⫃\",\"submult\":\"⫁\",\"subnE\":\"⫋\",\"subne\":\"⊊\",\"subplus\":\"⪿\",\"subrarr\":\"⥹\",\"subset\":\"⊂\",\"Subset\":\"⋐\",\"subseteq\":\"⊆\",\"subseteqq\":\"⫅\",\"SubsetEqual\":\"⊆\",\"subsetneq\":\"⊊\",\"subsetneqq\":\"⫋\",\"subsim\":\"⫇\",\"subsub\":\"⫕\",\"subsup\":\"⫓\",\"succapprox\":\"⪸\",\"succ\":\"≻\",\"succcurlyeq\":\"≽\",\"Succeeds\":\"≻\",\"SucceedsEqual\":\"⪰\",\"SucceedsSlantEqual\":\"≽\",\"SucceedsTilde\":\"≿\",\"succeq\":\"⪰\",\"succnapprox\":\"⪺\",\"succneqq\":\"⪶\",\"succnsim\":\"⋩\",\"succsim\":\"≿\",\"SuchThat\":\"∋\",\"sum\":\"∑\",\"Sum\":\"∑\",\"sung\":\"♪\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"sup\":\"⊃\",\"Sup\":\"⋑\",\"supdot\":\"⪾\",\"supdsub\":\"⫘\",\"supE\":\"⫆\",\"supe\":\"⊇\",\"supedot\":\"⫄\",\"Superset\":\"⊃\",\"SupersetEqual\":\"⊇\",\"suphsol\":\"⟉\",\"suphsub\":\"⫗\",\"suplarr\":\"⥻\",\"supmult\":\"⫂\",\"supnE\":\"⫌\",\"supne\":\"⊋\",\"supplus\":\"⫀\",\"supset\":\"⊃\",\"Supset\":\"⋑\",\"supseteq\":\"⊇\",\"supseteqq\":\"⫆\",\"supsetneq\":\"⊋\",\"supsetneqq\":\"⫌\",\"supsim\":\"⫈\",\"supsub\":\"⫔\",\"supsup\":\"⫖\",\"swarhk\":\"⤦\",\"swarr\":\"↙\",\"swArr\":\"⇙\",\"swarrow\":\"↙\",\"swnwar\":\"⤪\",\"szlig\":\"ß\",\"Tab\":\"\\t\",\"target\":\"⌖\",\"Tau\":\"Τ\",\"tau\":\"τ\",\"tbrk\":\"⎴\",\"Tcaron\":\"Ť\",\"tcaron\":\"ť\",\"Tcedil\":\"Ţ\",\"tcedil\":\"ţ\",\"Tcy\":\"Т\",\"tcy\":\"т\",\"tdot\":\"⃛\",\"telrec\":\"⌕\",\"Tfr\":\"𝔗\",\"tfr\":\"𝔱\",\"there4\":\"∴\",\"therefore\":\"∴\",\"Therefore\":\"∴\",\"Theta\":\"Θ\",\"theta\":\"θ\",\"thetasym\":\"ϑ\",\"thetav\":\"ϑ\",\"thickapprox\":\"≈\",\"thicksim\":\"∼\",\"ThickSpace\":\"  \",\"ThinSpace\":\" \",\"thinsp\":\" \",\"thkap\":\"≈\",\"thksim\":\"∼\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"tilde\":\"˜\",\"Tilde\":\"∼\",\"TildeEqual\":\"≃\",\"TildeFullEqual\":\"≅\",\"TildeTilde\":\"≈\",\"timesbar\":\"⨱\",\"timesb\":\"⊠\",\"times\":\"×\",\"timesd\":\"⨰\",\"tint\":\"∭\",\"toea\":\"⤨\",\"topbot\":\"⌶\",\"topcir\":\"⫱\",\"top\":\"⊤\",\"Topf\":\"𝕋\",\"topf\":\"𝕥\",\"topfork\":\"⫚\",\"tosa\":\"⤩\",\"tprime\":\"‴\",\"trade\":\"™\",\"TRADE\":\"™\",\"triangle\":\"▵\",\"triangledown\":\"▿\",\"triangleleft\":\"◃\",\"trianglelefteq\":\"⊴\",\"triangleq\":\"≜\",\"triangleright\":\"▹\",\"trianglerighteq\":\"⊵\",\"tridot\":\"◬\",\"trie\":\"≜\",\"triminus\":\"⨺\",\"TripleDot\":\"⃛\",\"triplus\":\"⨹\",\"trisb\":\"⧍\",\"tritime\":\"⨻\",\"trpezium\":\"⏢\",\"Tscr\":\"𝒯\",\"tscr\":\"𝓉\",\"TScy\":\"Ц\",\"tscy\":\"ц\",\"TSHcy\":\"Ћ\",\"tshcy\":\"ћ\",\"Tstrok\":\"Ŧ\",\"tstrok\":\"ŧ\",\"twixt\":\"≬\",\"twoheadleftarrow\":\"↞\",\"twoheadrightarrow\":\"↠\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"uarr\":\"↑\",\"Uarr\":\"↟\",\"uArr\":\"⇑\",\"Uarrocir\":\"⥉\",\"Ubrcy\":\"Ў\",\"ubrcy\":\"ў\",\"Ubreve\":\"Ŭ\",\"ubreve\":\"ŭ\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ucy\":\"У\",\"ucy\":\"у\",\"udarr\":\"⇅\",\"Udblac\":\"Ű\",\"udblac\":\"ű\",\"udhar\":\"⥮\",\"ufisht\":\"⥾\",\"Ufr\":\"𝔘\",\"ufr\":\"𝔲\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uHar\":\"⥣\",\"uharl\":\"↿\",\"uharr\":\"↾\",\"uhblk\":\"▀\",\"ulcorn\":\"⌜\",\"ulcorner\":\"⌜\",\"ulcrop\":\"⌏\",\"ultri\":\"◸\",\"Umacr\":\"Ū\",\"umacr\":\"ū\",\"uml\":\"¨\",\"UnderBar\":\"_\",\"UnderBrace\":\"⏟\",\"UnderBracket\":\"⎵\",\"UnderParenthesis\":\"⏝\",\"Union\":\"⋃\",\"UnionPlus\":\"⊎\",\"Uogon\":\"Ų\",\"uogon\":\"ų\",\"Uopf\":\"𝕌\",\"uopf\":\"𝕦\",\"UpArrowBar\":\"⤒\",\"uparrow\":\"↑\",\"UpArrow\":\"↑\",\"Uparrow\":\"⇑\",\"UpArrowDownArrow\":\"⇅\",\"updownarrow\":\"↕\",\"UpDownArrow\":\"↕\",\"Updownarrow\":\"⇕\",\"UpEquilibrium\":\"⥮\",\"upharpoonleft\":\"↿\",\"upharpoonright\":\"↾\",\"uplus\":\"⊎\",\"UpperLeftArrow\":\"↖\",\"UpperRightArrow\":\"↗\",\"upsi\":\"υ\",\"Upsi\":\"ϒ\",\"upsih\":\"ϒ\",\"Upsilon\":\"Υ\",\"upsilon\":\"υ\",\"UpTeeArrow\":\"↥\",\"UpTee\":\"⊥\",\"upuparrows\":\"⇈\",\"urcorn\":\"⌝\",\"urcorner\":\"⌝\",\"urcrop\":\"⌎\",\"Uring\":\"Ů\",\"uring\":\"ů\",\"urtri\":\"◹\",\"Uscr\":\"𝒰\",\"uscr\":\"𝓊\",\"utdot\":\"⋰\",\"Utilde\":\"Ũ\",\"utilde\":\"ũ\",\"utri\":\"▵\",\"utrif\":\"▴\",\"uuarr\":\"⇈\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"uwangle\":\"⦧\",\"vangrt\":\"⦜\",\"varepsilon\":\"ϵ\",\"varkappa\":\"ϰ\",\"varnothing\":\"∅\",\"varphi\":\"ϕ\",\"varpi\":\"ϖ\",\"varpropto\":\"∝\",\"varr\":\"↕\",\"vArr\":\"⇕\",\"varrho\":\"ϱ\",\"varsigma\":\"ς\",\"varsubsetneq\":\"⊊︀\",\"varsubsetneqq\":\"⫋︀\",\"varsupsetneq\":\"⊋︀\",\"varsupsetneqq\":\"⫌︀\",\"vartheta\":\"ϑ\",\"vartriangleleft\":\"⊲\",\"vartriangleright\":\"⊳\",\"vBar\":\"⫨\",\"Vbar\":\"⫫\",\"vBarv\":\"⫩\",\"Vcy\":\"В\",\"vcy\":\"в\",\"vdash\":\"⊢\",\"vDash\":\"⊨\",\"Vdash\":\"⊩\",\"VDash\":\"⊫\",\"Vdashl\":\"⫦\",\"veebar\":\"⊻\",\"vee\":\"∨\",\"Vee\":\"⋁\",\"veeeq\":\"≚\",\"vellip\":\"⋮\",\"verbar\":\"|\",\"Verbar\":\"‖\",\"vert\":\"|\",\"Vert\":\"‖\",\"VerticalBar\":\"∣\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"❘\",\"VerticalTilde\":\"≀\",\"VeryThinSpace\":\" \",\"Vfr\":\"𝔙\",\"vfr\":\"𝔳\",\"vltri\":\"⊲\",\"vnsub\":\"⊂⃒\",\"vnsup\":\"⊃⃒\",\"Vopf\":\"𝕍\",\"vopf\":\"𝕧\",\"vprop\":\"∝\",\"vrtri\":\"⊳\",\"Vscr\":\"𝒱\",\"vscr\":\"𝓋\",\"vsubnE\":\"⫋︀\",\"vsubne\":\"⊊︀\",\"vsupnE\":\"⫌︀\",\"vsupne\":\"⊋︀\",\"Vvdash\":\"⊪\",\"vzigzag\":\"⦚\",\"Wcirc\":\"Ŵ\",\"wcirc\":\"ŵ\",\"wedbar\":\"⩟\",\"wedge\":\"∧\",\"Wedge\":\"⋀\",\"wedgeq\":\"≙\",\"weierp\":\"℘\",\"Wfr\":\"𝔚\",\"wfr\":\"𝔴\",\"Wopf\":\"𝕎\",\"wopf\":\"𝕨\",\"wp\":\"℘\",\"wr\":\"≀\",\"wreath\":\"≀\",\"Wscr\":\"𝒲\",\"wscr\":\"𝓌\",\"xcap\":\"⋂\",\"xcirc\":\"◯\",\"xcup\":\"⋃\",\"xdtri\":\"▽\",\"Xfr\":\"𝔛\",\"xfr\":\"𝔵\",\"xharr\":\"⟷\",\"xhArr\":\"⟺\",\"Xi\":\"Ξ\",\"xi\":\"ξ\",\"xlarr\":\"⟵\",\"xlArr\":\"⟸\",\"xmap\":\"⟼\",\"xnis\":\"⋻\",\"xodot\":\"⨀\",\"Xopf\":\"𝕏\",\"xopf\":\"𝕩\",\"xoplus\":\"⨁\",\"xotime\":\"⨂\",\"xrarr\":\"⟶\",\"xrArr\":\"⟹\",\"Xscr\":\"𝒳\",\"xscr\":\"𝓍\",\"xsqcup\":\"⨆\",\"xuplus\":\"⨄\",\"xutri\":\"△\",\"xvee\":\"⋁\",\"xwedge\":\"⋀\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"YAcy\":\"Я\",\"yacy\":\"я\",\"Ycirc\":\"Ŷ\",\"ycirc\":\"ŷ\",\"Ycy\":\"Ы\",\"ycy\":\"ы\",\"yen\":\"¥\",\"Yfr\":\"𝔜\",\"yfr\":\"𝔶\",\"YIcy\":\"Ї\",\"yicy\":\"ї\",\"Yopf\":\"𝕐\",\"yopf\":\"𝕪\",\"Yscr\":\"𝒴\",\"yscr\":\"𝓎\",\"YUcy\":\"Ю\",\"yucy\":\"ю\",\"yuml\":\"ÿ\",\"Yuml\":\"Ÿ\",\"Zacute\":\"Ź\",\"zacute\":\"ź\",\"Zcaron\":\"Ž\",\"zcaron\":\"ž\",\"Zcy\":\"З\",\"zcy\":\"з\",\"Zdot\":\"Ż\",\"zdot\":\"ż\",\"zeetrf\":\"ℨ\",\"ZeroWidthSpace\":\"​\",\"Zeta\":\"Ζ\",\"zeta\":\"ζ\",\"zfr\":\"𝔷\",\"Zfr\":\"ℨ\",\"ZHcy\":\"Ж\",\"zhcy\":\"ж\",\"zigrarr\":\"⇝\",\"zopf\":\"𝕫\",\"Zopf\":\"ℤ\",\"Zscr\":\"𝒵\",\"zscr\":\"𝓏\",\"zwj\":\"‍\",\"zwnj\":\"‌\"}\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"Agrave\":\"À\",\"agrave\":\"à\",\"amp\":\"&\",\"AMP\":\"&\",\"Aring\":\"Å\",\"aring\":\"å\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"brvbar\":\"¦\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"cedil\":\"¸\",\"cent\":\"¢\",\"copy\":\"©\",\"COPY\":\"©\",\"curren\":\"¤\",\"deg\":\"°\",\"divide\":\"÷\",\"Eacute\":\"É\",\"eacute\":\"é\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"Egrave\":\"È\",\"egrave\":\"è\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"frac12\":\"½\",\"frac14\":\"¼\",\"frac34\":\"¾\",\"gt\":\">\",\"GT\":\">\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"iexcl\":\"¡\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"iquest\":\"¿\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"laquo\":\"«\",\"lt\":\"<\",\"LT\":\"<\",\"macr\":\"¯\",\"micro\":\"µ\",\"middot\":\"·\",\"nbsp\":\" \",\"not\":\"¬\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ordf\":\"ª\",\"ordm\":\"º\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"para\":\"¶\",\"plusmn\":\"±\",\"pound\":\"£\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"raquo\":\"»\",\"reg\":\"®\",\"REG\":\"®\",\"sect\":\"§\",\"shy\":\"­\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"szlig\":\"ß\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"times\":\"×\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uml\":\"¨\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"yen\":\"¥\",\"yuml\":\"ÿ\"}\n","{\"amp\":\"&\",\"apos\":\"'\",\"gt\":\">\",\"lt\":\"<\",\"quot\":\"\\\"\"}\n","{\"0\":65533,\"128\":8364,\"130\":8218,\"131\":402,\"132\":8222,\"133\":8230,\"134\":8224,\"135\":8225,\"136\":710,\"137\":8240,\"138\":352,\"139\":8249,\"140\":338,\"142\":381,\"145\":8216,\"146\":8217,\"147\":8220,\"148\":8221,\"149\":8226,\"150\":8211,\"151\":8212,\"152\":732,\"153\":8482,\"154\":353,\"155\":8250,\"156\":339,\"158\":382,\"159\":376}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decode_json_1 = __importDefault(require(\"./maps/decode.json\"));\n// Adapted from https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nvar fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.fromCodePoint ||\n function (codePoint) {\n var output = \"\";\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n output += String.fromCharCode(codePoint);\n return output;\n };\nfunction decodeCodePoint(codePoint) {\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n if (codePoint in decode_json_1.default) {\n codePoint = decode_json_1.default[codePoint];\n }\n return fromCodePoint(codePoint);\n}\nexports.default = decodeCodePoint;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeHTML = exports.decodeHTMLStrict = exports.decodeXML = void 0;\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar legacy_json_1 = __importDefault(require(\"./maps/legacy.json\"));\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar decode_codepoint_1 = __importDefault(require(\"./decode_codepoint\"));\nvar strictEntityRe = /&(?:[a-zA-Z0-9]+|#[xX][\\da-fA-F]+|#\\d+);/g;\nexports.decodeXML = getStrictDecoder(xml_json_1.default);\nexports.decodeHTMLStrict = getStrictDecoder(entities_json_1.default);\nfunction getStrictDecoder(map) {\n var replace = getReplacer(map);\n return function (str) { return String(str).replace(strictEntityRe, replace); };\n}\nvar sorter = function (a, b) { return (a < b ? 1 : -1); };\nexports.decodeHTML = (function () {\n var legacy = Object.keys(legacy_json_1.default).sort(sorter);\n var keys = Object.keys(entities_json_1.default).sort(sorter);\n for (var i = 0, j = 0; i < keys.length; i++) {\n if (legacy[j] === keys[i]) {\n keys[i] += \";?\";\n j++;\n }\n else {\n keys[i] += \";\";\n }\n }\n var re = new RegExp(\"&(?:\" + keys.join(\"|\") + \"|#[xX][\\\\da-fA-F]+;?|#\\\\d+;?)\", \"g\");\n var replace = getReplacer(entities_json_1.default);\n function replacer(str) {\n if (str.substr(-1) !== \";\")\n str += \";\";\n return replace(str);\n }\n // TODO consider creating a merged map\n return function (str) { return String(str).replace(re, replacer); };\n})();\nfunction getReplacer(map) {\n return function replace(str) {\n if (str.charAt(1) === \"#\") {\n var secondChar = str.charAt(2);\n if (secondChar === \"X\" || secondChar === \"x\") {\n return decode_codepoint_1.default(parseInt(str.substr(3), 16));\n }\n return decode_codepoint_1.default(parseInt(str.substr(2), 10));\n }\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n return map[str.slice(1, -1)] || str;\n };\n}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = void 0;\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar inverseXML = getInverseObj(xml_json_1.default);\nvar xmlReplacer = getInverseReplacer(inverseXML);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using XML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeXML = getASCIIEncoder(inverseXML);\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar inverseHTML = getInverseObj(entities_json_1.default);\nvar htmlReplacer = getInverseReplacer(inverseHTML);\n/**\n * Encodes all entities and non-ASCII characters in the input.\n *\n * This includes characters that are valid ASCII characters in HTML documents.\n * For example `#` will be encoded as `&num;`. To get a more compact output,\n * consider using the `encodeNonAsciiHTML` function.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeHTML = getInverse(inverseHTML, htmlReplacer);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in HTML\n * documents using HTML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeNonAsciiHTML = getASCIIEncoder(inverseHTML);\nfunction getInverseObj(obj) {\n return Object.keys(obj)\n .sort()\n .reduce(function (inverse, name) {\n inverse[obj[name]] = \"&\" + name + \";\";\n return inverse;\n }, {});\n}\nfunction getInverseReplacer(inverse) {\n var single = [];\n var multiple = [];\n for (var _i = 0, _a = Object.keys(inverse); _i < _a.length; _i++) {\n var k = _a[_i];\n if (k.length === 1) {\n // Add value to single array\n single.push(\"\\\\\" + k);\n }\n else {\n // Add value to multiple array\n multiple.push(k);\n }\n }\n // Add ranges to single characters.\n single.sort();\n for (var start = 0; start < single.length - 1; start++) {\n // Find the end of a run of characters\n var end = start;\n while (end < single.length - 1 &&\n single[end].charCodeAt(1) + 1 === single[end + 1].charCodeAt(1)) {\n end += 1;\n }\n var count = 1 + end - start;\n // We want to replace at least three characters\n if (count < 3)\n continue;\n single.splice(start, count, single[start] + \"-\" + single[end]);\n }\n multiple.unshift(\"[\" + single.join(\"\") + \"]\");\n return new RegExp(multiple.join(\"|\"), \"g\");\n}\n// /[^\\0-\\x7F]/gu\nvar reNonASCII = /(?:[\\x80-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g;\nvar getCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.prototype.codePointAt != null\n ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n function (str) { return str.codePointAt(0); }\n : // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n function (c) {\n return (c.charCodeAt(0) - 0xd800) * 0x400 +\n c.charCodeAt(1) -\n 0xdc00 +\n 0x10000;\n };\nfunction singleCharReplacer(c) {\n return \"&#x\" + (c.length > 1 ? getCodePoint(c) : c.charCodeAt(0))\n .toString(16)\n .toUpperCase() + \";\";\n}\nfunction getInverse(inverse, re) {\n return function (data) {\n return data\n .replace(re, function (name) { return inverse[name]; })\n .replace(reNonASCII, singleCharReplacer);\n };\n}\nvar reEscapeChars = new RegExp(xmlReplacer.source + \"|\" + reNonASCII.source, \"g\");\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using numeric hexadecimal reference (eg. `&#xfc;`).\n *\n * Have a look at `escapeUTF8` if you want a more concise output at the expense\n * of reduced transportability.\n *\n * @param data String to escape.\n */\nfunction escape(data) {\n return data.replace(reEscapeChars, singleCharReplacer);\n}\nexports.escape = escape;\n/**\n * Encodes all characters not valid in XML documents using numeric hexadecimal\n * reference (eg. `&#xfc;`).\n *\n * Note that the output will be character-set dependent.\n *\n * @param data String to escape.\n */\nfunction escapeUTF8(data) {\n return data.replace(xmlReplacer, singleCharReplacer);\n}\nexports.escapeUTF8 = escapeUTF8;\nfunction getASCIIEncoder(obj) {\n return function (data) {\n return data.replace(reEscapeChars, function (c) { return obj[c] || singleCharReplacer(c); });\n };\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;\nvar decode_1 = require(\"./decode\");\nvar encode_1 = require(\"./encode\");\n/**\n * Decodes a string with entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeXML` or `decodeHTML` directly.\n */\nfunction decode(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTML)(data);\n}\nexports.decode = decode;\n/**\n * Decodes a string with entities. Does not allow missing trailing semicolons for entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeHTMLStrict` or `decodeXML` directly.\n */\nfunction decodeStrict(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTMLStrict)(data);\n}\nexports.decodeStrict = decodeStrict;\n/**\n * Encodes a string with entities.\n *\n * @param data String to encode.\n * @param level Optional level to encode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `encodeHTML`, `encodeXML` or `encodeNonAsciiHTML` directly.\n */\nfunction encode(data, level) {\n return (!level || level <= 0 ? encode_1.encodeXML : encode_1.encodeHTML)(data);\n}\nexports.encode = encode;\nvar encode_2 = require(\"./encode\");\nObject.defineProperty(exports, \"encodeXML\", { enumerable: true, get: function () { return encode_2.encodeXML; } });\nObject.defineProperty(exports, \"encodeHTML\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeNonAsciiHTML\", { enumerable: true, get: function () { return encode_2.encodeNonAsciiHTML; } });\nObject.defineProperty(exports, \"escape\", { enumerable: true, get: function () { return encode_2.escape; } });\nObject.defineProperty(exports, \"escapeUTF8\", { enumerable: true, get: function () { return encode_2.escapeUTF8; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"encodeHTML4\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeHTML5\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nvar decode_2 = require(\"./decode\");\nObject.defineProperty(exports, \"decodeXML\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\nObject.defineProperty(exports, \"decodeHTML\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTMLStrict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"decodeHTML4\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML5\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML4Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeHTML5Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeXMLStrict\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\n","'use strict';\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar entities = require('entities');\n\nvar defaults = {\n fg: '#FFF',\n bg: '#000',\n newline: false,\n escapeXML: false,\n stream: false,\n colors: getDefaultColors()\n};\n\nfunction getDefaultColors() {\n var colors = {\n 0: '#000',\n 1: '#A00',\n 2: '#0A0',\n 3: '#A50',\n 4: '#00A',\n 5: '#A0A',\n 6: '#0AA',\n 7: '#AAA',\n 8: '#555',\n 9: '#F55',\n 10: '#5F5',\n 11: '#FF5',\n 12: '#55F',\n 13: '#F5F',\n 14: '#5FF',\n 15: '#FFF'\n };\n range(0, 5).forEach(function (red) {\n range(0, 5).forEach(function (green) {\n range(0, 5).forEach(function (blue) {\n return setStyleColor(red, green, blue, colors);\n });\n });\n });\n range(0, 23).forEach(function (gray) {\n var c = gray + 232;\n var l = toHexString(gray * 10 + 8);\n colors[c] = '#' + l + l + l;\n });\n return colors;\n}\n/**\n * @param {number} red\n * @param {number} green\n * @param {number} blue\n * @param {object} colors\n */\n\n\nfunction setStyleColor(red, green, blue, colors) {\n var c = 16 + red * 36 + green * 6 + blue;\n var r = red > 0 ? red * 40 + 55 : 0;\n var g = green > 0 ? green * 40 + 55 : 0;\n var b = blue > 0 ? blue * 40 + 55 : 0;\n colors[c] = toColorHexString([r, g, b]);\n}\n/**\n * Converts from a number like 15 to a hex string like 'F'\n * @param {number} num\n * @returns {string}\n */\n\n\nfunction toHexString(num) {\n var str = num.toString(16);\n\n while (str.length < 2) {\n str = '0' + str;\n }\n\n return str;\n}\n/**\n * Converts from an array of numbers like [15, 15, 15] to a hex string like 'FFF'\n * @param {[red, green, blue]} ref\n * @returns {string}\n */\n\n\nfunction toColorHexString(ref) {\n var results = [];\n\n var _iterator = _createForOfIteratorHelper(ref),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var r = _step.value;\n results.push(toHexString(r));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return '#' + results.join('');\n}\n/**\n * @param {Array} stack\n * @param {string} token\n * @param {*} data\n * @param {object} options\n */\n\n\nfunction generateOutput(stack, token, data, options) {\n var result;\n\n if (token === 'text') {\n result = pushText(data, options);\n } else if (token === 'display') {\n result = handleDisplay(stack, data, options);\n } else if (token === 'xterm256Foreground') {\n result = pushForegroundColor(stack, options.colors[data]);\n } else if (token === 'xterm256Background') {\n result = pushBackgroundColor(stack, options.colors[data]);\n } else if (token === 'rgb') {\n result = handleRgb(stack, data);\n }\n\n return result;\n}\n/**\n * @param {Array} stack\n * @param {string} data\n * @returns {*}\n */\n\n\nfunction handleRgb(stack, data) {\n data = data.substring(2).slice(0, -1);\n var operation = +data.substr(0, 2);\n var color = data.substring(5).split(';');\n var rgb = color.map(function (value) {\n return ('0' + Number(value).toString(16)).substr(-2);\n }).join('');\n return pushStyle(stack, (operation === 38 ? 'color:#' : 'background-color:#') + rgb);\n}\n/**\n * @param {Array} stack\n * @param {number} code\n * @param {object} options\n * @returns {*}\n */\n\n\nfunction handleDisplay(stack, code, options) {\n code = parseInt(code, 10);\n var codeMap = {\n '-1': function _() {\n return '<br/>';\n },\n 0: function _() {\n return stack.length && resetStyles(stack);\n },\n 1: function _() {\n return pushTag(stack, 'b');\n },\n 3: function _() {\n return pushTag(stack, 'i');\n },\n 4: function _() {\n return pushTag(stack, 'u');\n },\n 8: function _() {\n return pushStyle(stack, 'display:none');\n },\n 9: function _() {\n return pushTag(stack, 'strike');\n },\n 22: function _() {\n return pushStyle(stack, 'font-weight:normal;text-decoration:none;font-style:normal');\n },\n 23: function _() {\n return closeTag(stack, 'i');\n },\n 24: function _() {\n return closeTag(stack, 'u');\n },\n 39: function _() {\n return pushForegroundColor(stack, options.fg);\n },\n 49: function _() {\n return pushBackgroundColor(stack, options.bg);\n },\n 53: function _() {\n return pushStyle(stack, 'text-decoration:overline');\n }\n };\n var result;\n\n if (codeMap[code]) {\n result = codeMap[code]();\n } else if (4 < code && code < 7) {\n result = pushTag(stack, 'blink');\n } else if (29 < code && code < 38) {\n result = pushForegroundColor(stack, options.colors[code - 30]);\n } else if (39 < code && code < 48) {\n result = pushBackgroundColor(stack, options.colors[code - 40]);\n } else if (89 < code && code < 98) {\n result = pushForegroundColor(stack, options.colors[8 + (code - 90)]);\n } else if (99 < code && code < 108) {\n result = pushBackgroundColor(stack, options.colors[8 + (code - 100)]);\n }\n\n return result;\n}\n/**\n * Clear all the styles\n * @returns {string}\n */\n\n\nfunction resetStyles(stack) {\n var stackClone = stack.slice(0);\n stack.length = 0;\n return stackClone.reverse().map(function (tag) {\n return '</' + tag + '>';\n }).join('');\n}\n/**\n * Creates an array of numbers ranging from low to high\n * @param {number} low\n * @param {number} high\n * @returns {Array}\n * @example range(3, 7); // creates [3, 4, 5, 6, 7]\n */\n\n\nfunction range(low, high) {\n var results = [];\n\n for (var j = low; j <= high; j++) {\n results.push(j);\n }\n\n return results;\n}\n/**\n * Returns a new function that is true if value is NOT the same category\n * @param {string} category\n * @returns {function}\n */\n\n\nfunction notCategory(category) {\n return function (e) {\n return (category === null || e.category !== category) && category !== 'all';\n };\n}\n/**\n * Converts a code into an ansi token type\n * @param {number} code\n * @returns {string}\n */\n\n\nfunction categoryForCode(code) {\n code = parseInt(code, 10);\n var result = null;\n\n if (code === 0) {\n result = 'all';\n } else if (code === 1) {\n result = 'bold';\n } else if (2 < code && code < 5) {\n result = 'underline';\n } else if (4 < code && code < 7) {\n result = 'blink';\n } else if (code === 8) {\n result = 'hide';\n } else if (code === 9) {\n result = 'strike';\n } else if (29 < code && code < 38 || code === 39 || 89 < code && code < 98) {\n result = 'foreground-color';\n } else if (39 < code && code < 48 || code === 49 || 99 < code && code < 108) {\n result = 'background-color';\n }\n\n return result;\n}\n/**\n * @param {string} text\n * @param {object} options\n * @returns {string}\n */\n\n\nfunction pushText(text, options) {\n if (options.escapeXML) {\n return entities.encodeXML(text);\n }\n\n return text;\n}\n/**\n * @param {Array} stack\n * @param {string} tag\n * @param {string} [style='']\n * @returns {string}\n */\n\n\nfunction pushTag(stack, tag, style) {\n if (!style) {\n style = '';\n }\n\n stack.push(tag);\n return \"<\".concat(tag).concat(style ? \" style=\\\"\".concat(style, \"\\\"\") : '', \">\");\n}\n/**\n * @param {Array} stack\n * @param {string} style\n * @returns {string}\n */\n\n\nfunction pushStyle(stack, style) {\n return pushTag(stack, 'span', style);\n}\n\nfunction pushForegroundColor(stack, color) {\n return pushTag(stack, 'span', 'color:' + color);\n}\n\nfunction pushBackgroundColor(stack, color) {\n return pushTag(stack, 'span', 'background-color:' + color);\n}\n/**\n * @param {Array} stack\n * @param {string} style\n * @returns {string}\n */\n\n\nfunction closeTag(stack, style) {\n var last;\n\n if (stack.slice(-1)[0] === style) {\n last = stack.pop();\n }\n\n if (last) {\n return '</' + style + '>';\n }\n}\n/**\n * @param {string} text\n * @param {object} options\n * @param {function} callback\n * @returns {Array}\n */\n\n\nfunction tokenize(text, options, callback) {\n var ansiMatch = false;\n var ansiHandler = 3;\n\n function remove() {\n return '';\n }\n\n function removeXterm256Foreground(m, g1) {\n callback('xterm256Foreground', g1);\n return '';\n }\n\n function removeXterm256Background(m, g1) {\n callback('xterm256Background', g1);\n return '';\n }\n\n function newline(m) {\n if (options.newline) {\n callback('display', -1);\n } else {\n callback('text', m);\n }\n\n return '';\n }\n\n function ansiMess(m, g1) {\n ansiMatch = true;\n\n if (g1.trim().length === 0) {\n g1 = '0';\n }\n\n g1 = g1.trimRight(';').split(';');\n\n var _iterator2 = _createForOfIteratorHelper(g1),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var g = _step2.value;\n callback('display', g);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n return '';\n }\n\n function realText(m) {\n callback('text', m);\n return '';\n }\n\n function rgb(m) {\n callback('rgb', m);\n return '';\n }\n /* eslint no-control-regex:0 */\n\n\n var tokens = [{\n pattern: /^\\x08+/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[[012]?K/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[\\(B/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[[34]8;2;\\d+;\\d+;\\d+m/,\n sub: rgb\n }, {\n pattern: /^\\x1b\\[38;5;(\\d+)m/,\n sub: removeXterm256Foreground\n }, {\n pattern: /^\\x1b\\[48;5;(\\d+)m/,\n sub: removeXterm256Background\n }, {\n pattern: /^\\n/,\n sub: newline\n }, {\n pattern: /^\\r+\\n/,\n sub: newline\n }, {\n pattern: /^\\r/,\n sub: newline\n }, {\n pattern: /^\\x1b\\[((?:\\d{1,3};?)+|)m/,\n sub: ansiMess\n }, {\n // CSI n J\n // ED - Erase in Display Clears part of the screen.\n // If n is 0 (or missing), clear from cursor to end of screen.\n // If n is 1, clear from cursor to beginning of the screen.\n // If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS).\n // If n is 3, clear entire screen and delete all lines saved in the scrollback buffer\n // (this feature was added for xterm and is supported by other terminal applications).\n pattern: /^\\x1b\\[\\d?J/,\n sub: remove\n }, {\n // CSI n ; m f\n // HVP - Horizontal Vertical Position Same as CUP\n pattern: /^\\x1b\\[\\d{0,3};\\d{0,3}f/,\n sub: remove\n }, {\n // catch-all for CSI sequences?\n pattern: /^\\x1b\\[?[\\d;]{0,3}/,\n sub: remove\n }, {\n /**\n * extracts real text - not containing:\n * - `\\x1b' - ESC - escape (Ascii 27)\n * - '\\x08' - BS - backspace (Ascii 8)\n * - `\\n` - Newline - linefeed (LF) (ascii 10)\n * - `\\r` - Windows Carriage Return (CR)\n */\n pattern: /^(([^\\x1b\\x08\\r\\n])+)/,\n sub: realText\n }];\n\n function process(handler, i) {\n if (i > ansiHandler && ansiMatch) {\n return;\n }\n\n ansiMatch = false;\n text = text.replace(handler.pattern, handler.sub);\n }\n\n var results1 = [];\n var _text = text,\n length = _text.length;\n\n outer: while (length > 0) {\n for (var i = 0, o = 0, len = tokens.length; o < len; i = ++o) {\n var handler = tokens[i];\n process(handler, i);\n\n if (text.length !== length) {\n // We matched a token and removed it from the text. We need to\n // start matching *all* tokens against the new text.\n length = text.length;\n continue outer;\n }\n }\n\n if (text.length === length) {\n break;\n }\n\n results1.push(0);\n length = text.length;\n }\n\n return results1;\n}\n/**\n * If streaming, then the stack is \"sticky\"\n *\n * @param {Array} stickyStack\n * @param {string} token\n * @param {*} data\n * @returns {Array}\n */\n\n\nfunction updateStickyStack(stickyStack, token, data) {\n if (token !== 'text') {\n stickyStack = stickyStack.filter(notCategory(categoryForCode(data)));\n stickyStack.push({\n token: token,\n data: data,\n category: categoryForCode(data)\n });\n }\n\n return stickyStack;\n}\n\nvar Filter = /*#__PURE__*/function () {\n /**\n * @param {object} options\n * @param {string=} options.fg The default foreground color used when reset color codes are encountered.\n * @param {string=} options.bg The default background color used when reset color codes are encountered.\n * @param {boolean=} options.newline Convert newline characters to `<br/>`.\n * @param {boolean=} options.escapeXML Generate HTML/XML entities.\n * @param {boolean=} options.stream Save style state across invocations of `toHtml()`.\n * @param {(string[] | {[code: number]: string})=} options.colors Can override specific colors or the entire ANSI palette.\n */\n function Filter(options) {\n _classCallCheck(this, Filter);\n\n options = options || {};\n\n if (options.colors) {\n options.colors = Object.assign({}, defaults.colors, options.colors);\n }\n\n this.options = Object.assign({}, defaults, options);\n this.stack = [];\n this.stickyStack = [];\n }\n /**\n * @param {string | string[]} input\n * @returns {string}\n */\n\n\n _createClass(Filter, [{\n key: \"toHtml\",\n value: function toHtml(input) {\n var _this = this;\n\n input = typeof input === 'string' ? [input] : input;\n var stack = this.stack,\n options = this.options;\n var buf = [];\n this.stickyStack.forEach(function (element) {\n var output = generateOutput(stack, element.token, element.data, options);\n\n if (output) {\n buf.push(output);\n }\n });\n tokenize(input.join(''), options, function (token, data) {\n var output = generateOutput(stack, token, data, options);\n\n if (output) {\n buf.push(output);\n }\n\n if (options.stream) {\n _this.stickyStack = updateStickyStack(_this.stickyStack, token, data);\n }\n });\n\n if (stack.length) {\n buf.push(resetStyles(stack));\n }\n\n return buf.join('');\n }\n }]);\n\n return Filter;\n}();\n\nmodule.exports = Filter;\n//# sourceMappingURL=ansi_to_html.js.map","/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */\nfunction _OverloadYield(e, d) {\n\tthis.v = e, this.k = d;\n}\nfunction _arrayLikeToArray(r, a) {\n\t(null == a || a > r.length) && (a = r.length);\n\tfor (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n\treturn n;\n}\nfunction _arrayWithHoles(r) {\n\tif (Array.isArray(r)) return r;\n}\nfunction _iterableToArrayLimit(r, l) {\n\tvar t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n\tif (null != t) {\n\t\tvar e, n, i, u, a = [], f = !0, o = !1;\n\t\ttry {\n\t\t\tif (i = (t = t.call(r)).next, 0 === l) {\n\t\t\t\tif (Object(t) !== t) return;\n\t\t\t\tf = !1;\n\t\t\t} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n\t\t} catch (r) {\n\t\t\to = !0, n = r;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n\t\t\t} finally {\n\t\t\t\tif (o) throw n;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}\nfunction _nonIterableRest() {\n\tthrow new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\nfunction _slicedToArray(r, e) {\n\treturn _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _unsupportedIterableToArray(r, a) {\n\tif (r) {\n\t\tif (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n\t\tvar t = {}.toString.call(r).slice(8, -1);\n\t\treturn \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n\t}\n}\nfunction AsyncGenerator(e) {\n\tvar t, n;\n\tfunction resume(t, n) {\n\t\ttry {\n\t\t\tvar r = e[t](n), o = r.value, u = o instanceof _OverloadYield;\n\t\t\tPromise.resolve(u ? o.v : o).then(function(n) {\n\t\t\t\tif (u) {\n\t\t\t\t\tvar i = \"return\" === t && o.k ? t : \"next\";\n\t\t\t\t\tif (!o.k || n.done) return resume(i, n);\n\t\t\t\t\tn = e[i](n).value;\n\t\t\t\t}\n\t\t\t\tsettle(!!r.done, n);\n\t\t\t}, function(e) {\n\t\t\t\tresume(\"throw\", e);\n\t\t\t});\n\t\t} catch (e) {\n\t\t\tsettle(2, e);\n\t\t}\n\t}\n\tfunction settle(e, r) {\n\t\t2 === e ? t.reject(r) : t.resolve({\n\t\t\tvalue: r,\n\t\t\tdone: e\n\t\t}), (t = t.next) ? resume(t.key, t.arg) : n = null;\n\t}\n\tthis._invoke = function(e, r) {\n\t\treturn new Promise(function(o, u) {\n\t\t\tvar i = {\n\t\t\t\tkey: e,\n\t\t\t\targ: r,\n\t\t\t\tresolve: o,\n\t\t\t\treject: u,\n\t\t\t\tnext: null\n\t\t\t};\n\t\t\tn ? n = n.next = i : (t = n = i, resume(e, r));\n\t\t});\n\t}, \"function\" != typeof e.return && (this.return = void 0);\n}\nAsyncGenerator.prototype[\"function\" == typeof Symbol && Symbol.asyncIterator || \"@@asyncIterator\"] = function() {\n\treturn this;\n}, AsyncGenerator.prototype.next = function(e) {\n\treturn this._invoke(\"next\", e);\n}, AsyncGenerator.prototype.throw = function(e) {\n\treturn this._invoke(\"throw\", e);\n}, AsyncGenerator.prototype.return = function(e) {\n\treturn this._invoke(\"return\", e);\n};\nconst entries = Object.entries;\nconst setPrototypeOf = Object.setPrototypeOf;\nconst isFrozen = Object.isFrozen;\nconst getPrototypeOf = Object.getPrototypeOf;\nconst getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nlet freeze = Object.freeze;\nlet seal = Object.seal;\nlet create = Object.create;\nlet _ref = typeof Reflect !== \"undefined\" && Reflect;\nlet apply = _ref.apply;\nlet construct = _ref.construct;\nif (!freeze) freeze = function freeze(x) {\n\treturn x;\n};\nif (!seal) seal = function seal(x) {\n\treturn x;\n};\nif (!apply) apply = function apply(func, thisArg) {\n\tfor (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) args[_key - 2] = arguments[_key];\n\treturn func.apply(thisArg, args);\n};\nif (!construct) construct = function construct(Func) {\n\tfor (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) args[_key2 - 1] = arguments[_key2];\n\treturn new Func(...args);\n};\nconst arrayForEach = unapply(Array.prototype.forEach);\nArray.prototype.indexOf;\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nArray.prototype.slice;\nconst arraySplice = unapply(Array.prototype.splice);\nconst arrayIsArray = Array.isArray;\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst numberToString = unapply(Number.prototype.toString);\nconst booleanToString = unapply(Boolean.prototype.toString);\nconst bigintToString = typeof BigInt === \"undefined\" ? null : unapply(BigInt.prototype.toString);\nconst symbolToString = typeof Symbol === \"undefined\" ? null : unapply(Symbol.prototype.toString);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst objectToString = unapply(Object.prototype.toString);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n* Creates a new function that calls the given function with a specified thisArg and arguments.\n*\n* @param func - The function to be wrapped and called.\n* @returns A new function that calls the given function with a specified thisArg and arguments.\n*/\nfunction unapply(func) {\n\treturn function(thisArg) {\n\t\tif (thisArg instanceof RegExp) thisArg.lastIndex = 0;\n\t\tfor (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) args[_key3 - 1] = arguments[_key3];\n\t\treturn apply(func, thisArg, args);\n\t};\n}\n/**\n* Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n*\n* @param func - The constructor function to be wrapped and called.\n* @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n*/\nfunction unconstruct(Func) {\n\treturn function() {\n\t\tfor (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) args[_key4] = arguments[_key4];\n\t\treturn construct(Func, args);\n\t};\n}\n/**\n* Add properties to a lookup table\n*\n* @param set - The set to which elements will be added.\n* @param array - The array containing elements to be added to the set.\n* @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n* @returns The modified set with added elements.\n*/\nfunction addToSet(set, array) {\n\tlet transformCaseFunc = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;\n\tif (setPrototypeOf) setPrototypeOf(set, null);\n\tif (!arrayIsArray(array)) return set;\n\tlet l = array.length;\n\twhile (l--) {\n\t\tlet element = array[l];\n\t\tif (typeof element === \"string\") {\n\t\t\tconst lcElement = transformCaseFunc(element);\n\t\t\tif (lcElement !== element) {\n\t\t\t\tif (!isFrozen(array)) array[l] = lcElement;\n\t\t\t\telement = lcElement;\n\t\t\t}\n\t\t}\n\t\tset[element] = true;\n\t}\n\treturn set;\n}\n/**\n* Clean up an array to harden against CSPP\n*\n* @param array - The array to be cleaned.\n* @returns The cleaned version of the array\n*/\nfunction cleanArray(array) {\n\tfor (let index = 0; index < array.length; index++) if (!objectHasOwnProperty(array, index)) array[index] = null;\n\treturn array;\n}\n/**\n* Shallow clone an object\n*\n* @param object - The object to be cloned.\n* @returns A new object that copies the original.\n*/\nfunction clone(object) {\n\tconst newObject = create(null);\n\tfor (const _ref2 of entries(object)) {\n\t\tvar _ref3 = _slicedToArray(_ref2, 2);\n\t\tconst property = _ref3[0];\n\t\tconst value = _ref3[1];\n\t\tif (objectHasOwnProperty(object, property)) {\n\t\t\tif (arrayIsArray(value)) newObject[property] = cleanArray(value);\n\t\t\telse if (value && typeof value === \"object\" && value.constructor === Object) newObject[property] = clone(value);\n\t\t\telse newObject[property] = value;\n\t\t}\n\t}\n\treturn newObject;\n}\n/**\n* Convert non-node values into strings without depending on direct property access.\n*\n* @param value - The value to stringify.\n* @returns A string representation of the provided value.\n*/\nfunction stringifyValue(value) {\n\tswitch (typeof value) {\n\t\tcase \"string\": return value;\n\t\tcase \"number\": return numberToString(value);\n\t\tcase \"boolean\": return booleanToString(value);\n\t\tcase \"bigint\": return bigintToString ? bigintToString(value) : \"0\";\n\t\tcase \"symbol\": return symbolToString ? symbolToString(value) : \"Symbol()\";\n\t\tcase \"undefined\": return objectToString(value);\n\t\tcase \"function\":\n\t\tcase \"object\": {\n\t\t\tif (value === null) return objectToString(value);\n\t\t\tconst valueAsRecord = value;\n\t\t\tconst valueToString = lookupGetter(valueAsRecord, \"toString\");\n\t\t\tif (typeof valueToString === \"function\") {\n\t\t\t\tconst stringified = valueToString(valueAsRecord);\n\t\t\t\treturn typeof stringified === \"string\" ? stringified : objectToString(stringified);\n\t\t\t}\n\t\t\treturn objectToString(value);\n\t\t}\n\t\tdefault: return objectToString(value);\n\t}\n}\n/**\n* This method automatically checks if the prop is function or getter and behaves accordingly.\n*\n* @param object - The object to look up the getter function in its prototype chain.\n* @param prop - The property name for which to find the getter function.\n* @returns The getter function found in the prototype chain or a fallback function.\n*/\nfunction lookupGetter(object, prop) {\n\twhile (object !== null) {\n\t\tconst desc = getOwnPropertyDescriptor(object, prop);\n\t\tif (desc) {\n\t\t\tif (desc.get) return unapply(desc.get);\n\t\t\tif (typeof desc.value === \"function\") return unapply(desc.value);\n\t\t}\n\t\tobject = getPrototypeOf(object);\n\t}\n\tfunction fallbackValue() {\n\t\treturn null;\n\t}\n\treturn fallbackValue;\n}\nfunction isRegex(value) {\n\ttry {\n\t\tregExpTest(value, \"\");\n\t\treturn true;\n\t} catch (_unused) {\n\t\treturn false;\n\t}\n}\nconst html$1 = freeze([\n\t\"a\",\n\t\"abbr\",\n\t\"acronym\",\n\t\"address\",\n\t\"area\",\n\t\"article\",\n\t\"aside\",\n\t\"audio\",\n\t\"b\",\n\t\"bdi\",\n\t\"bdo\",\n\t\"big\",\n\t\"blink\",\n\t\"blockquote\",\n\t\"body\",\n\t\"br\",\n\t\"button\",\n\t\"canvas\",\n\t\"caption\",\n\t\"center\",\n\t\"cite\",\n\t\"code\",\n\t\"col\",\n\t\"colgroup\",\n\t\"content\",\n\t\"data\",\n\t\"datalist\",\n\t\"dd\",\n\t\"decorator\",\n\t\"del\",\n\t\"details\",\n\t\"dfn\",\n\t\"dialog\",\n\t\"dir\",\n\t\"div\",\n\t\"dl\",\n\t\"dt\",\n\t\"element\",\n\t\"em\",\n\t\"fieldset\",\n\t\"figcaption\",\n\t\"figure\",\n\t\"font\",\n\t\"footer\",\n\t\"form\",\n\t\"h1\",\n\t\"h2\",\n\t\"h3\",\n\t\"h4\",\n\t\"h5\",\n\t\"h6\",\n\t\"head\",\n\t\"header\",\n\t\"hgroup\",\n\t\"hr\",\n\t\"html\",\n\t\"i\",\n\t\"img\",\n\t\"input\",\n\t\"ins\",\n\t\"kbd\",\n\t\"label\",\n\t\"legend\",\n\t\"li\",\n\t\"main\",\n\t\"map\",\n\t\"mark\",\n\t\"marquee\",\n\t\"menu\",\n\t\"menuitem\",\n\t\"meter\",\n\t\"nav\",\n\t\"nobr\",\n\t\"ol\",\n\t\"optgroup\",\n\t\"option\",\n\t\"output\",\n\t\"p\",\n\t\"picture\",\n\t\"pre\",\n\t\"progress\",\n\t\"q\",\n\t\"rp\",\n\t\"rt\",\n\t\"ruby\",\n\t\"s\",\n\t\"samp\",\n\t\"search\",\n\t\"section\",\n\t\"select\",\n\t\"shadow\",\n\t\"slot\",\n\t\"small\",\n\t\"source\",\n\t\"spacer\",\n\t\"span\",\n\t\"strike\",\n\t\"strong\",\n\t\"style\",\n\t\"sub\",\n\t\"summary\",\n\t\"sup\",\n\t\"table\",\n\t\"tbody\",\n\t\"td\",\n\t\"template\",\n\t\"textarea\",\n\t\"tfoot\",\n\t\"th\",\n\t\"thead\",\n\t\"time\",\n\t\"tr\",\n\t\"track\",\n\t\"tt\",\n\t\"u\",\n\t\"ul\",\n\t\"var\",\n\t\"video\",\n\t\"wbr\"\n]);\nconst svg$1 = freeze([\n\t\"svg\",\n\t\"a\",\n\t\"altglyph\",\n\t\"altglyphdef\",\n\t\"altglyphitem\",\n\t\"animatecolor\",\n\t\"animatemotion\",\n\t\"animatetransform\",\n\t\"circle\",\n\t\"clippath\",\n\t\"defs\",\n\t\"desc\",\n\t\"ellipse\",\n\t\"enterkeyhint\",\n\t\"exportparts\",\n\t\"filter\",\n\t\"font\",\n\t\"g\",\n\t\"glyph\",\n\t\"glyphref\",\n\t\"hkern\",\n\t\"image\",\n\t\"inputmode\",\n\t\"line\",\n\t\"lineargradient\",\n\t\"marker\",\n\t\"mask\",\n\t\"metadata\",\n\t\"mpath\",\n\t\"part\",\n\t\"path\",\n\t\"pattern\",\n\t\"polygon\",\n\t\"polyline\",\n\t\"radialgradient\",\n\t\"rect\",\n\t\"stop\",\n\t\"style\",\n\t\"switch\",\n\t\"symbol\",\n\t\"text\",\n\t\"textpath\",\n\t\"title\",\n\t\"tref\",\n\t\"tspan\",\n\t\"view\",\n\t\"vkern\"\n]);\nconst svgFilters = freeze([\n\t\"feBlend\",\n\t\"feColorMatrix\",\n\t\"feComponentTransfer\",\n\t\"feComposite\",\n\t\"feConvolveMatrix\",\n\t\"feDiffuseLighting\",\n\t\"feDisplacementMap\",\n\t\"feDistantLight\",\n\t\"feDropShadow\",\n\t\"feFlood\",\n\t\"feFuncA\",\n\t\"feFuncB\",\n\t\"feFuncG\",\n\t\"feFuncR\",\n\t\"feGaussianBlur\",\n\t\"feImage\",\n\t\"feMerge\",\n\t\"feMergeNode\",\n\t\"feMorphology\",\n\t\"feOffset\",\n\t\"fePointLight\",\n\t\"feSpecularLighting\",\n\t\"feSpotLight\",\n\t\"feTile\",\n\t\"feTurbulence\"\n]);\nconst svgDisallowed = freeze([\n\t\"animate\",\n\t\"color-profile\",\n\t\"cursor\",\n\t\"discard\",\n\t\"font-face\",\n\t\"font-face-format\",\n\t\"font-face-name\",\n\t\"font-face-src\",\n\t\"font-face-uri\",\n\t\"foreignobject\",\n\t\"hatch\",\n\t\"hatchpath\",\n\t\"mesh\",\n\t\"meshgradient\",\n\t\"meshpatch\",\n\t\"meshrow\",\n\t\"missing-glyph\",\n\t\"script\",\n\t\"set\",\n\t\"solidcolor\",\n\t\"unknown\",\n\t\"use\"\n]);\nconst mathMl$1 = freeze([\n\t\"math\",\n\t\"menclose\",\n\t\"merror\",\n\t\"mfenced\",\n\t\"mfrac\",\n\t\"mglyph\",\n\t\"mi\",\n\t\"mlabeledtr\",\n\t\"mmultiscripts\",\n\t\"mn\",\n\t\"mo\",\n\t\"mover\",\n\t\"mpadded\",\n\t\"mphantom\",\n\t\"mroot\",\n\t\"mrow\",\n\t\"ms\",\n\t\"mspace\",\n\t\"msqrt\",\n\t\"mstyle\",\n\t\"msub\",\n\t\"msup\",\n\t\"msubsup\",\n\t\"mtable\",\n\t\"mtd\",\n\t\"mtext\",\n\t\"mtr\",\n\t\"munder\",\n\t\"munderover\",\n\t\"mprescripts\"\n]);\nconst mathMlDisallowed = freeze([\n\t\"maction\",\n\t\"maligngroup\",\n\t\"malignmark\",\n\t\"mlongdiv\",\n\t\"mscarries\",\n\t\"mscarry\",\n\t\"msgroup\",\n\t\"mstack\",\n\t\"msline\",\n\t\"msrow\",\n\t\"semantics\",\n\t\"annotation\",\n\t\"annotation-xml\",\n\t\"mprescripts\",\n\t\"none\"\n]);\nconst text = freeze([\"#text\"]);\nconst html = freeze([\n\t\"accept\",\n\t\"action\",\n\t\"align\",\n\t\"alt\",\n\t\"autocapitalize\",\n\t\"autocomplete\",\n\t\"autopictureinpicture\",\n\t\"autoplay\",\n\t\"background\",\n\t\"bgcolor\",\n\t\"border\",\n\t\"capture\",\n\t\"cellpadding\",\n\t\"cellspacing\",\n\t\"checked\",\n\t\"cite\",\n\t\"class\",\n\t\"clear\",\n\t\"color\",\n\t\"cols\",\n\t\"colspan\",\n\t\"command\",\n\t\"commandfor\",\n\t\"controls\",\n\t\"controlslist\",\n\t\"coords\",\n\t\"crossorigin\",\n\t\"datetime\",\n\t\"decoding\",\n\t\"default\",\n\t\"dir\",\n\t\"disabled\",\n\t\"disablepictureinpicture\",\n\t\"disableremoteplayback\",\n\t\"download\",\n\t\"draggable\",\n\t\"enctype\",\n\t\"enterkeyhint\",\n\t\"exportparts\",\n\t\"face\",\n\t\"for\",\n\t\"headers\",\n\t\"height\",\n\t\"hidden\",\n\t\"high\",\n\t\"href\",\n\t\"hreflang\",\n\t\"id\",\n\t\"inert\",\n\t\"inputmode\",\n\t\"integrity\",\n\t\"ismap\",\n\t\"kind\",\n\t\"label\",\n\t\"lang\",\n\t\"list\",\n\t\"loading\",\n\t\"loop\",\n\t\"low\",\n\t\"max\",\n\t\"maxlength\",\n\t\"media\",\n\t\"method\",\n\t\"min\",\n\t\"minlength\",\n\t\"multiple\",\n\t\"muted\",\n\t\"name\",\n\t\"nonce\",\n\t\"noshade\",\n\t\"novalidate\",\n\t\"nowrap\",\n\t\"open\",\n\t\"optimum\",\n\t\"part\",\n\t\"pattern\",\n\t\"placeholder\",\n\t\"playsinline\",\n\t\"popover\",\n\t\"popovertarget\",\n\t\"popovertargetaction\",\n\t\"poster\",\n\t\"preload\",\n\t\"pubdate\",\n\t\"radiogroup\",\n\t\"readonly\",\n\t\"rel\",\n\t\"required\",\n\t\"rev\",\n\t\"reversed\",\n\t\"role\",\n\t\"rows\",\n\t\"rowspan\",\n\t\"spellcheck\",\n\t\"scope\",\n\t\"selected\",\n\t\"shape\",\n\t\"size\",\n\t\"sizes\",\n\t\"slot\",\n\t\"span\",\n\t\"srclang\",\n\t\"start\",\n\t\"src\",\n\t\"srcset\",\n\t\"step\",\n\t\"style\",\n\t\"summary\",\n\t\"tabindex\",\n\t\"title\",\n\t\"translate\",\n\t\"type\",\n\t\"usemap\",\n\t\"valign\",\n\t\"value\",\n\t\"width\",\n\t\"wrap\",\n\t\"xmlns\"\n]);\nconst svg = freeze([\n\t\"accent-height\",\n\t\"accumulate\",\n\t\"additive\",\n\t\"alignment-baseline\",\n\t\"amplitude\",\n\t\"ascent\",\n\t\"attributename\",\n\t\"attributetype\",\n\t\"azimuth\",\n\t\"basefrequency\",\n\t\"baseline-shift\",\n\t\"begin\",\n\t\"bias\",\n\t\"by\",\n\t\"class\",\n\t\"clip\",\n\t\"clippathunits\",\n\t\"clip-path\",\n\t\"clip-rule\",\n\t\"color\",\n\t\"color-interpolation\",\n\t\"color-interpolation-filters\",\n\t\"color-profile\",\n\t\"color-rendering\",\n\t\"cx\",\n\t\"cy\",\n\t\"d\",\n\t\"dx\",\n\t\"dy\",\n\t\"diffuseconstant\",\n\t\"direction\",\n\t\"display\",\n\t\"divisor\",\n\t\"dominant-baseline\",\n\t\"dur\",\n\t\"edgemode\",\n\t\"elevation\",\n\t\"end\",\n\t\"exponent\",\n\t\"fill\",\n\t\"fill-opacity\",\n\t\"fill-rule\",\n\t\"filter\",\n\t\"filterunits\",\n\t\"flood-color\",\n\t\"flood-opacity\",\n\t\"font-family\",\n\t\"font-size\",\n\t\"font-size-adjust\",\n\t\"font-stretch\",\n\t\"font-style\",\n\t\"font-variant\",\n\t\"font-weight\",\n\t\"fx\",\n\t\"fy\",\n\t\"g1\",\n\t\"g2\",\n\t\"glyph-name\",\n\t\"glyphref\",\n\t\"gradientunits\",\n\t\"gradienttransform\",\n\t\"height\",\n\t\"href\",\n\t\"id\",\n\t\"image-rendering\",\n\t\"in\",\n\t\"in2\",\n\t\"intercept\",\n\t\"k\",\n\t\"k1\",\n\t\"k2\",\n\t\"k3\",\n\t\"k4\",\n\t\"kerning\",\n\t\"keypoints\",\n\t\"keysplines\",\n\t\"keytimes\",\n\t\"lang\",\n\t\"lengthadjust\",\n\t\"letter-spacing\",\n\t\"kernelmatrix\",\n\t\"kernelunitlength\",\n\t\"lighting-color\",\n\t\"local\",\n\t\"marker-end\",\n\t\"marker-mid\",\n\t\"marker-start\",\n\t\"markerheight\",\n\t\"markerunits\",\n\t\"markerwidth\",\n\t\"maskcontentunits\",\n\t\"maskunits\",\n\t\"max\",\n\t\"mask\",\n\t\"mask-type\",\n\t\"media\",\n\t\"method\",\n\t\"mode\",\n\t\"min\",\n\t\"name\",\n\t\"numoctaves\",\n\t\"offset\",\n\t\"operator\",\n\t\"opacity\",\n\t\"order\",\n\t\"orient\",\n\t\"orientation\",\n\t\"origin\",\n\t\"overflow\",\n\t\"paint-order\",\n\t\"path\",\n\t\"pathlength\",\n\t\"patterncontentunits\",\n\t\"patterntransform\",\n\t\"patternunits\",\n\t\"pointer-events\",\n\t\"points\",\n\t\"preservealpha\",\n\t\"preserveaspectratio\",\n\t\"primitiveunits\",\n\t\"r\",\n\t\"rx\",\n\t\"ry\",\n\t\"radius\",\n\t\"refx\",\n\t\"refy\",\n\t\"repeatcount\",\n\t\"repeatdur\",\n\t\"restart\",\n\t\"result\",\n\t\"rotate\",\n\t\"scale\",\n\t\"seed\",\n\t\"shape-rendering\",\n\t\"slope\",\n\t\"specularconstant\",\n\t\"specularexponent\",\n\t\"spreadmethod\",\n\t\"startoffset\",\n\t\"stddeviation\",\n\t\"stitchtiles\",\n\t\"stop-color\",\n\t\"stop-opacity\",\n\t\"stroke-dasharray\",\n\t\"stroke-dashoffset\",\n\t\"stroke-linecap\",\n\t\"stroke-linejoin\",\n\t\"stroke-miterlimit\",\n\t\"stroke-opacity\",\n\t\"stroke\",\n\t\"stroke-width\",\n\t\"style\",\n\t\"surfacescale\",\n\t\"systemlanguage\",\n\t\"tabindex\",\n\t\"tablevalues\",\n\t\"targetx\",\n\t\"targety\",\n\t\"transform\",\n\t\"transform-origin\",\n\t\"text-anchor\",\n\t\"text-decoration\",\n\t\"text-orientation\",\n\t\"text-rendering\",\n\t\"textlength\",\n\t\"type\",\n\t\"u1\",\n\t\"u2\",\n\t\"unicode\",\n\t\"values\",\n\t\"vector-effect\",\n\t\"viewbox\",\n\t\"visibility\",\n\t\"version\",\n\t\"vert-adv-y\",\n\t\"vert-origin-x\",\n\t\"vert-origin-y\",\n\t\"width\",\n\t\"word-spacing\",\n\t\"wrap\",\n\t\"writing-mode\",\n\t\"xchannelselector\",\n\t\"ychannelselector\",\n\t\"x\",\n\t\"x1\",\n\t\"x2\",\n\t\"xmlns\",\n\t\"y\",\n\t\"y1\",\n\t\"y2\",\n\t\"z\",\n\t\"zoomandpan\"\n]);\nconst mathMl = freeze([\n\t\"accent\",\n\t\"accentunder\",\n\t\"align\",\n\t\"bevelled\",\n\t\"close\",\n\t\"columnalign\",\n\t\"columnlines\",\n\t\"columnspacing\",\n\t\"columnspan\",\n\t\"denomalign\",\n\t\"depth\",\n\t\"dir\",\n\t\"display\",\n\t\"displaystyle\",\n\t\"encoding\",\n\t\"fence\",\n\t\"frame\",\n\t\"height\",\n\t\"href\",\n\t\"id\",\n\t\"largeop\",\n\t\"length\",\n\t\"linethickness\",\n\t\"lquote\",\n\t\"lspace\",\n\t\"mathbackground\",\n\t\"mathcolor\",\n\t\"mathsize\",\n\t\"mathvariant\",\n\t\"maxsize\",\n\t\"minsize\",\n\t\"movablelimits\",\n\t\"notation\",\n\t\"numalign\",\n\t\"open\",\n\t\"rowalign\",\n\t\"rowlines\",\n\t\"rowspacing\",\n\t\"rowspan\",\n\t\"rspace\",\n\t\"rquote\",\n\t\"scriptlevel\",\n\t\"scriptminsize\",\n\t\"scriptsizemultiplier\",\n\t\"selection\",\n\t\"separator\",\n\t\"separators\",\n\t\"stretchy\",\n\t\"subscriptshift\",\n\t\"supscriptshift\",\n\t\"symmetric\",\n\t\"voffset\",\n\t\"width\",\n\t\"xmlns\"\n]);\nconst xml = freeze([\n\t\"xlink:href\",\n\t\"xml:id\",\n\t\"xlink:title\",\n\t\"xml:space\",\n\t\"xmlns:xlink\"\n]);\nconst MUSTACHE_EXPR = seal(/{{[\\w\\W]*|^[\\w\\W]*}}/g);\nconst ERB_EXPR = seal(/<%[\\w\\W]*|^[\\w\\W]*%>/g);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*/g);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/);\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/);\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\nconst ELEMENT_MARKUP_PROBE = seal(/<[/\\w!]/g);\nconst COMMENT_MARKUP_PROBE = seal(/<[/\\w]/g);\nconst FALLBACK_TAG_CLOSE = seal(/<\\/no(script|embed|frames)/i);\nconst SELF_CLOSING_TAG = seal(/\\/>/i);\nconst NODE_TYPE = {\n\telement: 1,\n\tattribute: 2,\n\ttext: 3,\n\tcdataSection: 4,\n\tentityReference: 5,\n\tentityNode: 6,\n\tprocessingInstruction: 7,\n\tcomment: 8,\n\tdocument: 9,\n\tdocumentType: 10,\n\tdocumentFragment: 11,\n\tnotation: 12\n};\nconst LITERAL_TEXT_ELEMENT_NAMES = [\n\t\"style\",\n\t\"script\",\n\t\"xmp\",\n\t\"iframe\",\n\t\"noembed\",\n\t\"noframes\",\n\t\"plaintext\",\n\t\"noscript\"\n];\nconst LITERAL_TEXT_ELEMENTS = freeze(addToSet({}, LITERAL_TEXT_ELEMENT_NAMES));\nconst LITERAL_TEXT_CLOSE = function() {\n\tconst map = {};\n\tarrayForEach(LITERAL_TEXT_ELEMENT_NAMES, (name) => {\n\t\tmap[name] = seal(new RegExp(\"</\" + name + \"(?=[\\\\t\\\\n\\\\f\\\\r />])\", \"i\"));\n\t});\n\treturn freeze(map);\n}();\nconst getGlobal = function getGlobal() {\n\treturn typeof window === \"undefined\" ? null : window;\n};\n/**\n* Creates a no-op policy for internal use only.\n* Don't export this function outside this module!\n* @param trustedTypes The policy factory.\n* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n* @return The policy created (or null, if Trusted Types\n* are not supported or creating the policy failed).\n*/\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n\tif (typeof trustedTypes !== \"object\" || typeof trustedTypes.createPolicy !== \"function\") return null;\n\tlet suffix = null;\n\tconst ATTR_NAME = \"data-tt-policy-suffix\";\n\tif (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) suffix = purifyHostElement.getAttribute(ATTR_NAME);\n\tconst policyName = \"dompurify\" + (suffix ? \"#\" + suffix : \"\");\n\ttry {\n\t\treturn trustedTypes.createPolicy(policyName, {\n\t\t\tcreateHTML(html) {\n\t\t\t\treturn html;\n\t\t\t},\n\t\t\tcreateScriptURL(scriptUrl) {\n\t\t\t\treturn scriptUrl;\n\t\t\t}\n\t\t});\n\t} catch (_) {\n\t\tconsole.warn(\"TrustedTypes policy \" + policyName + \" could not be created.\");\n\t\treturn null;\n\t}\n};\nconst _createHooksMap = function _createHooksMap() {\n\treturn {\n\t\tafterSanitizeAttributes: [],\n\t\tafterSanitizeElements: [],\n\t\tafterSanitizeShadowDOM: [],\n\t\tbeforeSanitizeAttributes: [],\n\t\tbeforeSanitizeElements: [],\n\t\tbeforeSanitizeShadowDOM: [],\n\t\tuponSanitizeAttribute: [],\n\t\tuponSanitizeElement: [],\n\t\tuponSanitizeShadowNode: []\n\t};\n};\n/**\n* Resolve a set-valued configuration option: a fresh set built from\n* cfg[key] when it is an own array property (seeded with a clone of\n* options.base when given, case-normalized via options.transform),\n* the fallback set otherwise.\n*\n* @param cfg the cloned, prototype-free configuration object\n* @param key the configuration property to read\n* @param fallback the set to use when the option is absent or not an array\n* @param options transform and optional base set to merge into\n* @returns the resolved set\n*/\nconst _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options) {\n\treturn objectHasOwnProperty(cfg, key) && arrayIsArray(cfg[key]) ? addToSet(options.base ? clone(options.base) : {}, cfg[key], options.transform) : fallback;\n};\n/**\n* Resolve an object-valued configuration option: a prototype-free clone\n* of cfg[key] when it is an own, truthy object property, else a fresh\n* fallback built by makeFallback (fresh on every parse, so a previous\n* parse can never leak state into the next one).\n*\n* @param cfg the cloned, prototype-free configuration object\n* @param key the configuration property to read\n* @param makeFallback builds the fallback value when the option is absent\n* @returns the resolved object\n*/\nconst _resolveObjectOption = function _resolveObjectOption(cfg, key, makeFallback) {\n\tconst value = objectHasOwnProperty(cfg, key) ? cfg[key] : void 0;\n\treturn value && typeof value === \"object\" ? clone(value) : makeFallback();\n};\nfunction createDOMPurify() {\n\tlet window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();\n\tconst DOMPurify = (root) => createDOMPurify(root);\n\tDOMPurify.version = \"3.4.16\";\n\tDOMPurify.removed = [];\n\tif (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n\t\tDOMPurify.isSupported = false;\n\t\treturn DOMPurify;\n\t}\n\tlet document = window.document;\n\tconst originalDocument = document;\n\tconst currentScript = originalDocument.currentScript;\n\twindow.DocumentFragment;\n\tconst HTMLTemplateElement = window.HTMLTemplateElement, Node = window.Node, Element = window.Element, NodeFilter = window.NodeFilter;\n\twindow.NamedNodeMap === void 0 && (window.NamedNodeMap || window.MozNamedAttrMap);\n\twindow.HTMLFormElement;\n\tconst DOMParser = window.DOMParser, trustedTypes = window.trustedTypes;\n\tconst ElementPrototype = Element.prototype;\n\tconst cloneNode = lookupGetter(ElementPrototype, \"cloneNode\");\n\tconst remove = lookupGetter(ElementPrototype, \"remove\");\n\tconst removeAttributeNode = lookupGetter(ElementPrototype, \"removeAttributeNode\");\n\tconst getNextSibling = lookupGetter(ElementPrototype, \"nextSibling\");\n\tconst getChildNodes = lookupGetter(ElementPrototype, \"childNodes\");\n\tconst getParentNode = lookupGetter(ElementPrototype, \"parentNode\");\n\tconst getShadowRoot = lookupGetter(ElementPrototype, \"shadowRoot\");\n\tconst getAttributes = lookupGetter(ElementPrototype, \"attributes\");\n\tconst getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, \"nodeType\") : null;\n\tconst getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, \"nodeName\") : null;\n\tconst getOwnerDocument = Node && Node.prototype ? lookupGetter(Node.prototype, \"ownerDocument\") : null;\n\tconst _readNodeType = function _readNodeType(node) {\n\t\treturn getNodeType ? getNodeType(node) : node.nodeType;\n\t};\n\tconst _readNodeName = function _readNodeName(node) {\n\t\treturn getNodeName ? getNodeName(node) : node.nodeName;\n\t};\n\tif (typeof HTMLTemplateElement === \"function\") {\n\t\tconst template = document.createElement(\"template\");\n\t\tif (template.content && template.content.ownerDocument) document = template.content.ownerDocument;\n\t}\n\tlet trustedTypesPolicy;\n\tlet emptyHTML = \"\";\n\tlet defaultTrustedTypesPolicy;\n\tlet defaultTrustedTypesPolicyResolved = false;\n\tlet IN_TRUSTED_TYPES_POLICY = 0;\n\tconst _assertNotInTrustedTypesPolicy = function _assertNotInTrustedTypesPolicy() {\n\t\tif (IN_TRUSTED_TYPES_POLICY > 0) throw typeErrorCreate(\"A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \\\"DOMPurify and Trusted Types\\\" section of the README.\");\n\t};\n\tconst _createTrustedHTML = function _createTrustedHTML(html) {\n\t\t_assertNotInTrustedTypesPolicy();\n\t\tIN_TRUSTED_TYPES_POLICY++;\n\t\ttry {\n\t\t\treturn trustedTypesPolicy.createHTML(html);\n\t\t} finally {\n\t\t\tIN_TRUSTED_TYPES_POLICY--;\n\t\t}\n\t};\n\tconst _createTrustedScriptURL = function _createTrustedScriptURL(scriptUrl) {\n\t\t_assertNotInTrustedTypesPolicy();\n\t\tIN_TRUSTED_TYPES_POLICY++;\n\t\ttry {\n\t\t\treturn trustedTypesPolicy.createScriptURL(scriptUrl);\n\t\t} finally {\n\t\t\tIN_TRUSTED_TYPES_POLICY--;\n\t\t}\n\t};\n\tconst _getDefaultTrustedTypesPolicy = function _getDefaultTrustedTypesPolicy() {\n\t\tif (!defaultTrustedTypesPolicyResolved) {\n\t\t\tdefaultTrustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n\t\t\tdefaultTrustedTypesPolicyResolved = true;\n\t\t}\n\t\treturn defaultTrustedTypesPolicy;\n\t};\n\tconst _document = document, implementation = _document.implementation, createNodeIterator = _document.createNodeIterator, createDocumentFragment = _document.createDocumentFragment, getElementsByTagName = _document.getElementsByTagName;\n\tconst importNode = originalDocument.importNode;\n\tlet hooks = _createHooksMap();\n\t/**\n\t* Expose whether this browser supports running the full DOMPurify.\n\t*/\n\tDOMPurify.isSupported = typeof entries === \"function\" && typeof getParentNode === \"function\" && implementation && implementation.createHTMLDocument !== void 0;\n\tconst MUSTACHE_EXPR$1 = MUSTACHE_EXPR, ERB_EXPR$1 = ERB_EXPR, TMPLIT_EXPR$1 = TMPLIT_EXPR, DATA_ATTR$1 = DATA_ATTR, ARIA_ATTR$1 = ARIA_ATTR, IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA, ATTR_WHITESPACE$1 = ATTR_WHITESPACE, CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n\tlet IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n\t/**\n\t* We consider the elements and attributes below to be safe. Ideally\n\t* don't add any new ones but feel free to remove unwanted ones.\n\t*/\n\tlet ALLOWED_TAGS = null;\n\tconst DEFAULT_ALLOWED_TAGS = addToSet({}, [\n\t\t...html$1,\n\t\t...svg$1,\n\t\t...svgFilters,\n\t\t...mathMl$1,\n\t\t...text\n\t]);\n\tlet ALLOWED_ATTR = null;\n\tconst DEFAULT_ALLOWED_ATTR = addToSet({}, [\n\t\t...html,\n\t\t...svg,\n\t\t...mathMl,\n\t\t...xml\n\t]);\n\tlet CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n\t\ttagNameCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tattributeNameCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tallowCustomizedBuiltInElements: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: false\n\t\t}\n\t}));\n\tlet FORBID_TAGS = null;\n\tlet FORBID_ATTR = null;\n\tconst EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n\t\ttagCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tattributeCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t}\n\t}));\n\tlet ALLOW_ARIA_ATTR = true;\n\tlet ALLOW_DATA_ATTR = true;\n\tlet ALLOW_UNKNOWN_PROTOCOLS = false;\n\tlet ALLOW_SELF_CLOSE_IN_ATTR = true;\n\tlet SAFE_FOR_TEMPLATES = false;\n\tlet SAFE_FOR_XML = true;\n\tlet WHOLE_DOCUMENT = false;\n\tlet SET_CONFIG = false;\n\tlet SET_CONFIG_ALLOWED_TAGS = null;\n\tlet SET_CONFIG_ALLOWED_ATTR = null;\n\tlet FORCE_BODY = false;\n\tlet RETURN_DOM = false;\n\tlet RETURN_DOM_FRAGMENT = false;\n\tlet RETURN_TRUSTED_TYPE = false;\n\tlet SANITIZE_DOM = true;\n\tlet SANITIZE_NAMED_PROPS = false;\n\tconst SANITIZE_NAMED_PROPS_PREFIX = \"user-content-\";\n\tlet KEEP_CONTENT = true;\n\tlet IN_PLACE = false;\n\tlet USE_PROFILES = {};\n\tlet FORBID_CONTENTS = null;\n\tconst DEFAULT_FORBID_CONTENTS = addToSet({}, [\n\t\t\"annotation-xml\",\n\t\t\"audio\",\n\t\t\"colgroup\",\n\t\t\"desc\",\n\t\t\"foreignobject\",\n\t\t\"head\",\n\t\t\"iframe\",\n\t\t\"math\",\n\t\t\"mi\",\n\t\t\"mn\",\n\t\t\"mo\",\n\t\t\"ms\",\n\t\t\"mtext\",\n\t\t\"noembed\",\n\t\t\"noframes\",\n\t\t\"noscript\",\n\t\t\"plaintext\",\n\t\t\"script\",\n\t\t\"selectedcontent\",\n\t\t\"style\",\n\t\t\"svg\",\n\t\t\"template\",\n\t\t\"thead\",\n\t\t\"title\",\n\t\t\"video\",\n\t\t\"xmp\"\n\t]);\n\tlet DATA_URI_TAGS = null;\n\tconst DEFAULT_DATA_URI_TAGS = addToSet({}, [\n\t\t\"audio\",\n\t\t\"video\",\n\t\t\"img\",\n\t\t\"source\",\n\t\t\"image\",\n\t\t\"track\"\n\t]);\n\tlet URI_SAFE_ATTRIBUTES = null;\n\tconst DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, [\n\t\t\"alt\",\n\t\t\"class\",\n\t\t\"for\",\n\t\t\"id\",\n\t\t\"label\",\n\t\t\"name\",\n\t\t\"pattern\",\n\t\t\"placeholder\",\n\t\t\"role\",\n\t\t\"summary\",\n\t\t\"title\",\n\t\t\"value\",\n\t\t\"style\",\n\t\t\"xmlns\"\n\t]);\n\tconst MATHML_NAMESPACE = \"http://www.w3.org/1998/Math/MathML\";\n\tconst SVG_NAMESPACE = \"http://www.w3.org/2000/svg\";\n\tconst HTML_NAMESPACE = \"http://www.w3.org/1999/xhtml\";\n\tlet NAMESPACE = HTML_NAMESPACE;\n\tlet IS_EMPTY_INPUT = false;\n\tlet ALLOWED_NAMESPACES = null;\n\tconst DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [\n\t\tMATHML_NAMESPACE,\n\t\tSVG_NAMESPACE,\n\t\tHTML_NAMESPACE\n\t], stringToString);\n\tconst DEFAULT_MATHML_TEXT_INTEGRATION_POINTS = freeze([\n\t\t\"mi\",\n\t\t\"mo\",\n\t\t\"mn\",\n\t\t\"ms\",\n\t\t\"mtext\"\n\t]);\n\tlet MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS);\n\tconst DEFAULT_HTML_INTEGRATION_POINTS = freeze([\"annotation-xml\"]);\n\tlet HTML_INTEGRATION_POINTS = addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS);\n\tconst COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, [\n\t\t\"title\",\n\t\t\"style\",\n\t\t\"font\",\n\t\t\"a\",\n\t\t\"script\"\n\t]);\n\tlet PARSER_MEDIA_TYPE = null;\n\tconst SUPPORTED_PARSER_MEDIA_TYPES = [\"application/xhtml+xml\", \"text/html\"];\n\tconst DEFAULT_PARSER_MEDIA_TYPE = \"text/html\";\n\tlet transformCaseFunc = null;\n\tlet CONFIG = null;\n\tconst formElement = document.createElement(\"form\");\n\tconst isRegexOrFunction = function isRegexOrFunction(testValue) {\n\t\treturn testValue instanceof RegExp || testValue instanceof Function;\n\t};\n\t/**\n\t* _parseConfig\n\t*\n\t* @param cfg optional config literal\n\t*/\n\tconst _parseConfig = function _parseConfig() {\n\t\tlet cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n\t\tif (CONFIG && CONFIG === cfg) return;\n\t\tif (!cfg || typeof cfg !== \"object\") cfg = {};\n\t\tcfg = clone(cfg);\n\t\tPARSER_MEDIA_TYPE = SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n\t\ttransformCaseFunc = PARSER_MEDIA_TYPE === \"application/xhtml+xml\" ? stringToString : stringToLowerCase;\n\t\tALLOWED_TAGS = _resolveSetOption(cfg, \"ALLOWED_TAGS\", DEFAULT_ALLOWED_TAGS, { transform: transformCaseFunc });\n\t\tALLOWED_ATTR = _resolveSetOption(cfg, \"ALLOWED_ATTR\", DEFAULT_ALLOWED_ATTR, { transform: transformCaseFunc });\n\t\tALLOWED_NAMESPACES = _resolveSetOption(cfg, \"ALLOWED_NAMESPACES\", DEFAULT_ALLOWED_NAMESPACES, { transform: stringToString });\n\t\tURI_SAFE_ATTRIBUTES = _resolveSetOption(cfg, \"ADD_URI_SAFE_ATTR\", DEFAULT_URI_SAFE_ATTRIBUTES, {\n\t\t\ttransform: transformCaseFunc,\n\t\t\tbase: DEFAULT_URI_SAFE_ATTRIBUTES\n\t\t});\n\t\tDATA_URI_TAGS = _resolveSetOption(cfg, \"ADD_DATA_URI_TAGS\", DEFAULT_DATA_URI_TAGS, {\n\t\t\ttransform: transformCaseFunc,\n\t\t\tbase: DEFAULT_DATA_URI_TAGS\n\t\t});\n\t\tFORBID_CONTENTS = _resolveSetOption(cfg, \"FORBID_CONTENTS\", DEFAULT_FORBID_CONTENTS, { transform: transformCaseFunc });\n\t\tFORBID_TAGS = _resolveSetOption(cfg, \"FORBID_TAGS\", clone({}), { transform: transformCaseFunc });\n\t\tFORBID_ATTR = _resolveSetOption(cfg, \"FORBID_ATTR\", clone({}), { transform: transformCaseFunc });\n\t\tUSE_PROFILES = objectHasOwnProperty(cfg, \"USE_PROFILES\") ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === \"object\" ? clone(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;\n\t\tALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;\n\t\tALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;\n\t\tALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false;\n\t\tALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false;\n\t\tSAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false;\n\t\tSAFE_FOR_XML = cfg.SAFE_FOR_XML !== false;\n\t\tWHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false;\n\t\tRETURN_DOM = cfg.RETURN_DOM || false;\n\t\tRETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false;\n\t\tRETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false;\n\t\tFORCE_BODY = cfg.FORCE_BODY || false;\n\t\tSANITIZE_DOM = cfg.SANITIZE_DOM !== false;\n\t\tSANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false;\n\t\tKEEP_CONTENT = cfg.KEEP_CONTENT !== false;\n\t\tIN_PLACE = cfg.IN_PLACE || false;\n\t\tIS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI;\n\t\tNAMESPACE = typeof cfg.NAMESPACE === \"string\" ? cfg.NAMESPACE : HTML_NAMESPACE;\n\t\tMATHML_TEXT_INTEGRATION_POINTS = _resolveObjectOption(cfg, \"MATHML_TEXT_INTEGRATION_POINTS\", () => addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS));\n\t\tHTML_INTEGRATION_POINTS = _resolveObjectOption(cfg, \"HTML_INTEGRATION_POINTS\", () => addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS));\n\t\tconst customElementHandling = _resolveObjectOption(cfg, \"CUSTOM_ELEMENT_HANDLING\", () => create(null));\n\t\tCUSTOM_ELEMENT_HANDLING = create(null);\n\t\tif (objectHasOwnProperty(customElementHandling, \"tagNameCheck\") && isRegexOrFunction(customElementHandling.tagNameCheck)) CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck;\n\t\tif (objectHasOwnProperty(customElementHandling, \"attributeNameCheck\") && isRegexOrFunction(customElementHandling.attributeNameCheck)) CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck;\n\t\tif (objectHasOwnProperty(customElementHandling, \"allowCustomizedBuiltInElements\") && typeof customElementHandling.allowCustomizedBuiltInElements === \"boolean\") CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements;\n\t\tseal(CUSTOM_ELEMENT_HANDLING);\n\t\tif (SAFE_FOR_TEMPLATES) ALLOW_DATA_ATTR = false;\n\t\tif (RETURN_DOM_FRAGMENT) RETURN_DOM = true;\n\t\tif (USE_PROFILES) {\n\t\t\tALLOWED_TAGS = addToSet({}, text);\n\t\t\tALLOWED_ATTR = create(null);\n\t\t\tif (USE_PROFILES.html === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, html$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, html);\n\t\t\t}\n\t\t\tif (USE_PROFILES.svg === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, svg$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, svg);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t\tif (USE_PROFILES.svgFilters === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, svgFilters);\n\t\t\t\taddToSet(ALLOWED_ATTR, svg);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t\tif (USE_PROFILES.mathMl === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, mathMl$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, mathMl);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t}\n\t\tEXTRA_ELEMENT_HANDLING.tagCheck = null;\n\t\tEXTRA_ELEMENT_HANDLING.attributeCheck = null;\n\t\tif (objectHasOwnProperty(cfg, \"ADD_TAGS\")) {\n\t\t\tif (typeof cfg.ADD_TAGS === \"function\") EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n\t\t\telse if (arrayIsArray(cfg.ADD_TAGS)) {\n\t\t\t\tif (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) ALLOWED_TAGS = clone(ALLOWED_TAGS);\n\t\t\t\taddToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n\t\t\t}\n\t\t}\n\t\tif (objectHasOwnProperty(cfg, \"ADD_ATTR\")) {\n\t\t\tif (typeof cfg.ADD_ATTR === \"function\") EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n\t\t\telse if (arrayIsArray(cfg.ADD_ATTR)) {\n\t\t\t\tif (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) ALLOWED_ATTR = clone(ALLOWED_ATTR);\n\t\t\t\taddToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n\t\t\t}\n\t\t}\n\t\tif (objectHasOwnProperty(cfg, \"ADD_FORBID_CONTENTS\") && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {\n\t\t\tif (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) FORBID_CONTENTS = clone(FORBID_CONTENTS);\n\t\t\taddToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);\n\t\t}\n\t\tif (KEEP_CONTENT) ALLOWED_TAGS[\"#text\"] = true;\n\t\tif (WHOLE_DOCUMENT) addToSet(ALLOWED_TAGS, [\n\t\t\t\"html\",\n\t\t\t\"head\",\n\t\t\t\"body\"\n\t\t]);\n\t\tif (ALLOWED_TAGS.table) {\n\t\t\taddToSet(ALLOWED_TAGS, [\"tbody\"]);\n\t\t\tdelete FORBID_TAGS.tbody;\n\t\t}\n\t\tif (cfg.TRUSTED_TYPES_POLICY) {\n\t\t\tif (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== \"function\") throw typeErrorCreate(\"TRUSTED_TYPES_POLICY configuration option must provide a \\\"createHTML\\\" hook.\");\n\t\t\tif (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== \"function\") throw typeErrorCreate(\"TRUSTED_TYPES_POLICY configuration option must provide a \\\"createScriptURL\\\" hook.\");\n\t\t\tconst previousTrustedTypesPolicy = trustedTypesPolicy;\n\t\t\ttrustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n\t\t\ttry {\n\t\t\t\temptyHTML = _createTrustedHTML(\"\");\n\t\t\t} catch (error) {\n\t\t\t\ttrustedTypesPolicy = previousTrustedTypesPolicy;\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t} else if (cfg.TRUSTED_TYPES_POLICY === null) {\n\t\t\ttrustedTypesPolicy = void 0;\n\t\t\temptyHTML = \"\";\n\t\t} else {\n\t\t\tif (trustedTypesPolicy === void 0) trustedTypesPolicy = _getDefaultTrustedTypesPolicy();\n\t\t\tif (trustedTypesPolicy && typeof emptyHTML === \"string\") emptyHTML = _createTrustedHTML(\"\");\n\t\t}\n\t\tif (freeze) freeze(cfg);\n\t\tCONFIG = cfg;\n\t};\n\tconst ALL_SVG_TAGS = addToSet({}, [\n\t\t...svg$1,\n\t\t...svgFilters,\n\t\t...svgDisallowed\n\t]);\n\tconst ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n\t/**\n\t* Namespace rules for an element in the SVG namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkSvgNamespace = function _checkSvgNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === HTML_NAMESPACE) return tagName === \"svg\";\n\t\tif (parent.namespaceURI === MATHML_NAMESPACE) return tagName === \"svg\" && (parentTagName === \"annotation-xml\" || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n\t\treturn Boolean(ALL_SVG_TAGS[tagName]);\n\t};\n\t/**\n\t* Namespace rules for an element in the MathML namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkMathMlNamespace = function _checkMathMlNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === HTML_NAMESPACE) return tagName === \"math\";\n\t\tif (parent.namespaceURI === SVG_NAMESPACE) return tagName === \"math\" && HTML_INTEGRATION_POINTS[parentTagName];\n\t\treturn Boolean(ALL_MATHML_TAGS[tagName]);\n\t};\n\t/**\n\t* Namespace rules for an element in the HTML namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkHtmlNamespace = function _checkHtmlNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) return false;\n\t\tif (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) return false;\n\t\treturn !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n\t};\n\t/**\n\t* @param element a DOM element whose namespace is being checked\n\t* @returns Return false if the element has a\n\t* namespace that a spec-compliant parser would never\n\t* return. Return true otherwise.\n\t*/\n\tconst _checkValidNamespace = function _checkValidNamespace(element) {\n\t\tlet parent = getParentNode(element);\n\t\tif (!parent || !parent.tagName) parent = {\n\t\t\tnamespaceURI: NAMESPACE,\n\t\t\ttagName: \"template\"\n\t\t};\n\t\tconst tagName = stringToLowerCase(element.tagName);\n\t\tconst parentTagName = stringToLowerCase(parent.tagName);\n\t\tif (!ALLOWED_NAMESPACES[element.namespaceURI]) return false;\n\t\tif (element.namespaceURI === SVG_NAMESPACE) return _checkSvgNamespace(tagName, parent, parentTagName);\n\t\tif (element.namespaceURI === MATHML_NAMESPACE) return _checkMathMlNamespace(tagName, parent, parentTagName);\n\t\tif (element.namespaceURI === HTML_NAMESPACE) return _checkHtmlNamespace(tagName, parent, parentTagName);\n\t\tif (PARSER_MEDIA_TYPE === \"application/xhtml+xml\" && ALLOWED_NAMESPACES[element.namespaceURI]) return true;\n\t\treturn false;\n\t};\n\t/**\n\t* _forceRemove\n\t*\n\t* @param node a DOM node\n\t*/\n\tconst _forceRemove = function _forceRemove(node) {\n\t\tarrayPush(DOMPurify.removed, { element: node });\n\t\ttry {\n\t\t\tgetParentNode(node).removeChild(node);\n\t\t} catch (_) {\n\t\t\tremove(node);\n\t\t\tif (!getParentNode(node)) throw typeErrorCreate(\"a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place\");\n\t\t}\n\t};\n\t/**\n\t* _stripAttributeNode\n\t*\n\t* Remove a single Attr node case/namespace-exactly on an attribute-teardown\n\t* path. Name-based removeAttribute() ASCII-lowercases its lookup key for an\n\t* HTML element in an HTML document and so silently misses a case-preserved\n\t* handler (e.g. `ONERROR` off an XML/XHTML import) - the same defect\n\t* _removeAttribute() was fixed for, which a name-based call would reintroduce\n\t* on these IN_PLACE teardown paths. Unlike _removeAttribute this does not\n\t* record into DOMPurify.removed: the neutralize passes intentionally do not\n\t* book-keep. A clobbered/detached node falls back to best-effort name-based\n\t* removal.\n\t*\n\t* @param element the element to strip the attribute from\n\t* @param attribute the Attr node to remove\n\t* @param name the attribute's name, for the fallback path\n\t*/\n\tconst _stripAttributeNode = function _stripAttributeNode(element, attribute, name) {\n\t\ttry {\n\t\t\tremoveAttributeNode(element, attribute);\n\t\t} catch (_) {\n\t\t\ttry {\n\t\t\t\telement.removeAttribute(name);\n\t\t\t} catch (_) {}\n\t\t}\n\t};\n\t/**\n\t* _neutralizeRoot\n\t*\n\t* Fail-closed teardown of an in-place root after the sanitize walk aborts\n\t* (campaign-3 F2). An internal throw mid-walk — e.g. a page-registered\n\t* custom element's reaction detaches a node so `_forceRemove`'s deliberate\n\t* parentless guard throws, or any other re-entrant engine mutation — would\n\t* otherwise leave the caller's *live* tree half-sanitized, with everything\n\t* after the abort point still carrying its handlers. There is no safe way\n\t* to resume the walk (the tree mutated under us), so we strip the root bare:\n\t* remove every child and every attribute, then let the caller's catch see\n\t* the original error. Clobber-safe (cached `remove`/`childNodes`/`attributes`\n\t* getters; the root was already clobber-pre-flighted at the IN_PLACE entry).\n\t*\n\t* @param root the in-place root to empty\n\t*/\n\tconst _neutralizeRoot = function _neutralizeRoot(root) {\n\t\t_neutralizeSubtree(root);\n\t\tconst childNodes = getChildNodes(root);\n\t\tif (childNodes) {\n\t\t\tconst snapshot = [];\n\t\t\tarrayForEach(childNodes, (child) => {\n\t\t\t\tarrayPush(snapshot, child);\n\t\t\t});\n\t\t\tarrayForEach(snapshot, (child) => {\n\t\t\t\ttry {\n\t\t\t\t\tremove(child);\n\t\t\t\t} catch (_) {}\n\t\t\t});\n\t\t}\n\t\tconst attributes = getAttributes(root);\n\t\tif (attributes) for (let i = attributes.length - 1; i >= 0; --i) {\n\t\t\tconst attribute = attributes[i];\n\t\t\tconst name = attribute && attribute.name;\n\t\t\tif (typeof name === \"string\") _stripAttributeNode(root, attribute, name);\n\t\t}\n\t};\n\t/**\n\t* _removeAttribute\n\t*\n\t* Name-based getAttributeNode()/removeAttribute() ASCII-lowercase their\n\t* lookup key for HTML elements in an HTML document, so they silently miss an\n\t* attribute whose stored qualified name still contains uppercase ASCII\n\t* letters. That happens when the node came from a case-preserving source\n\t* (an XML/XHTML document imported via importNode(), or createAttributeNS()),\n\t* where e.g. `ONERROR` survives the walk: the policy check lowercases to\n\t* `onerror` and rejects it, but `removeAttribute('ONERROR')` looks up\n\t* `onerror` and finds nothing. Remove the exact Attr node instead, which is\n\t* case- and namespace-exact, and fall back to name-based removal only when\n\t* the caller could not supply the node.\n\t*\n\t* @param name an Attribute name\n\t* @param element a DOM node\n\t* @param attr the exact Attr node to remove, when the caller has it\n\t*/\n\tconst _removeAttribute = function _removeAttribute(name, element, attr) {\n\t\tif (!attr) try {\n\t\t\tattr = element.getAttributeNode(name);\n\t\t} catch (_) {\n\t\t\tattr = null;\n\t\t}\n\t\tarrayPush(DOMPurify.removed, {\n\t\t\tattribute: attr || null,\n\t\t\tfrom: element\n\t\t});\n\t\ttry {\n\t\t\tif (attr) removeAttributeNode(element, attr);\n\t\t\telse element.removeAttribute(name);\n\t\t} catch (_) {\n\t\t\ttry {\n\t\t\t\telement.removeAttribute(name);\n\t\t\t} catch (_) {}\n\t\t}\n\t\tif (name === \"is\") {\n\t\t\tif (RETURN_DOM || RETURN_DOM_FRAGMENT) try {\n\t\t\t\t_forceRemove(element);\n\t\t\t} catch (_) {}\n\t\t\telse try {\n\t\t\t\telement.setAttribute(name, \"\");\n\t\t\t} catch (_) {}\n\t\t}\n\t};\n\t/**\n\t* _stripDisallowedAttributes\n\t*\n\t* Removes every attribute the active configuration does not allow from a\n\t* single element, using the same allowlist as the main attribute pass (so\n\t* `on*` handlers go, but no `/^on/` blocklist is introduced). Used only to\n\t* neutralise nodes that are being discarded from an in-place tree.\n\t*\n\t* @param element the element to strip\n\t*/\n\tconst _stripDisallowedAttributes = function _stripDisallowedAttributes(element) {\n\t\tconst attributes = getAttributes(element);\n\t\tif (!attributes) return;\n\t\tfor (let i = attributes.length - 1; i >= 0; --i) {\n\t\t\tconst attribute = attributes[i];\n\t\t\tconst name = attribute && attribute.name;\n\t\t\tif (typeof name !== \"string\" || ALLOWED_ATTR[transformCaseFunc(name)]) continue;\n\t\t\t_stripAttributeNode(element, attribute, name);\n\t\t}\n\t};\n\t/**\n\t* _neutralizeSubtree\n\t*\n\t* Completes the audit-5 F1 fix across every removal path. The KEEP_CONTENT\n\t* move-hoist neutralises only disallowed-tag removals; clobber, mXSS-canary,\n\t* namespace, comment, processing-instruction and KEEP_CONTENT:false removals\n\t* all drop their subtree wholesale via `_forceRemove`. On the IN_PLACE path\n\t* those dropped nodes are detached from the caller's LIVE tree but a\n\t* handler-bearing original among them (an `<img onerror>`/`<video>` that was\n\t* loading) keeps its queued resource event, which fires in page scope after\n\t* sanitize returns. This walks a removed subtree and strips every attribute\n\t* the active configuration does not allow — so `on*` handlers are cancelled\n\t* through the SAME allowlist that governs kept nodes, not a separate `/^on/`\n\t* blocklist. Run synchronously before sanitize returns, i.e. before any\n\t* queued event can fire. Hook-free by design: these nodes leave the output,\n\t* so firing attribute hooks for them would be surprising. Clobber-safe reads;\n\t* a doomed clobbered node may shadow `removeAttribute` (its own attributes are\n\t* irrelevant — it is discarded — while its non-clobbered descendants, e.g.\n\t* the `<img>`, are reached and scrubbed).\n\t*\n\t* @param root the root of a removed subtree to neutralise\n\t*/\n\tconst _neutralizeSubtree = function _neutralizeSubtree(root) {\n\t\tconst stack = [root];\n\t\twhile (stack.length > 0) {\n\t\t\tconst node = stack.pop();\n\t\t\tif (_readNodeType(node) === NODE_TYPE.element) _stripDisallowedAttributes(node);\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push(childNodes[i]);\n\t\t}\n\t};\n\t/**\n\t* _neutralizePatchLinkage\n\t*\n\t* IN_PLACE entry pre-pass (declarative-partial-updates / streaming\n\t* hardening, https://github.com/WICG/declarative-partial-updates).\n\t*\n\t* The main walk strips patch linkage (`for`/`patchsrc`) and removes range\n\t* markers (PIs / markup comments) node-by-node, in document order, AS it\n\t* reaches each node. On a live in-place root that leaves a window: from the\n\t* moment the root is connected until the walk arrives at a given node, that\n\t* node's linkage is live. A patch applied on connection/stream can fire as\n\t* a microtask during the walk and inject or teleport an unsanitized DOM\n\t* range into a region the iterator has already passed and will not revisit,\n\t* so the post-return \"tree is sanitized\" contract is violated. Sweep the\n\t* whole tree once up front and sever every linkage before the walk begins,\n\t* closing that window.\n\t*\n\t* This CANNOT undo a patch that already fired before sanitize ran — that is\n\t* the irreducible \"do not IN_PLACE a live-connected attacker tree\" caveat —\n\t* but it closes everything from sanitize-start onward. Gated on SAFE_FOR_XML\n\t* to group with the rest of the declarative-partial-updates handling and\n\t* stay overridable, consistent with the codebase.\n\t*\n\t* Clobber-safe traversal (cached childNodes getter); per-node try/catch so a\n\t* clobbered root cannot defeat the sweep of its non-clobbered descendants.\n\t*\n\t* NOTE (pending real-Chrome confirmation, see test/declarative-patch-probe\n\t* .html Q1): this mirrors the existing policy of keeping `for` on\n\t* <label>/<output>. If the shipping feature can drive a patch through a\n\t* surviving `for`-on-label/output + `id` pair, this pre-pass and the\n\t* attribute check at _isBasicCustomElement's caller must additionally drop\n\t* that pair on the IN_PLACE path. Left as-is until the taxonomy is verified.\n\t*\n\t* @param root the in-place root to sweep\n\t*/\n\t/**\n\t* Central policy for declarative-partial-updates patch-linkage attributes,\n\t* shared by the _neutralizePatchLinkage pre-pass and _isValidAttribute so\n\t* the two sites cannot drift: `patchsrc` always links, `for` links\n\t* everywhere except on <label>/<output>, and the whole policy is gated on\n\t* SAFE_FOR_XML (see the rationale block in _isValidAttribute).\n\t*\n\t* @param lcName the transformCaseFunc'd attribute name\n\t* @param lcTag the transformCaseFunc'd tag name of the carrying element\n\t* @return true if the attribute is patch linkage and must be dropped\n\t*/\n\tconst _isPatchLinkageAttribute = function _isPatchLinkageAttribute(lcName, lcTag) {\n\t\tif (!SAFE_FOR_XML) return false;\n\t\tif (lcName === \"patchsrc\") return true;\n\t\treturn lcName === \"for\" && lcTag !== \"label\" && lcTag !== \"output\";\n\t};\n\tconst _neutralizePatchLinkage = function _neutralizePatchLinkage(root) {\n\t\tif (!SAFE_FOR_XML) return;\n\t\tconst stack = [root];\n\t\twhile (stack.length > 0) {\n\t\t\tconst node = stack.pop();\n\t\t\tconst nodeType = _readNodeType(node);\n\t\t\tif (nodeType === NODE_TYPE.processingInstruction || nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, node.data)) {\n\t\t\t\ttry {\n\t\t\t\t\tremove(node);\n\t\t\t\t} catch (_) {}\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (nodeType === NODE_TYPE.element) {\n\t\t\t\tconst element = node;\n\t\t\t\tconst lcTag = transformCaseFunc(_readNodeName(node));\n\t\t\t\ttry {\n\t\t\t\t\tif (element.hasAttribute && element.hasAttribute(\"patchsrc\")) element.removeAttribute(\"patchsrc\");\n\t\t\t\t\tif (element.hasAttribute && element.hasAttribute(\"for\") && _isPatchLinkageAttribute(\"for\", lcTag)) element.removeAttribute(\"for\");\n\t\t\t\t} catch (_) {}\n\t\t\t}\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push(childNodes[i]);\n\t\t}\n\t};\n\t/**\n\t* _initDocument\n\t*\n\t* @param dirty - a string of dirty markup\n\t* @return a DOM, filled with the dirty markup\n\t*/\n\tconst _initDocument = function _initDocument(dirty) {\n\t\tlet doc = null;\n\t\tlet leadingWhitespace = null;\n\t\tif (FORCE_BODY) dirty = \"<remove></remove>\" + dirty;\n\t\telse {\n\t\t\tconst matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n\t\t\tleadingWhitespace = matches && matches[0];\n\t\t}\n\t\tif (PARSER_MEDIA_TYPE === \"application/xhtml+xml\" && NAMESPACE === HTML_NAMESPACE) dirty = \"<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><head></head><body>\" + dirty + \"</body></html>\";\n\t\tconst dirtyPayload = trustedTypesPolicy ? _createTrustedHTML(dirty) : dirty;\n\t\tif (NAMESPACE === HTML_NAMESPACE) try {\n\t\t\tdoc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n\t\t} catch (_) {}\n\t\tif (!doc || !doc.documentElement) {\n\t\t\tdoc = implementation.createDocument(NAMESPACE, \"template\", null);\n\t\t\ttry {\n\t\t\t\tdoc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n\t\t\t} catch (_) {}\n\t\t}\n\t\tconst body = doc.body || doc.documentElement;\n\t\tif (dirty && leadingWhitespace) body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n\t\tif (NAMESPACE === HTML_NAMESPACE) return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? \"html\" : \"body\")[0];\n\t\treturn WHOLE_DOCUMENT ? doc.documentElement : body;\n\t};\n\t/**\n\t* Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n\t*\n\t* @param root The root element or node to start traversing on.\n\t* @return The created NodeIterator\n\t*/\n\tconst _createNodeIterator = function _createNodeIterator(root) {\n\t\tconst doc = getOwnerDocument ? getOwnerDocument(root) : root.ownerDocument;\n\t\treturn createNodeIterator.call(doc || root, root, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n\t};\n\t/**\n\t* Replace template expression syntax (mustache, ERB, template\n\t* literal) with a space; shared by all SAFE_FOR_TEMPLATES scrub\n\t* sites. Order matters: mustache, then ERB, then template literal.\n\t*\n\t* @param value the string to scrub\n\t* @returns the scrubbed string\n\t*/\n\tconst _stripTemplateExpressions = function _stripTemplateExpressions(value) {\n\t\tvalue = stringReplace(value, MUSTACHE_EXPR$1, \" \");\n\t\tvalue = stringReplace(value, ERB_EXPR$1, \" \");\n\t\tvalue = stringReplace(value, TMPLIT_EXPR$1, \" \");\n\t\treturn value;\n\t};\n\t/**\n\t* Strip template-engine expressions ({{...}}, ${...}, <%...%>) from the\n\t* character data of an element subtree. Used as the final safety net for\n\t* SAFE_FOR_TEMPLATES on every DOM-returning code path so that expressions\n\t* which only form after text-node normalization (e.g. fragments split across\n\t* stripped elements) cannot survive into a template-evaluating framework.\n\t*\n\t* Walks text/comment/CDATA/processing-instruction nodes and mutates `.data`\n\t* in place rather than round-tripping through innerHTML. This preserves\n\t* descendant node references (important for IN_PLACE callers), avoids a\n\t* serialize/reparse cycle, and reads literal character data — which means\n\t* `<%...%>` in text content matches the ERB regex against its real bytes\n\t* instead of the HTML-entity-escaped form innerHTML would produce.\n\t*\n\t* Attribute values are not visited here; SAFE_FOR_TEMPLATES handling for\n\t* attributes is performed during the per-node `_sanitizeAttributes` pass.\n\t*\n\t* @param node The root element whose character data should be scrubbed.\n\t*/\n\tconst _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {\n\t\tvar _node$querySelectorAl;\n\t\tnode.normalize();\n\t\tconst doc = getOwnerDocument ? getOwnerDocument(node) : node.ownerDocument;\n\t\tconst walker = createNodeIterator.call(doc || node, node, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);\n\t\tlet currentNode = walker.nextNode();\n\t\twhile (currentNode) {\n\t\t\tcurrentNode.data = _stripTemplateExpressions(currentNode.data);\n\t\t\tcurrentNode = walker.nextNode();\n\t\t}\n\t\tconst templates = (_node$querySelectorAl = node.querySelectorAll) === null || _node$querySelectorAl === void 0 ? void 0 : _node$querySelectorAl.call(node, \"template\");\n\t\tif (templates) arrayForEach(templates, (tmpl) => {\n\t\t\tif (_isDocumentFragment(tmpl.content)) _scrubTemplateExpressions2(tmpl.content);\n\t\t});\n\t};\n\t/**\n\t* _isClobbered\n\t*\n\t* Detect DOM-clobbering on HTMLFormElement nodes. Form is the only HTML\n\t* interface with [LegacyOverrideBuiltIns]; a descendant element with a\n\t* `name` attribute matching a prototype property shadows that property\n\t* on direct reads. We use this check at the IN_PLACE entry-point and\n\t* during attribute sanitization to refuse clobbered forms.\n\t*\n\t* @param element element to check for clobbering attacks\n\t* @return true if clobbered, false if safe\n\t*/\n\tconst _isClobbered = function _isClobbered(element) {\n\t\tconst realTagName = getNodeName ? getNodeName(element) : null;\n\t\tif (typeof realTagName !== \"string\") return false;\n\t\tif (transformCaseFunc(realTagName) !== \"form\") return false;\n\t\treturn typeof element.nodeName !== \"string\" || typeof element.textContent !== \"string\" || typeof element.removeChild !== \"function\" || element.attributes !== getAttributes(element) || typeof element.removeAttribute !== \"function\" || typeof element.removeAttributeNode !== \"function\" || typeof element.getAttributeNode !== \"function\" || typeof element.setAttribute !== \"function\" || typeof element.namespaceURI !== \"string\" || typeof element.insertBefore !== \"function\" || typeof element.hasChildNodes !== \"function\" || element.nodeType !== getNodeType(element) || element.childNodes !== getChildNodes(element);\n\t};\n\t/**\n\t* Checks whether the given value is a DocumentFragment from any realm.\n\t*\n\t* The realm-independent replacement reads `nodeType` through the cached\n\t* Node.prototype getter and compares to the DOCUMENT_FRAGMENT_NODE\n\t* constant (11). nodeType is a numeric value resolved from the node's\n\t* internal slot, identical across realms for the same kind of node.\n\t*\n\t* @param value object to check\n\t* @return true if value is a DocumentFragment-shaped node from any realm\n\t*/\n\tconst _isDocumentFragment = function _isDocumentFragment(value) {\n\t\tif (!getNodeType || typeof value !== \"object\" || value === null) return false;\n\t\ttry {\n\t\t\treturn getNodeType(value) === NODE_TYPE.documentFragment;\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t};\n\t/**\n\t* Checks whether the given object is a DOM node, including nodes that\n\t* originate from a different window/realm (e.g. an iframe's\n\t* contentDocument). The previous `value instanceof Node` check was\n\t* realm-bound: nodes from a different window failed it, causing\n\t* sanitize() to silently stringify them and reset IN_PLACE to false,\n\t* returning the original node unsanitized. See GHSA-4w3q-35jp-p934.\n\t*\n\t* @param value object to check whether it's a DOM node\n\t* @return true if value is a DOM node from any realm\n\t*/\n\tconst _isNode = function _isNode(value) {\n\t\tif (!getNodeType || typeof value !== \"object\" || value === null) return false;\n\t\ttry {\n\t\t\treturn typeof getNodeType(value) === \"number\";\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t};\n\tfunction _executeHooks(hooks, currentNode, data) {\n\t\tif (hooks.length === 0) return;\n\t\tarrayForEach(hooks, (hook) => {\n\t\t\thook.call(DOMPurify, currentNode, data, CONFIG);\n\t\t});\n\t}\n\t/**\n\t* Structural-threat checks that condemn a node regardless of the\n\t* allowlists: mXSS via namespace confusion, risky CSS construction,\n\t* processing instructions, markup-bearing comments. Pure predicate;\n\t* the caller removes. Check order is load-bearing.\n\t*\n\t* @param currentNode the node to inspect\n\t* @param tagName the node's transformCaseFunc'd tag name\n\t* @return true if the node must be removed\n\t*/\n\tconst _isUnsafeNode = function _isUnsafeNode(currentNode, tagName) {\n\t\tif (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.innerHTML)) return true;\n\t\tif (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && LITERAL_TEXT_ELEMENTS[tagName] && (_isNode(currentNode.firstElementChild) || typeof currentNode.textContent === \"string\" && regExpTest(LITERAL_TEXT_CLOSE[tagName], currentNode.textContent))) return true;\n\t\tif (currentNode.nodeType === NODE_TYPE.processingInstruction) return true;\n\t\tif (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, currentNode.data)) return true;\n\t\treturn false;\n\t};\n\t/**\n\t* Evaluate a CUSTOM_ELEMENT_HANDLING check (a RegExp or a predicate\n\t* function, per the validation in _parseConfig) against a name.\n\t* Additional arguments are forwarded to predicate functions - the\n\t* attributeNameCheck predicate receives the tag name as its second\n\t* argument. A null/absent check never matches.\n\t*\n\t* @param check the configured tagNameCheck / attributeNameCheck value\n\t* @param name the name to test\n\t* @param args extra arguments forwarded to a predicate function\n\t* @return true if the check matches the name\n\t*/\n\tconst _matchesNameCheck = function _matchesNameCheck(check, name) {\n\t\tif (check instanceof RegExp) return regExpTest(check, name);\n\t\tif (check instanceof Function) {\n\t\t\tfor (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) args[_key - 2] = arguments[_key];\n\t\t\treturn Boolean(check(name, ...args));\n\t\t}\n\t\treturn false;\n\t};\n\t/**\n\t* Handle a node whose tag is forbidden or not allowlisted: keep\n\t* allowed custom elements (false return exits _sanitizeElements\n\t* early - the namespace and fallback-tag removal checks are\n\t* intentionally skipped for kept custom elements), else hoist\n\t* content per KEEP_CONTENT and remove.\n\t*\n\t* A kept custom element is the ONLY case in which this function\n\t* returns false, so the caller uses that return value to run the\n\t* afterSanitizeElements hook on the kept element and keep the\n\t* element-hook lifecycle consistent with normal allowlisted\n\t* elements (GHSA-c2j3-45gr-mqc4).\n\t*\n\t* @param currentNode the disallowed node\n\t* @param tagName the node's transformCaseFunc'd tag name\n\t* @return true if the node was removed, false if kept\n\t*/\n\tconst _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName, root) {\n\t\tif (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;\n\t\tif (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n\t\t\tconst parentNode = getParentNode(currentNode);\n\t\t\tconst childNodes = getChildNodes(currentNode);\n\t\t\tif (childNodes && parentNode) {\n\t\t\t\tconst childCount = childNodes.length;\n\t\t\t\tfor (let i = childCount - 1; i >= 0; --i) {\n\t\t\t\t\tconst hoisted = currentNode === root ? cloneNode(childNodes[i], true) : childNodes[i];\n\t\t\t\t\tparentNode.insertBefore(hoisted, getNextSibling(currentNode));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_forceRemove(currentNode);\n\t\treturn true;\n\t};\n\t/**\n\t* Fork a hook-mutable allowlist off its shared binding the first time a\n\t* (possibly lazily-installed) uponSanitize* hook is about to see it, so the\n\t* hook cannot widen the per-instance default or the setConfig binding by\n\t* reference and leak past the call. Returns the set unchanged once it is\n\t* already call-local, so repeated calls across elements are idempotent.\n\t*\n\t* @param hookList the uponSanitize* hook array for this event\n\t* @param set the current ALLOWED_TAGS / ALLOWED_ATTR binding\n\t* @param defaultSet the per-instance DEFAULT_ALLOWED_* constant\n\t* @param setConfigSet the captured setConfig() binding, or null\n\t* @return a call-local clone if a hook is present and set is still shared,\n\t* else set unchanged\n\t*/\n\tconst _forkSharedAllowlist = function _forkSharedAllowlist(hookList, set, defaultSet, setConfigSet) {\n\t\tif (hookList.length === 0) return set;\n\t\treturn set === defaultSet || set === setConfigSet ? clone(set) : set;\n\t};\n\t/**\n\t* Shared guard for a node that a hook has detached from the walk tree,\n\t* used after each element-hook site in _sanitizeElements. Detaching is a\n\t* long-standing user pattern (issue #469; draw.io-style foreignObject\n\t* filtering). Per the cached, unclobberable parentNode getter the node is\n\t* genuinely out of the tree, so it can reach neither the serialized\n\t* output nor an IN_PLACE live tree; treat it as removed and stop\n\t* processing it. Without this guard, the unsafe-node / namespace checks\n\t* would call _forceRemove on a parentless node and hit the REPORT-3\n\t* fail-closed throw — which exists for nodes DOMPurify wants gone but\n\t* *cannot* detach (clobbered / parentless roots), the opposite of a node\n\t* that is already safely gone. The walk root is exempt: a detached\n\t* IN_PLACE root is legitimate input and must still be fully sanitized,\n\t* and a kill-decision on it must keep hitting the REPORT-3 throw.\n\t*\n\t* Nodes detached by hooks stay the hook's responsibility for placement:\n\t* they are not recorded in DOMPurify.removed, so the post-walk IN_PLACE\n\t* pass (which iterates DOMPurify.removed) does not reach them. But a\n\t* hook-detached subtree can still hold a queued resource-event handler -\n\t* e.g. an <img onload> that began loading when the caller built the live\n\t* tree - which fires in page scope after sanitize returns even though the\n\t* handler never reached the returned tree. That is the audit-5 F1 hazard,\n\t* and the documented node.remove() hook pattern walks straight into it.\n\t* So on the IN_PLACE path we neutralize the detached subtree inline,\n\t* stripping its non-allow-listed attributes before returning, exactly as\n\t* the post-walk pass does for _forceRemove'd subtrees.\n\t*\n\t* @param currentNode the node a hook may have detached\n\t* @param root the current walk root\n\t* @return true if the node is detached and now handled, false otherwise\n\t*/\n\tconst _handleHookDetachedNode = function _handleHookDetachedNode(currentNode, root) {\n\t\tif (currentNode === root || getParentNode(currentNode) !== null) return false;\n\t\tif (IN_PLACE) _neutralizeSubtree(currentNode);\n\t\treturn true;\n\t};\n\t/**\n\t* _sanitizeElements\n\t*\n\t* @protect nodeName\n\t* @protect textContent\n\t* @protect removeChild\n\t* @param currentNode to check for permission to exist\n\t* @return true if node was killed, false if left alive\n\t*/\n\tconst _sanitizeElements = function _sanitizeElements(currentNode, root) {\n\t\t_executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\tif (_isClobbered(currentNode)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tconst tagName = transformCaseFunc(_readNodeName(currentNode));\n\t\tALLOWED_TAGS = _forkSharedAllowlist(hooks.uponSanitizeElement, ALLOWED_TAGS, DEFAULT_ALLOWED_TAGS, SET_CONFIG_ALLOWED_TAGS);\n\t\t_executeHooks(hooks.uponSanitizeElement, currentNode, {\n\t\t\ttagName,\n\t\t\tallowedTags: ALLOWED_TAGS\n\t\t});\n\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\tif (_isUnsafeNode(currentNode, tagName)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {\n\t\t\tconst removed = _sanitizeDisallowedNode(currentNode, tagName, root);\n\t\t\tif (removed === false) {\n\t\t\t\t_executeHooks(hooks.afterSanitizeElements, currentNode, null);\n\t\t\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\t\t}\n\t\t\treturn removed;\n\t\t}\n\t\tif (_readNodeType(currentNode) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif ((tagName === \"noscript\" || tagName === \"noembed\" || tagName === \"noframes\") && regExpTest(FALLBACK_TAG_CLOSE, currentNode.innerHTML)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n\t\t\tconst content = _stripTemplateExpressions(currentNode.textContent);\n\t\t\tif (currentNode.textContent !== content) {\n\t\t\t\tarrayPush(DOMPurify.removed, { element: currentNode.cloneNode() });\n\t\t\t\tcurrentNode.textContent = content;\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeElements, currentNode, null);\n\t\treturn _handleHookDetachedNode(currentNode, root);\n\t};\n\t/**\n\t* _isValidAttribute\n\t*\n\t* @param lcTag Lowercase tag name of containing element.\n\t* @param lcName Lowercase attribute name.\n\t* @param value Attribute value.\n\t* @return Returns true if `value` is valid, otherwise false.\n\t*/\n\tconst _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n\t\tif (FORBID_ATTR[lcName]) return false;\n\t\tif (_isPatchLinkageAttribute(lcName, lcTag)) return false;\n\t\tif (SANITIZE_DOM && (lcName === \"id\" || lcName === \"name\") && (value in document || value in formElement)) return false;\n\t\tconst nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);\n\t\tif (ALLOW_DATA_ATTR && regExpTest(DATA_ATTR$1, lcName)) return true;\n\t\tif (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) return true;\n\t\tif (!nameIsPermitted) return _isBasicCustomElement(lcTag) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName, lcTag) || lcName === \"is\" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value);\n\t\tif (URI_SAFE_ATTRIBUTES[lcName]) return true;\n\t\tif (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, \"\"))) return true;\n\t\tif ((lcName === \"src\" || lcName === \"xlink:href\" || lcName === \"href\") && lcTag !== \"script\" && stringIndexOf(value, \"data:\") === 0 && DATA_URI_TAGS[lcTag]) return true;\n\t\tif (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, \"\"))) return true;\n\t\treturn !value;\n\t};\n\tconst RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, [\n\t\t\"annotation-xml\",\n\t\t\"color-profile\",\n\t\t\"font-face\",\n\t\t\"font-face-format\",\n\t\t\"font-face-name\",\n\t\t\"font-face-src\",\n\t\t\"font-face-uri\",\n\t\t\"missing-glyph\"\n\t]);\n\t/**\n\t* _isBasicCustomElement\n\t* checks if at least one dash is included in tagName, and it's not the first char\n\t* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n\t*\n\t* @param tagName name of the tag of the node to sanitize\n\t* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n\t*/\n\tconst _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n\t\treturn !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);\n\t};\n\t/**\n\t* Wrap an attribute value in the matching Trusted Types object when\n\t* the active policy requires it. Namespaced attributes pass through\n\t* unchanged (no TT support yet, see\n\t* https://bugs.chromium.org/p/chromium/issues/detail?id=1305293).\n\t*\n\t* @param lcTag lowercase tag name of the containing element\n\t* @param lcName lowercase attribute name\n\t* @param namespaceURI the attribute's namespace, if any\n\t* @param value the attribute value to wrap\n\t* @return the value, wrapped when Trusted Types demand it\n\t*/\n\tconst _applyTrustedTypesToAttribute = function _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value) {\n\t\tif (trustedTypesPolicy && typeof trustedTypes === \"object\" && typeof trustedTypes.getAttributeType === \"function\" && !namespaceURI) switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n\t\t\tcase \"TrustedHTML\": return _createTrustedHTML(value);\n\t\t\tcase \"TrustedScriptURL\": return _createTrustedScriptURL(value);\n\t\t}\n\t\treturn value;\n\t};\n\t/**\n\t* Write a modified attribute value back onto the element. On\n\t* success, re-probe for clobbering introduced by the new value and\n\t* remove the element when found; otherwise, when this writeback is the\n\t* recreate half of the SANITIZE_NAMED_PROPS remove-and-recreate, pop the\n\t* removal entry that path recorded so it does not show as removed. On\n\t* failure, remove the attribute instead.\n\t*\n\t* Returns true only on a clean write (the value was set and the new value\n\t* introduced no clobbering). The caller uses that, together with its own\n\t* knowledge of whether this attribute pushed a DOMPurify.removed record, to\n\t* decide whether to pop that record. The pop must happen ONLY for the\n\t* named-prop remove-and-recreate; popping on any other value change (trim,\n\t* template scrubbing, Trusted Types) would consume an unrelated _forceRemove\n\t* subtree-cleanup record and let that detached subtree keep a live event\n\t* handler through the IN_PLACE neutralization pass (SO-001).\n\t*\n\t* @param currentNode the element carrying the attribute\n\t* @param name the attribute name as present on the element\n\t* @param namespaceURI the attribute's namespace, if any\n\t* @param value the new attribute value\n\t* @return true if the value was written without introducing clobbering\n\t*/\n\tconst _setAttributeValue = function _setAttributeValue(currentNode, name, namespaceURI, value) {\n\t\ttry {\n\t\t\tif (namespaceURI) currentNode.setAttributeNS(namespaceURI, name, value);\n\t\t\telse currentNode.setAttribute(name, value);\n\t\t\tif (_isClobbered(currentNode)) {\n\t\t\t\t_forceRemove(currentNode);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (_) {\n\t\t\t_removeAttribute(name, currentNode);\n\t\t\treturn false;\n\t\t}\n\t};\n\t/**\n\t* _sanitizeAttributes\n\t*\n\t* @protect attributes\n\t* @protect nodeName\n\t* @protect removeAttribute\n\t* @protect setAttribute\n\t*\n\t* @param currentNode to sanitize\n\t* @param root the current walk root\n\t*/\n\tconst _sanitizeAttributes = function _sanitizeAttributes(currentNode, root) {\n\t\t_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n\t\tif (_handleHookDetachedNode(currentNode, root)) return;\n\t\tconst attributes = currentNode.attributes;\n\t\tif (!attributes || _isClobbered(currentNode)) return;\n\t\tALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);\n\t\tconst hookEvent = {\n\t\t\tattrName: \"\",\n\t\t\tattrValue: \"\",\n\t\t\tkeepAttr: true,\n\t\t\tallowedAttributes: ALLOWED_ATTR,\n\t\t\tforceKeepAttr: void 0\n\t\t};\n\t\tlet l = attributes.length;\n\t\tconst lcTag = transformCaseFunc(currentNode.nodeName);\n\t\twhile (l--) {\n\t\t\tconst attr = attributes[l];\n\t\t\tconst name = attr.name, namespaceURI = attr.namespaceURI, attrValue = attr.value;\n\t\t\tconst lcName = transformCaseFunc(name);\n\t\t\tconst initValue = attrValue;\n\t\t\tlet value = name === \"value\" ? initValue : stringTrim(initValue);\n\t\t\tlet recreatedNamedProp = false;\n\t\t\thookEvent.attrName = lcName;\n\t\t\thookEvent.attrValue = value;\n\t\t\thookEvent.keepAttr = true;\n\t\t\thookEvent.forceKeepAttr = void 0;\n\t\t\t_executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n\t\t\tvalue = hookEvent.attrValue;\n\t\t\tif (SANITIZE_NAMED_PROPS && (lcName === \"id\" || lcName === \"name\") && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tvalue = SANITIZE_NAMED_PROPS_PREFIX + value;\n\t\t\t\trecreatedNamedProp = true;\n\t\t\t}\n\t\t\tif (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (lcName === \"attributename\" && stringMatch(value, \"href\")) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (hookEvent.forceKeepAttr) continue;\n\t\t\tif (!hookEvent.keepAttr) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(SELF_CLOSING_TAG, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (SAFE_FOR_TEMPLATES) value = _stripTemplateExpressions(value);\n\t\t\tif (!_isValidAttribute(lcTag, lcName, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvalue = _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value);\n\t\t\tif (value !== initValue) {\n\t\t\t\tif (_setAttributeValue(currentNode, name, namespaceURI, value) && recreatedNamedProp) arrayPop(DOMPurify.removed);\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n\t\t_handleHookDetachedNode(currentNode, root);\n\t};\n\t/**\n\t* _sanitizeShadowDOM\n\t*\n\t* @param fragment to iterate over recursively\n\t*/\n\tconst _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {\n\t\tlet shadowNode = null;\n\t\tconst shadowIterator = _createNodeIterator(fragment);\n\t\t_executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n\t\twhile (shadowNode = shadowIterator.nextNode()) {\n\t\t\t_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n\t\t\t_sanitizeElements(shadowNode, fragment);\n\t\t\t_sanitizeAttributes(shadowNode, fragment);\n\t\t\tif (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);\n\t\t\tif (_readNodeType(shadowNode) === NODE_TYPE.element) {\n\t\t\t\tconst innerSr = getShadowRoot(shadowNode);\n\t\t\t\tif (_isDocumentFragment(innerSr)) {\n\t\t\t\t\t_sanitizeAttachedShadowRoots(innerSr);\n\t\t\t\t\t_sanitizeShadowDOM2(innerSr);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n\t};\n\t/**\n\t* _sanitizeAttachedShadowRoots\n\t*\n\t* Walks `root` and feeds every attached shadow root we encounter into\n\t* the existing _sanitizeShadowDOM pipeline. The default node iterator\n\t* does not descend into shadow trees, so nodes inside an attached\n\t* shadow root would otherwise be skipped entirely.\n\t*\n\t* Two real input paths put attached shadow roots in front of us:\n\t* 1. IN_PLACE on a DOM node that already has shadow roots attached.\n\t* 2. DOM-node input where importNode(dirty, true) deep-clones the\n\t* shadow root because it was created with `clonable: true`.\n\t*\n\t* This pass runs once, up front, so the main iteration loop (and the\n\t* existing _sanitizeShadowDOM template-content recursion) stay\n\t* untouched — string-input paths are not affected.\n\t*\n\t* @param root the subtree root to walk for attached shadow roots\n\t*/\n\tconst _sanitizeAttachedShadowRoots = function _sanitizeAttachedShadowRoots(root) {\n\t\tconst stack = [{\n\t\t\tnode: root,\n\t\t\tshadow: null\n\t\t}];\n\t\twhile (stack.length > 0) {\n\t\t\tconst item = stack.pop();\n\t\t\tif (item.shadow) {\n\t\t\t\t_sanitizeShadowDOM2(item.shadow);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst node = item.node;\n\t\t\tconst isElement = _readNodeType(node) === NODE_TYPE.element;\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push({\n\t\t\t\tnode: childNodes[i],\n\t\t\t\tshadow: null\n\t\t\t});\n\t\t\tif (isElement) {\n\t\t\t\tconst rootName = getNodeName ? getNodeName(node) : null;\n\t\t\t\tif (typeof rootName === \"string\" && transformCaseFunc(rootName) === \"template\") {\n\t\t\t\t\tconst content = node.content;\n\t\t\t\t\tif (_isDocumentFragment(content)) stack.push({\n\t\t\t\t\t\tnode: content,\n\t\t\t\t\t\tshadow: null\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isElement) {\n\t\t\t\tconst sr = getShadowRoot(node);\n\t\t\t\tif (_isDocumentFragment(sr)) stack.push({\n\t\t\t\t\tnode: null,\n\t\t\t\t\tshadow: sr\n\t\t\t\t}, {\n\t\t\t\t\tnode: sr,\n\t\t\t\t\tshadow: null\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\tDOMPurify.sanitize = function(dirty) {\n\t\tlet cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};\n\t\tlet body = null;\n\t\tlet importedNode = null;\n\t\tlet currentNode = null;\n\t\tlet returnNode = null;\n\t\tIS_EMPTY_INPUT = !dirty;\n\t\tif (IS_EMPTY_INPUT) dirty = \"<!-->\";\n\t\tif (typeof dirty !== \"string\" && !_isNode(dirty)) {\n\t\t\tdirty = stringifyValue(dirty);\n\t\t\tif (typeof dirty !== \"string\") throw typeErrorCreate(\"dirty is not a string, aborting\");\n\t\t}\n\t\tif (!DOMPurify.isSupported) return dirty;\n\t\tif (SET_CONFIG) {\n\t\t\tALLOWED_TAGS = SET_CONFIG_ALLOWED_TAGS;\n\t\t\tALLOWED_ATTR = SET_CONFIG_ALLOWED_ATTR;\n\t\t} else _parseConfig(cfg);\n\t\tif (hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) ALLOWED_TAGS = clone(ALLOWED_TAGS);\n\t\tif (hooks.uponSanitizeAttribute.length > 0) ALLOWED_ATTR = clone(ALLOWED_ATTR);\n\t\tDOMPurify.removed = [];\n\t\tconst inPlace = IN_PLACE && typeof dirty !== \"string\" && _isNode(dirty);\n\t\tif (inPlace) {\n\t\t\t_neutralizePatchLinkage(dirty);\n\t\t\tconst nn = _readNodeName(dirty);\n\t\t\tif (typeof nn === \"string\") {\n\t\t\t\tconst tagName = transformCaseFunc(nn);\n\t\t\t\tif (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n\t\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\t\tthrow typeErrorCreate(\"root node is forbidden and cannot be sanitized in-place\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (_isClobbered(dirty)) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tthrow typeErrorCreate(\"root node is clobbered and cannot be sanitized in-place\");\n\t\t\t}\n\t\t\ttry {\n\t\t\t\t_sanitizeAttachedShadowRoots(dirty);\n\t\t\t} catch (error) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t} else if (_isNode(dirty)) {\n\t\t\tbody = _initDocument(\"<!---->\");\n\t\t\timportedNode = body.ownerDocument.importNode(dirty, true);\n\t\t\tif (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === \"BODY\") body = importedNode;\n\t\t\telse if (importedNode.nodeName === \"HTML\") body = importedNode;\n\t\t\telse body.appendChild(importedNode);\n\t\t\t_sanitizeAttachedShadowRoots(body);\n\t\t} else {\n\t\t\tif (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && dirty.indexOf(\"<\") === -1) return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(dirty) : dirty;\n\t\t\tbody = _initDocument(dirty);\n\t\t\tif (!body) return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : \"\";\n\t\t}\n\t\tif (body && FORCE_BODY) _forceRemove(body.firstChild);\n\t\tconst walkRoot = inPlace ? dirty : body;\n\t\ttry {\n\t\t\tconst nodeIterator = _createNodeIterator(walkRoot);\n\t\t\twhile (currentNode = nodeIterator.nextNode()) {\n\t\t\t\t_sanitizeElements(currentNode, walkRoot);\n\t\t\t\t_sanitizeAttributes(currentNode, walkRoot);\n\t\t\t\tif (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tif (inPlace) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tarrayForEach(DOMPurify.removed, (entry) => {\n\t\t\t\t\tif (entry.element) _neutralizeSubtree(entry.element);\n\t\t\t\t});\n\t\t\t}\n\t\t\tthrow error;\n\t\t}\n\t\tif (inPlace) {\n\t\t\tlet rootWasRemoved = false;\n\t\t\tarrayForEach(DOMPurify.removed, (entry) => {\n\t\t\t\tif (entry.element) {\n\t\t\t\t\tif (entry.element === dirty) rootWasRemoved = true;\n\t\t\t\t\t_neutralizeSubtree(entry.element);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (rootWasRemoved) throw typeErrorCreate(\"a node selected for removal could not be safely returned; refusing to sanitize in place\");\n\t\t\tif (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);\n\t\t\treturn dirty;\n\t\t}\n\t\tif (RETURN_DOM) {\n\t\t\tif (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(body);\n\t\t\tif (RETURN_DOM_FRAGMENT) {\n\t\t\t\treturnNode = createDocumentFragment.call(body.ownerDocument);\n\t\t\t\twhile (body.firstChild) returnNode.appendChild(body.firstChild);\n\t\t\t} else returnNode = body;\n\t\t\tif (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) returnNode = importNode.call(originalDocument, returnNode, true);\n\t\t\treturn returnNode;\n\t\t}\n\t\tlet serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n\t\tif (WHOLE_DOCUMENT && ALLOWED_TAGS[\"!doctype\"] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) serializedHTML = \"<!DOCTYPE \" + body.ownerDocument.doctype.name + \">\\n\" + serializedHTML;\n\t\tif (SAFE_FOR_TEMPLATES) serializedHTML = _stripTemplateExpressions(serializedHTML);\n\t\treturn trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(serializedHTML) : serializedHTML;\n\t};\n\tDOMPurify.setConfig = function() {\n\t\tlet cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n\t\t_parseConfig(cfg);\n\t\tSET_CONFIG = true;\n\t\tSET_CONFIG_ALLOWED_TAGS = ALLOWED_TAGS;\n\t\tSET_CONFIG_ALLOWED_ATTR = ALLOWED_ATTR;\n\t};\n\tDOMPurify.clearConfig = function() {\n\t\tCONFIG = null;\n\t\tSET_CONFIG = false;\n\t\tSET_CONFIG_ALLOWED_TAGS = null;\n\t\tSET_CONFIG_ALLOWED_ATTR = null;\n\t\ttrustedTypesPolicy = defaultTrustedTypesPolicy;\n\t\temptyHTML = \"\";\n\t};\n\tDOMPurify.isValidAttribute = function(tag, attr, value) {\n\t\tif (!CONFIG) _parseConfig({});\n\t\tconst lcTag = transformCaseFunc(tag);\n\t\tconst lcName = transformCaseFunc(attr);\n\t\treturn _isValidAttribute(lcTag, lcName, value);\n\t};\n\tDOMPurify.addHook = function(entryPoint, hookFunction) {\n\t\tif (typeof hookFunction !== \"function\") return;\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\tarrayPush(hooks[entryPoint], hookFunction);\n\t};\n\tDOMPurify.removeHook = function(entryPoint, hookFunction) {\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\tif (hookFunction !== void 0) {\n\t\t\tconst index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n\t\t\treturn index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];\n\t\t}\n\t\treturn arrayPop(hooks[entryPoint]);\n\t};\n\tDOMPurify.removeHooks = function(entryPoint) {\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\thooks[entryPoint] = [];\n\t};\n\tDOMPurify.removeAllHooks = function() {\n\t\thooks = _createHooksMap();\n\t};\n\treturn DOMPurify;\n}\nvar purify_default = createDOMPurify();\nexport { purify_default as default };\n\n//# sourceMappingURL=purify.es.mjs.map","<!--\n [Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n [Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n [Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n [Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n [Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n [Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n [Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n [Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n [Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n [Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n [Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n [Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n-->\n<template>\n <v-container>\n <v-card\n class=\"ma-2 pa-2\"\n color=\"#002255\"\n theme=\"dark\"\n prepend-icon=\"mdi-desktop-tower\"\n :title=\"`${title}`\"\n >\n <template #text>\n [{{ nodeid }}]\n <v-switch\n v-model=\"detailMode\"\n :label=\"`Detailed Mode: ${detailMode.toString()}`\"\n />\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.DURATION_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.DURATION_GAUGE}`]\n .percentile\n )\n }}\n </span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.LATENCY_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[`${Gauge.ERROR_COUNT_GAUGE}`].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[`${Gauge.RETRY_COUNT_GAUGE}`].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Authentication Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay ml-6\">{{\n instrumentData[\n `${Gauge.AUTHENTICATION_COUNT_GAUGE}`\n ].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Velocity </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\"\n >{{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`].va\n )\n }}\n <span class=\"subDisplay ml-1\"\n >[{{\n velocityFormat(\n instrumentData[\n `${Gauge.VELOCITY_GAUGE}`\n ].velocity\n )\n }}]</span\n ></span\n >\n <span class=\"instDisplay ml-6\"\n >Delta:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .delta\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Max:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .maxVelocity\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Active Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentData[\n `${Gauge.ACTIVE_REQUEST_GAUGE}`\n ].percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Core Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Time </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n convertMS(\n instrumentData[`${Gauge.TIMER_GAUGE}`].val\n )\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Logs </v-col>\n <v-col md=\"10\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isLeafNode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </template>\n </v-card>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentAgentCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isLeafNode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentData: any;\n contextData: any;\n isLeafNode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst LogData = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER}`]) {\n return props.instrumentData[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentData[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentData,\n (val) => {\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentData[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentData[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<!--\n [Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n [Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n [Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n [Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n [Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n [Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n [Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n [Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n [Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n [Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n [Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n [Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n-->\n<template>\n <v-container>\n <v-card\n class=\"ma-2 pa-2\"\n color=\"#002255\"\n theme=\"dark\"\n prepend-icon=\"mdi-desktop-tower\"\n :title=\"`${title}`\"\n >\n <template #text>\n [{{ nodeid }}]\n <v-switch\n v-model=\"detailMode\"\n :label=\"`Detailed Mode: ${detailMode.toString()}`\"\n />\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.DURATION_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.DURATION_GAUGE}`]\n .percentile\n )\n }}\n </span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.LATENCY_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[`${Gauge.ERROR_COUNT_GAUGE}`].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[`${Gauge.RETRY_COUNT_GAUGE}`].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Authentication Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay ml-6\">{{\n instrumentData[\n `${Gauge.AUTHENTICATION_COUNT_GAUGE}`\n ].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Velocity </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\"\n >{{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`].va\n )\n }}\n <span class=\"subDisplay ml-1\"\n >[{{\n velocityFormat(\n instrumentData[\n `${Gauge.VELOCITY_GAUGE}`\n ].velocity\n )\n }}]</span\n ></span\n >\n <span class=\"instDisplay ml-6\"\n >Delta:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .delta\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Max:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .maxVelocity\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Active Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentData[\n `${Gauge.ACTIVE_REQUEST_GAUGE}`\n ].percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Core Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Time </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n convertMS(\n instrumentData[`${Gauge.TIMER_GAUGE}`].val\n )\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Logs </v-col>\n <v-col md=\"10\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isLeafNode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </template>\n </v-card>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentAgentCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isLeafNode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentData: any;\n contextData: any;\n isLeafNode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst LogData = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER}`]) {\n return props.instrumentData[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentData[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentData,\n (val) => {\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentData[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentData[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","const ANSI_BACKGROUND_OFFSET = 10;\n\nconst wrapAnsi16 = (offset = 0) => code => `\\u001B[${code + offset}m`;\n\nconst wrapAnsi256 = (offset = 0) => code => `\\u001B[${38 + offset};5;${code}m`;\n\nconst wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\n\nconst styles = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\t// 21 isn't widely supported and 22 does the same thing\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29],\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\n\t\t// Bright color\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39], // Alias of `blackBright`\n\t\tgrey: [90, 39], // Alias of `blackBright`\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39],\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\n\t\t// Bright color\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49], // Alias of `bgBlackBright`\n\t\tbgGrey: [100, 49], // Alias of `bgBlackBright`\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49],\n\t},\n};\n\nexport const modifierNames = Object.keys(styles.modifier);\nexport const foregroundColorNames = Object.keys(styles.color);\nexport const backgroundColorNames = Object.keys(styles.bgColor);\nexport const colorNames = [...foregroundColorNames, ...backgroundColorNames];\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`,\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false,\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false,\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = wrapAnsi16();\n\tstyles.color.ansi256 = wrapAnsi256();\n\tstyles.color.ansi16m = wrapAnsi16m();\n\tstyles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\n\t// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js\n\tObject.defineProperties(styles, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\t// We use the extended greyscale palette here, with the exception of\n\t\t\t\t// black and white. normal palette only has 4 greyscale shades.\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) {\n\t\t\t\t\t\treturn 16;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (red > 248) {\n\t\t\t\t\t\treturn 231;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn Math.round(((red - 8) / 247) * 24) + 232;\n\t\t\t\t}\n\n\t\t\t\treturn 16\n\t\t\t\t\t+ (36 * Math.round(red / 255 * 5))\n\t\t\t\t\t+ (6 * Math.round(green / 255 * 5))\n\t\t\t\t\t+ Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) {\n\t\t\t\t\treturn [0, 0, 0];\n\t\t\t\t}\n\n\t\t\t\tlet [colorString] = matches;\n\n\t\t\t\tif (colorString.length === 3) {\n\t\t\t\t\tcolorString = [...colorString].map(character => character + character).join('');\n\t\t\t\t}\n\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\n\t\t\t\treturn [\n\t\t\t\t\t/* eslint-disable no-bitwise */\n\t\t\t\t\t(integer >> 16) & 0xFF,\n\t\t\t\t\t(integer >> 8) & 0xFF,\n\t\t\t\t\tinteger & 0xFF,\n\t\t\t\t\t/* eslint-enable no-bitwise */\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) {\n\t\t\t\t\treturn 30 + code;\n\t\t\t\t}\n\n\t\t\t\tif (code < 16) {\n\t\t\t\t\treturn 90 + (code - 8);\n\t\t\t\t}\n\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = (((code - 232) * 10) + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\n\t\t\t\t\tconst remainder = code % 36;\n\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = (remainder % 6) / 5;\n\t\t\t\t}\n\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\n\t\t\t\tif (value === 0) {\n\t\t\t\t\treturn 30;\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tlet result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));\n\n\t\t\t\tif (value === 2) {\n\t\t\t\t\tresult += 60;\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t});\n\n\treturn styles;\n}\n\nconst ansiStyles = assembleStyles();\n\nexport default ansiStyles;\n","/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n","// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.\nexport function stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n\nexport function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n","import ansiStyles from '#ansi-styles';\nimport supportsColor from '#supports-color';\nimport { // eslint-disable-line import/order\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex,\n} from './utilities.js';\n\nconst {stdout: stdoutColor, stderr: stderrColor} = supportsColor;\n\nconst GENERATOR = Symbol('GENERATOR');\nconst STYLER = Symbol('STYLER');\nconst IS_EMPTY = Symbol('IS_EMPTY');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m',\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nexport class Chalk {\n\tconstructor(options) {\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = (...strings) => strings.join(' ');\n\tapplyOptions(chalk, options);\n\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\n\treturn chalk;\n};\n\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\n\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t},\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this[STYLER], true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t},\n};\n\nconst getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === 'rgb') {\n\t\tif (level === 'ansi16m') {\n\t\t\treturn ansiStyles[type].ansi16m(...arguments_);\n\t\t}\n\n\t\tif (level === 'ansi256') {\n\t\t\treturn ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\t}\n\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\n\tif (model === 'hex') {\n\t\treturn getModelAnsi('rgb', level, type, ...ansiStyles.hexToRgb(...arguments_));\n\t}\n\n\treturn ansiStyles[type][model](...arguments_);\n};\n\nconst usedModels = ['rgb', 'hex', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t},\n\t},\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent,\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\t// Single argument is hot path, implicit coercion is faster than anything\n\t// eslint-disable-next-line no-implicit-coercion\n\tconst builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\n\t// We alter the prototype because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tObject.setPrototypeOf(builder, proto);\n\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self[IS_EMPTY] ? '' : string;\n\t}\n\n\tlet styler = self[STYLER];\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.includes('\\u001B')) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nObject.defineProperties(createChalk.prototype, styles);\n\nconst chalk = createChalk();\nexport const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});\n\nexport {\n\tmodifierNames,\n\tforegroundColorNames,\n\tbackgroundColorNames,\n\tcolorNames,\n\n\t// TODO: Remove these aliases in the next major version\n\tmodifierNames as modifiers,\n\tforegroundColorNames as foregroundColors,\n\tbackgroundColorNames as backgroundColors,\n\tcolorNames as colors,\n} from './vendor/ansi-styles/index.js';\n\nexport {\n\tstdoutColor as supportsColor,\n\tstderrColor as supportsColorStderr,\n};\n\nexport default chalk;\n","<!--\n[Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n[Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n[Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n[Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n[Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n[Gauge.CPU_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.cpu, data.cpu_quantile),\n[Gauge.CPU_SYSTEM_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.systemcpu, data.systemcpu_quantile),\n[Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n[Gauge.CONNECTION_COUNT_GAUGE]: this.GetModelNode(data.connectionCount),\n[Gauge.CONNECTION_POOL_TOTAL_GAUGE]: this.GetModelNode(data.connectionPoolCount),\n[Gauge.CONNECTION_POOL_IDLE_GAUGE]: this.GetModelNode(data.connectionIdleCount),\n[Gauge.CONNECTION_POOL_WAITING_GAUGE]: this.GetModelNode(data.connectionWaitingCount),\n[Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n[Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n[Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n[Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n[Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n[Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n[Gauge.OBJECT_GAUGE]: this.GetModelNodeObject(data.memory)\n-->\n\n<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2 pr-4\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters cols=\"12\" class=\"mt-1\">\n <v-col cols=\"2\"> CPU </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{ CPU }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.CPU_LOAD_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"12\" style=\"margin-top: -20px\">\n <div><UXLineChart ref=\"lineChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"border-top: 2px solid lightgray\"\n >\n <v-col cols=\"2\"> Duration </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.DURATION_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.DURATION_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"2\"> Duration Histo </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.LATENCY_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\" style=\"margin-top: -15px\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"margin-top: -10px; border-top: 2px solid lightgray\"\n >\n <v-col md=\"3\"> Rx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Tx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{ instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{ instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Authentication Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Velocity </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{\n velocityFormat(\n instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val\n )\n }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Active Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Core Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> TCP Connections </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Connection Pool </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Idle:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_IDLE_GAUGE}`\n ].val\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Wait:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_WAITING_GAUGE}`\n ].val\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Time </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n convertMS(instrumentdata[`${Gauge.TIMER_GAUGE}`].val)\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Logs </v-col>\n <v-col md=\"9\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isleafnode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\n\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\n//import UXRadialChart from './UXRadialChart.vue';\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentServiceCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isleafnode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst CPU = computed(() => {\n const cpuVal = props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n return round2Places(cpuVal);\n});\n\nconst LogData = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER}`]) {\n return props.instrumentdata[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentdata[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst lineChartEx = ref<typeof UXLineChart>(); //@@ was ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n /*\n if (radialChartEx.value) {\n radialChartEx.value.UpdateGraph(props.instrumentData[Gauge.ACTIVE_REQUEST_GAUGE].val,\n props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE].val, // TCP Connections\n props.instrumentData[Gauge.CONNECTION_POOL_TOTAL_GAUGE].val);\n\n console.log(JSON.stringify(props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE]));\n }\n */\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<!--\n[Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n[Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n[Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n[Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n[Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n[Gauge.CPU_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.cpu, data.cpu_quantile),\n[Gauge.CPU_SYSTEM_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.systemcpu, data.systemcpu_quantile),\n[Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n[Gauge.CONNECTION_COUNT_GAUGE]: this.GetModelNode(data.connectionCount),\n[Gauge.CONNECTION_POOL_TOTAL_GAUGE]: this.GetModelNode(data.connectionPoolCount),\n[Gauge.CONNECTION_POOL_IDLE_GAUGE]: this.GetModelNode(data.connectionIdleCount),\n[Gauge.CONNECTION_POOL_WAITING_GAUGE]: this.GetModelNode(data.connectionWaitingCount),\n[Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n[Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n[Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n[Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n[Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n[Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n[Gauge.OBJECT_GAUGE]: this.GetModelNodeObject(data.memory)\n-->\n\n<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2 pr-4\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters cols=\"12\" class=\"mt-1\">\n <v-col cols=\"2\"> CPU </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{ CPU }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.CPU_LOAD_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"12\" style=\"margin-top: -20px\">\n <div><UXLineChart ref=\"lineChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"border-top: 2px solid lightgray\"\n >\n <v-col cols=\"2\"> Duration </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.DURATION_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.DURATION_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"2\"> Duration Histo </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.LATENCY_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\" style=\"margin-top: -15px\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"margin-top: -10px; border-top: 2px solid lightgray\"\n >\n <v-col md=\"3\"> Rx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Tx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{ instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{ instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Authentication Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Velocity </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{\n velocityFormat(\n instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val\n )\n }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Active Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Core Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> TCP Connections </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Connection Pool </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Idle:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_IDLE_GAUGE}`\n ].val\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Wait:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_WAITING_GAUGE}`\n ].val\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Time </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n convertMS(instrumentdata[`${Gauge.TIMER_GAUGE}`].val)\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Logs </v-col>\n <v-col md=\"9\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isleafnode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\n\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\n//import UXRadialChart from './UXRadialChart.vue';\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentServiceCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isleafnode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst CPU = computed(() => {\n const cpuVal = props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n return round2Places(cpuVal);\n});\n\nconst LogData = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER}`]) {\n return props.instrumentdata[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentdata[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst lineChartEx = ref<typeof UXLineChart>(); //@@ was ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n /*\n if (radialChartEx.value) {\n radialChartEx.value.UpdateGraph(props.instrumentData[Gauge.ACTIVE_REQUEST_GAUGE].val,\n props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE].val, // TCP Connections\n props.instrumentData[Gauge.CONNECTION_POOL_TOTAL_GAUGE].val);\n\n console.log(JSON.stringify(props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE]));\n }\n */\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">CPU</div>\n <div class=\"stsbiginfo\">\n {{ round2Places(CPU) }}%\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"20\"\n :width=\"CPUWidth\"\n :model-value=\"CPU\"\n :color=\"CPUColor\"\n />\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Velocity</div>\n <div class=\"stsbiginfo\">\n {{ velocityFormat(Velocity) }}\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"18\"\n :width=\"VelocityWidth\"\n :model-value=\"VelocityPerc\"\n :color=\"VelocityColor\"\n />\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Active Rx Count</div>\n <div class=\"stsbiginfo\">\n {{ ActiveRequestCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ActiveRequestWidth\"\n :model-value=\"ActiveRequestCountPerc\"\n :color=\"ActiveRequestColor\"\n />\n </div>\n </v-col>\n\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Connections</div>\n <div class=\"stsbiginfo\">\n {{ ConnectionCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ConnectionCountWidth\"\n :model-value=\"ConnectionCountPercentage\"\n :color=\"ConnectionCountColor\"\n />\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters style=\"border-top: 2px solid lightgray\">\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Request (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ RequestCountErrorRetry }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">Timer:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Timer }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Duration (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Duration }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Latency (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Latency }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Receive-Rx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Transmit-Tx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Pool (tot/idle/wait):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ ConnectionPool }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">vCPU:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ CoreCount }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Auth (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ AuthErrorRetry }}\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed, onMounted, onBeforeUnmount } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelInstrumentServiceSmall(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n emit(\"myclick\", id);\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst lineChartEx = ref<typeof UXLineChart>(); // ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); // ref(null);\n\nlet barUpdate = 0;\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst KafkaTopic = () => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n};\n\nconst KafkaTopicEx = computed(() => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n});\n\nonMounted(() => {\n console.log(chalk.magenta(`onMounted`));\n});\n\nonBeforeUnmount(() => {\n console.log(chalk.magenta(`onBeforeUnmount`));\n});\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value && lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n if (barChartEx.value && barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n\nconst CPUBreakPoints = [\n { bp: 90, col: \"#ff0000\" },\n { bp: 60, col: \"#9900cc\" },\n { bp: 40, col: \"#ff9900\" },\n { bp: 20, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst VelocityBreakPoints = [\n { bp: 1000, col: \"#ff0000\" },\n { bp: 500, col: \"#9900cc\" },\n { bp: 250, col: \"#ff9900\" },\n { bp: 50, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst ActiveRequestCountBreakPoints = [\n { bp: 20, col: \"#ff0000\" },\n { bp: 10, col: \"#9900cc\" },\n { bp: 5, col: \"#ff9900\" },\n { bp: 2, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst CPU = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ActiveRequestCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst RequestCountErrorRetry = computed<string>(() => {\n try {\n //return props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val;\n return `${props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0/0/0\";\n }\n});\n\nconst CoreCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Timer = computed<number>(() => {\n try {\n return Math.round(props.instrumentdata[`${Gauge.TIMER_GAUGE}`].val);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Duration = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.DURATION_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Latency = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.LATENCY_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst ConnectionPool = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_IDLE_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_WAITING_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst AuthErrorRetry = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst ActiveRequestCountPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val / 20) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ConnectionCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst ConnectionCountPercentage = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val / 20) *\n 100.0\n ); // We are at 100% if we have 20 connections\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst Velocity = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst VelocityPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].va / 1000.0) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst GetColFromBP = (value: number, bpList: any[]): string => {\n for (let i = 0; i < bpList.length; i++) {\n if (value >= bpList[i].bp) {\n return bpList[i].col;\n }\n }\n return bpList[bpList.length - 1].col;\n};\n\nconst CPUColor = computed<string>(() => {\n return GetColFromBP(CPU.value, CPUBreakPoints);\n});\n\nconst ActiveRequestColor = computed<string>(() => {\n return GetColFromBP(\n ActiveRequestCount.value,\n ActiveRequestCountBreakPoints\n );\n});\n\nconst VelocityColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, VelocityBreakPoints);\n});\n\nconst ConnectionCountColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, ActiveRequestCountBreakPoints);\n});\n\nconst CircleWidth = (value: number, maxVal: number): number => {\n if (value > maxVal) {\n return 4;\n } else {\n return 2;\n }\n};\n\nconst CPUWidth = computed<number>(() => {\n return CircleWidth(CPU.value, 200);\n});\n\nconst ActiveRequestWidth = computed<number>(() => {\n return CircleWidth(ActiveRequestCountPerc.value, 200);\n});\n\nconst VelocityWidth = computed<number>(() => {\n return CircleWidth(VelocityPerc.value, 200);\n});\n\nconst ConnectionCountWidth = computed<number>(() => {\n return CircleWidth(ConnectionCountPercentage.value, 100);\n});\n</script>\n\n<style scoped>\n.stsinfo {\n}\n.stsbiginfo {\n font-size: x-large;\n font-weight: bold;\n text-align: right;\n width: 130px;\n}\n.stsbiginfolabel {\n text-align: right;\n white-space: nowrap;\n width: 130px;\n}\n.ststitle {\n font-size: large;\n font-weight: bold;\n text-align: center;\n border-bottom: 2px solid lightgray;\n margin-bottom: 5px;\n}\n.stssubtitle {\n font-size: small;\n font-weight: bold;\n text-align: center;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">CPU</div>\n <div class=\"stsbiginfo\">\n {{ round2Places(CPU) }}%\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"20\"\n :width=\"CPUWidth\"\n :model-value=\"CPU\"\n :color=\"CPUColor\"\n />\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Velocity</div>\n <div class=\"stsbiginfo\">\n {{ velocityFormat(Velocity) }}\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"18\"\n :width=\"VelocityWidth\"\n :model-value=\"VelocityPerc\"\n :color=\"VelocityColor\"\n />\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Active Rx Count</div>\n <div class=\"stsbiginfo\">\n {{ ActiveRequestCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ActiveRequestWidth\"\n :model-value=\"ActiveRequestCountPerc\"\n :color=\"ActiveRequestColor\"\n />\n </div>\n </v-col>\n\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Connections</div>\n <div class=\"stsbiginfo\">\n {{ ConnectionCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ConnectionCountWidth\"\n :model-value=\"ConnectionCountPercentage\"\n :color=\"ConnectionCountColor\"\n />\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters style=\"border-top: 2px solid lightgray\">\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Request (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ RequestCountErrorRetry }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">Timer:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Timer }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Duration (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Duration }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Latency (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Latency }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Receive-Rx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Transmit-Tx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Pool (tot/idle/wait):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ ConnectionPool }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">vCPU:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ CoreCount }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Auth (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ AuthErrorRetry }}\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed, onMounted, onBeforeUnmount } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelInstrumentServiceSmall(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n emit(\"myclick\", id);\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst lineChartEx = ref<typeof UXLineChart>(); // ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); // ref(null);\n\nlet barUpdate = 0;\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst KafkaTopic = () => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n};\n\nconst KafkaTopicEx = computed(() => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n});\n\nonMounted(() => {\n console.log(chalk.magenta(`onMounted`));\n});\n\nonBeforeUnmount(() => {\n console.log(chalk.magenta(`onBeforeUnmount`));\n});\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value && lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n if (barChartEx.value && barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n\nconst CPUBreakPoints = [\n { bp: 90, col: \"#ff0000\" },\n { bp: 60, col: \"#9900cc\" },\n { bp: 40, col: \"#ff9900\" },\n { bp: 20, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst VelocityBreakPoints = [\n { bp: 1000, col: \"#ff0000\" },\n { bp: 500, col: \"#9900cc\" },\n { bp: 250, col: \"#ff9900\" },\n { bp: 50, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst ActiveRequestCountBreakPoints = [\n { bp: 20, col: \"#ff0000\" },\n { bp: 10, col: \"#9900cc\" },\n { bp: 5, col: \"#ff9900\" },\n { bp: 2, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst CPU = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ActiveRequestCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst RequestCountErrorRetry = computed<string>(() => {\n try {\n //return props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val;\n return `${props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0/0/0\";\n }\n});\n\nconst CoreCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Timer = computed<number>(() => {\n try {\n return Math.round(props.instrumentdata[`${Gauge.TIMER_GAUGE}`].val);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Duration = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.DURATION_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Latency = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.LATENCY_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst ConnectionPool = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_IDLE_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_WAITING_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst AuthErrorRetry = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst ActiveRequestCountPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val / 20) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ConnectionCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst ConnectionCountPercentage = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val / 20) *\n 100.0\n ); // We are at 100% if we have 20 connections\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst Velocity = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst VelocityPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].va / 1000.0) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst GetColFromBP = (value: number, bpList: any[]): string => {\n for (let i = 0; i < bpList.length; i++) {\n if (value >= bpList[i].bp) {\n return bpList[i].col;\n }\n }\n return bpList[bpList.length - 1].col;\n};\n\nconst CPUColor = computed<string>(() => {\n return GetColFromBP(CPU.value, CPUBreakPoints);\n});\n\nconst ActiveRequestColor = computed<string>(() => {\n return GetColFromBP(\n ActiveRequestCount.value,\n ActiveRequestCountBreakPoints\n );\n});\n\nconst VelocityColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, VelocityBreakPoints);\n});\n\nconst ConnectionCountColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, ActiveRequestCountBreakPoints);\n});\n\nconst CircleWidth = (value: number, maxVal: number): number => {\n if (value > maxVal) {\n return 4;\n } else {\n return 2;\n }\n};\n\nconst CPUWidth = computed<number>(() => {\n return CircleWidth(CPU.value, 200);\n});\n\nconst ActiveRequestWidth = computed<number>(() => {\n return CircleWidth(ActiveRequestCountPerc.value, 200);\n});\n\nconst VelocityWidth = computed<number>(() => {\n return CircleWidth(VelocityPerc.value, 200);\n});\n\nconst ConnectionCountWidth = computed<number>(() => {\n return CircleWidth(ConnectionCountPercentage.value, 100);\n});\n</script>\n\n<style scoped>\n.stsinfo {\n}\n.stsbiginfo {\n font-size: x-large;\n font-weight: bold;\n text-align: right;\n width: 130px;\n}\n.stsbiginfolabel {\n text-align: right;\n white-space: nowrap;\n width: 130px;\n}\n.ststitle {\n font-size: large;\n font-weight: bold;\n text-align: center;\n border-bottom: 2px solid lightgray;\n margin-bottom: 5px;\n}\n.stssubtitle {\n font-size: small;\n font-weight: bold;\n text-align: center;\n}\n</style>\n","<template>\n <div\n v-for=\"(svc, svcIndex) in serviceModel\"\n :key=\"svcIndex\"\n :value=\"svc\"\n class=\"d-inline-flex align-center justify-center ma-0 pa-0\"\n >\n <div v-if=\"cpu(svc) > 0.0\">\n <component\n :is=\"\n smallMode\n ? UXModelInstrumentServiceSmall\n : UXModelInstrumentServiceCommon\n \"\n :isleafnode=\"false\"\n :model-id=\"props.modelId\"\n :nodeid=\"svc.id\"\n :contextdata=\"svc.context\"\n :instrumentdata=\"svc.instruments\"\n :title=\"svc.id\"\n @myclick=\"navigate\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport UXModelInstrumentServiceCommon from \"./UXModelInstrumentServiceCommon.vue\";\n\nimport UXModelInstrumentServiceSmall from \"./UXModelInstrumentServiceSmall.vue\";\n\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport type { JSONObject } from \"@nsshunt/stsutils\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelNode(): ModelStore`);\nconst store = ModelStore();\n\nconst props = defineProps<{\n modelId: string;\n nodeid: string;\n smallMode: boolean;\n}>();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst agentModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].agentModel;\n } else {\n return {};\n }\n});\n\nconst serviceModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].serviceModel;\n } else {\n return {};\n }\n});\n\nconst cpu = (model: JSONObject) => {\n try {\n return model.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${error}`));\n }\n};\n\nconst navigate = function (id: string) {\n emit(\"myclick\", id);\n};\n\n/*\nconst CPU = computed((): number => {\n if (modelNode.value && modelNode.value.instruments) {\n return modelNode.value.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val as number;\n } else {\n return 0;\n }\n});\n\nconst maxARC = 50;\nconst maxTCP = 50;\nconst maxPool = 50;\n\nconst Series = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [\n (modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number / maxARC) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number / maxTCP) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number / maxPool) * 100.0\n ]\n } else {\n return [ 0, 0, 0];\n }\n})\n\nconst Series2 = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [{\n data: [\n modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number\n ]\n }]\n } else {\n return [{\n data: [ 0, 0, 0]\n }]\n }\n})\n\nconst Labels = computed(() => {\n return [ 'AR', 'TCP', 'Pool' ];\n})\n*/\n</script>\n","<template>\n <div\n v-for=\"(svc, svcIndex) in serviceModel\"\n :key=\"svcIndex\"\n :value=\"svc\"\n class=\"d-inline-flex align-center justify-center ma-0 pa-0\"\n >\n <div v-if=\"cpu(svc) > 0.0\">\n <component\n :is=\"\n smallMode\n ? UXModelInstrumentServiceSmall\n : UXModelInstrumentServiceCommon\n \"\n :isleafnode=\"false\"\n :model-id=\"props.modelId\"\n :nodeid=\"svc.id\"\n :contextdata=\"svc.context\"\n :instrumentdata=\"svc.instruments\"\n :title=\"svc.id\"\n @myclick=\"navigate\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport UXModelInstrumentServiceCommon from \"./UXModelInstrumentServiceCommon.vue\";\n\nimport UXModelInstrumentServiceSmall from \"./UXModelInstrumentServiceSmall.vue\";\n\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport type { JSONObject } from \"@nsshunt/stsutils\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelNode(): ModelStore`);\nconst store = ModelStore();\n\nconst props = defineProps<{\n modelId: string;\n nodeid: string;\n smallMode: boolean;\n}>();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst agentModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].agentModel;\n } else {\n return {};\n }\n});\n\nconst serviceModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].serviceModel;\n } else {\n return {};\n }\n});\n\nconst cpu = (model: JSONObject) => {\n try {\n return model.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${error}`));\n }\n};\n\nconst navigate = function (id: string) {\n emit(\"myclick\", id);\n};\n\n/*\nconst CPU = computed((): number => {\n if (modelNode.value && modelNode.value.instruments) {\n return modelNode.value.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val as number;\n } else {\n return 0;\n }\n});\n\nconst maxARC = 50;\nconst maxTCP = 50;\nconst maxPool = 50;\n\nconst Series = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [\n (modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number / maxARC) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number / maxTCP) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number / maxPool) * 100.0\n ]\n } else {\n return [ 0, 0, 0];\n }\n})\n\nconst Series2 = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [{\n data: [\n modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number\n ]\n }]\n } else {\n return [{\n data: [ 0, 0, 0]\n }]\n }\n})\n\nconst Labels = computed(() => {\n return [ 'AR', 'TCP', 'Pool' ];\n})\n*/\n</script>\n","function E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n","'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\nconst isUnsafeObjectKey = (prop) =>\n typeof prop === 'string' &&\n (prop === '__proto__' || prop === 'constructor' || prop === 'prototype');\n\n/**\n * Determine whether an inherited object must be treated as a shared-prototype\n * boundary. Cross-realm Object.prototype objects cannot be distinguished\n * reliably from application-created null-prototype objects because their\n * properties are mutable, so all inherited terminal prototypes are excluded\n * as a fail-closed boundary. A null-prototype source still keeps its own\n * properties, as produced by mergeConfig and other safe materialization paths.\n *\n * @param {*} obj The object to inspect\n * @param {*} prototype The object's prototype\n * @param {boolean} source Whether obj is the original traversal source\n *\n * @returns {boolean} True when obj is a safe prototype traversal boundary\n */\nconst isPrototypeBoundary = (obj, prototype, source) =>\n obj === Object.prototype || (!source && prototype === null);\n\n/**\n * Determine whether an object can retain its identity through code paths that\n * add, replace, and remove config properties without bypassing unsafe-key\n * filtering. Immutable objects, unsafe-key-bearing objects, and objects with\n * accessor or restricted data properties must be materialized instead.\n *\n * @param {*} obj The object to inspect\n *\n * @returns {boolean} True when every own property is safe and fully mutable\n */\nconst isSafeAndFullyMutable = (obj) => {\n if (!Object.isExtensible(obj)) {\n return false;\n }\n\n const props = Object.getOwnPropertyNames(obj);\n\n if (Object.getOwnPropertySymbols) {\n props.push(...Object.getOwnPropertySymbols(obj));\n }\n\n return props.every((prop) => {\n if (isUnsafeObjectKey(prop)) {\n return false;\n }\n\n const descriptor = Object.getOwnPropertyDescriptor(obj, prop);\n\n return !!descriptor && descriptor.configurable && descriptor.writable === true;\n });\n};\n\n/**\n * Walk the prototype chain (excluding the source realm's Object.prototype)\n * looking for an own `prop`. This distinguishes genuine own/inherited members\n * — including class accessors and template prototypes — from members injected\n * via Object.prototype pollution (e.g. `Object.prototype.username = '...'`),\n * which live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n const prototype = getPrototypeOf(obj);\n\n if (isPrototypeBoundary(obj, prototype, obj === thing)) {\n return false;\n }\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = prototype;\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\n/**\n * Flatten an object and its application-defined prototype chain into a\n * null-prototype object. Members inherited only from the source realm's\n * Object.prototype are deliberately excluded, while class/template members\n * below that boundary are preserved.\n *\n * @param {*} thing The value to flatten\n *\n * @returns {*} A null-prototype copy, or the original value when it is already\n * structurally safe or is not an object\n */\nconst toSafeFlatObject = (thing) => {\n if (thing == null || (typeof thing !== 'object' && typeof thing !== 'function')) {\n return thing;\n }\n\n const sourcePrototype = getPrototypeOf(thing);\n\n if (sourcePrototype === null && isSafeAndFullyMutable(thing)) {\n return thing;\n }\n\n const result = Object.create(null);\n const merged = Object.create(null);\n const seen = [];\n let current = thing;\n\n while (current != null) {\n if (seen.indexOf(current) !== -1) {\n break;\n }\n\n seen.push(current);\n\n const prototype = current === thing ? sourcePrototype : getPrototypeOf(current);\n\n if (isPrototypeBoundary(current, prototype, current === thing)) {\n break;\n }\n\n const props = Object.getOwnPropertyNames(current);\n\n if (Object.getOwnPropertySymbols) {\n props.push(...Object.getOwnPropertySymbols(current));\n }\n\n for (const prop of props) {\n if (isUnsafeObjectKey(prop)) {\n continue;\n }\n\n if (!hasOwnProperty(merged, prop)) {\n result[prop] = thing[prop];\n merged[prop] = true;\n }\n }\n\n current = prototype;\n }\n\n return result;\n};\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) &&\n // Treat safe own/inherited Symbol.toStringTag or Symbol.iterator members as\n // evidence the value is tagged/iterable, while ignoring members reachable\n // only through shared or terminal prototype boundaries.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\nconst isSet = kindOfTest('Set');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array<unknown>} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object<any, any>} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array<boolean>}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n\n let target;\n\n if (isSet(source)) {\n target = [];\n for (const value of source) {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && target.push(reducedValue);\n }\n } else {\n target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n }\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n toSafeFlatObject,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n const hasKey = utils.hasOwnProp(parsed, key);\n\n if (!key || (hasKey && utils.hasOwnProp(ignoreDuplicateOf, key))) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (hasKey) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = hasKey ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst parameterNameRE = /^[!#$%&'*+\\-.^_`|~0-9A-Za-z]+$/;\n\nfunction trimOWS(value) {\n let start = 0;\n let end = value.length;\n\n while (start < end) {\n const code = value.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = value.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === value.length ? value : value.slice(start, end);\n}\n\nfunction decodeQuotedString(value) {\n const last = value.length - 1;\n\n if (last < 1 || value.charCodeAt(0) !== 0x22 || value.charCodeAt(last) !== 0x22) {\n return value;\n }\n\n let decoded = '';\n\n for (let i = 1; i < last; i++) {\n const code = value.charCodeAt(i);\n\n if (code === 0x22) {\n return value;\n }\n\n if (code === 0x5c) {\n i += 1;\n\n if (i >= last) {\n return value;\n }\n }\n\n decoded += value[i];\n }\n\n return decoded;\n}\n\nfunction parseParameters(value) {\n const parameters = Object.create(null);\n const str = String(value);\n let start = 0;\n let quoted = false;\n let escaped = false;\n\n function parseParameter(end) {\n const part = trimOWS(str.slice(start, end));\n const equals = part.indexOf('=');\n\n if (equals < 1) {\n return;\n }\n\n const name = trimOWS(part.slice(0, equals));\n\n if (!parameterNameRE.test(name)) {\n return;\n }\n\n const normalizedName = name.toLowerCase();\n\n if (\n normalizedName === '__proto__' ||\n normalizedName === 'constructor' ||\n normalizedName === 'prototype'\n ) {\n return;\n }\n\n const parameterValue = trimOWS(part.slice(equals + 1));\n parameters[normalizedName] = decodeQuotedString(parameterValue);\n }\n\n for (let i = 0; i < str.length; i++) {\n const code = str.charCodeAt(i);\n\n if (quoted) {\n if (escaped) {\n escaped = false;\n } else if (code === 0x5c) {\n escaped = true;\n } else if (code === 0x22) {\n quoted = false;\n }\n } else if (code === 0x22) {\n quoted = true;\n } else if (code === 0x2c || code === 0x3b) {\n parseParameter(i);\n start = i + 1;\n }\n }\n\n parseParameter(str.length);\n\n return parameters;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n const value = this.get('set-cookie');\n return utils.isArray(value) ? value : value == null || value === false ? [] : [value];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static parseParameters(value) {\n return parseParameters(value);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nexport const REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nfunction stringifySafely(value) {\n try {\n return String(value);\n } catch (err) {\n return '';\n }\n}\n\nfunction aggregateErrorMessage(error) {\n const message = error.errors\n .map((entry) => {\n try {\n return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);\n } catch (err) {\n return '';\n }\n })\n .filter(Boolean)\n .join('; ');\n\n return message || error.name || 'AggregateError';\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n // `AggregateError` (thrown by Node on dual-stack/Happy-Eyeballs connection\n // failures) has an empty `message`; its detail lives in `errors[]`. Without\n // this, the wrapped error surfaces with a blank message (see #6721).\n let message = error.message;\n if (!message && utils.isArray(error.errors) && error.errors.length) {\n message = aggregateErrorMessage(error);\n }\n\n const axiosError = new AxiosError(message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\nimport PlatformBuffer from '../platform/node/classes/Buffer.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array<any>} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object<any, any>} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object<string, any>} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n const option = (name, fallback) => {\n const value = utils.getSafeProp(options, name);\n return utils.isUndefined(value) ? fallback : value;\n };\n\n const metaTokens = option('metaTokens', true);\n // eslint-disable-next-line no-use-before-define\n const visitor = option('visitor') || defaultVisitor;\n const dots = option('dots', false);\n const indexes = option('indexes', false);\n const _Blob = option('Blob') || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = option('maxDepth', DEFAULT_FORM_DATA_MAX_DEPTH);\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (PlatformBuffer && PlatformBuffer.isBufferAvailable()) {\n return PlatformBuffer.from(value);\n }\n throw new AxiosError(\n 'Blob is not supported. Use a Buffer instead.',\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array<String|Number>} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nconst $internals = Symbol('internals');\n\n// `handlers` is public and may be replaced with a nullish value by user code;\n// `clear()` has always tolerated that. Treat it as an empty stack rather than\n// dereferencing it.\nfunction countHandlers(handlers) {\n return handlers ? handlers.length : 0;\n}\n\nfunction trimHandlers(handlers) {\n if (!handlers) {\n return;\n }\n\n while (handlers.length && handlers[handlers.length - 1] === null) {\n handlers.pop();\n }\n}\n\nfunction syncHandlerEntries(manager, internals) {\n const handlers = manager.handlers;\n const length = countHandlers(handlers);\n\n if (handlers !== internals.handlersRef) {\n internals.handlersRef = handlers;\n internals.handlerEntries.clear();\n } else if (length !== internals.handlersLength) {\n if (!length) {\n internals.handlerEntries.clear();\n } else {\n internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {\n if (handlers[entry.index] !== entry.handler) {\n internals.handlerEntries.delete(id);\n }\n });\n }\n }\n\n internals.handlersLength = length;\n}\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n this[$internals] = {\n handlersRef: this.handlers,\n handlersLength: this.handlers.length,\n handlerEntries: new Map(),\n iterationDepth: 0,\n nextId: 0,\n };\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n const handler = {\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n };\n const internals = this[$internals];\n\n if (this.handlers == null) {\n this.handlers = [];\n }\n\n syncHandlerEntries(this, internals);\n\n const id = internals.nextId++;\n\n this.handlers.push(handler);\n internals.handlerEntries.set(id, {\n handler,\n index: this.handlers.length - 1,\n });\n internals.handlersLength = this.handlers.length;\n\n return id;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n const internals = this[$internals];\n\n syncHandlerEntries(this, internals);\n\n const entry = internals.handlerEntries.get(id);\n\n if (entry) {\n internals.handlerEntries.delete(id);\n\n // Ignore IDs invalidated by clear or direct replacement of handlers.\n if (this.handlers[entry.index] !== entry.handler) {\n return;\n }\n\n this.handlers[entry.index] = null;\n\n // Do not reuse an index while forEach is walking its length snapshot.\n if (!internals.iterationDepth) {\n trimHandlers(this.handlers);\n internals.handlersLength = this.handlers.length;\n }\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n syncHandlerEntries(this, this[$internals]);\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n const internals = this[$internals];\n\n syncHandlerEntries(this, internals);\n\n internals.iterationDepth++;\n\n try {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n } finally {\n if (!--internals.iterationDepth) {\n syncHandlerEntries(this, internals);\n trimHandlers(this.handlers);\n internals.handlersLength = countHandlers(this.handlers);\n }\n }\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z] -> ['foo', 'x', 'y', 'z']\n // foo.x.y.z -> ['foo', 'x', 'y', 'z']\n // A path is split on `.` and on `[...]` groups. A segment — whether written\n // in dot notation or captured inside brackets — may contain any character\n // except `.`, `[` and `]`, so a key like `user-name` or `user name` is kept\n // literal instead of being split (#5402). `.`, `[` and `]` keep their existing\n // meaning, e.g. `foo[bar.baz]` -> ['foo', 'bar', 'baz'] and `[]` is an array push.\n // Excluding `[` from the bracket group also makes the match fail fast at the\n // next `[`, so a malformed name cannot rescan to the end of the string from\n // every unmatched `[` — parsing stays linear in the length of the name.\n const path = [];\n const pattern = /[^.[\\]]+|\\[([^.[\\]]*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array<any>} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object<string, any> | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nconst methodList = Object.freeze([\n 'get',\n 'delete',\n 'head',\n 'options',\n 'post',\n 'put',\n 'patch',\n 'purge',\n 'link',\n 'unlink',\n 'query',\n]);\n\nexport default methodList;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\nimport methodList from '../core/methodList.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(methodList, (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\nconst urlParserControlCharacters = /[\\t\\n\\r]/g;\n\n/**\n * Match WHATWG URL preprocessing before checking a URL's protocol.\n *\n * @param {string} url\n *\n * @returns {string}\n */\nexport default function normalizeURLForProtocolCheck(url) {\n if (typeof url !== 'string') {\n return url;\n }\n\n let start = 0;\n\n while (start < url.length && url.charCodeAt(start) <= 0x20) {\n start++;\n }\n\n return url.slice(start).replace(urlParserControlCharacters, '');\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Array<Function>}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n const flushWith = (...args) => invoke(args);\n\n return [throttled, flush, flushWith];\n}\n\nexport default throttle;\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || !utils.isNumber(e.loaded)) {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn, scheduler = utils.asap) =>\n (...args) =>\n scheduler(() => fn(...args));\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n if (!relativeURL) {\n return baseURL;\n }\n\n let end = baseURL.length;\n\n while (end > 0 && baseURL.charCodeAt(end - 1) === 47) {\n end--;\n }\n\n return baseURL.slice(0, end) + '/' + relativeURL.replace(/^\\/+/, '');\n}\n","'use strict';\n\nimport AxiosError, { REDACTED } from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\nimport normalizeURLForProtocolCheck from '../helpers/normalizeURLForProtocolCheck.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\n\n// Redact the parts of a URL that can carry secrets before it is embedded in an\n// error message. AxiosError.toJSON() serializes `message` verbatim and errors\n// are commonly logged, while the opt-in `config.redact` model only cleans\n// config keys — it cannot reach the message. Redact only the genuinely\n// sensitive substrings — userinfo (credentials), query parameter values and\n// fragment contents — with the same REDACTED marker the config redaction uses,\n// while keeping the scheme, host, path and parameter names so the offending\n// request stays accurately identifiable.\nfunction redactFragment(fragment) {\n if (!fragment) {\n return fragment;\n }\n\n return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match, separator, parameterName = '') => {\n return `${separator}${parameterName}${REDACTED}`;\n });\n}\n\nfunction redactSensitiveURLParts(url) {\n const redactedURL = url.replace(/^(https?:\\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);\n const fragmentIndex = redactedURL.indexOf('#');\n const urlWithoutFragment =\n fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);\n const redactedURLWithoutFragment = urlWithoutFragment.replace(\n /([?&][^=&#]*=)[^&#]*/g,\n `$1${REDACTED}`\n );\n\n if (fragmentIndex === -1) {\n return redactedURLWithoutFragment;\n }\n\n return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string') {\n const normalizedURL = normalizeURLForProtocolCheck(url);\n if (malformedHttpProtocol.test(normalizedURL)) {\n throw new AxiosError(\n `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing \"//\" after protocol`,\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\nconst ownEnumerableKeys = (thing) => {\n if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {\n return Object.keys(thing).concat(\n Object.getOwnPropertySymbols(thing).filter(\n (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable\n )\n );\n }\n return Object.keys(thing);\n};\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional')\n ? config2.transitional\n : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional')\n ? config1.transitional\n : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutErrorMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","'use strict';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\n/**\n * Apply the headers generated by a FormData implementation to the request headers,\n * honoring the `formDataHeaderPolicy` option: with 'content-only', copy only the\n * content-* headers; otherwise merge all of them.\n *\n * @param {AxiosHeaders} headers - the request headers to mutate\n * @param {Object | null | undefined} formHeaders - headers produced by the FormData implementation\n * @param {String} [policy] - the resolved `formDataHeaderPolicy` config value\n *\n * @returns {void}\n */\nexport default function setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport setFormDataHeaders from '../core/setFormDataHeaders.js';\nimport buildURL from './buildURL.js';\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n const getHeaders = utils.getSafeProp(data, 'getHeaders');\n\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, getHeaders.call(data), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport normalizeURLForProtocolCheck from '../helpers/normalizeURLForProtocolCheck.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload, flushDownloadWithEvent;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend(event) {\n if (!request) {\n return;\n }\n\n // Status 0 means no response was received, which onerror and onabort normally\n // reject before this runs. Firefox 152 fires only readystatechange and loadend for\n // navigation-canceled requests (https://bugzilla.mozilla.org/show_bug.cgi?id=1505389),\n // leaving settle() to resolve them as an empty success. ECONNABORTED is the error\n // onabort raised on Firefox 151. Reads over file:, which some environments report as\n // status 0 on success, are excluded by the request URL's scheme after browser-style\n // preprocessing, by the page origin's scheme for relative URLs (which inherit it), or\n // by responseURL where implemented.\n if (\n request.status === 0 &&\n (parseProtocol(normalizeURLForProtocolCheck(_config.url)) ||\n parseProtocol(platform.origin)) !== 'file' &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n return;\n }\n\n // When loadend is still dispatching, flushing with it gives progress\n // listeners a final delivery whose event has a live target. The legacy\n // ready-state fallback has no event, so replay its pending progress.\n // A throwing listener must not block settlement; rethrow asynchronously,\n // matching how listener errors surface on the throttle timer path.\n try {\n if (event) {\n flushDownloadWithEvent && flushDownloadWithEvent(event);\n } else {\n flushDownload && flushDownload();\n }\n } catch (err) {\n setTimeout(() => {\n throw err;\n });\n }\n\n // A final progress callback can cancel the request synchronously.\n if (!request) {\n return;\n }\n\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload, flushDownloadWithEvent] = progressEventReducer(\n onDownloadProgress,\n true\n );\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => {\n if (aborted) {\n return;\n }\n\n if (signal.aborted) {\n onabort.call(signal);\n return;\n }\n\n signal.addEventListener('abort', onabort, { once: true });\n });\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate data: URL byte lengths *without* allocating large buffers.\n * - Fetch percent-decodes a base64 body before decoding it.\n * - Node's Buffer.from(body, 'base64') sizes its backing allocation from the\n * raw body, including ignored characters and content after padding.\n * - Non-base64 data is percent-decoded and then encoded as UTF-8.\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nconst hexValue = (charCode) => (charCode <= 57 ? charCode - 48 : (charCode & 0xdf) - 55);\n\nconst isBase64Char = (charCode) =>\n (charCode >= 65 && charCode <= 90) || // A-Z\n (charCode >= 97 && charCode <= 122) || // a-z\n (charCode >= 48 && charCode <= 57) || // 0-9\n charCode === 43 || // +\n charCode === 47 || // /\n charCode === 45 || // - (base64url)\n charCode === 95; // _ (base64url)\n\nconst isBase64Whitespace = (charCode) =>\n charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;\n\nconst base64Bytes = (significant) => {\n const groups = Math.floor(significant / 4);\n const remainder = significant % 4;\n return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);\n};\n\n// Buffer.byteLength(body, 'base64') uses the raw string length as an allocation\n// upper bound even when Buffer.from later ignores characters or stops at '='.\nconst estimateBase64BufferAllocation = (body) => {\n const len = body.length;\n let padding = 0;\n\n if (len > 0 && body.charCodeAt(len - 1) === 61 /* '=' */) {\n padding++;\n\n if (len > 1 && body.charCodeAt(len - 2) === 61 /* '=' */) {\n padding++;\n }\n }\n\n return Math.floor(((len - padding) * 3) / 4);\n};\n\nconst estimatePercentDecodedBase64Bytes = (body) => {\n const len = body.length;\n let significant = 0;\n let padding = 0;\n let invalid = false;\n\n for (let i = 0; i < len; i++) {\n let code = body.charCodeAt(i);\n\n if (code === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n code = hexValue(body.charCodeAt(i + 1)) * 16 + hexValue(body.charCodeAt(i + 2));\n i += 2;\n }\n\n if (isBase64Whitespace(code)) {\n continue;\n }\n\n if (code === 61 /* '=' */) {\n padding++;\n continue;\n }\n\n if (!isBase64Char(code) || padding > 0) {\n invalid = true;\n continue;\n }\n\n significant++;\n }\n\n // Fetch rejects malformed forgiving-base64 input. Returning the raw-size\n // allocation bound keeps that invalid input from becoming a pre-check bypass.\n if (\n invalid ||\n padding > 2 ||\n (padding > 0 && (significant + padding) % 4 !== 0) ||\n significant % 4 === 1\n ) {\n return estimateBase64BufferAllocation(body);\n }\n\n return base64Bytes(significant);\n};\n\nconst estimateDataURLBytes = (url, estimateBase64) => {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n return estimateBase64(body);\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n};\n\n/**\n * Estimate the percent-decoded payload size used by Fetch data: URLs.\n *\n * @param {string} url\n * @returns {number}\n */\nexport default function estimateDataURLDecodedBytes(url) {\n // Fetch removes URL fragments before processing a data: URL.\n const fragmentIndex = typeof url === 'string' ? url.indexOf('#') : -1;\n\n return estimateDataURLBytes(\n fragmentIndex === -1 ? url : url.slice(0, fragmentIndex),\n estimatePercentDecodedBase64Bytes\n );\n}\n\n/**\n * Estimate the Buffer backing allocation used by Node's raw base64 decoder.\n *\n * @param {string} url\n * @returns {number}\n */\nexport function estimateDataURLBufferAllocation(url) {\n return estimateDataURLBytes(url, estimateBase64BufferAllocation);\n}\n","export const VERSION = \"1.20.0\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst DEFAULT_REQUEST_OPTIONS = {\n cache: 'default',\n redirect: 'follow',\n referrer: 'about:client',\n referrerPolicy: '',\n mode: 'cors',\n integrity: '',\n keepalive: false,\n priority: 'auto',\n window: null,\n};\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null ? utils.global : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n maxRedirects,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password,\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword,\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null\n ? await resolveBodyLength(headers, data)\n : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (\n utils.isFormData(data) &&\n (contentTypeHeader = _request.headers.get('content-type'))\n ) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const safeFetchOptions =\n fetchOptions == null ? fetchOptions : Object.assign(Object.create(null), fetchOptions);\n\n if (safeFetchOptions) {\n // These options are owned by Axios and are already reflected in the\n // resolved Request passed to fetch.\n delete safeFetchOptions.body;\n delete safeFetchOptions.headers;\n delete safeFetchOptions.method;\n delete safeFetchOptions.signal;\n delete safeFetchOptions.duplex;\n delete safeFetchOptions.credentials;\n }\n\n const resolvedOptions = Object.assign(Object.create(null), safeFetchOptions, {\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n });\n\n if (isRequestSupported) {\n utils.forEach(DEFAULT_REQUEST_OPTIONS, (value, key) => {\n if (resolvedOptions[key] === undefined) {\n resolvedOptions[key] = value;\n }\n });\n\n if (resolvedOptions.signal === undefined) {\n resolvedOptions.signal = null;\n }\n\n if (resolvedOptions.body === undefined) {\n resolvedOptions.body = null;\n }\n }\n\n if (maxRedirects === 0) {\n resolvedOptions.redirect = 'manual';\n\n if (safeFetchOptions) {\n safeFetchOptions.redirect = 'manual';\n }\n }\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, safeFetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object<string, Function|Object>}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object<string, Function|Object>}\n */\n adapters: knownAdapters,\n};\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\nimport utils from '../utils.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(_config) {\n // Interceptors may replace the merged config with an ordinary object. Flatten\n // it at the dispatch boundary so shared prototype members cannot become\n // request behavior, while preserving intentional template/class members.\n const config = utils.toSafeFlatObject(_config);\n\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(utils.getSafeProp(config, 'headers'));\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype.<opt> cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport methodList from './methodList.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n try {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n const dummyStack = dummy.stack;\n let stack = '';\n\n // slice off the Error: ... line\n if (typeof dummyStack === 'string') {\n const firstNewlineIndex = dummyStack.indexOf('\\n');\n\n stack = firstNewlineIndex === -1 ? '' : dummyStack.slice(firstNewlineIndex + 1);\n }\n\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // Ignore failures from custom stack hooks or un-writable stack properties.\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (\n utils.getSafeProp(config, 'method') ||\n utils.getSafeProp(this.defaults, 'method') ||\n 'get'\n ).toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(methodList.concat('common'), (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;\n } catch (error) {\n if (!onRejected) {\n promise = Promise.reject(error);\n break;\n }\n\n try {\n const rejectedResult = onRejected.call(this, error);\n\n if (utils.isThenable(rejectedResult)) {\n promise = Promise.resolve(rejectedResult).then(() =>\n dispatchRequest.call(this, newConfig)\n );\n }\n } catch (rejectedError) {\n promise = Promise.reject(rejectedError);\n }\n\n break;\n }\n }\n\n if (!promise) {\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n promise = Promise.reject(error);\n }\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n /**\n * @deprecated Use `ContentTooLarge` instead.\n */\n PayloadTooLarge: 413,\n ContentTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n /**\n * @deprecated Use `UnprocessableContent` instead.\n */\n UnprocessableEntity: 422,\n UnprocessableContent: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerReturnsAnUnknownError: 520,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n if (HttpStatusCode[value] === undefined) {\n HttpStatusCode[value] = key;\n }\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","//#region \\0rolldown/runtime.js\nvar __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);\n//#endregion\n//#region node_modules/tiny-emitter/index.js\nvar require_tiny_emitter = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tfunction E() {}\n\tE.prototype = {\n\t\ton: function(name, callback, ctx) {\n\t\t\tvar e = this.e || (this.e = {});\n\t\t\t(e[name] || (e[name] = [])).push({\n\t\t\t\tfn: callback,\n\t\t\t\tctx\n\t\t\t});\n\t\t\treturn this;\n\t\t},\n\t\tonce: function(name, callback, ctx) {\n\t\t\tvar self = this;\n\t\t\tfunction listener() {\n\t\t\t\tself.off(name, listener);\n\t\t\t\tcallback.apply(ctx, arguments);\n\t\t\t}\n\t\t\tlistener._ = callback;\n\t\t\treturn this.on(name, listener, ctx);\n\t\t},\n\t\temit: function(name) {\n\t\t\tvar data = [].slice.call(arguments, 1);\n\t\t\tvar evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n\t\t\tvar i = 0;\n\t\t\tvar len = evtArr.length;\n\t\t\tfor (; i < len; i++) evtArr[i].fn.apply(evtArr[i].ctx, data);\n\t\t\treturn this;\n\t\t},\n\t\toff: function(name, callback) {\n\t\t\tvar e = this.e || (this.e = {});\n\t\t\tvar evts = e[name];\n\t\t\tvar liveEvents = [];\n\t\t\tif (evts && callback) {\n\t\t\t\tfor (var i = 0, len = evts.length; i < len; i++) if (evts[i].fn !== callback && evts[i].fn._ !== callback) liveEvents.push(evts[i]);\n\t\t\t}\n\t\t\tliveEvents.length ? e[name] = liveEvents : delete e[name];\n\t\t\treturn this;\n\t\t}\n\t};\n\tmodule.exports = E;\n\tmodule.exports.TinyEmitter = E;\n}));\n//#endregion\nexport { require_tiny_emitter as t };\n\n//# sourceMappingURL=tiny-emitter-Ci1ma0VV.js.map","import { t as require_tiny_emitter } from \"./tiny-emitter-Ci1ma0VV.js\";\nimport { io } from \"socket.io-client\";\nimport { isNode } from \"@nsshunt/stsutils\";\n//#region src/commonTypes.ts\nvar STSNamespace = /* @__PURE__ */ function(STSNamespace) {\n\tSTSNamespace[\"STSMonitor\"] = \"stsinstrumentmanager/stsmonitor\";\n\tSTSNamespace[\"STSControl\"] = \"stsinstrumentmanager/stscontrol\";\n\tSTSNamespace[\"STSTestingNamespace\"] = \"ststestingnamespace/ststesting\";\n\treturn STSNamespace;\n}({});\nvar STSRoom = /* @__PURE__ */ function(STSRoom) {\n\tSTSRoom[\"STSInstrumentDataRoom\"] = \"stsinstrumentdataroom\";\n\tSTSRoom[\"STSInstrumentDataSubscriptionRoom\"] = \"stsinstrumentdatasubscriptionroom\";\n\tSTSRoom[\"STSRunnerRoom\"] = \"stsrunnerroom\";\n\tSTSRoom[\"STSNodeRunnerRoom\"] = \"stsnoderunnerroom\";\n\treturn STSRoom;\n}({});\nvar STSEvent = /* @__PURE__ */ function(STSEvent) {\n\tSTSEvent[\"STSInstrumentData\"] = \"stsinstrumentdata\";\n\tSTSEvent[\"STSSubInstrumentData\"] = \"stssubinstrumentdata\";\n\tSTSEvent[\"STSResetInstrumentData\"] = \"stsresetinstrumentdata\";\n\tSTSEvent[\"STSStartLoggingInstrumentData\"] = \"stsStartLoggingInstrumentData\";\n\tSTSEvent[\"STSStopLoggingInstrumentData\"] = \"stsStopLoggingInstrumentData\";\n\tSTSEvent[\"STSStart\"] = \"stsstart\";\n\tSTSEvent[\"STSStop\"] = \"stsstop\";\n\tSTSEvent[\"STSPause\"] = \"stspause\";\n\tSTSEvent[\"STSResume\"] = \"stsresume\";\n\tSTSEvent[\"STSTerminate\"] = \"ststerminate\";\n\tSTSEvent[\"STSUpdateStaticConfig\"] = \"stsupdatestaticconfig\";\n\tSTSEvent[\"STSUpdateDynamicConfig\"] = \"stsupdatedynamicconfig\";\n\tSTSEvent[\"STSSendToRoom\"] = \"sendToRoom\";\n\tSTSEvent[\"connect\"] = \"connect\";\n\treturn STSEvent;\n}({});\n//#endregion\n//#region src/socketIoClient.ts\nvar import_tiny_emitter = require_tiny_emitter();\nvar SocketIoClient = class extends import_tiny_emitter.TinyEmitter {\n\t#agentManager;\n\t#logger;\n\t#name;\n\t#address;\n\t#socketIoCustomPath;\n\t#authToken;\n\t#socket;\n\t#reconnectTimeout = 2e3;\n\t#ackTimeout = 5e3;\n\t#reconnectTimeoutVal = void 0;\n\tconstructor(name) {\n\t\tsuper();\n\t\tthis.#name = name;\n\t}\n\tget logPrefix() {\n\t\treturn `SocketIoClient[${this.#name}]:`;\n\t}\n\tLogDebugMessage(message) {\n\t\tif (this.#logger) this.#logger.debug(`${this.logPrefix}${message}`);\n\t}\n\tLogErrorMessage(message) {\n\t\tif (this.#logger) this.#logger.error(`${this.logPrefix}${message}`);\n\t}\n\tLogWarningMessage(message) {\n\t\tif (this.#logger) this.#logger.warn(`${this.logPrefix}${message}`);\n\t}\n\tget name() {\n\t\treturn this.#name;\n\t}\n\tget reconnectTimeout() {\n\t\treturn this.#reconnectTimeout;\n\t}\n\tget agentManager() {\n\t\treturn this.#agentManager;\n\t}\n\tget logger() {\n\t\treturn this.#logger;\n\t}\n\tget address() {\n\t\treturn this.#address;\n\t}\n\tget authToken() {\n\t\treturn this.#authToken;\n\t}\n\tget socketIoCustomPath() {\n\t\treturn this.#socketIoCustomPath;\n\t}\n\tget socket() {\n\t\treturn this.#socket;\n\t}\n\tget ackTimeout() {\n\t\treturn this.#ackTimeout;\n\t}\n\tWithAckTimeout(ackTimeout) {\n\t\tthis.#ackTimeout = ackTimeout;\n\t\treturn this;\n\t}\n\tWithAddress(address) {\n\t\tthis.#address = address;\n\t\treturn this;\n\t}\n\tWithAuthToken(authToken) {\n\t\tthis.#authToken = authToken;\n\t\treturn this;\n\t}\n\tWithSocketIoCustomPath(socketIoCustomPath) {\n\t\tthis.#socketIoCustomPath = socketIoCustomPath;\n\t\treturn this;\n\t}\n\tWithLogger(logger) {\n\t\tthis.#logger = logger;\n\t\treturn this;\n\t}\n\tWithAgentManager(agentManager) {\n\t\tthis.#agentManager = agentManager;\n\t\treturn this;\n\t}\n\tWithReconnectTimeout(reconnectTimeout) {\n\t\tthis.#reconnectTimeout = reconnectTimeout;\n\t\treturn this;\n\t}\n\tSetupSocket() {\n\t\tif (!this.#address) throw new Error(`SocketIoClient:SetupSocket(): Error: [address not provided]`);\n\t\tthis.#EstablishSocketConnect();\n\t\treturn this;\n\t}\n\tEngineError(error) {}\n\tEngineReconnectError(error) {}\n\tEngineConnectError(error) {}\n\tEngineReconnect(attempt) {}\n\t#EstablishSocketConnect() {\n\t\tif (this.#socket !== void 0) {\n\t\t\tthis.ResetSocket();\n\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\treturn;\n\t\t}\n\t\tlet socketOptions;\n\t\tif (isNode) {\n\t\t\tsocketOptions = { transports: [\"websocket\"] };\n\t\t\tif (this.#agentManager) {\n\t\t\t\tif (!this.#address) {\n\t\t\t\t\tconst message = `SocketIoClient:#EstablishSocketConnect(): Error: [address not provided when using agentManager]`;\n\t\t\t\t\tthis.LogErrorMessage(message);\n\t\t\t\t\tthrow new Error(message);\n\t\t\t\t}\n\t\t\t\tsocketOptions.agent = this.#agentManager.GetAgent(this.#address);\n\t\t\t}\n\t\t} else socketOptions = { transports: [\"websocket\"] };\n\t\tsocketOptions.ackTimeout = this.#ackTimeout;\n\t\tif (this.#authToken) socketOptions.auth = (cb) => {\n\t\t\tcb({ token: this.#authToken });\n\t\t};\n\t\tif (this.#socketIoCustomPath && this.#socketIoCustomPath.localeCompare(\"\") !== 0) socketOptions.path = this.#socketIoCustomPath;\n\t\tthis.#socket = io(this.#address, socketOptions);\n\t\tthis.#socket.io.on(\"error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.io.on('error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineError(err);\n\t\t});\n\t\tthis.#socket.io.on(\"reconnect_error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.io.on('reconnect_error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineReconnectError(err);\n\t\t});\n\t\tthis.#socket.on(\"connect_error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.on('connect_error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineConnectError(err);\n\t\t});\n\t\tthis.#socket.io.on(\"reconnect\", (attempt) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient:socket.io.on('reconnect'): Number: [${attempt}] Address: [${this.#address}]`);\n\t\t\tthis.EngineReconnect(attempt);\n\t\t});\n\t\tthis.#socket.on(\"connect\", () => {\n\t\t\tif (this.#socket) {\n\t\t\t\tthis.LogDebugMessage(`SocketIoClient:on(\"connect\"): Socket: [${this.#socket.id}]: connected, Address: [${this.#address}]`);\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.SocketConnect(this.#socket);\n\t\t\t\t}, 0);\n\t\t\t\tthis.SetupSocketEvents(this.#socket);\n\t\t\t} else {\n\t\t\t\tconst errorMessage = \"SocketIoClient:on(\\\"connect\\\"): Could not get socket object from socket.io, Address: [${socketDetail.address}]\";\n\t\t\t\tthis.LogErrorMessage(errorMessage);\n\t\t\t\tthis.SocketConnectError(/* @__PURE__ */ new Error(errorMessage));\n\t\t\t}\n\t\t});\n\t\tthis.#socket.on(\"disconnect\", (reason) => {\n\t\t\tthis.LogDebugMessage(\"socket disconnect: \" + reason);\n\t\t\tthis.SocketDisconnect(reason);\n\t\t\tswitch (reason) {\n\t\t\t\tcase \"io server disconnect\":\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The server disconnected using disconnectSockets, i.e. normal safe shutdown from explicit disconnection by the server.\");\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will be re-established when the server becomes available.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"io client disconnect\":\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The client disconnected using disconnectSockets, i.e. normal safe disconnection from explicit disconnection by the client.\");\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will not be re-established automatically.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"transport close\":\n\t\t\t\tcase \"ping timeout\":\n\t\t\t\tcase \"transport error\":\n\t\t\t\t\tthis.LogDebugMessage(`SocketIoClient:on(\"disconnect\"): Server unexpectedly disconnected. Reason: [${reason}]`);\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will be re-established when the server becomes available.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\t}\n\t\t});\n\t}\n\tResetSocket = () => {\n\t\ttry {\n\t\t\tif (this.#reconnectTimeoutVal !== void 0) {\n\t\t\t\tclearTimeout(this.#reconnectTimeoutVal);\n\t\t\t\tthis.#reconnectTimeoutVal = void 0;\n\t\t\t}\n\t\t\tif (this.#socket) {\n\t\t\t\tthis.#socket.removeAllListeners();\n\t\t\t\tthis.#socket.io.removeAllListeners();\n\t\t\t\tif (this.#socket.connected === true) this.#socket.disconnect();\n\t\t\t\tif (isNode) {\n\t\t\t\t\tif (this.#agentManager) this.#agentManager.ResetAgent();\n\t\t\t\t}\n\t\t\t\tthis.#socket = void 0;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconst errorMessage = `SocketIoClient:ResetSocket(): Error: [${error}]`;\n\t\t\tthis.LogErrorMessage(errorMessage);\n\t\t\tthis.SocketConnectError(new Error(errorMessage));\n\t\t}\n\t};\n\tDisconnect = () => {\n\t\tthis.#socket?.disconnect();\n\t};\n};\n//#endregion\nexport { STSEvent, STSNamespace, STSRoom, SocketIoClient };\n\n//# sourceMappingURL=index.mjs.map","import { TinyEmitter } from \"tiny-emitter\";\nimport { Gauge, GaugeTypes, InstrumentGauge, InstrumentHistogram, InstrumentLog, InstrumentObject, InstrumentTimerGauge, InstrumentVelocity, StopInstruments } from \"@nsshunt/stsobservability\";\nimport axios from \"axios\";\nimport { STSAxiosConfig, defaultLogger, isNode } from \"@nsshunt/stsutils\";\nimport { SocketIoClient } from \"@nsshunt/stssocketioutils\";\n//#region src/commonTypes.ts\nvar SubscriptionTopic = /* @__PURE__ */ function(SubscriptionTopic) {\n\tSubscriptionTopic[\"AllServicesCombined\"] = \"AllServicesCombined\";\n\tSubscriptionTopic[\"Services\"] = \"Services\";\n\tSubscriptionTopic[\"ServiceInstances\"] = \"ServiceInstances\";\n\tSubscriptionTopic[\"ServiceInstance\"] = \"ServiceInstance\";\n\tSubscriptionTopic[\"AllAgentsCombined\"] = \"AllAgentsCombined\";\n\tSubscriptionTopic[\"Agents\"] = \"Agents\";\n\tSubscriptionTopic[\"AgentWorkers\"] = \"AgentWorkers\";\n\tSubscriptionTopic[\"AgentWorker\"] = \"AgentWorker\";\n\tSubscriptionTopic[\"AllLambdasCombined\"] = \"AllLambdasCombined\";\n\tSubscriptionTopic[\"LambdaTechnologies\"] = \"LambdaTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologies\"] = \"LambdaSubTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologiesInstance\"] = \"LambdaSubTechnologiesInstance\";\n\tSubscriptionTopic[\"LogProcessing\"] = \"LogProcessing\";\n\treturn SubscriptionTopic;\n}({});\nvar GetSocketIOSubscriptionKey = (subscriptionKey) => {\n\treturn `SubscriptionData_${subscriptionKey.id}`;\n};\nvar KAFKA_PREFIX = \"__STS__\";\nvar TransportType = /* @__PURE__ */ function(TransportType) {\n\tTransportType[TransportType[\"none\"] = 0] = \"none\";\n\tTransportType[TransportType[\"IPC\"] = 1] = \"IPC\";\n\tTransportType[TransportType[\"websocket\"] = 2] = \"websocket\";\n\tTransportType[TransportType[\"RESTAPI\"] = 4] = \"RESTAPI\";\n\tTransportType[TransportType[\"redis\"] = 8] = \"redis\";\n\tTransportType[TransportType[\"kafka\"] = 16] = \"kafka\";\n\tTransportType[TransportType[\"influxdb\"] = 32] = \"influxdb\";\n\tTransportType[TransportType[\"prometheus\"] = 64] = \"prometheus\";\n\tTransportType[TransportType[\"gRPC\"] = 128] = \"gRPC\";\n\tTransportType[TransportType[\"unixsocket\"] = 256] = \"unixsocket\";\n\tTransportType[TransportType[\"socketio\"] = 512] = \"socketio\";\n\tTransportType[TransportType[\"otelcollector\"] = 1024] = \"otelcollector\";\n\tTransportType[TransportType[\"messageport\"] = 2048] = \"messageport\";\n\tTransportType[TransportType[\"jsonrpc\"] = 4096] = \"jsonrpc\";\n\tTransportType[TransportType[\"postgresql\"] = 8192] = \"postgresql\";\n\tTransportType[TransportType[\"grafanaloki\"] = 16384] = \"grafanaloki\";\n\tTransportType[TransportType[\"logstash\"] = 32768] = \"logstash\";\n\tTransportType[TransportType[\"fluentbit\"] = 65536] = \"fluentbit\";\n\tTransportType[TransportType[\"fluentd\"] = 131072] = \"fluentd\";\n\tTransportType[TransportType[\"inmemory\"] = 262144] = \"inmemory\";\n\treturn TransportType;\n}({});\nfunction GetTransportMode(transport) {\n\tlet trans = 0;\n\ttry {\n\t\ttransport.split(\"|\").forEach((item) => {\n\t\t\tswitch (item) {\n\t\t\t\tcase \"IPC\":\n\t\t\t\t\ttrans |= 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"websocket\":\n\t\t\t\t\ttrans |= 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RESTAPI\":\n\t\t\t\t\ttrans |= 4;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"redis\":\n\t\t\t\t\ttrans |= 8;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"kafka\":\n\t\t\t\t\ttrans |= 16;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"influxdb\":\n\t\t\t\t\ttrans |= 32;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"prometheus\":\n\t\t\t\t\ttrans |= 64;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gRPC\":\n\t\t\t\t\ttrans |= 128;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"unixsocket\":\n\t\t\t\t\ttrans |= 256;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"socketio\":\n\t\t\t\t\ttrans |= 512;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"otelcollector\":\n\t\t\t\t\ttrans |= 1024;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"messageport\":\n\t\t\t\t\ttrans |= 2048;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"jsonrpc\":\n\t\t\t\t\ttrans |= 4096;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"postgresql\":\n\t\t\t\t\ttrans |= 8192;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"grafanaloki\":\n\t\t\t\t\ttrans |= 16384;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"logstash\":\n\t\t\t\t\ttrans |= 32768;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentbit\":\n\t\t\t\t\ttrans |= 65536;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentd\":\n\t\t\t\t\ttrans |= 131072;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inmemory\": trans |= 262144;\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tthrow new Error(`GetTransportMode(): Error: [${error}]`);\n\t}\n\treturn trans;\n}\nvar InstrumentPayloadType = /* @__PURE__ */ function(InstrumentPayloadType) {\n\tInstrumentPayloadType[\"agent\"] = \"agent\";\n\tInstrumentPayloadType[\"service\"] = \"service\";\n\treturn InstrumentPayloadType;\n}({});\n//#endregion\n//#region src/publish/middleware/requestLoggerMiddleware.ts\nvar RequestLoggerMiddlewareEventName = /* @__PURE__ */ function(RequestLoggerMiddlewareEventName) {\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_DEC\"] = \"UpdateInstrument_AR_DEC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_INC\"] = \"UpdateInstrument_AR_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_RC_INC\"] = \"UpdateInstrument_RC_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_V_INC\"] = \"UpdateInstrument_V_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_DH_VAL\"] = \"UpdateInstrument_DH_VAL\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_D_VAL\"] = \"UpdateInstrument_D_VAL\";\n\treturn RequestLoggerMiddlewareEventName;\n}({});\nvar RequestLoggerMiddleware = class {\n\toptions;\n\t#tinyEmitter = new TinyEmitter();\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\ton(eventName, callBackFn) {\n\t\tthis.#tinyEmitter.on(eventName, callBackFn);\n\t}\n\t#RequestCompleted = (start, req) => {\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_AR_DEC\");\n\t\tconst end = performance.now() - start;\n\t\tconst timeInMs = parseFloat(end.toFixed(4));\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_DH_VAL\", timeInMs);\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_D_VAL\", {\n\t\t\ttimeInMs,\n\t\t\tserializableReq: {\n\t\t\t\tmethod: req.method,\n\t\t\t\turl: req.originalUrl,\n\t\t\t\theaders: req.headers,\n\t\t\t\tquery: req.query,\n\t\t\t\tparams: req.params,\n\t\t\t\tbody: req.body,\n\t\t\t\tip: req.ip\n\t\t\t}\n\t\t});\n\t};\n\t/**\n\t* Use with .bind(class instance).\n\t* Example;\n\t* ---\n\t* `let requestLoggerMiddleware = new RequestLoggerMiddleware();\n\t* app.use(requestLoggerMiddleware.Middleware.bind(requestLoggerMiddleware));`\n\t* @param {*} req\n\t* @param {*} res\n\t* @param {*} next\n\t* @returns\n\t*/\n\tMiddleware = async (req, res, next) => {\n\t\tif (this.options.ignoresocketio && req.originalUrl.includes(\"socket.io\")) return next();\n\t\tconst start = performance.now();\n\t\tlet completed = false;\n\t\tconst completeOnce = (req) => {\n\t\t\tif (completed) return;\n\t\t\tcompleted = true;\n\t\t\tthis.#RequestCompleted(start, req);\n\t\t};\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_AR_INC\");\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_RC_INC\");\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_V_INC\");\n\t\treq.on(\"aborted\", () => {});\n\t\treq.on(\"end\", () => {});\n\t\tres.on(\"close\", () => {\n\t\t\tcompleteOnce(req);\n\t\t});\n\t\tres.on(\"finish\", () => {\n\t\t\tcompleteOnce(req);\n\t\t});\n\t\tnext();\n\t};\n};\n//#endregion\n//#region node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\u001B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\u001B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles$1 = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29]\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39],\n\t\tgrey: [90, 39],\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39]\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49],\n\t\tbgGrey: [100, 49],\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49]\n\t}\n};\nObject.keys(styles$1.modifier);\nvar foregroundColorNames = Object.keys(styles$1.color);\nvar backgroundColorNames = Object.keys(styles$1.bgColor);\n[...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n\tconst codes = /* @__PURE__ */ new Map();\n\tfor (const [groupName, group] of Object.entries(styles$1)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles$1[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\t\t\tgroup[styleName] = styles$1[styleName];\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\t\tObject.defineProperty(styles$1, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\tObject.defineProperty(styles$1, \"codes\", {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\tstyles$1.color.close = \"\\x1B[39m\";\n\tstyles$1.bgColor.close = \"\\x1B[49m\";\n\tstyles$1.color.ansi = wrapAnsi16();\n\tstyles$1.color.ansi256 = wrapAnsi256();\n\tstyles$1.color.ansi16m = wrapAnsi16m();\n\tstyles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\tObject.defineProperties(styles$1, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) return 16;\n\t\t\t\t\tif (red > 248) return 231;\n\t\t\t\t\treturn Math.round((red - 8) / 247 * 24) + 232;\n\t\t\t\t}\n\t\t\t\treturn 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) return [\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t\t0\n\t\t\t\t];\n\t\t\t\tlet [colorString] = matches;\n\t\t\t\tif (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join(\"\");\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\t\t\t\treturn [\n\t\t\t\t\tinteger >> 16 & 255,\n\t\t\t\t\tinteger >> 8 & 255,\n\t\t\t\t\tinteger & 255\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),\n\t\t\tenumerable: false\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) return 30 + code;\n\t\t\t\tif (code < 16) return 90 + (code - 8);\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = ((code - 232) * 10 + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\t\t\t\t\tconst remainder = code % 36;\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = remainder % 6 / 5;\n\t\t\t\t}\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\t\t\t\tif (value === 0) return 30;\n\t\t\t\tlet result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n\t\t\t\tif (value === 2) result += 60;\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),\n\t\t\tenumerable: false\n\t\t}\n\t});\n\treturn styles$1;\n}\nvar ansiStyles = assembleStyles();\n//#endregion\n//#region node_modules/chalk/source/vendor/supports-color/browser.js\nvar level = (() => {\n\tif (!(\"navigator\" in globalThis)) return 0;\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({ brand }) => brand === \"Chromium\");\n\t\tif (brand && brand.version > 93) return 3;\n\t}\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) return 1;\n\treturn 0;\n})();\nvar colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3\n};\nvar supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport\n};\n//#endregion\n//#region node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) return string;\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\tconst gotCR = string[index - 1] === \"\\r\";\n\t\treturnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf(\"\\n\", endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n//#endregion\n//#region node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supportsColor;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n\t\"ansi\",\n\t\"ansi\",\n\t\"ansi256\",\n\t\"ansi16m\"\n];\nvar styles = Object.create(null);\nvar applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error(\"The `level` option should be an integer from 0 to 3\");\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n\tconst chalk = (...strings) => strings.join(\" \");\n\tapplyOptions(chalk, options);\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\treturn chalk;\n};\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {\n\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\tObject.defineProperty(this, styleName, { value: builder });\n\treturn builder;\n} };\nstyles.visible = { get() {\n\tconst builder = createBuilder(this, this[STYLER], true);\n\tObject.defineProperty(this, \"visible\", { value: builder });\n\treturn builder;\n} };\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === \"rgb\") {\n\t\tif (level === \"ansi16m\") return ansiStyles[type].ansi16m(...arguments_);\n\t\tif (level === \"ansi256\") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\tif (model === \"hex\") return getModelAnsi(\"rgb\", level, type, ...ansiStyles.hexToRgb(...arguments_));\n\treturn ansiStyles[type][model](...arguments_);\n};\nfor (const model of [\n\t\"rgb\",\n\t\"hex\",\n\t\"ansi256\"\n]) {\n\tstyles[model] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n\tconst bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n}\nvar proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t}\n\t}\n});\nvar createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === void 0) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\nvar createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n\tObject.setPrototypeOf(builder, proto);\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\treturn builder;\n};\nvar applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) return self[IS_EMPTY] ? \"\" : string;\n\tlet styler = self[STYLER];\n\tif (styler === void 0) return string;\n\tconst { openAll, closeAll } = styler;\n\tif (string.includes(\"\\x1B\")) while (styler !== void 0) {\n\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\t\tstyler = styler.parent;\n\t}\n\tconst lfIndex = string.indexOf(\"\\n\");\n\tif (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\treturn openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles);\nvar chalk = createChalk();\ncreateChalk({ level: stderrColor ? stderrColor.level : 0 });\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs\nfunction utf8Count(str) {\n\tconst strLength = str.length;\n\tlet byteLength = 0;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\tbyteLength++;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) byteLength += 2;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) byteLength += 3;\n\t\t\telse byteLength += 4;\n\t\t}\n\t}\n\treturn byteLength;\n}\nfunction utf8EncodeJs(str, output, outputOffset) {\n\tconst strLength = str.length;\n\tlet offset = outputOffset;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\toutput[offset++] = value;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) output[offset++] = value >> 6 & 31 | 192;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) {\n\t\t\t\toutput[offset++] = value >> 12 & 15 | 224;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t} else {\n\t\t\t\toutput[offset++] = value >> 18 & 7 | 240;\n\t\t\t\toutput[offset++] = value >> 12 & 63 | 128;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t}\n\t\t}\n\t\toutput[offset++] = value & 63 | 128;\n\t}\n}\nvar sharedTextEncoder = new TextEncoder();\nvar TEXT_ENCODER_THRESHOLD = 50;\nfunction utf8EncodeTE(str, output, outputOffset) {\n\tsharedTextEncoder.encodeInto(str, output.subarray(outputOffset));\n}\nfunction utf8Encode(str, output, outputOffset) {\n\tif (str.length > TEXT_ENCODER_THRESHOLD) utf8EncodeTE(str, output, outputOffset);\n\telse utf8EncodeJs(str, output, outputOffset);\n}\nnew TextDecoder();\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs\n/**\n* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.\n*/\nvar ExtData = class {\n\ttype;\n\tdata;\n\tconstructor(type, data) {\n\t\tthis.type = type;\n\t\tthis.data = data;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs\nvar DecodeError = class DecodeError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tconst proto = Object.create(DecodeError.prototype);\n\t\tObject.setPrototypeOf(this, proto);\n\t\tObject.defineProperty(this, \"name\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: DecodeError.name\n\t\t});\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs\nfunction setUint64(view, offset, value) {\n\tconst high = value / 4294967296;\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction setInt64(view, offset, value) {\n\tconst high = Math.floor(value / 4294967296);\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction getInt64(view, offset) {\n\tconst high = view.getInt32(offset);\n\tconst low = view.getUint32(offset + 4);\n\treturn high * 4294967296 + low;\n}\nvar TIMESTAMP32_MAX_SEC = 4294967295;\nvar TIMESTAMP64_MAX_SEC = 17179869183;\nfunction encodeTimeSpecToTimestamp({ sec, nsec }) {\n\tif (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) {\n\t\tif (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {\n\t\t\tconst rv = /* @__PURE__ */ new Uint8Array(4);\n\t\t\tnew DataView(rv.buffer).setUint32(0, sec);\n\t\t\treturn rv;\n\t\t} else {\n\t\t\tconst secHigh = sec / 4294967296;\n\t\t\tconst secLow = sec & 4294967295;\n\t\t\tconst rv = /* @__PURE__ */ new Uint8Array(8);\n\t\t\tconst view = new DataView(rv.buffer);\n\t\t\tview.setUint32(0, nsec << 2 | secHigh & 3);\n\t\t\tview.setUint32(4, secLow);\n\t\t\treturn rv;\n\t\t}\n\t} else {\n\t\tconst rv = /* @__PURE__ */ new Uint8Array(12);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec);\n\t\tsetInt64(view, 4, sec);\n\t\treturn rv;\n\t}\n}\nfunction encodeDateToTimeSpec(date) {\n\tconst msec = date.getTime();\n\tconst sec = Math.floor(msec / 1e3);\n\tconst nsec = (msec - sec * 1e3) * 1e6;\n\tconst nsecInSec = Math.floor(nsec / 1e9);\n\treturn {\n\t\tsec: sec + nsecInSec,\n\t\tnsec: nsec - nsecInSec * 1e9\n\t};\n}\nfunction encodeTimestampExtension(object) {\n\tif (object instanceof Date) return encodeTimeSpecToTimestamp(encodeDateToTimeSpec(object));\n\telse return null;\n}\nfunction decodeTimestampToTimeSpec(data) {\n\tconst view = new DataView(data.buffer, data.byteOffset, data.byteLength);\n\tswitch (data.byteLength) {\n\t\tcase 4: return {\n\t\t\tsec: view.getUint32(0),\n\t\t\tnsec: 0\n\t\t};\n\t\tcase 8: {\n\t\t\tconst nsec30AndSecHigh2 = view.getUint32(0);\n\t\t\tconst secLow32 = view.getUint32(4);\n\t\t\treturn {\n\t\t\t\tsec: (nsec30AndSecHigh2 & 3) * 4294967296 + secLow32,\n\t\t\t\tnsec: nsec30AndSecHigh2 >>> 2\n\t\t\t};\n\t\t}\n\t\tcase 12: return {\n\t\t\tsec: getInt64(view, 4),\n\t\t\tnsec: view.getUint32(0)\n\t\t};\n\t\tdefault: throw new DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${data.length}`);\n\t}\n}\nfunction decodeTimestampExtension(data) {\n\tconst timeSpec = decodeTimestampToTimeSpec(data);\n\treturn /* @__PURE__ */ new Date(timeSpec.sec * 1e3 + timeSpec.nsec / 1e6);\n}\nvar timestampExtension = {\n\ttype: -1,\n\tencode: encodeTimestampExtension,\n\tdecode: decodeTimestampExtension\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs\nvar ExtensionCodec = class ExtensionCodec {\n\tstatic defaultCodec = new ExtensionCodec();\n\t__brand;\n\tbuiltInEncoders = [];\n\tbuiltInDecoders = [];\n\tencoders = [];\n\tdecoders = [];\n\tconstructor() {\n\t\tthis.register(timestampExtension);\n\t}\n\tregister({ type, encode, decode }) {\n\t\tif (type >= 0) {\n\t\t\tthis.encoders[type] = encode;\n\t\t\tthis.decoders[type] = decode;\n\t\t} else {\n\t\t\tconst index = -1 - type;\n\t\t\tthis.builtInEncoders[index] = encode;\n\t\t\tthis.builtInDecoders[index] = decode;\n\t\t}\n\t}\n\ttryToEncode(object, context) {\n\t\tfor (let i = 0; i < this.builtInEncoders.length; i++) {\n\t\t\tconst encodeExt = this.builtInEncoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(-1 - i, data);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < this.encoders.length; i++) {\n\t\t\tconst encodeExt = this.encoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(i, data);\n\t\t\t}\n\t\t}\n\t\tif (object instanceof ExtData) return object;\n\t\treturn null;\n\t}\n\tdecode(data, type, context) {\n\t\tconst decodeExt = type < 0 ? this.builtInDecoders[-1 - type] : this.decoders[type];\n\t\tif (decodeExt) return decodeExt(data, type, context);\n\t\telse return new ExtData(type, data);\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs\nfunction isArrayBufferLike(buffer) {\n\treturn buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== \"undefined\" && buffer instanceof SharedArrayBuffer;\n}\nfunction ensureUint8Array(buffer) {\n\tif (buffer instanceof Uint8Array) return buffer;\n\telse if (ArrayBuffer.isView(buffer)) return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n\telse if (isArrayBufferLike(buffer)) return new Uint8Array(buffer);\n\telse return Uint8Array.from(buffer);\n}\nvar Encoder = class Encoder {\n\textensionCodec;\n\tcontext;\n\tuseBigInt64;\n\tmaxDepth;\n\tinitialBufferSize;\n\tsortKeys;\n\tforceFloat32;\n\tignoreUndefined;\n\tforceIntegerToFloat;\n\tpos;\n\tview;\n\tbytes;\n\tentered = false;\n\tconstructor(options) {\n\t\tthis.extensionCodec = options?.extensionCodec ?? ExtensionCodec.defaultCodec;\n\t\tthis.context = options?.context;\n\t\tthis.useBigInt64 = options?.useBigInt64 ?? false;\n\t\tthis.maxDepth = options?.maxDepth ?? 100;\n\t\tthis.initialBufferSize = options?.initialBufferSize ?? 2048;\n\t\tthis.sortKeys = options?.sortKeys ?? false;\n\t\tthis.forceFloat32 = options?.forceFloat32 ?? false;\n\t\tthis.ignoreUndefined = options?.ignoreUndefined ?? false;\n\t\tthis.forceIntegerToFloat = options?.forceIntegerToFloat ?? false;\n\t\tthis.pos = 0;\n\t\tthis.view = new DataView(new ArrayBuffer(this.initialBufferSize));\n\t\tthis.bytes = new Uint8Array(this.view.buffer);\n\t}\n\tclone() {\n\t\treturn new Encoder({\n\t\t\textensionCodec: this.extensionCodec,\n\t\t\tcontext: this.context,\n\t\t\tuseBigInt64: this.useBigInt64,\n\t\t\tmaxDepth: this.maxDepth,\n\t\t\tinitialBufferSize: this.initialBufferSize,\n\t\t\tsortKeys: this.sortKeys,\n\t\t\tforceFloat32: this.forceFloat32,\n\t\t\tignoreUndefined: this.ignoreUndefined,\n\t\t\tforceIntegerToFloat: this.forceIntegerToFloat\n\t\t});\n\t}\n\treinitializeState() {\n\t\tthis.pos = 0;\n\t}\n\t/**\n\t* This is almost equivalent to {@link Encoder#encode}, but it returns an reference of the encoder's internal buffer and thus much faster than {@link Encoder#encode}.\n\t*\n\t* @returns Encodes the object and returns a shared reference the encoder's internal buffer.\n\t*/\n\tencodeSharedRef(object) {\n\t\tif (this.entered) return this.clone().encodeSharedRef(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.subarray(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\t/**\n\t* @returns Encodes the object and returns a copy of the encoder's internal buffer.\n\t*/\n\tencode(object) {\n\t\tif (this.entered) return this.clone().encode(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.slice(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\tdoEncode(object, depth) {\n\t\tif (depth > this.maxDepth) throw new Error(`Too deep objects in depth ${depth}`);\n\t\tif (object == null) this.encodeNil();\n\t\telse if (typeof object === \"boolean\") this.encodeBoolean(object);\n\t\telse if (typeof object === \"number\") {\n\t\t\tif (!this.forceIntegerToFloat) this.encodeNumber(object);\n\t\t\telse this.encodeNumberAsFloat(object);\n\t\t} else if (typeof object === \"string\") this.encodeString(object);\n\t\telse if (this.useBigInt64 && typeof object === \"bigint\") this.encodeBigInt64(object);\n\t\telse this.encodeObject(object, depth);\n\t}\n\tensureBufferSizeToWrite(sizeToWrite) {\n\t\tconst requiredSize = this.pos + sizeToWrite;\n\t\tif (this.view.byteLength < requiredSize) this.resizeBuffer(requiredSize * 2);\n\t}\n\tresizeBuffer(newSize) {\n\t\tconst newBuffer = new ArrayBuffer(newSize);\n\t\tconst newBytes = new Uint8Array(newBuffer);\n\t\tconst newView = new DataView(newBuffer);\n\t\tnewBytes.set(this.bytes);\n\t\tthis.view = newView;\n\t\tthis.bytes = newBytes;\n\t}\n\tencodeNil() {\n\t\tthis.writeU8(192);\n\t}\n\tencodeBoolean(object) {\n\t\tif (object === false) this.writeU8(194);\n\t\telse this.writeU8(195);\n\t}\n\tencodeNumber(object) {\n\t\tif (!this.forceIntegerToFloat && Number.isSafeInteger(object)) {\n\t\t\tif (object >= 0) {\n\t\t\t\tif (object < 128) this.writeU8(object);\n\t\t\t\telse if (object < 256) {\n\t\t\t\t\tthis.writeU8(204);\n\t\t\t\t\tthis.writeU8(object);\n\t\t\t\t} else if (object < 65536) {\n\t\t\t\t\tthis.writeU8(205);\n\t\t\t\t\tthis.writeU16(object);\n\t\t\t\t} else if (object < 4294967296) {\n\t\t\t\t\tthis.writeU8(206);\n\t\t\t\t\tthis.writeU32(object);\n\t\t\t\t} else if (!this.useBigInt64) {\n\t\t\t\t\tthis.writeU8(207);\n\t\t\t\t\tthis.writeU64(object);\n\t\t\t\t} else this.encodeNumberAsFloat(object);\n\t\t\t} else if (object >= -32) this.writeU8(224 | object + 32);\n\t\t\telse if (object >= -128) {\n\t\t\t\tthis.writeU8(208);\n\t\t\t\tthis.writeI8(object);\n\t\t\t} else if (object >= -32768) {\n\t\t\t\tthis.writeU8(209);\n\t\t\t\tthis.writeI16(object);\n\t\t\t} else if (object >= -2147483648) {\n\t\t\t\tthis.writeU8(210);\n\t\t\t\tthis.writeI32(object);\n\t\t\t} else if (!this.useBigInt64) {\n\t\t\t\tthis.writeU8(211);\n\t\t\t\tthis.writeI64(object);\n\t\t\t} else this.encodeNumberAsFloat(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t}\n\tencodeNumberAsFloat(object) {\n\t\tif (this.forceFloat32) {\n\t\t\tthis.writeU8(202);\n\t\t\tthis.writeF32(object);\n\t\t} else {\n\t\t\tthis.writeU8(203);\n\t\t\tthis.writeF64(object);\n\t\t}\n\t}\n\tencodeBigInt64(object) {\n\t\tif (object >= BigInt(0)) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeBigUint64(object);\n\t\t} else {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeBigInt64(object);\n\t\t}\n\t}\n\twriteStringHeader(byteLength) {\n\t\tif (byteLength < 32) this.writeU8(160 + byteLength);\n\t\telse if (byteLength < 256) {\n\t\t\tthis.writeU8(217);\n\t\t\tthis.writeU8(byteLength);\n\t\t} else if (byteLength < 65536) {\n\t\t\tthis.writeU8(218);\n\t\t\tthis.writeU16(byteLength);\n\t\t} else if (byteLength < 4294967296) {\n\t\t\tthis.writeU8(219);\n\t\t\tthis.writeU32(byteLength);\n\t\t} else throw new Error(`Too long string: ${byteLength} bytes in UTF-8`);\n\t}\n\tencodeString(object) {\n\t\tconst maxHeaderSize = 5;\n\t\tconst byteLength = utf8Count(object);\n\t\tthis.ensureBufferSizeToWrite(maxHeaderSize + byteLength);\n\t\tthis.writeStringHeader(byteLength);\n\t\tutf8Encode(object, this.bytes, this.pos);\n\t\tthis.pos += byteLength;\n\t}\n\tencodeObject(object, depth) {\n\t\tconst ext = this.extensionCodec.tryToEncode(object, this.context);\n\t\tif (ext != null) this.encodeExtension(ext);\n\t\telse if (Array.isArray(object)) this.encodeArray(object, depth);\n\t\telse if (ArrayBuffer.isView(object)) this.encodeBinary(object);\n\t\telse if (typeof object === \"object\") this.encodeMap(object, depth);\n\t\telse throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(object)}`);\n\t}\n\tencodeBinary(object) {\n\t\tconst size = object.byteLength;\n\t\tif (size < 256) {\n\t\t\tthis.writeU8(196);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(197);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(198);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large binary: ${size}`);\n\t\tconst bytes = ensureUint8Array(object);\n\t\tthis.writeU8a(bytes);\n\t}\n\tencodeArray(object, depth) {\n\t\tconst size = object.length;\n\t\tif (size < 16) this.writeU8(144 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(220);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(221);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large array: ${size}`);\n\t\tfor (const item of object) this.doEncode(item, depth + 1);\n\t}\n\tcountWithoutUndefined(object, keys) {\n\t\tlet count = 0;\n\t\tfor (const key of keys) if (object[key] !== void 0) count++;\n\t\treturn count;\n\t}\n\tencodeMap(object, depth) {\n\t\tconst keys = Object.keys(object);\n\t\tif (this.sortKeys) keys.sort();\n\t\tconst size = this.ignoreUndefined ? this.countWithoutUndefined(object, keys) : keys.length;\n\t\tif (size < 16) this.writeU8(128 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(222);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(223);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large map object: ${size}`);\n\t\tfor (const key of keys) {\n\t\t\tconst value = object[key];\n\t\t\tif (!(this.ignoreUndefined && value === void 0)) {\n\t\t\t\tthis.encodeString(key);\n\t\t\t\tthis.doEncode(value, depth + 1);\n\t\t\t}\n\t\t}\n\t}\n\tencodeExtension(ext) {\n\t\tif (typeof ext.data === \"function\") {\n\t\t\tconst data = ext.data(this.pos + 6);\n\t\t\tconst size = data.length;\n\t\t\tif (size >= 4294967296) throw new Error(`Too large extension object: ${size}`);\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t\tthis.writeI8(ext.type);\n\t\t\tthis.writeU8a(data);\n\t\t\treturn;\n\t\t}\n\t\tconst size = ext.data.length;\n\t\tif (size === 1) this.writeU8(212);\n\t\telse if (size === 2) this.writeU8(213);\n\t\telse if (size === 4) this.writeU8(214);\n\t\telse if (size === 8) this.writeU8(215);\n\t\telse if (size === 16) this.writeU8(216);\n\t\telse if (size < 256) {\n\t\t\tthis.writeU8(199);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(200);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large extension object: ${size}`);\n\t\tthis.writeI8(ext.type);\n\t\tthis.writeU8a(ext.data);\n\t}\n\twriteU8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setUint8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU8a(values) {\n\t\tconst size = values.length;\n\t\tthis.ensureBufferSizeToWrite(size);\n\t\tthis.bytes.set(values, this.pos);\n\t\tthis.pos += size;\n\t}\n\twriteI8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setInt8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setUint16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteI16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setInt16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteU32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setUint32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteI32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setInt32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setFloat32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setFloat64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteU64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetUint64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteI64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetInt64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigUint64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigUint64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigInt64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigInt64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/encode.mjs\n/**\n* It encodes `value` in the MessagePack format and\n* returns a byte buffer.\n*\n* The returned buffer is a slice of a larger `ArrayBuffer`, so you have to use its `#byteOffset` and `#byteLength` in order to convert it to another typed arrays including NodeJS `Buffer`.\n*/\nfunction encode(value, options) {\n\treturn new Encoder(options).encodeSharedRef(value);\n}\n//#endregion\n//#region src/publish/publishers/publishTransportRESTServer.ts\nvar PublishTransportRESTServer = class {\n\toptions;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\tPublish = async (payload) => {\n\t\ttry {\n\t\t\tif (this.options.showPublishPayload) {\n\t\t\t\tconsole.log(chalk.grey(`PublishTransportRESTServer::Publish() url: [${this.options.url}]`));\n\t\t\t\tconsole.log(payload);\n\t\t\t}\n\t\t\tconst encodedData = encode(payload, { ignoreUndefined: true });\n\t\t\tconst headers = { \"Content-Type\": \"application/octet-stream\" };\n\t\t\tlet retVal = null;\n\t\t\tif (this.options.socketPath) retVal = await axios({\n\t\t\t\tmethod: \"post\",\n\t\t\t\tdata: Buffer.from(encodedData),\n\t\t\t\theaders,\n\t\t\t\tsocketPath: this.options.socketPath\n\t\t\t});\n\t\t\telse if (isNode) {\n\t\t\t\tif (this.options.agentManager) retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).withAgentManager(this.options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).config);\n\t\t\t} else {\n\t\t\t\tconst blob = new Blob([new Uint8Array(encodedData)], { type: \"application/octet-stream\" });\n\t\t\t\tretVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(blob).config);\n\t\t\t}\n\t\t\tif (retVal.status !== 200) {\n\t\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\tthis.options.logger.debug(chalk.red(`Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\treturn false;\n\t\t\t} else if (this.options.showPublishPayload) console.log(chalk.grey(`PublishTransportRESTServer::Publish() _PerformPublishRESTAPI:_PerformPublish:#publishmessage: [${this.options.url}] - Valid response from server: [${retVal.status}]`));\n\t\t\treturn true;\n\t\t} catch (error) {\n\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (PublishRESTServer:_PerformPublishRESTAPI:Error: [${error}]`));\n\t\t\treturn false;\n\t\t}\n\t};\n\tasync Close() {\n\t\tif (this.options.agentManager) this.options.agentManager.Terminate();\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstruments.ts\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstruments = class {\n\toptions;\n\t#inPublish = false;\n\t#observer = null;\n\t#publishState = 0;\n\t#publisherTransport = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.#publisherTransport = null;\n\t\tswitch (options.publishTransportBaseOptions.transportType) {\n\t\t\tcase TransportType.RESTAPI: this.#publisherTransport = new PublishTransportRESTServer(options.publishTransportBaseOptions);\n\t\t}\n\t\tthis.#UpdateState(0, \"constructor()\");\n\t}\n\tasync Publish() {\n\t\tif (this.#inPublish) return false;\n\t\tif (this.#publisherTransport) try {\n\t\t\tthis.#inPublish = true;\n\t\t\tif (this.options.publishInstrumentController) {\n\t\t\t\tconst instrumentPayload = this.options.publishInstrumentController.GetPayloadData();\n\t\t\t\treturn await this.#publisherTransport.Publish(instrumentPayload);\n\t\t\t}\n\t\t\treturn false;\n\t\t} catch (error) {\n\t\t\treturn false;\n\t\t} finally {\n\t\t\tthis.#inPublish = false;\n\t\t}\n\t\telse return false;\n\t}\n\t#PublishTimeoutLoop(publishInterval) {\n\t\tthis.#observer = setTimeout(async () => {\n\t\t\tconst start = performance.now();\n\t\t\tconst result = await this.Publish();\n\t\t\tconst diff = performance.now() - start;\n\t\t\tif (this.#publishState === 1) {\n\t\t\t\tif (result === true) this.#PublishTimeoutLoop(this.options.publishInterval - diff);\n\t\t\t\telse this.#PublishTimeoutLoop(this.options.publishPostFailInterval - diff);\n\t\t\t}\n\t\t}, publishInterval);\n\t\tif (isNode) this.#observer.unref();\n\t}\n\tasync StartPublish() {\n\t\tif (this.#publishState !== 0) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`StartPublish:${this.options.processContext.nid}: StartPublish called when not currently in the init state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(1, \"StartPublish()\");\n\t\tthis.#PublishTimeoutLoop(this.options.publishInterval);\n\t\treturn true;\n\t}\n\t#UpdateState(newState, comment) {\n\t\tconst previousState = this.#publishState;\n\t\tthis.#publishState = newState;\n\t\tthis.options.logger.debug(chalk.yellow(`#UpdateState:${this.options.processContext.nid}: Previous State: [${previousState}]. Current State: [${this.#publishState}]. Comment: [${comment}]`));\n\t}\n\tasync EndPublish() {\n\t\tif (this.#publishState !== 1) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`EndPublish:${this.options.processContext.nid}: EndPublish called when not within the started state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(2, \"EndPublish() (1)\");\n\t\tif (this.#observer !== null) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tawait this.Publish();\n\t\t}\n\t\tif (this.#publisherTransport) await this.#publisherTransport.Close();\n\t\tthis.#UpdateState(0, \"EndPublish() (2)\");\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstrumentController.ts\nvar ePublishState = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstrumentController = class PublishInstrumentController {\n\toptions;\n\t#instruments = {};\n\t#publisher = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.SetupInstrumentation();\n\t\tconst publishInstrumentsOptions = {\n\t\t\tlogger: options.logger,\n\t\t\tprocessContext: { ...options.processContext },\n\t\t\tpublishInterval: options.publishInterval,\n\t\t\tpublishPostFailInterval: options.publishPostFailInterval,\n\t\t\tpublishInstrumentController: this,\n\t\t\tpublishTransportBaseOptions: { ...options.publishTransportBaseOptions }\n\t\t};\n\t\tthis.#publisher = new PublishInstruments(publishInstrumentsOptions);\n\t\tif (this.options.autoStart === true) this.StartPublish();\n\t}\n\tStopInstruments = () => {\n\t\tStopInstruments(this.#instruments);\n\t};\n\tasync StartPublish() {\n\t\treturn this.#publisher.StartPublish();\n\t}\n\tasync EndPublish() {\n\t\treturn this.#publisher.EndPublish();\n\t}\n\tasync Publish() {\n\t\treturn this.#publisher.Publish();\n\t}\n\tLogEx = (message) => {\n\t\tthis.UpdateInstrument(Gauge.LOGGER, { LogMessage: message });\n\t};\n\t#GetInstrument(instrumentName) {\n\t\treturn this.#instruments[instrumentName];\n\t}\n\t#ProcessTelemetryCommand(instrumentName, telemetry) {\n\t\tconst instrument = this.#GetInstrument(instrumentName);\n\t\tif (instrument) instrument.ProcessTelemetry(telemetry);\n\t}\n\t#CreateInstrument(instrumentType, options) {\n\t\tlet instrument;\n\t\tswitch (instrumentType) {\n\t\t\tcase GaugeTypes.INSTRUMENT_GAUGE:\n\t\t\t\tinstrument = new InstrumentGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_HISTOGRAM:\n\t\t\t\tinstrument = new InstrumentHistogram(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_LOG:\n\t\t\t\tinstrument = new InstrumentLog(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_OBJECT:\n\t\t\t\tinstrument = new InstrumentObject(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_TIMER:\n\t\t\t\tinstrument = new InstrumentTimerGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_VELOCITY:\n\t\t\t\tinstrument = new InstrumentVelocity(options);\n\t\t\t\tbreak;\n\t\t\tdefault: throw new Error(`Gauge type: [${instrumentType} not known.]`);\n\t\t}\n\t\treturn instrument;\n\t}\n\t#CreateInstruments(payload) {\n\t\tpayload.forEach((instrumentDefinition) => {\n\t\t\tconst g = instrumentDefinition[0];\n\t\t\tconst gt = instrumentDefinition[1];\n\t\t\tconst instrumentBaseOptions = instrumentDefinition[2];\n\t\t\tconst instrument = this.#CreateInstrument(gt, instrumentBaseOptions);\n\t\t\tthis.#instruments[g] = instrument;\n\t\t});\n\t}\n\tGetPayloadData() {\n\t\tconst context = this.options.processContext;\n\t\tconst instruments = this.#instruments;\n\t\tconst payloadInstruments = {};\n\t\tfor (const [key, value] of Object.entries(instruments)) if (value instanceof InstrumentLog) payloadInstruments[key] = { ...value.WithUseLatestMessages(true) };\n\t\telse payloadInstruments[key] = { ...value };\n\t\treturn {\n\t\t\tcontext,\n\t\t\tinstruments: payloadInstruments\n\t\t};\n\t}\n\tSetupInstrumentation() {\n\t\tif (!this.options.instrumentDefinitions) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation:${this.options.processContext.nid}: No instrument(s) defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tif (!this.options.processContext) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation: No context defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tthis.#CreateInstruments(this.options.instrumentDefinitions);\n\t}\n\t/**\n\t* Check if an instrument exists within the managed instrument collection\n\t* @param instrumentName\n\t* @returns\n\t*/\n\tInstrumentExists(instrumentName) {\n\t\tif (this.#instruments[instrumentName]) return true;\n\t\treturn false;\n\t}\n\t/**\n\t* Update instrument telemetry.\n\t* @param instrumentName\n\t* @param telemetry\n\t*/\n\tUpdateInstrument(instrumentName, telemetry) {\n\t\tif (this.#instruments[instrumentName]) this.#ProcessTelemetryCommand(instrumentName, telemetry);\n\t\telse this.options.logger.debug(chalk.red(`UpdateInstrument:${this.options.processContext.nid}: Attempted to UpdateInstrument before initialised.`));\n\t}\n\t/**\n\t* Add additional instrument publishers. Usually invoked when adding workers to the app and/or async runners within a worker.\n\t* @param processContext\n\t* @returns Returns the newly created PublishInstrumentController\n\t*/\n\tAddPublishInstrumentController(processContext) {\n\t\tconst options = { ...this.options };\n\t\toptions.processContext = processContext;\n\t\treturn new PublishInstrumentController(options);\n\t}\n};\n//#endregion\n//#region src/publish/stsPluginKeys.ts\nvar STSInstrumentControllerPluginKey = Symbol(\"STSInstrumentControllerPlugin\");\n//#endregion\n//#region src/publish/stsInstrumentControllerPlugin.ts\nvar STSInstrumentControllerPlugin = { install: (app, options) => {\n\tapp.provide(STSInstrumentControllerPluginKey, new PublishInstrumentController(options));\n} };\n//#endregion\n//#region src/globalServiceDefinitions.ts\nvar influxDBDataType = /* @__PURE__ */ function(influxDBDataType) {\n\tinfluxDBDataType[\"intField\"] = \"intField\";\n\tinfluxDBDataType[\"floatField\"] = \"floatField\";\n\tinfluxDBDataType[\"stringField\"] = \"stringField\";\n\treturn influxDBDataType;\n}({});\nvar instrumentationObservationInterval = 1e3;\nvar instrumentationTimeWindow = 600;\nvar globalServiceDefinitions = {\n\tcoreFieldList: [\n\t\t{\n\t\t\tfieldName: \"requestCount\",\n\t\t\tgauge: Gauge.REQUEST_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"errorCount\",\n\t\t\tgauge: Gauge.ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"retryCount\",\n\t\t\tgauge: Gauge.RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationErrorCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationRetryCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"velocity\",\n\t\t\tgauge: Gauge.VELOCITY_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"activeRequestCount\",\n\t\t\tgauge: Gauge.ACTIVE_REQUEST_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfieldName: \"coreCount\",\n\t\t\tgauge: Gauge.CORE_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"rx\",\n\t\t\tgauge: Gauge.NETWORK_RX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"tx\",\n\t\t\tgauge: Gauge.NETWORK_TX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"timer\",\n\t\t\tgauge: Gauge.TIMER_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_TIMER\n\t\t},\n\t\t{\n\t\t\tfieldName: \"duration\",\n\t\t\tgauge: Gauge.DURATION_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.DURATION_HISTOGRAM_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"latency\",\n\t\t\tgauge: Gauge.LATENCY_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.LATENCY_HISTOGRAM_GAUGE\n\t\t}\n\t],\n\tlogFieldList: [{\n\t\tfieldName: \"log\",\n\t\tgauge: Gauge.LOGGER,\n\t\tinstrumentProperty: \"val\",\n\t\tdataType: \"string\",\n\t\ttimeSeriesIndex: false,\n\t\tquantile: false,\n\t\tinfluxdbDataType: \"stringField\",\n\t\tgaugeType: GaugeTypes.INSTRUMENT_LOG,\n\t\tinstrumentOptions: {\n\t\t\tconsoleLogging: false,\n\t\t\tinstrumentLogging: true\n\t\t}\n\t}],\n\tservices: {\n\t\t[\"service\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"serviceId\",\n\t\t\t\t\"serviceName\",\n\t\t\t\t\"serviceVersion\",\n\t\t\t\t\"serviceInstanceId\",\n\t\t\t\t\"serviceInstanceProcessId\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"pid\",\n\t\t\t\t\"ppid\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:serviceIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/serviceTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:serviceIndexInstant\",\n\t\t\t\tinstantPrefix: \"/serviceInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: \"stringField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT,\n\t\t\t\t\tinstrumentOptions: { label: \"InstrumentObjectMaster\" }\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { serviceId, serviceInstanceId, serviceInstanceProcessId } = context;\n\t\t\t\treturn `/${serviceId}/${serviceInstanceId}/${serviceInstanceProcessId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllServicesCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Services,\n\t\t\t\t\troute: \"/metrics/services\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstances,\n\t\t\t\t\troute: \"/metrics/services/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstance,\n\t\t\t\t\troute: \"/metrics/services/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"agent\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"id\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"agentName\",\n\t\t\t\t\"threadId\",\n\t\t\t\t\"asyncRunnerId\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:agentIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/agentTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:agentIndexInstant\",\n\t\t\t\tinstantPrefix: \"/agentInstant:\"\n\t\t\t},\n\t\t\tfieldList: [{\n\t\t\t\tfieldName: \"childCount\",\n\t\t\t\tgauge: Gauge.CHILD_COUNT,\n\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\tdataType: \"number\",\n\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t}],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { agentName, threadId, asyncRunnerId } = context;\n\t\t\t\treturn `/${agentName}/${threadId}/${asyncRunnerId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllAgentsCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Agents,\n\t\t\t\t\troute: \"/metrics/agents\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorkers,\n\t\t\t\t\troute: \"/metrics/agents/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorker,\n\t\t\t\t\troute: \"/metrics/agents/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"lambda\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"technology\",\n\t\t\t\t\"subTechnology\",\n\t\t\t\t\"lambdaFunctionName\",\n\t\t\t\t\"lambdaInstance\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"processId\",\n\t\t\t\t\"parentProcessId\",\n\t\t\t\t\"useCase\",\n\t\t\t\t\"pattern\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:lambdaIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/lambdaTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:lambdaIndexInstant\",\n\t\t\t\tinstantPrefix: \"/lambdaInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: \"stringField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { technology, subTechnology, lambdaInstance } = context;\n\t\t\t\treturn `/${technology}/${subTechnology}/${lambdaInstance}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"technology\",\n\t\t\t\tlevel3ContextField: \"subTechnology\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllLambdasCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologiesInstance,\n\t\t\t\t\troute: \"/metrics/lambdas/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n};\nvar GetInstruments = (service) => {\n\tconst fieldList = [\n\t\t...globalServiceDefinitions.coreFieldList,\n\t\t...globalServiceDefinitions.logFieldList,\n\t\t...globalServiceDefinitions.services[service].fieldList\n\t];\n\tconst retVal = [];\n\tfieldList.forEach((v) => {\n\t\tif (v.instrumentOptions) retVal.push([\n\t\t\tv.gauge,\n\t\t\tv.gaugeType,\n\t\t\tv.instrumentOptions\n\t\t]);\n\t\telse retVal.push([v.gauge, v.gaugeType]);\n\t\tif (v.histo) retVal.push([v.histoGauge, GaugeTypes.INSTRUMENT_HISTOGRAM]);\n\t});\n\treturn retVal;\n};\n//#endregion\n//#region src/subscribe/observabilitymodelutils.ts\nvar ObservabilityModelUtils = class ObservabilityModelUtils {\n\tstatic GetModelNode(data) {\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize)\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeRawStringArray(data) {\n\t\ttry {\n\t\t\treturn { val: data };\n\t\t} catch (error) {\n\t\t\treturn { val: [] };\n\t\t}\n\t}\n\tstatic GetModelNodeObject(data) {\n\t\ttry {\n\t\t\treturn { val: JSON.parse(data) };\n\t\t} catch (error) {\n\t\t\treturn { val: null };\n\t\t}\n\t}\n\tstatic GetModelNodeWithQuantile(data, quantileData) {\n\t\tlet quantile = \"\";\n\t\tconst quantileDataElementArray = [];\n\t\tfor (const [key, val] of Object.entries(quantileData)) {\n\t\t\tquantile += parseFloat(val.toFixed(2)).toString().padStart(8, \" \");\n\t\t\tquantileDataElementArray.push([key, val]);\n\t\t}\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize),\n\t\t\t\tpercentile: quantileDataElementArray,\n\t\t\t\tpercentileFormatted: quantile\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\",\n\t\t\t\tpercentile: [],\n\t\t\t\tpercentileFormatted: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeHistFromInfluxData(data) {\n\t\ttry {\n\t\t\tconst histVal = [];\n\t\t\tif (data) for (const [key, val] of Object.entries(data)) {\n\t\t\t\tconst dataElement = [\n\t\t\t\t\tval,\n\t\t\t\t\tkey,\n\t\t\t\t\tparseInt(key)\n\t\t\t\t];\n\t\t\t\thistVal.push(dataElement);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\treturn { hist: histVal };\n\t\t\t} catch (error) {\n\t\t\t\treturn { hist: [] };\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn { hist: [] };\n\t\t}\n\t}\n\tstatic ParseModelNode = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNode(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNode(): Field not present: [${fieldName}], default to [0]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNode(0);\n\t\t}\n\t};\n\tstatic ParseModelNodeWithQuantile = (model, data, parseLog, gaugeName, fieldName, quantileFieldName) => {\n\t\tif (fieldName in data && quantileFieldName in data) model.instruments[gaugeName] = this.GetModelNodeWithQuantile(data[fieldName], data[quantileFieldName]);\n\t\telse if (fieldName in data) {\n\t\t\tconst dataVal = data[fieldName];\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): QuantileFieldName not present: [${quantileFieldName}], default to [${dataVal},{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(dataVal, {});\n\t\t} else {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): Field not present: [${fieldName}], QuantileFieldName not present: [${quantileFieldName}], default to [0,{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(0, {});\n\t\t}\n\t};\n\tstatic ParseModelNodeHisto = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeHisto(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData({});\n\t\t}\n\t};\n\tstatic ParseModelNodeObject = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeObject(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeObject(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeObject({});\n\t\t}\n\t};\n\tstatic GetModelData(serviceType, model, data, parseLog) {\n\t\t[...globalServiceDefinitions.coreFieldList, ...globalServiceDefinitions.services[serviceType].fieldList].forEach((field) => {\n\t\t\tif (field.quantile) ObservabilityModelUtils.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);\n\t\t\telse if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\telse ObservabilityModelUtils.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\tif (field.histo) ObservabilityModelUtils.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);\n\t\t});\n\t}\n\tstatic GetModelForService(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"service\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForLambda(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"lambda\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForAgent(id, data, logger) {\n\t\ttry {\n\t\t\tif (Object.keys(data).length === 0) return null;\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"agent\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/observabilityPayloadTransformer.ts\nvar runStates = /* @__PURE__ */ function(runStates) {\n\trunStates[\"idle\"] = \"idle\";\n\trunStates[\"started\"] = \"started\";\n\trunStates[\"stopped\"] = \"stopped\";\n\treturn runStates;\n}({});\nvar ObservabilityPayloadTransformer = class {\n\t#serviceModel = {};\n\t#agentModel = {};\n\t#lambdaModel = {};\n\t#options;\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\tget serviceModel() {\n\t\treturn this.#serviceModel;\n\t}\n\tget agentModel() {\n\t\treturn this.#agentModel;\n\t}\n\tget lambdaModel() {\n\t\treturn this.#lambdaModel;\n\t}\n\tTransformSubscriptionPayloadCallback(subscriptionPayload) {\n\t\tswitch (subscriptionPayload.subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\tthis.CreateModelAllServicesCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\tthis.CreateModelServices(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances:\n\t\t\t\tthis.CreateModelServiceInstances(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\tthis.CreateModelServiceInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\tthis.CreateModelAllLambdasCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\tthis.CreateModelLambdaTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies:\n\t\t\t\tthis.CreateModelLambdaSubTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\tthis.CreateModelLambdaSubTechnologiesInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\tthis.CreateModelAllAgentsCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\tthis.CreateModelAgents(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers:\n\t\t\t\tthis.CreateModelAgentWorkers(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorker: this.CreateModelAgentWorker(subscriptionPayload);\n\t\t}\n\t}\n\tCreateModelAllServicesCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined.toString()) === 0) {\n\t\t\t\tthis.#serviceModel[\"STS-Service\"] = ObservabilityModelUtils.GetModelForService(\"STS-Service\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[\"STS-Service\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllServicesCombined():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServices(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, serviceTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#serviceModel[serviceId] = ObservabilityModelUtils.GetModelForService(serviceId, serviceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceId] === null) this.#LogDebugMessage(chalk.red(`CreateModelServices():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstances(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstanceTelemetry] of Object.entries(service)) if (serviceInstanceTelemetry.cpu && serviceInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceId] = ObservabilityModelUtils.GetModelForService(serviceInstanceId, serviceInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceId] !== null) this.#serviceModel[serviceInstanceId].options = { serviceId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstances():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstance] of Object.entries(service)) for (const [serviceInstanceProcessId, serviceInstanceProcessTelemetry] of Object.entries(serviceInstance)) if (serviceInstanceProcessTelemetry.cpu && serviceInstanceProcessTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceProcessId] = ObservabilityModelUtils.GetModelForService(serviceInstanceProcessId, serviceInstanceProcessTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceProcessId] !== null) this.#serviceModel[serviceInstanceProcessId].options = {\n\t\t\t\t\tserviceId,\n\t\t\t\t\tserviceInstanceId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstance():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAllAgentsCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined.toString()) === 0) {\n\t\t\t\tif (Object.keys(subscriptionPayload.data).length !== 0) {\n\t\t\t\t\tthis.#agentModel[\"STS-Agent\"] = ObservabilityModelUtils.GetModelForAgent(\"STS-Agent\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\t\tif (this.#agentModel[\"STS-Agent\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllAgentsCombined():Error: GetModelForAgent() returned null`));\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAgents(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentInstanceTelemetry] of Object.entries(subscriptionPayload.data)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tthis.#agentModel[agentId] = ObservabilityModelUtils.GetModelForAgent(agentId, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[agentId] !== null) {} else this.#LogDebugMessage(chalk.red(`CreateModelAgents():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgent:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorkers(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, agentInstanceTelemetry] of Object.entries(agentWorker)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tconst threadKey = `${agentWorkerId}`;\n\t\t\t\tthis.#agentModel[threadKey] = ObservabilityModelUtils.GetModelForAgent(threadKey, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[threadKey] !== null) {\n\t\t\t\t\tconst coreCount = this.#agentModel[threadKey].instruments[Gauge.CORE_COUNT_GAUGE].val;\n\t\t\t\t\tthis.#agentModel[threadKey].canNavigate = coreCount > 0;\n\t\t\t\t\tthis.#agentModel[threadKey].options = { agentId };\n\t\t\t\t} else this.#LogDebugMessage(chalk.red(`CreateModelAgentWorkers():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThreads:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorker(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, asyncRunnerData] of Object.entries(agentWorker)) for (const [asyncRunnerId, agentInstanceTelemetry] of Object.entries(asyncRunnerData)) if (agentInstanceTelemetry.timer) this.#agentModel[asyncRunnerId] = ObservabilityModelUtils.GetModelForAgent(asyncRunnerId, agentInstanceTelemetry, this.#options.logger);\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThread:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAllLambdasCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined.toString()) === 0) {\n\t\t\t\tthis.#lambdaModel[\"STS-Lambda\"] = ObservabilityModelUtils.GetModelForLambda(\"STS-Lambda\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[\"STS-Lambda\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllLambdasCombined():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#lambdaModel[technologyId] = ObservabilityModelUtils.GetModelForLambda(technologyId, technologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[technologyId] === null) this.#LogDebugMessage(chalk.red(`CreateModelLambdaTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) if (subTechnologyTelemetry.cpu && subTechnologyTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyId, subTechnologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyId] !== null) this.#lambdaModel[subTechnologyId].options = { technologyId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologiesInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) for (const [subTechnologyInstanceId, subTechnologyInstanceTelemetry] of Object.entries(subTechnologyTelemetry)) if (subTechnologyInstanceTelemetry.cpu && subTechnologyInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyInstanceId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyInstanceId, subTechnologyInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyInstanceId] !== null) this.#lambdaModel[subTechnologyInstanceId].options = {\n\t\t\t\t\ttechnologyId,\n\t\t\t\t\tsubTechnologyId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologiesInstance():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/restClientSubscriber.ts\nvar RESTClientSubscriber = class {\n\t#socketSubscribeKeepAlive = {};\n\t#options;\n\tKeepAliveAckBoundFunction;\n\t#currentSubscriptions = [];\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tasync Subscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\ttry {\n\t\t\t\tthis.#AddKeepAlive(subId);\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t});\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): UpdateModelCursor()`));\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tasync #InvokeRESTAPI(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tconst { subscriptionKey } = subscription;\n\t\tlet url = \"\";\n\t\tswitch (subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\turl = `/metrics/services`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/services/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\turl = `/metrics/lambdas`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\turl = `/metrics/agents`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AgentWorker: if (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key and/or subkey not provided for subscription: [${JSON.stringify(subscriptionKey.topic)}]`);\n\t\t}\n\t\tif (url.localeCompare(\"\") !== 0) {\n\t\t\tconst endPointUrl = `${this.#options.urlBase}${url}`;\n\t\t\tlet retVal;\n\t\t\tconst start = performance.now();\n\t\t\ttry {\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): axios call: endPointUrl: [${endPointUrl}]`));\n\t\t\t\tif (isNode && this.#options.agentManager) retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().withAgentManager(this.#options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().config);\n\t\t\t\tif (retVal) {\n\t\t\t\t\tif (retVal.data) {} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal.data`));\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal`));\n\t\t\t\tperformance.now() - start;\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined) === 0) return retVal.data[\"services\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined) === 0) return retVal.data[\"agents\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined) === 0) return retVal.data[\"lambdas\"];\n\t\t\t\treturn retVal.data;\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}], Error: [${error}]`));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else return null;\n\t}\n\t#GetData = async (subscription) => {\n\t\ttry {\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\tconst retVal = await this.#InvokeRESTAPI(subscription);\n\t\t\tif (retVal) {\n\t\t\t\tconst payload = {\n\t\t\t\t\tsubscriptionKey: subscription.subscriptionKey,\n\t\t\t\t\tdata: retVal\n\t\t\t\t};\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\t\tsubscription.cb(payload);\n\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): No data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t}\n\t};\n\t#SetupTimeout(socketSubscribeKeepAlive, subscription, timeout) {\n\t\treturn setTimeout(async () => {\n\t\t\ttry {\n\t\t\t\tconst start = performance.now();\n\t\t\t\tawait this.#GetData(subscription);\n\t\t\t\tif (socketSubscribeKeepAlive.timeout) {\n\t\t\t\t\tconst diff = performance.now() - start;\n\t\t\t\t\tlet timeoutDuration = (this.#options.keepAlive ?? 1e3) - diff;\n\t\t\t\t\tif (timeoutDuration < 500) timeoutDuration = 500;\n\t\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`Total duration for subscription: [${diff}], waiting: [${timeoutDuration}]`));\n\t\t\t\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, timeoutDuration);\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber: Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t\t}\n\t\t}, timeout);\n\t}\n\t#AddKeepAlive(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#RemoveKeepAlive(subscription);\n\t\tconst socketSubscribeKeepAlive = { id: subscription.subscriptionKey.id };\n\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, this.#options.keepAlive ?? 1e3);\n\t\tthis.#socketSubscribeKeepAlive[subscription.subscriptionKey.id] = socketSubscribeKeepAlive;\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): Getting Data: subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#GetData(subscription);\n\t}\n\t#RemoveKeepAlive(subscription) {\n\t\tif (this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id]) {\n\t\t\tthis.#LogDebugMessage(chalk.gray(`RESTClientSubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\t\tclearTimeout(this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout);\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout;\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id];\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/socketClientSubscriber.ts\nvar SOCKET_NAMESPACE$1 = \"stsinstrumentmanager/stsmonitor\";\nvar SocketClientSubscriber = class extends SocketIoClient {\n\t#options;\n\t#id;\n\t#currentSubscriptions = [];\n\tsubscriptions = {};\n\tconstructor(options) {\n\t\tsuper(\"STSVueTilsTester\");\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.#options = options;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}/${SOCKET_NAMESPACE$1}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger ?? defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\tif (this.#options) return `stsimclient:ObservabilitySubscriberManager[${this.#options.consumeInstrumentationMode}]:`;\n\t\telse return `stsimclient:ObservabilitySubscriberManager:`;\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"subscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:Subscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tthis.subscriptions[subId.subscriptionKey.id] = subId;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"unsubscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:UnSubscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tdelete this.subscriptions[subId.subscriptionKey.id];\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}]`));\n\t\tthis.UpdateModelCursor(this.#currentSubscriptions);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t\tif (this.socket) this.socket.on(\"subscriptionData\", (data, cb) => {\n\t\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): on subscriptionData(): Socket ID: [${socket.id}]`));\n\t\t\tconst subId = data.subscriptionKey.id;\n\t\t\tconst currentSubscriptions = Object.keys(this.subscriptions).toString();\n\t\t\tif (this.subscriptions[subId]) {\n\t\t\t\tthis.subscriptions[subId].cb(data);\n\t\t\t\tcb(`stsuxvue:subscriptionData Response: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t\t} else cb(`stsuxvue:subscriptionData Response: No subscription found in subscriptions: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t});\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/socketBrowserClientLogPublisher.ts\nvar SOCKET_NAMESPACE = \"stsinstrumentmanager/stsmonitor\";\nvar SocketBrowserClientLogPublisher = class extends SocketIoClient {\n\t#id;\n\t#options;\n\tconstructor(options) {\n\t\tsuper(\"stsinstrumentmanagerclient:SocketBrowserClientLogPublisher\");\n\t\tthis.#options = options;\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.imendpoint}:${this.#options.import}/${SOCKET_NAMESPACE}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\treturn `stsinstrumentmanagerclient:SocketBrowserClientLogPublisher:`;\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}], Joining Room: [${this.#options.rooms}]`));\n\t\tsocket.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/stsLoggerSocket.ts\nvar STSLoggerSocket = class {\n\t#options;\n\t#socketIoClient;\n\tconstructor(opts) {\n\t\tthis.#options = opts;\n\t\tthis.#socketIoClient = new SocketBrowserClientLogPublisher({\n\t\t\tlogger: this,\n\t\t\trooms: this.#options.rooms,\n\t\t\timendpoint: this.#options.imendpoint,\n\t\t\timport: this.#options.import\n\t\t});\n\t}\n\tJoinRoom = () => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t};\n\terror = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"error\",\n\t\t\tmessage\n\t\t});\n\t};\n\twarn = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"warn\",\n\t\t\tmessage\n\t\t});\n\t};\n\tinfo = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"info\",\n\t\t\tmessage\n\t\t});\n\t};\n\thttp = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"http\",\n\t\t\tmessage\n\t\t});\n\t};\n\tverbose = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"verbose\",\n\t\t\tmessage\n\t\t});\n\t};\n\tdebug = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"debug\",\n\t\t\tmessage\n\t\t});\n\t};\n\tsilly = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"silly\",\n\t\t\tmessage\n\t\t});\n\t};\n\t#log = (info) => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSsendToRoom\", this.#options.rooms, {\n\t\t\tcommand: \"logmessage\",\n\t\t\tpayload: {\n\t\t\t\tlevel: info.level,\n\t\t\t\tmessage: info.message,\n\t\t\t\tdateTime: Date.now()\n\t\t\t}\n\t\t});\n\t};\n};\n//#endregion\nexport { GetInstruments, GetSocketIOSubscriptionKey, GetTransportMode, InstrumentPayloadType, KAFKA_PREFIX, ObservabilityPayloadTransformer, PublishInstrumentController, PublishTransportRESTServer, RESTClientSubscriber, RequestLoggerMiddleware, RequestLoggerMiddlewareEventName, STSInstrumentControllerPlugin, STSInstrumentControllerPluginKey, STSLoggerSocket, SocketBrowserClientLogPublisher, SocketClientSubscriber, SubscriptionTopic, TransportType, ePublishState, globalServiceDefinitions, influxDBDataType, runStates };\n\n//# sourceMappingURL=index.mjs.map","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"ma-4 mr-0 pa-2\"\n border\n :elevation=\"2\"\n >\n UXModelNavigator - Path: {{ navigationPath }}\n <v-row no-gutters>\n <v-col>\n <v-tabs v-model=\"tab\" background-color=\"primary\">\n <v-tab value=\"summary\"> Summary </v-tab>\n <v-tab value=\"detailed\"> Detailed </v-tab>\n </v-tabs>\n <v-window v-model=\"tab\">\n <v-window-item value=\"summary\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"true\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n <v-window-item value=\"detailed\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"false\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n </v-window>\n </v-col>\n </v-row>\n <div class=\"d-flex flex-wrap justify-space-between\">\n <v-btn color=\"secondary\" class=\"ma-1\" @click=\"TopLevel\">\n Top Level<v-icon end icon=\"fa-regular fa-house\" />\n </v-btn>\n <v-btn\n class=\"ma-1\"\n color=\"secondary\"\n :disabled=\"BackDisabled\"\n @click=\"GoBack\"\n >\n Go Back<v-icon end icon=\"fa-solid fa-backward-step\" />\n </v-btn>\n </div>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport {\n ref,\n computed,\n reactive,\n onMounted,\n onBeforeUnmount,\n toRaw,\n} from \"vue\";\n\nimport { ModelStore, _estate } from \"./../stores/modelStore.js\";\n\nimport UXModelNode from \"./UXModelNode.vue\";\n\nimport {\n ObservabilityPayloadTransformer,\n IObservabilityPayloadTransformerOptions,\n SubscriptionTopic,\n type ISubscriptionPayload,\n type ISubscriptions,\n type ISubscription,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport { IObservabilitySubscriberManagerOptions } from \"./../commonTypes.js\";\n\nimport { defaultLogger, Sleep } from \"@nsshunt/stsutils\";\n\nimport {\n SocketClientSubscriber,\n RESTClientSubscriber,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nlet subscriptionOptions: IObservabilitySubscriberManagerOptions;\n\nconst props = defineProps<{\n modelId: string;\n}>();\n\nconsole.debug(`UXModelNavigator(): ModelStore`);\nconst store = ModelStore();\n\nlet observabilityPayloadTransformer: ObservabilityPayloadTransformer =\n new ObservabilityPayloadTransformer({\n logger: defaultLogger,\n maxLogLength: 200,\n });\n\nlet metricsSubscriber:\n | SocketClientSubscriber\n | RESTClientSubscriber\n | undefined;\n\nconst baseColour = chalk.hex(\"#57A1A8\");\n\nconst LogDebug = (message: any) => {\n defaultLogger.debug(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogError = (message: any) => {\n defaultLogger.error(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogWarning = (message: any) => {\n defaultLogger.warn(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst TransformSubscriptionPayloadCallback = (\n subscriptionPayload: ISubscriptionPayload\n): void => {\n try {\n observabilityPayloadTransformer.TransformSubscriptionPayloadCallback(\n subscriptionPayload\n );\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllAgentsCombined\n ) === 0\n ) {\n const agentModel = observabilityPayloadTransformer.agentModel;\n store.UpdateAgentModel(\n props.modelId,\n agentModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllServicesCombined\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.Services\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstances\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstance\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n } catch (error) {\n LogError(\n `TransformSubscriptionPayloadCallback(): #modelId: [${props.modelId}], Error: [${error}]`\n );\n }\n};\n\n// Note: Every call to this function will yield a new id\nconst GetRootLevelSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllServicesCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllAgentsCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServicesSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.Services,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstancesSubscriptions = (serviceId: string) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstances,\n key: serviceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstanceSubscriptions = (\n serviceId: string,\n serviceInstanceId: string\n) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstance,\n key: serviceId,\n subkey: serviceInstanceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\ninterface INavigationSubscriptions {\n subscriptionHistoryStack: ISubscriptions[];\n currentSubscriptions: ISubscriptions | null;\n}\n\nlet navigationSubscriptions: INavigationSubscriptions = {\n subscriptionHistoryStack: [],\n currentSubscriptions: null,\n};\n\nlet reactiveNavigationSubscriptions: INavigationSubscriptions = reactive(\n navigationSubscriptions\n);\n\nconst getPathString = (sub: ISubscription): string => {\n if (sub.subscriptionKey.key && sub.subscriptionKey.subkey) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}/${sub.subscriptionKey.subkey}]`;\n }\n if (sub.subscriptionKey.key) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}]`;\n }\n return `${sub.subscriptionKey.topic}`;\n};\nconst navigationPath = computed(() => {\n let pathString = \"\";\n let sep = \"\";\n reactiveNavigationSubscriptions.subscriptionHistoryStack.forEach((s) => {\n pathString += sep + getPathString(s[0]);\n sep = \"/\";\n });\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n return (\n pathString +\n sep +\n getPathString(\n reactiveNavigationSubscriptions.currentSubscriptions[0]\n )\n );\n }\n return pathString;\n});\n\nconst BackDisabled = computed(() => {\n return reactiveNavigationSubscriptions.subscriptionHistoryStack.length < 1;\n});\n\nconst modelNode = reactive({\n node: {},\n});\n\nconst modelPos = computed({\n get: () => modelNode.node,\n set: (val) => {\n modelNode.node = val;\n },\n});\n\nconst clicked = function (id: any) {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].serviceModelSubscriptionKey) {\n switch (\n store._models[props.modelId].serviceModelSubscriptionKey?.topic\n ) {\n case SubscriptionTopic.AllServicesCombined:\n navigate(GetServicesSubscriptions());\n break;\n case SubscriptionTopic.Services:\n navigate(GetServiceInstancesSubscriptions(id));\n break;\n case SubscriptionTopic.ServiceInstances:\n navigate(\n GetServiceInstanceSubscriptions(\n store._models[props.modelId]\n .serviceModelSubscriptionKey?.key as string,\n id\n )\n );\n break;\n }\n }\n }\n};\n\nconst UpdateModelCursor = () => {\n const subscriptions: ISubscriptions | null =\n reactiveNavigationSubscriptions.currentSubscriptions;\n if (metricsSubscriber && subscriptions) {\n metricsSubscriber.UpdateModelCursor(subscriptions);\n }\n};\n\nconst navigate = function (subscriptions: ISubscriptions) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n reactiveNavigationSubscriptions.subscriptionHistoryStack.push(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n } else {\n LogWarning(`navigate: obj.currentSubscriptions not defined`);\n }\n reactiveNavigationSubscriptions.currentSubscriptions = subscriptions;\n LogDebug(\n `navigate: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(subscriptions)})`\n );\n UpdateModelCursor();\n};\n\nconst GoBack = function () {\n if (reactiveNavigationSubscriptions.subscriptionHistoryStack.length > 0) {\n let key =\n reactiveNavigationSubscriptions.subscriptionHistoryStack.pop();\n if (key) {\n reactiveNavigationSubscriptions.currentSubscriptions = key;\n LogDebug(\n `GoBack: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n } else {\n LogDebug(`GoBack: subscriptions key not defined`);\n }\n } else {\n LogDebug(`GoBack: subscriptions empty`);\n }\n};\n\nconst TopLevel = function () {\n reactiveNavigationSubscriptions.subscriptionHistoryStack = [];\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `TopLevel: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n};\n\nonMounted(() => {\n LogDebug(`onMounted()`);\n});\n\nonBeforeUnmount(() => {\n LogDebug(`onBeforeUnmount()`);\n Stop();\n});\n\nlet tab = ref(null);\n\nconst Stop = async () => {\n LogDebug(`Stop()`);\n store.UpdateSate(props.modelId, _estate.STOPPING);\n\n if (metricsSubscriber) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n metricsSubscriber.UnSubscribe(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n await Sleep(250); // Given some time for the server to cleanly unsubscribe ...\n }\n if (\n metricsSubscriber &&\n subscriptionOptions.consumeInstrumentationMode === \"PROXY\"\n ) {\n const socketClientSubscriber: SocketClientSubscriber =\n metricsSubscriber as SocketClientSubscriber;\n if (socketClientSubscriber.socket) {\n socketClientSubscriber.socket.disconnect();\n }\n }\n metricsSubscriber = undefined;\n }\n store.UpdateSate(props.modelId, _estate.IDLE);\n};\n\nconst Start = async (options: IObservabilitySubscriberManagerOptions) => {\n LogDebug(`Start()`);\n store.UpdateSate(props.modelId, _estate.STARTING);\n subscriptionOptions = options;\n LogDebug(`Start(): Options: [${JSON.stringify(subscriptionOptions)}]`);\n if (options.consumeInstrumentationMode === \"PROXY\") {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new SocketClientSubscriber({\n instrumentManagerEndpoint: options.instrumentManagerEndpoint,\n instrumentManagerPort: options.instrumentManagerPort,\n consumeInstrumentationMode: options.consumeInstrumentationMode,\n instrumentManagerAPIRoot: options.instrumentManagerAPIRoot,\n modelId: options.modelId,\n });\n } else {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new RESTClientSubscriber({\n urlBase: `${options.instrumentManagerEndpoint}:${options.instrumentManagerPort}${options.instrumentManagerAPIRoot}`,\n logger: defaultLogger,\n keepAlive: 1000,\n });\n }\n\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `Start(): observabilitySubscriberManager().UpdateModelCursor(): Mode: [${options.consumeInstrumentationMode}] rootLevelSubscriptions: [(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)}]`\n );\n UpdateModelCursor();\n\n store.UpdateSate(props.modelId, _estate.STARTED);\n};\n\ndefineExpose({\n Start,\n Stop,\n});\n</script>\n\n<style>\n.brown {\n background-color: brown;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"ma-4 mr-0 pa-2\"\n border\n :elevation=\"2\"\n >\n UXModelNavigator - Path: {{ navigationPath }}\n <v-row no-gutters>\n <v-col>\n <v-tabs v-model=\"tab\" background-color=\"primary\">\n <v-tab value=\"summary\"> Summary </v-tab>\n <v-tab value=\"detailed\"> Detailed </v-tab>\n </v-tabs>\n <v-window v-model=\"tab\">\n <v-window-item value=\"summary\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"true\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n <v-window-item value=\"detailed\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"false\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n </v-window>\n </v-col>\n </v-row>\n <div class=\"d-flex flex-wrap justify-space-between\">\n <v-btn color=\"secondary\" class=\"ma-1\" @click=\"TopLevel\">\n Top Level<v-icon end icon=\"fa-regular fa-house\" />\n </v-btn>\n <v-btn\n class=\"ma-1\"\n color=\"secondary\"\n :disabled=\"BackDisabled\"\n @click=\"GoBack\"\n >\n Go Back<v-icon end icon=\"fa-solid fa-backward-step\" />\n </v-btn>\n </div>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport {\n ref,\n computed,\n reactive,\n onMounted,\n onBeforeUnmount,\n toRaw,\n} from \"vue\";\n\nimport { ModelStore, _estate } from \"./../stores/modelStore.js\";\n\nimport UXModelNode from \"./UXModelNode.vue\";\n\nimport {\n ObservabilityPayloadTransformer,\n IObservabilityPayloadTransformerOptions,\n SubscriptionTopic,\n type ISubscriptionPayload,\n type ISubscriptions,\n type ISubscription,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport { IObservabilitySubscriberManagerOptions } from \"./../commonTypes.js\";\n\nimport { defaultLogger, Sleep } from \"@nsshunt/stsutils\";\n\nimport {\n SocketClientSubscriber,\n RESTClientSubscriber,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nlet subscriptionOptions: IObservabilitySubscriberManagerOptions;\n\nconst props = defineProps<{\n modelId: string;\n}>();\n\nconsole.debug(`UXModelNavigator(): ModelStore`);\nconst store = ModelStore();\n\nlet observabilityPayloadTransformer: ObservabilityPayloadTransformer =\n new ObservabilityPayloadTransformer({\n logger: defaultLogger,\n maxLogLength: 200,\n });\n\nlet metricsSubscriber:\n | SocketClientSubscriber\n | RESTClientSubscriber\n | undefined;\n\nconst baseColour = chalk.hex(\"#57A1A8\");\n\nconst LogDebug = (message: any) => {\n defaultLogger.debug(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogError = (message: any) => {\n defaultLogger.error(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogWarning = (message: any) => {\n defaultLogger.warn(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst TransformSubscriptionPayloadCallback = (\n subscriptionPayload: ISubscriptionPayload\n): void => {\n try {\n observabilityPayloadTransformer.TransformSubscriptionPayloadCallback(\n subscriptionPayload\n );\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllAgentsCombined\n ) === 0\n ) {\n const agentModel = observabilityPayloadTransformer.agentModel;\n store.UpdateAgentModel(\n props.modelId,\n agentModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllServicesCombined\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.Services\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstances\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstance\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n } catch (error) {\n LogError(\n `TransformSubscriptionPayloadCallback(): #modelId: [${props.modelId}], Error: [${error}]`\n );\n }\n};\n\n// Note: Every call to this function will yield a new id\nconst GetRootLevelSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllServicesCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllAgentsCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServicesSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.Services,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstancesSubscriptions = (serviceId: string) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstances,\n key: serviceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstanceSubscriptions = (\n serviceId: string,\n serviceInstanceId: string\n) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstance,\n key: serviceId,\n subkey: serviceInstanceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\ninterface INavigationSubscriptions {\n subscriptionHistoryStack: ISubscriptions[];\n currentSubscriptions: ISubscriptions | null;\n}\n\nlet navigationSubscriptions: INavigationSubscriptions = {\n subscriptionHistoryStack: [],\n currentSubscriptions: null,\n};\n\nlet reactiveNavigationSubscriptions: INavigationSubscriptions = reactive(\n navigationSubscriptions\n);\n\nconst getPathString = (sub: ISubscription): string => {\n if (sub.subscriptionKey.key && sub.subscriptionKey.subkey) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}/${sub.subscriptionKey.subkey}]`;\n }\n if (sub.subscriptionKey.key) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}]`;\n }\n return `${sub.subscriptionKey.topic}`;\n};\nconst navigationPath = computed(() => {\n let pathString = \"\";\n let sep = \"\";\n reactiveNavigationSubscriptions.subscriptionHistoryStack.forEach((s) => {\n pathString += sep + getPathString(s[0]);\n sep = \"/\";\n });\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n return (\n pathString +\n sep +\n getPathString(\n reactiveNavigationSubscriptions.currentSubscriptions[0]\n )\n );\n }\n return pathString;\n});\n\nconst BackDisabled = computed(() => {\n return reactiveNavigationSubscriptions.subscriptionHistoryStack.length < 1;\n});\n\nconst modelNode = reactive({\n node: {},\n});\n\nconst modelPos = computed({\n get: () => modelNode.node,\n set: (val) => {\n modelNode.node = val;\n },\n});\n\nconst clicked = function (id: any) {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].serviceModelSubscriptionKey) {\n switch (\n store._models[props.modelId].serviceModelSubscriptionKey?.topic\n ) {\n case SubscriptionTopic.AllServicesCombined:\n navigate(GetServicesSubscriptions());\n break;\n case SubscriptionTopic.Services:\n navigate(GetServiceInstancesSubscriptions(id));\n break;\n case SubscriptionTopic.ServiceInstances:\n navigate(\n GetServiceInstanceSubscriptions(\n store._models[props.modelId]\n .serviceModelSubscriptionKey?.key as string,\n id\n )\n );\n break;\n }\n }\n }\n};\n\nconst UpdateModelCursor = () => {\n const subscriptions: ISubscriptions | null =\n reactiveNavigationSubscriptions.currentSubscriptions;\n if (metricsSubscriber && subscriptions) {\n metricsSubscriber.UpdateModelCursor(subscriptions);\n }\n};\n\nconst navigate = function (subscriptions: ISubscriptions) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n reactiveNavigationSubscriptions.subscriptionHistoryStack.push(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n } else {\n LogWarning(`navigate: obj.currentSubscriptions not defined`);\n }\n reactiveNavigationSubscriptions.currentSubscriptions = subscriptions;\n LogDebug(\n `navigate: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(subscriptions)})`\n );\n UpdateModelCursor();\n};\n\nconst GoBack = function () {\n if (reactiveNavigationSubscriptions.subscriptionHistoryStack.length > 0) {\n let key =\n reactiveNavigationSubscriptions.subscriptionHistoryStack.pop();\n if (key) {\n reactiveNavigationSubscriptions.currentSubscriptions = key;\n LogDebug(\n `GoBack: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n } else {\n LogDebug(`GoBack: subscriptions key not defined`);\n }\n } else {\n LogDebug(`GoBack: subscriptions empty`);\n }\n};\n\nconst TopLevel = function () {\n reactiveNavigationSubscriptions.subscriptionHistoryStack = [];\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `TopLevel: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n};\n\nonMounted(() => {\n LogDebug(`onMounted()`);\n});\n\nonBeforeUnmount(() => {\n LogDebug(`onBeforeUnmount()`);\n Stop();\n});\n\nlet tab = ref(null);\n\nconst Stop = async () => {\n LogDebug(`Stop()`);\n store.UpdateSate(props.modelId, _estate.STOPPING);\n\n if (metricsSubscriber) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n metricsSubscriber.UnSubscribe(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n await Sleep(250); // Given some time for the server to cleanly unsubscribe ...\n }\n if (\n metricsSubscriber &&\n subscriptionOptions.consumeInstrumentationMode === \"PROXY\"\n ) {\n const socketClientSubscriber: SocketClientSubscriber =\n metricsSubscriber as SocketClientSubscriber;\n if (socketClientSubscriber.socket) {\n socketClientSubscriber.socket.disconnect();\n }\n }\n metricsSubscriber = undefined;\n }\n store.UpdateSate(props.modelId, _estate.IDLE);\n};\n\nconst Start = async (options: IObservabilitySubscriberManagerOptions) => {\n LogDebug(`Start()`);\n store.UpdateSate(props.modelId, _estate.STARTING);\n subscriptionOptions = options;\n LogDebug(`Start(): Options: [${JSON.stringify(subscriptionOptions)}]`);\n if (options.consumeInstrumentationMode === \"PROXY\") {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new SocketClientSubscriber({\n instrumentManagerEndpoint: options.instrumentManagerEndpoint,\n instrumentManagerPort: options.instrumentManagerPort,\n consumeInstrumentationMode: options.consumeInstrumentationMode,\n instrumentManagerAPIRoot: options.instrumentManagerAPIRoot,\n modelId: options.modelId,\n });\n } else {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new RESTClientSubscriber({\n urlBase: `${options.instrumentManagerEndpoint}:${options.instrumentManagerPort}${options.instrumentManagerAPIRoot}`,\n logger: defaultLogger,\n keepAlive: 1000,\n });\n }\n\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `Start(): observabilitySubscriberManager().UpdateModelCursor(): Mode: [${options.consumeInstrumentationMode}] rootLevelSubscriptions: [(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)}]`\n );\n UpdateModelCursor();\n\n store.UpdateSate(props.modelId, _estate.STARTED);\n};\n\ndefineExpose({\n Start,\n Stop,\n});\n</script>\n\n<style>\n.brown {\n background-color: brown;\n}\n</style>\n","<template>\n <v-container class=\"yellowgreen\">\n <v-row>\n <div>UXTestForm</div>\n <v-divider />\n </v-row>\n\n <v-row v-if=\"showFormValues\">\n <v-col cols=\"12\">\n <v-row\n v-for=\"(formDataElement, index) in formData\"\n :key=\"index\"\n class=\"ml-1 text-caption\"\n >\n {{ formDataElement.model }}\n </v-row>\n </v-col>\n </v-row>\n\n <v-row>\n <v-divider />\n </v-row>\n\n <v-row v-for=\"(formDataElement, index) in formData\" :key=\"index\">\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('divider') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-divider />\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('radio') === 0\"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-radio-group\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <v-radio\n v-for=\"n in formDataElement.radioGroup\"\n :key=\"n.key\"\n :label=\"`${n.label}`\"\n :value=\"n.value\"\n />\n </v-radio-group>\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('textField') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-text-field\n v-model=\"formDataElement.model\"\n :label=\"formDataElement.label\"\n required\n :hint=\"formDataElement.hint\"\n persistent-hint\n />\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('checkbox') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-checkbox\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <template #label>\n <div class=\"text-wrap\">\n {{ formDataElement.description }}\n </div>\n </template>\n </v-checkbox>\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('slider') === 0\"\n cols=\"12\"\n class=\"mx-3\"\n style=\"padding: 0 10px 0 0\"\n >\n <div class=\"ml-0 text-caption\">\n {{ formDataElement.description }}\n </div>\n <v-slider\n v-model=\"formDataElement.model as number\"\n class=\"align-center\"\n max=\"5\"\n min=\"1\"\n step=\"1\"\n show-ticks=\"always\"\n tick-size=\"6\"\n hide-details\n >\n <template #append>\n <v-text-field\n v-model=\"formDataElement.model\"\n hide-details\n single-line\n density=\"compact\"\n type=\"number\"\n style=\"width: 110px\"\n variant=\"outlined\"\n />\n </template>\n </v-slider>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n//import 'vuetify/styles'\n\n//import * as directives from 'vuetify/directives'\n//import * as VSlider from 'vuetify/components/VSlider'\n//import * as VTextField from 'vuetify/components/VTextField'\n\nimport { ref, onMounted } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport chalk from \"chalk\";\n\nimport { IFormData } from \"./../commonTypes.js\";\n\n//const props = withDefaults(defineProps<{\nwithDefaults(\n defineProps<{\n showFormValues?: boolean;\n }>(),\n {\n showFormValues: true,\n }\n);\n\n/*\nconst radioGroup = computed({\n get: () => { return applicationStore.testProfiles[cursor.value].profileName; },\n set: (value) => { \n //locate(value);\n emit('profileSelected', value);\n }\n});\n*/\n\n//const formData = computed(() => applicationStore.testProfiles[cursor.value]);\n\nonMounted(() => {\n //radioGroup.value = applicationStore.testProfiles[0].profileName;\n console.log(chalk.green(\"onMounted\"));\n});\n\nconst formData = ref<IFormData>([\n {\n elementType: \"textField\",\n model: \"My test Profile\",\n label: \"Profile Name\",\n hint: \"Profile name. Used as output file name.\",\n },\n {\n elementType: \"radio\",\n model: \"so2\",\n radioGroup: [\n {\n key: \"o1\",\n label: \"Option One\",\n value: \"so1\",\n },\n {\n key: \"o2\",\n label: \"Option Two\",\n value: \"so2\",\n },\n ],\n },\n {\n elementType: \"slider\",\n model: 5,\n description: \"Some description for the slider one.\",\n },\n {\n elementType: \"slider\",\n model: 2,\n description: \"Some description for the slider two.\",\n },\n {\n elementType: \"checkbox\",\n model: true,\n description: \"Some description for checkbox 1\",\n },\n {\n elementType: \"divider\",\n },\n {\n elementType: \"checkbox\",\n model: false,\n description: \"Some description for checkbox 2\",\n },\n]);\n\ndefineExpose({\n formData,\n});\n</script>\n\n<style>\n.yellowgreen {\n background-color: yellowgreen;\n}\n.cyan {\n background-color: cyan;\n}\n</style>\n","<template>\n <v-container class=\"yellowgreen\">\n <v-row>\n <div>UXTestForm</div>\n <v-divider />\n </v-row>\n\n <v-row v-if=\"showFormValues\">\n <v-col cols=\"12\">\n <v-row\n v-for=\"(formDataElement, index) in formData\"\n :key=\"index\"\n class=\"ml-1 text-caption\"\n >\n {{ formDataElement.model }}\n </v-row>\n </v-col>\n </v-row>\n\n <v-row>\n <v-divider />\n </v-row>\n\n <v-row v-for=\"(formDataElement, index) in formData\" :key=\"index\">\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('divider') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-divider />\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('radio') === 0\"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-radio-group\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <v-radio\n v-for=\"n in formDataElement.radioGroup\"\n :key=\"n.key\"\n :label=\"`${n.label}`\"\n :value=\"n.value\"\n />\n </v-radio-group>\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('textField') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-text-field\n v-model=\"formDataElement.model\"\n :label=\"formDataElement.label\"\n required\n :hint=\"formDataElement.hint\"\n persistent-hint\n />\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('checkbox') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-checkbox\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <template #label>\n <div class=\"text-wrap\">\n {{ formDataElement.description }}\n </div>\n </template>\n </v-checkbox>\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('slider') === 0\"\n cols=\"12\"\n class=\"mx-3\"\n style=\"padding: 0 10px 0 0\"\n >\n <div class=\"ml-0 text-caption\">\n {{ formDataElement.description }}\n </div>\n <v-slider\n v-model=\"formDataElement.model as number\"\n class=\"align-center\"\n max=\"5\"\n min=\"1\"\n step=\"1\"\n show-ticks=\"always\"\n tick-size=\"6\"\n hide-details\n >\n <template #append>\n <v-text-field\n v-model=\"formDataElement.model\"\n hide-details\n single-line\n density=\"compact\"\n type=\"number\"\n style=\"width: 110px\"\n variant=\"outlined\"\n />\n </template>\n </v-slider>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n//import 'vuetify/styles'\n\n//import * as directives from 'vuetify/directives'\n//import * as VSlider from 'vuetify/components/VSlider'\n//import * as VTextField from 'vuetify/components/VTextField'\n\nimport { ref, onMounted } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport chalk from \"chalk\";\n\nimport { IFormData } from \"./../commonTypes.js\";\n\n//const props = withDefaults(defineProps<{\nwithDefaults(\n defineProps<{\n showFormValues?: boolean;\n }>(),\n {\n showFormValues: true,\n }\n);\n\n/*\nconst radioGroup = computed({\n get: () => { return applicationStore.testProfiles[cursor.value].profileName; },\n set: (value) => { \n //locate(value);\n emit('profileSelected', value);\n }\n});\n*/\n\n//const formData = computed(() => applicationStore.testProfiles[cursor.value]);\n\nonMounted(() => {\n //radioGroup.value = applicationStore.testProfiles[0].profileName;\n console.log(chalk.green(\"onMounted\"));\n});\n\nconst formData = ref<IFormData>([\n {\n elementType: \"textField\",\n model: \"My test Profile\",\n label: \"Profile Name\",\n hint: \"Profile name. Used as output file name.\",\n },\n {\n elementType: \"radio\",\n model: \"so2\",\n radioGroup: [\n {\n key: \"o1\",\n label: \"Option One\",\n value: \"so1\",\n },\n {\n key: \"o2\",\n label: \"Option Two\",\n value: \"so2\",\n },\n ],\n },\n {\n elementType: \"slider\",\n model: 5,\n description: \"Some description for the slider one.\",\n },\n {\n elementType: \"slider\",\n model: 2,\n description: \"Some description for the slider two.\",\n },\n {\n elementType: \"checkbox\",\n model: true,\n description: \"Some description for checkbox 1\",\n },\n {\n elementType: \"divider\",\n },\n {\n elementType: \"checkbox\",\n model: false,\n description: \"Some description for checkbox 2\",\n },\n]);\n\ndefineExpose({\n formData,\n});\n</script>\n\n<style>\n.yellowgreen {\n background-color: yellowgreen;\n}\n.cyan {\n background-color: cyan;\n}\n</style>\n"],"x_google_ignoreList":[10,11,12,13,14,15,16,17,18,19,22,23,24,25,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAY,UAAL,yBAAA,SAAA;CACH,QAAA,UAAA;CACA,QAAA,cAAA;CACA,QAAA,aAAA;CACA,QAAA,cAAA;CACA,QAAA,mBAAA;;A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AAQ,KAAK,KAAK;EAChE;EACA,SAASA,iBAAe,MAAM;CAC/B;CACA,SAAS,gBAAgB;EACxB,OAAO;CACR;CACA,OAAO;AACR;AACA,SAAS,QAAQ,OAAO;CACvB,IAAI;EACH,WAAW,OAAO,EAAE;EACpB,OAAO;CACR,SAAS,SAAS;EACjB,OAAO;CACR;AACD;AACA,IAAM,SAAS,OAAO;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,QAAQ,OAAO;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,aAAa,OAAO;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,gBAAgB,OAAO;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,WAAW,OAAO;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,mBAAmB,OAAO;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,OAAO,OAAO,CAAC,OAAO,CAAC;AAC7B,IAAM,OAAO,OAAO;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,MAAM,OAAO;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,SAAS,OAAO;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,MAAM,OAAO;CAClB;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,gBAAgB,KAAK,uBAAuB;AAClD,IAAM,WAAW,KAAK,uBA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A,YAAYD,0BAAAA,MAAM;EACnB;EACA;GACC,WAAW;GACX,OAAOA,0BAAAA,MAAM;GACb,oBAAoB;GACpB,UAAU;GACV,iBAAiB;GACjB,UAAU;GACV,kBAAkB;GAClB,WAAWC,0BAAAA,WAAW;GACtB,mBAAmB;IAClB,UAAU;IACV,YAAY;GACb;GACA,OAAO;IACN;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;GACD;GACA,YAAYD,0BAAAA,MAAM;EACnB;CACD;CACA,cAAc,CAAC;EACd,WAAW;EACX,OAAOA,0BAAAA,MAAM;EACb,oBAAoB;EACpB,UAAU;EACV,iBAAiB;EACjB,UAAU;EACV,kBAAkB;EAClB,WAAWC,0BAAAA,WAAW;EACtB,mBAAmB;GAClB,gBAAgB;GAChB,mBAAmB;EACpB;CACD,CAAC;CACD,UAAU;GACR,YAAY;GACZ,qBAAqB;IACpB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACD;GACA,6BAA6B;IAC5B,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IACd,eAAe;GAChB;GACA,WAAW;IACV;KACC,WAAW;KACX,OAAOD,0BAAAA,MAAM;KACb,oBAAoB;KACpB,UAAU;KACV,iBAAiB;KACjB,UAAU;KACV,kBAAkB;KAClB,WAAWC,0BAAAA,WAAW;KACtB,mBAAmB;MAClB,UAAU;MACV,YAAY;KACb;IACD;IACA;KACC,WAAW;KACX,OAAOD,0BAAAA,MAAM;KACb,oBAAoB;KACpB,UAAU;KACV,iBAAiB;KACjB,UAAU;KACV,kBAAkB;KAClB,WAAWC,0BAAAA,WAAW;KACtB,mBAAmB;MAClB,UAAU;MACV,YAAY;KACb;IACD;IACA;KACC,WAAW;KACX,OAA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D,IAAAA,QAAAA,OASX,EAAA,GARFC,IAAAA,YAAAA,CAQE,yBAAA;WAPW,YAAA,gBAAgB;WAAhB,wBAAA,WAAA,gBAAgB,QAAK;WAC9B,gBAAA;WACA,eAAA;WACA,SAAQ;WACR,MAAK;WACL,OAAA,EAAA,SAAA,QAAA;WACA,SAAQ"}
1
+ {"version":3,"file":"stsuxvue.cjs","names":["defineStore","_cloneDeep","defineAsyncComponent","ref","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","reactive","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","defineAsyncComponent","computed","_openBlock","_createElementBlock","_createVNode","_unref","_sfc_main","Aacute","aacute","Acirc","acirc","acute","AElig","aelig","Agrave","agrave","amp","AMP","apos","Aring","aring","Atilde","atilde","Auml","auml","brvbar","Ccedil","ccedil","cedil","cent","copy","COPY","curren","deg","divide","Eacute","eacute","Ecirc","ecirc","Egrave","egrave","ETH","eth","Euml","euml","frac12","frac14","frac34","gt","GT","Iacute","iacute","Icirc","icirc","iexcl","Igrave","igrave","iquest","Iuml","iuml","laquo","lt","LT","macr","Map","micro","middot","nbsp","not","Ntilde","ntilde","Oacute","oacute","Ocirc","ocirc","Ograve","ograve","ordf","ordm","Oslash","oslash","Otilde","otilde","Ouml","ouml","para","plusmn","pound","quot","QUOT","raquo","reg","REG","sect","shy","sup1","sup2","sup3","szlig","THORN","thorn","times","Uacute","uacute","Ucirc","ucirc","Ugrave","ugrave","uml","Uuml","uuml","Yacute","yacute","yen","yuml","amp","gt","lt","quot","_text","getPrototypeOf","getGlobal","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","Convert","computed","Gauge","DOMPurify","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createVNode","_createTextVNode","_toDisplayString","_createElementVNode","_unref","_createElementBlock","_createCommentVNode","_Fragment","_renderList","UXBarChart","_sfc_main","ANSI_BACKGROUND_OFFSET","wrapAnsi16","wrapAnsi256","wrapAnsi16m","styles","foregroundColorNames","backgroundColorNames","assembleStyles","ansiStyles","level","colorSupport","supportsColor","stringReplaceAll","stringEncaseCRLFWithFirstIndex","stdoutColor","stderrColor","supportsColor","GENERATOR","STYLER","IS_EMPTY","levelMapping","styles","applyOptions","chalkFactory","createChalk","ansiStyles","createBuilder","createStyler","getModelAnsi","proto","applyStyle","stringReplaceAll","stringEncaseCRLFWithFirstIndex","chalk","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","Convert","computed","Gauge","chalk","DOMPurify","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createElementVNode","_createTextVNode","_toDisplayString","_createElementBlock","_createCommentVNode","_createVNode","_Fragment","_renderList","_unref","UXLineChart","UXBarChart","_sfc_main","_hoisted_1","_hoisted_2","ref","chalk","Gauge","computed","_resolveComponent","_openBlock","_createBlock","_withCtx","_createElementVNode","_createTextVNode","_toDisplayString","_createElementBlock","_createCommentVNode","_createVNode","_sfc_main","_hoisted_1","_hoisted_2","computed","Gauge","chalk","_openBlock","_createElementBlock","_Fragment","_renderList","_createBlock","_resolveDynamicComponent","UXModelInstrumentServiceSmall","UXModelInstrumentServiceCommon","_createCommentVNode","_sfc_main","isFunction","utils","utils","$internals","utils","parseHeaders","utils","stringifySafely","utils","encode","utils","utils","platform","platform","utils","utils","utils","transitionalDefaults","platform","utils","platform","platform","utils","utils","encodeUTF8","utils","platform","isURLSameOrigin","cookies","platform","transitionalDefaults","utils","utils","utils","platform","xhrAdapter","fetchAdapter.getFetch","utils","utils","adapters","validators","validator","utils","transitionalDefaults","utils","utils","adapters","import_tiny_emitter","isNode","io","Gauge","GaugeTypes","isNode","STSAxiosConfig","defaultLogger","_hoisted_1","defaultLogger","chalk","reactive","computed","ref","Sleep","_resolveComponent","_openBlock","_createBlock","_withCtx","_createTextVNode","_toDisplayString","_createVNode","_unref","_isRef","UXModelNode","_createElementVNode","_sfc_main","chalk","ref","_resolveComponent","_openBlock","_createBlock","_withCtx","_createVNode","_createElementVNode","_createElementBlock","_Fragment","_renderList","_createTextVNode","_toDisplayString","_createCommentVNode","_sfc_main"],"sources":["../src/stores/modelStore.ts","../src/commonTypes.ts","../src/components/UXBarChart.vue","../src/components/UXBarChart.vue","../src/components/UXLineChart.vue","../src/components/UXLineChart.vue","../src/components/UXMultiBarChart.vue","../src/components/UXMultiBarChart.vue","../src/components/UXRadialChart.vue","../src/components/UXRadialChart.vue","../node_modules/entities/lib/maps/entities.json","../node_modules/entities/lib/maps/legacy.json","../node_modules/entities/lib/maps/xml.json","../node_modules/entities/lib/maps/decode.json","../node_modules/entities/lib/decode_codepoint.js","../node_modules/entities/lib/decode.js","../node_modules/entities/lib/encode.js","../node_modules/entities/lib/index.js","../node_modules/ansi-to-html/lib/ansi_to_html.js","../node_modules/dompurify/dist/purify.es.mjs","../src/components/UXModelInstrumentAgentCommon.vue","../src/components/UXModelInstrumentAgentCommon.vue","../node_modules/chalk/source/vendor/ansi-styles/index.js","../node_modules/chalk/source/vendor/supports-color/browser.js","../node_modules/chalk/source/utilities.js","../node_modules/chalk/source/index.js","../src/components/UXModelInstrumentServiceCommon.vue","../src/components/UXModelInstrumentServiceCommon.vue","../src/components/UXModelInstrumentServiceSmall.vue","../src/components/UXModelInstrumentServiceSmall.vue","../src/components/UXModelNode.vue","../src/components/UXModelNode.vue","../node_modules/tiny-emitter/index.js","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/utils.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/sanitizeHeaderValue.js","../node_modules/axios/lib/core/AxiosHeaders.js","../node_modules/axios/lib/core/AxiosError.js","../node_modules/axios/lib/helpers/toFormData.js","../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/defaults/transitional.js","../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../node_modules/axios/lib/platform/browser/classes/FormData.js","../node_modules/axios/lib/platform/browser/classes/Blob.js","../node_modules/axios/lib/platform/browser/index.js","../node_modules/axios/lib/platform/common/utils.js","../node_modules/axios/lib/platform/index.js","../node_modules/axios/lib/helpers/toURLEncodedForm.js","../node_modules/axios/lib/helpers/formDataToJSON.js","../node_modules/axios/lib/core/methodList.js","../node_modules/axios/lib/defaults/index.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/cancel/CanceledError.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js","../node_modules/axios/lib/helpers/parseProtocol.js","../node_modules/axios/lib/helpers/speedometer.js","../node_modules/axios/lib/helpers/throttle.js","../node_modules/axios/lib/helpers/progressEventReducer.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/setFormDataHeaders.js","../node_modules/axios/lib/helpers/resolveConfig.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/helpers/composeSignals.js","../node_modules/axios/lib/helpers/trackStream.js","../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js","../node_modules/axios/lib/env/data.js","../node_modules/axios/lib/adapters/fetch.js","../node_modules/axios/lib/adapters/adapters.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/HttpStatusCode.js","../node_modules/axios/lib/axios.js","../node_modules/@nsshunt/stssocketioutils/dist/tiny-emitter-Ci1ma0VV.js","../node_modules/@nsshunt/stssocketioutils/dist/index.mjs","../node_modules/@nsshunt/stsinstrumentmanagerclient/dist/index.mjs","../src/components/UXModelNavigator.vue","../src/components/UXModelNavigator.vue","../src/components/UXTestForm.vue","../src/components/UXTestForm.vue"],"sourcesContent":["/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { defineStore } from \"pinia\";\nimport _cloneDeep from \"lodash.clonedeep\";\n\nimport { type ISubscriptionKey } from \"@nsshunt/stsinstrumentmanagerclient\";\nimport { type JSONObject } from \"@nsshunt/stsutils\";\n\n//import { ObservabilitySubscriberManager } from './../plugins/observabilitySubscriberManager'\n\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\n\nexport interface IModelMeta {\n detailView: boolean;\n}\n\nexport interface IModelStore {\n serviceModel: JSONObject;\n agentModel: JSONObject;\n modelMeta: Record<string, IModelMeta>;\n serviceModelSubscriptionKey: ISubscriptionKey | null;\n agentModelSubscriptionKey: ISubscriptionKey | null;\n friendlyName: Record<string, string>;\n friendNameIndex: number;\n state: string;\n}\nexport interface IModelStores {\n _models: Record<string, IModelStore>;\n _state: Record<string, string>;\n //_observabilitySubscriberManager: Record<string, ObservabilitySubscriberManager | null>\n}\n\nexport enum _estate {\n IDLE = \"idle\",\n STARTING = \"starting\",\n STARTED = \"started\",\n STOPPING = \"stopping\",\n DELAYED_START = \"delayed_start\",\n}\n\nexport const ModelStore = defineStore(\"__sts__ModelStore\", {\n // State\n // https://pinia.vuejs.org/core-concepts/state.html\n state: (): IModelStores => {\n return {\n _models: {},\n _state: {},\n //_observabilitySubscriberManager: { }\n };\n /*\n serviceModel: { },\n agentModel: { },\n modelMeta: { },\n serviceModelSubscriptionKey: null,\n agentModelSubscriptionKey: null,\n friendlyName: { },\n friendNameIndex: 1\n */\n },\n\n // Getters\n // https://pinia.vuejs.org/core-concepts/getters.html\n\n // Actions\n // https://pinia.vuejs.org/core-concepts/actions.html\n actions: {\n /*\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n UpdateModel(model: MasterModel): void {\n //this.masterModel.serviceModel = _cloneDeep(model.serviceModel.model);\n //this.masterModel.agentModel = _cloneDeep(model.agentModel.model);\n },\n UpdateLogDataDirect(modeNode: any, logData: string[]): void {\n if (modeNode.instruments) {\n modeNode.instruments[Gauge.LOGGER] = {\n '_': 'd',\n val: _cloneDeep(logData)\n } as any\n modeNode.instruments[Gauge.LOGGER_COPY] = {\n '_': 'd',\n val: _cloneDeep(logData)\n } as any\n }\n },\n UpdateLogData(modeNode: any, logData: string[]): void {\n this.UpdateLogDataDirect(modeNode, [ ]);\n if (modeNode.instruments && modeNode.children) {\n for (const [k, v] of Object.entries(modeNode.children) as any) {\n this.UpdateLogDataDirect(v, [ ]);\n }\n }\n },\n UpdateModelEx(model: ModelNode): void {\n try {\n this.model = _cloneDeep((model as any).data);\n if (!this.model.context?.serviceInstanceId) {\n // Remove aggregated logs (legacy instruments when logs part of payload) for non serviceInstanceId 'levels'\n this.UpdateLogData(this.model, [ ]);\n }\n } catch (error) {\n console.error(chalk.red(`${error}`));\n //console.error(chalk.red(`${JSON.stringify(this.model)}`));\n }\n },\n UpdateModelLogs(nodeId: string, logMessages: string[]): void {\n const topicSplit = nodeId.split('_');\n const serviceInstanceId = `${topicSplit[0]}@${topicSplit[1]}`;\n const serviceInstanceProcessId = `${topicSplit[2]}@${topicSplit[3]}`;\n\n //topic = (serviceInstanceId + '_' + serviceInstanceProcessId).replace(/@/g, '_');\n if (this.model.children) {\n for (const [k, v] of Object.entries(this.model.children) as any) {\n if (v.context.serviceInstanceId.localeCompare(serviceInstanceId) === 0) {\n if (v.context.serviceInstanceProcessId.localeCompare(serviceInstanceProcessId) === 0) {\n this.UpdateLogDataDirect(v, logMessages);\n }\n }\n }\n }\n },\n */\n\n GetSate(modelId: string): string {\n if (!this._state[modelId]) {\n this._state[modelId] = _estate.IDLE;\n }\n return this._state[modelId];\n },\n\n UpdateSate(modelId: string, newSate: string): void {\n this._state[modelId] = newSate;\n },\n\n /*\n UpdateObservabilitySubscriberManager(modelId: string, observabilitySubscriberManager: ObservabilitySubscriberManager | null): void {\n if (observabilitySubscriberManager === null) {\n delete this._observabilitySubscriberManager[modelId];\n } else {\n this._observabilitySubscriberManager[modelId] = observabilitySubscriberManager;\n }\n },\n */\n\n SetupNewModelId(modelId: string): void {\n this._models[modelId] = {\n serviceModel: {},\n agentModel: {},\n modelMeta: {},\n serviceModelSubscriptionKey: null,\n agentModelSubscriptionKey: null,\n friendlyName: {},\n friendNameIndex: 1,\n state: \"idle\",\n };\n },\n\n UpdateServiceModel(\n modelId: string,\n model: JSONObject,\n subscriptionKey: ISubscriptionKey\n ): void {\n try {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n this._models[modelId].serviceModel = _cloneDeep(model);\n this._models[modelId].serviceModelSubscriptionKey =\n subscriptionKey;\n } catch (error) {\n console.error(error);\n }\n },\n\n UpdateAgentModel(\n modelId: string,\n model: JSONObject,\n subscriptionKey: ISubscriptionKey\n ): void {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n this._models[modelId].agentModel = _cloneDeep(model);\n this._models[modelId].agentModelSubscriptionKey = subscriptionKey;\n //console.log(`agentModel: ${this.agentModel}`);\n //console.log(`agentModelSubscriptionKey: ${JSON.stringify(this.agentModelSubscriptionKey)}`);\n },\n\n GetFriendName(modelId: string, id: string): string {\n try {\n if (!this._models[modelId]) {\n this.SetupNewModelId(modelId);\n }\n if (!this._models[modelId].friendlyName[id]) {\n this._models[modelId].friendlyName[id] =\n `FN${this._models[modelId].friendNameIndex++}@${id.split(\"@\")[1]}`;\n }\n return this._models[modelId].friendlyName[id];\n } catch (error) {\n return `Error: ${error}`;\n }\n },\n },\n});\n","export const URI_BASE_STSUXVUE: string = \"/\";\n\nexport interface IRadioGroupElement {\n key: string;\n label: string;\n value: string;\n}\n\nexport interface IFormDataElement {\n elementType: string;\n model?: string | number | boolean;\n label?: string;\n hint?: string;\n description?: string;\n radioGroup?: IRadioGroupElement[];\n}\n\nexport type IFormData = IFormDataElement[];\n\nexport interface IObservabilitySubscriberManagerOptions {\n modelId: string;\n consumeInstrumentationMode: string;\n instrumentManagerEndpoint: string;\n instrumentManagerPort: string;\n instrumentManagerAPIRoot: string;\n}\n","<script setup lang=\"ts\">\nimport { ref, defineAsyncComponent } from \"vue\";\n\n//import VueApexCharts from 'vue3-apexcharts'\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n//const VueApexCharts = () => import('vue3-apexcharts')\n\nconst series = [\n {\n name: \"Duration (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n {\n name: \"Latency (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n];\n\nconst options = {\n chart: {\n type: \"bar\",\n height: 350,\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n },\n plotOptions: {\n bar: {\n horizontal: false,\n columnWidth: \"55%\",\n endingShape: \"rounded\",\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n show: true,\n width: 2,\n colors: [\"transparent\"],\n },\n xaxis: {\n categories: [\"10\", \"20\", \"50\", \"100\", \"1000\", \"5000\", \"EE\"],\n },\n yaxis: {\n title: {\n text: \"count\",\n },\n },\n fill: {\n opacity: 1,\n },\n tooltip: {\n enabled: false,\n y: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n formatter: function (val: any) {\n return \"$ \" + val + \" thousands\";\n },\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst barChart = ref(null);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst UpdateGraph = (durationSeries: any[], latencySeries: any[]) => {\n series[0].data = durationSeries.map((v) => v[0]);\n series[1].data = latencySeries.map((v) => v[0]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (barChart.value as any).updateSeries(series, true);\n};\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"barChart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { ref, defineAsyncComponent } from \"vue\";\n\n//import VueApexCharts from 'vue3-apexcharts'\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n//const VueApexCharts = () => import('vue3-apexcharts')\n\nconst series = [\n {\n name: \"Duration (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n {\n name: \"Latency (ms)\",\n data: [0, 0, 0, 0, 0, 0, 0],\n },\n];\n\nconst options = {\n chart: {\n type: \"bar\",\n height: 350,\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n },\n plotOptions: {\n bar: {\n horizontal: false,\n columnWidth: \"55%\",\n endingShape: \"rounded\",\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n show: true,\n width: 2,\n colors: [\"transparent\"],\n },\n xaxis: {\n categories: [\"10\", \"20\", \"50\", \"100\", \"1000\", \"5000\", \"EE\"],\n },\n yaxis: {\n title: {\n text: \"count\",\n },\n },\n fill: {\n opacity: 1,\n },\n tooltip: {\n enabled: false,\n y: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n formatter: function (val: any) {\n return \"$ \" + val + \" thousands\";\n },\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst barChart = ref(null);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst UpdateGraph = (durationSeries: any[], latencySeries: any[]) => {\n series[0].data = durationSeries.map((v) => v[0]);\n series[1].data = latencySeries.map((v) => v[0]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (barChart.value as any).updateSeries(series, true);\n};\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"barChart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { reactive, defineAsyncComponent } from \"vue\";\n//import ApexCharts, { type ApexOptions } from \"apexcharts\";\n\n//import VueApexCharts from 'vue3-apexcharts'\n//const VueApexCharts = () => import('vue3-apexcharts')\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nlet interval = 0;\n\ninterface dataPoint {\n x: number;\n y: number;\n}\ninterface series {\n data: dataPoint[];\n}\n\nconst series: series[] = reactive([{ data: [] }]);\n\nconst UpdateGraph = (val: number) => {\n series[0].data.push({\n x: interval++,\n y: val,\n });\n if (series[0].data.length > 50) {\n series[0].data.shift();\n }\n};\n\nconst options = {\n chart: {\n id: \"realtime\",\n height: 50,\n type: \"area\",\n animations: {\n enabled: false,\n easing: \"linear\",\n dynamicAnimation: {\n speed: 1000,\n },\n },\n toolbar: {\n show: false,\n },\n zoom: {\n enabled: false,\n },\n sparkline: {\n enabled: false,\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n curve: \"smooth\",\n width: 3,\n colors: [\"#6e1db5\"],\n },\n markers: {\n size: 0,\n },\n fill: {\n //colors: ['#BDD5F5'],\n //gradientToColors: ['#EE2A17'],\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 100, 100],\n },\n },\n tooltip: {\n enabled: false,\n },\n xaxis: {\n //type: \"datetime\",\n //range: 777600000\n type: \"numeric\",\n range: 25,\n tickAmount: 8,\n labels: {\n show: false,\n },\n },\n yaxis: {\n min: 0,\n //max: 100,\n tickAmount: 5,\n labels: {\n formatter: function (val: any, index: any) {\n return val.toFixed(2);\n },\n },\n },\n legend: {\n show: false,\n },\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { reactive, defineAsyncComponent } from \"vue\";\n//import ApexCharts, { type ApexOptions } from \"apexcharts\";\n\n//import VueApexCharts from 'vue3-apexcharts'\n//const VueApexCharts = () => import('vue3-apexcharts')\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nlet interval = 0;\n\ninterface dataPoint {\n x: number;\n y: number;\n}\ninterface series {\n data: dataPoint[];\n}\n\nconst series: series[] = reactive([{ data: [] }]);\n\nconst UpdateGraph = (val: number) => {\n series[0].data.push({\n x: interval++,\n y: val,\n });\n if (series[0].data.length > 50) {\n series[0].data.shift();\n }\n};\n\nconst options = {\n chart: {\n id: \"realtime\",\n height: 50,\n type: \"area\",\n animations: {\n enabled: false,\n easing: \"linear\",\n dynamicAnimation: {\n speed: 1000,\n },\n },\n toolbar: {\n show: false,\n },\n zoom: {\n enabled: false,\n },\n sparkline: {\n enabled: false,\n },\n },\n dataLabels: {\n enabled: false,\n },\n stroke: {\n curve: \"smooth\",\n width: 3,\n colors: [\"#6e1db5\"],\n },\n markers: {\n size: 0,\n },\n fill: {\n //colors: ['#BDD5F5'],\n //gradientToColors: ['#EE2A17'],\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 100, 100],\n },\n },\n tooltip: {\n enabled: false,\n },\n xaxis: {\n //type: \"datetime\",\n //range: 777600000\n type: \"numeric\",\n range: 25,\n tickAmount: 8,\n labels: {\n show: false,\n },\n },\n yaxis: {\n min: 0,\n //max: 100,\n tickAmount: 5,\n labels: {\n formatter: function (val: any, index: any) {\n return val.toFixed(2);\n },\n },\n },\n legend: {\n show: false,\n },\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n\n<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"250\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"100\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n style=\"background: red\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\n\nimport type { JSONObject } from \"@nsshunt/stsutils\";\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst props = defineProps<{\n series: JSONObject[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = {\n chart: {\n id: \"multibarrealtime\",\n //height: 0,\n type: \"bar\",\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n offsetX: 0,\n offsetY: 0,\n parentHeightOffset: 0,\n },\n plotOptions: {\n bar: {\n barHeight: \"100%\",\n distributed: true,\n horizontal: true,\n /*\n dataLabels: {\n position: 'left',\n }\n */\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n dataLabels: {\n enabled: true,\n textAnchor: \"start\",\n //distributed: true,\n style: {\n colors: [\"#fff\"],\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars\n formatter: function (val: any, opt: any) {\n //return opt.w.globals.labels[opt.dataPointIndex] + \": \" + val\n return val;\n },\n offsetX: -10,\n offsetY: 0,\n dropShadow: {\n enabled: true,\n },\n },\n stroke: {\n width: 1,\n colors: [\"#fff\"],\n },\n xaxis: {\n categories: [\"AR\", \"TCP\", \"Pool\"],\n },\n yaxis: {\n labels: {\n show: true,\n },\n },\n legend: {\n show: false,\n },\n tooltip: {\n enabled: false,\n },\n grid: {\n show: true,\n padding: {\n top: -20,\n right: 20,\n bottom: -5,\n left: 5,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"100\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n style=\"background: red\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\n\nimport type { JSONObject } from \"@nsshunt/stsutils\";\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst props = defineProps<{\n series: JSONObject[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = {\n chart: {\n id: \"multibarrealtime\",\n //height: 0,\n type: \"bar\",\n animations: {\n enabled: false,\n },\n toolbar: {\n show: false,\n },\n offsetX: 0,\n offsetY: 0,\n parentHeightOffset: 0,\n },\n plotOptions: {\n bar: {\n barHeight: \"100%\",\n distributed: true,\n horizontal: true,\n /*\n dataLabels: {\n position: 'left',\n }\n */\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n dataLabels: {\n enabled: true,\n textAnchor: \"start\",\n //distributed: true,\n style: {\n colors: [\"#fff\"],\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars\n formatter: function (val: any, opt: any) {\n //return opt.w.globals.labels[opt.dataPointIndex] + \": \" + val\n return val;\n },\n offsetX: -10,\n offsetY: 0,\n dropShadow: {\n enabled: true,\n },\n },\n stroke: {\n width: 1,\n colors: [\"#fff\"],\n },\n xaxis: {\n categories: [\"AR\", \"TCP\", \"Pool\"],\n },\n yaxis: {\n labels: {\n show: true,\n },\n },\n legend: {\n show: false,\n },\n tooltip: {\n enabled: false,\n },\n grid: {\n show: true,\n padding: {\n top: -20,\n right: 20,\n bottom: -5,\n left: 5,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"140\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, defineAsyncComponent } from \"vue\";\n\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nconst props = defineProps<{\n series: number[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = computed(() => {\n return {\n chart: {\n id: \"realtime\",\n //height: 0,\n type: \"radialBar\",\n },\n plotOptions: {\n radialBar: {\n offsetY: 0,\n startAngle: 0,\n endAngle: 270,\n hollow: {\n margin: 5,\n size: \"30%\",\n background: \"transparent\",\n image: undefined,\n },\n dataLabels: {\n name: {\n show: false,\n },\n value: {\n show: false,\n },\n },\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n labels: props.labels,\n legend: {\n show: true,\n floating: true,\n fontSize: \"14px\",\n position: \"left\",\n offsetX: 180,\n offsetY: 6,\n labels: {\n useSeriesColors: true,\n },\n markers: {\n size: 0,\n },\n //formatter: function(seriesName: string, opts: JSONObject) {\n //return seriesName + \": \" + opts.w.globals.series[opts.seriesIndex]\n //},\n itemMargin: {\n vertical: 0,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any;\n});\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","<template>\n <div>\n <VueApexCharts\n ref=\"chart\"\n height=\"140\"\n width=\"100%\"\n :options=\"options\"\n :series=\"series\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, defineAsyncComponent } from \"vue\";\n\nconst VueApexCharts = defineAsyncComponent(() => import(\"vue3-apexcharts\"));\n\nconst props = defineProps<{\n series: number[];\n labels: string[];\n}>();\n\nconst UpdateGraph = () => {\n /*\n series[0] = (activeRequests / maxNum) * 100.0;\n series[1] = (TCPConnecitons / maxNum) * 100.0;\n series[2] = (connectionPoolTotal / maxNum) * 100.0;\n\n labels[0] = `AR: ${activeRequests}`;\n labels[1] = `TCP: ${TCPConnecitons}`;\n labels[2] = `Pool: ${connectionPoolTotal}`;\n\n //console.log(series);\n */\n};\n\nconst options = computed(() => {\n return {\n chart: {\n id: \"realtime\",\n //height: 0,\n type: \"radialBar\",\n },\n plotOptions: {\n radialBar: {\n offsetY: 0,\n startAngle: 0,\n endAngle: 270,\n hollow: {\n margin: 5,\n size: \"30%\",\n background: \"transparent\",\n image: undefined,\n },\n dataLabels: {\n name: {\n show: false,\n },\n value: {\n show: false,\n },\n },\n },\n },\n colors: [\"#eba834\", \"#34b1eb\", \"#6beb34\"],\n labels: props.labels,\n legend: {\n show: true,\n floating: true,\n fontSize: \"14px\",\n position: \"left\",\n offsetX: 180,\n offsetY: 6,\n labels: {\n useSeriesColors: true,\n },\n markers: {\n size: 0,\n },\n //formatter: function(seriesName: string, opts: JSONObject) {\n //return seriesName + \": \" + opts.w.globals.series[opts.seriesIndex]\n //},\n itemMargin: {\n vertical: 0,\n },\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any;\n});\n\ndefineExpose({\n UpdateGraph,\n});\n</script>\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Abreve\":\"Ă\",\"abreve\":\"ă\",\"ac\":\"∾\",\"acd\":\"∿\",\"acE\":\"∾̳\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"Acy\":\"А\",\"acy\":\"а\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"af\":\"⁡\",\"Afr\":\"𝔄\",\"afr\":\"𝔞\",\"Agrave\":\"À\",\"agrave\":\"à\",\"alefsym\":\"ℵ\",\"aleph\":\"ℵ\",\"Alpha\":\"Α\",\"alpha\":\"α\",\"Amacr\":\"Ā\",\"amacr\":\"ā\",\"amalg\":\"⨿\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"⩕\",\"And\":\"⩓\",\"and\":\"∧\",\"andd\":\"⩜\",\"andslope\":\"⩘\",\"andv\":\"⩚\",\"ang\":\"∠\",\"ange\":\"⦤\",\"angle\":\"∠\",\"angmsdaa\":\"⦨\",\"angmsdab\":\"⦩\",\"angmsdac\":\"⦪\",\"angmsdad\":\"⦫\",\"angmsdae\":\"⦬\",\"angmsdaf\":\"⦭\",\"angmsdag\":\"⦮\",\"angmsdah\":\"⦯\",\"angmsd\":\"∡\",\"angrt\":\"∟\",\"angrtvb\":\"⊾\",\"angrtvbd\":\"⦝\",\"angsph\":\"∢\",\"angst\":\"Å\",\"angzarr\":\"⍼\",\"Aogon\":\"Ą\",\"aogon\":\"ą\",\"Aopf\":\"𝔸\",\"aopf\":\"𝕒\",\"apacir\":\"⩯\",\"ap\":\"≈\",\"apE\":\"⩰\",\"ape\":\"≊\",\"apid\":\"≋\",\"apos\":\"'\",\"ApplyFunction\":\"⁡\",\"approx\":\"≈\",\"approxeq\":\"≊\",\"Aring\":\"Å\",\"aring\":\"å\",\"Ascr\":\"𝒜\",\"ascr\":\"𝒶\",\"Assign\":\"≔\",\"ast\":\"*\",\"asymp\":\"≈\",\"asympeq\":\"≍\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"awconint\":\"∳\",\"awint\":\"⨑\",\"backcong\":\"≌\",\"backepsilon\":\"϶\",\"backprime\":\"‵\",\"backsim\":\"∽\",\"backsimeq\":\"⋍\",\"Backslash\":\"∖\",\"Barv\":\"⫧\",\"barvee\":\"⊽\",\"barwed\":\"⌅\",\"Barwed\":\"⌆\",\"barwedge\":\"⌅\",\"bbrk\":\"⎵\",\"bbrktbrk\":\"⎶\",\"bcong\":\"≌\",\"Bcy\":\"Б\",\"bcy\":\"б\",\"bdquo\":\"„\",\"becaus\":\"∵\",\"because\":\"∵\",\"Because\":\"∵\",\"bemptyv\":\"⦰\",\"bepsi\":\"϶\",\"bernou\":\"ℬ\",\"Bernoullis\":\"ℬ\",\"Beta\":\"Β\",\"beta\":\"β\",\"beth\":\"ℶ\",\"between\":\"≬\",\"Bfr\":\"𝔅\",\"bfr\":\"𝔟\",\"bigcap\":\"⋂\",\"bigcirc\":\"◯\",\"bigcup\":\"⋃\",\"bigodot\":\"⨀\",\"bigoplus\":\"⨁\",\"bigotimes\":\"⨂\",\"bigsqcup\":\"⨆\",\"bigstar\":\"★\",\"bigtriangledown\":\"▽\",\"bigtriangleup\":\"△\",\"biguplus\":\"⨄\",\"bigvee\":\"⋁\",\"bigwedge\":\"⋀\",\"bkarow\":\"⤍\",\"blacklozenge\":\"⧫\",\"blacksquare\":\"▪\",\"blacktriangle\":\"▴\",\"blacktriangledown\":\"▾\",\"blacktriangleleft\":\"◂\",\"blacktriangleright\":\"▸\",\"blank\":\"␣\",\"blk12\":\"▒\",\"blk14\":\"░\",\"blk34\":\"▓\",\"block\":\"█\",\"bne\":\"=⃥\",\"bnequiv\":\"≡⃥\",\"bNot\":\"⫭\",\"bnot\":\"⌐\",\"Bopf\":\"𝔹\",\"bopf\":\"𝕓\",\"bot\":\"⊥\",\"bottom\":\"⊥\",\"bowtie\":\"⋈\",\"boxbox\":\"⧉\",\"boxdl\":\"┐\",\"boxdL\":\"╕\",\"boxDl\":\"╖\",\"boxDL\":\"╗\",\"boxdr\":\"┌\",\"boxdR\":\"╒\",\"boxDr\":\"╓\",\"boxDR\":\"╔\",\"boxh\":\"─\",\"boxH\":\"═\",\"boxhd\":\"┬\",\"boxHd\":\"╤\",\"boxhD\":\"╥\",\"boxHD\":\"╦\",\"boxhu\":\"┴\",\"boxHu\":\"╧\",\"boxhU\":\"╨\",\"boxHU\":\"╩\",\"boxminus\":\"⊟\",\"boxplus\":\"⊞\",\"boxtimes\":\"⊠\",\"boxul\":\"┘\",\"boxuL\":\"╛\",\"boxUl\":\"╜\",\"boxUL\":\"╝\",\"boxur\":\"└\",\"boxuR\":\"╘\",\"boxUr\":\"╙\",\"boxUR\":\"╚\",\"boxv\":\"│\",\"boxV\":\"║\",\"boxvh\":\"┼\",\"boxvH\":\"╪\",\"boxVh\":\"╫\",\"boxVH\":\"╬\",\"boxvl\":\"┤\",\"boxvL\":\"╡\",\"boxVl\":\"╢\",\"boxVL\":\"╣\",\"boxvr\":\"├\",\"boxvR\":\"╞\",\"boxVr\":\"╟\",\"boxVR\":\"╠\",\"bprime\":\"‵\",\"breve\":\"˘\",\"Breve\":\"˘\",\"brvbar\":\"¦\",\"bscr\":\"𝒷\",\"Bscr\":\"ℬ\",\"bsemi\":\"⁏\",\"bsim\":\"∽\",\"bsime\":\"⋍\",\"bsolb\":\"⧅\",\"bsol\":\"\\\\\",\"bsolhsub\":\"⟈\",\"bull\":\"•\",\"bullet\":\"•\",\"bump\":\"≎\",\"bumpE\":\"⪮\",\"bumpe\":\"≏\",\"Bumpeq\":\"≎\",\"bumpeq\":\"≏\",\"Cacute\":\"Ć\",\"cacute\":\"ć\",\"capand\":\"⩄\",\"capbrcup\":\"⩉\",\"capcap\":\"⩋\",\"cap\":\"∩\",\"Cap\":\"⋒\",\"capcup\":\"⩇\",\"capdot\":\"⩀\",\"CapitalDifferentialD\":\"ⅅ\",\"caps\":\"∩︀\",\"caret\":\"⁁\",\"caron\":\"ˇ\",\"Cayleys\":\"ℭ\",\"ccaps\":\"⩍\",\"Ccaron\":\"Č\",\"ccaron\":\"č\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"Ccirc\":\"Ĉ\",\"ccirc\":\"ĉ\",\"Cconint\":\"∰\",\"ccups\":\"⩌\",\"ccupssm\":\"⩐\",\"Cdot\":\"Ċ\",\"cdot\":\"ċ\",\"cedil\":\"¸\",\"Cedilla\":\"¸\",\"cemptyv\":\"⦲\",\"cent\":\"¢\",\"centerdot\":\"·\",\"CenterDot\":\"·\",\"cfr\":\"𝔠\",\"Cfr\":\"ℭ\",\"CHcy\":\"Ч\",\"chcy\":\"ч\",\"check\":\"✓\",\"checkmark\":\"✓\",\"Chi\":\"Χ\",\"chi\":\"χ\",\"circ\":\"ˆ\",\"circeq\":\"≗\",\"circlearrowleft\":\"↺\",\"circlearrowright\":\"↻\",\"circledast\":\"⊛\",\"circledcirc\":\"⊚\",\"circleddash\":\"⊝\",\"CircleDot\":\"⊙\",\"circledR\":\"®\",\"circledS\":\"Ⓢ\",\"CircleMinus\":\"⊖\",\"CirclePlus\":\"⊕\",\"CircleTimes\":\"⊗\",\"cir\":\"○\",\"cirE\":\"⧃\",\"cire\":\"≗\",\"cirfnint\":\"⨐\",\"cirmid\":\"⫯\",\"cirscir\":\"⧂\",\"ClockwiseContourIntegral\":\"∲\",\"CloseCurlyDoubleQuote\":\"”\",\"CloseCurlyQuote\":\"’\",\"clubs\":\"♣\",\"clubsuit\":\"♣\",\"colon\":\":\",\"Colon\":\"∷\",\"Colone\":\"⩴\",\"colone\":\"≔\",\"coloneq\":\"≔\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"∁\",\"compfn\":\"∘\",\"complement\":\"∁\",\"complexes\":\"ℂ\",\"cong\":\"≅\",\"congdot\":\"⩭\",\"Congruent\":\"≡\",\"conint\":\"∮\",\"Conint\":\"∯\",\"ContourIntegral\":\"∮\",\"copf\":\"𝕔\",\"Copf\":\"ℂ\",\"coprod\":\"∐\",\"Coproduct\":\"∐\",\"copy\":\"©\",\"COPY\":\"©\",\"copysr\":\"℗\",\"CounterClockwiseContourIntegral\":\"∳\",\"crarr\":\"↵\",\"cross\":\"✗\",\"Cross\":\"⨯\",\"Cscr\":\"𝒞\",\"cscr\":\"𝒸\",\"csub\":\"⫏\",\"csube\":\"⫑\",\"csup\":\"⫐\",\"csupe\":\"⫒\",\"ctdot\":\"⋯\",\"cudarrl\":\"⤸\",\"cudarrr\":\"⤵\",\"cuepr\":\"⋞\",\"cuesc\":\"⋟\",\"cularr\":\"↶\",\"cularrp\":\"⤽\",\"cupbrcap\":\"⩈\",\"cupcap\":\"⩆\",\"CupCap\":\"≍\",\"cup\":\"∪\",\"Cup\":\"⋓\",\"cupcup\":\"⩊\",\"cupdot\":\"⊍\",\"cupor\":\"⩅\",\"cups\":\"∪︀\",\"curarr\":\"↷\",\"curarrm\":\"⤼\",\"curlyeqprec\":\"⋞\",\"curlyeqsucc\":\"⋟\",\"curlyvee\":\"⋎\",\"curlywedge\":\"⋏\",\"curren\":\"¤\",\"curvearrowleft\":\"↶\",\"curvearrowright\":\"↷\",\"cuvee\":\"⋎\",\"cuwed\":\"⋏\",\"cwconint\":\"∲\",\"cwint\":\"∱\",\"cylcty\":\"⌭\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"daleth\":\"ℸ\",\"darr\":\"↓\",\"Darr\":\"↡\",\"dArr\":\"⇓\",\"dash\":\"‐\",\"Dashv\":\"⫤\",\"dashv\":\"⊣\",\"dbkarow\":\"⤏\",\"dblac\":\"˝\",\"Dcaron\":\"Ď\",\"dcaron\":\"ď\",\"Dcy\":\"Д\",\"dcy\":\"д\",\"ddagger\":\"‡\",\"ddarr\":\"⇊\",\"DD\":\"ⅅ\",\"dd\":\"ⅆ\",\"DDotrahd\":\"⤑\",\"ddotseq\":\"⩷\",\"deg\":\"°\",\"Del\":\"∇\",\"Delta\":\"Δ\",\"delta\":\"δ\",\"demptyv\":\"⦱\",\"dfisht\":\"⥿\",\"Dfr\":\"𝔇\",\"dfr\":\"𝔡\",\"dHar\":\"⥥\",\"dharl\":\"⇃\",\"dharr\":\"⇂\",\"DiacriticalAcute\":\"´\",\"DiacriticalDot\":\"˙\",\"DiacriticalDoubleAcute\":\"˝\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"˜\",\"diam\":\"⋄\",\"diamond\":\"⋄\",\"Diamond\":\"⋄\",\"diamondsuit\":\"♦\",\"diams\":\"♦\",\"die\":\"¨\",\"DifferentialD\":\"ⅆ\",\"digamma\":\"ϝ\",\"disin\":\"⋲\",\"div\":\"÷\",\"divide\":\"÷\",\"divideontimes\":\"⋇\",\"divonx\":\"⋇\",\"DJcy\":\"Ђ\",\"djcy\":\"ђ\",\"dlcorn\":\"⌞\",\"dlcrop\":\"⌍\",\"dollar\":\"$\",\"Dopf\":\"𝔻\",\"dopf\":\"𝕕\",\"Dot\":\"¨\",\"dot\":\"˙\",\"DotDot\":\"⃜\",\"doteq\":\"≐\",\"doteqdot\":\"≑\",\"DotEqual\":\"≐\",\"dotminus\":\"∸\",\"dotplus\":\"∔\",\"dotsquare\":\"⊡\",\"doublebarwedge\":\"⌆\",\"DoubleContourIntegral\":\"∯\",\"DoubleDot\":\"¨\",\"DoubleDownArrow\":\"⇓\",\"DoubleLeftArrow\":\"⇐\",\"DoubleLeftRightArrow\":\"⇔\",\"DoubleLeftTee\":\"⫤\",\"DoubleLongLeftArrow\":\"⟸\",\"DoubleLongLeftRightArrow\":\"⟺\",\"DoubleLongRightArrow\":\"⟹\",\"DoubleRightArrow\":\"⇒\",\"DoubleRightTee\":\"⊨\",\"DoubleUpArrow\":\"⇑\",\"DoubleUpDownArrow\":\"⇕\",\"DoubleVerticalBar\":\"∥\",\"DownArrowBar\":\"⤓\",\"downarrow\":\"↓\",\"DownArrow\":\"↓\",\"Downarrow\":\"⇓\",\"DownArrowUpArrow\":\"⇵\",\"DownBreve\":\"̑\",\"downdownarrows\":\"⇊\",\"downharpoonleft\":\"⇃\",\"downharpoonright\":\"⇂\",\"DownLeftRightVector\":\"⥐\",\"DownLeftTeeVector\":\"⥞\",\"DownLeftVectorBar\":\"⥖\",\"DownLeftVector\":\"↽\",\"DownRightTeeVector\":\"⥟\",\"DownRightVectorBar\":\"⥗\",\"DownRightVector\":\"⇁\",\"DownTeeArrow\":\"↧\",\"DownTee\":\"⊤\",\"drbkarow\":\"⤐\",\"drcorn\":\"⌟\",\"drcrop\":\"⌌\",\"Dscr\":\"𝒟\",\"dscr\":\"𝒹\",\"DScy\":\"Ѕ\",\"dscy\":\"ѕ\",\"dsol\":\"⧶\",\"Dstrok\":\"Đ\",\"dstrok\":\"đ\",\"dtdot\":\"⋱\",\"dtri\":\"▿\",\"dtrif\":\"▾\",\"duarr\":\"⇵\",\"duhar\":\"⥯\",\"dwangle\":\"⦦\",\"DZcy\":\"Џ\",\"dzcy\":\"џ\",\"dzigrarr\":\"⟿\",\"Eacute\":\"É\",\"eacute\":\"é\",\"easter\":\"⩮\",\"Ecaron\":\"Ě\",\"ecaron\":\"ě\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"ecir\":\"≖\",\"ecolon\":\"≕\",\"Ecy\":\"Э\",\"ecy\":\"э\",\"eDDot\":\"⩷\",\"Edot\":\"Ė\",\"edot\":\"ė\",\"eDot\":\"≑\",\"ee\":\"ⅇ\",\"efDot\":\"≒\",\"Efr\":\"𝔈\",\"efr\":\"𝔢\",\"eg\":\"⪚\",\"Egrave\":\"È\",\"egrave\":\"è\",\"egs\":\"⪖\",\"egsdot\":\"⪘\",\"el\":\"⪙\",\"Element\":\"∈\",\"elinters\":\"⏧\",\"ell\":\"ℓ\",\"els\":\"⪕\",\"elsdot\":\"⪗\",\"Emacr\":\"Ē\",\"emacr\":\"ē\",\"empty\":\"∅\",\"emptyset\":\"∅\",\"EmptySmallSquare\":\"◻\",\"emptyv\":\"∅\",\"EmptyVerySmallSquare\":\"▫\",\"emsp13\":\" \",\"emsp14\":\" \",\"emsp\":\" \",\"ENG\":\"Ŋ\",\"eng\":\"ŋ\",\"ensp\":\" \",\"Eogon\":\"Ę\",\"eogon\":\"ę\",\"Eopf\":\"𝔼\",\"eopf\":\"𝕖\",\"epar\":\"⋕\",\"eparsl\":\"⧣\",\"eplus\":\"⩱\",\"epsi\":\"ε\",\"Epsilon\":\"Ε\",\"epsilon\":\"ε\",\"epsiv\":\"ϵ\",\"eqcirc\":\"≖\",\"eqcolon\":\"≕\",\"eqsim\":\"≂\",\"eqslantgtr\":\"⪖\",\"eqslantless\":\"⪕\",\"Equal\":\"⩵\",\"equals\":\"=\",\"EqualTilde\":\"≂\",\"equest\":\"≟\",\"Equilibrium\":\"⇌\",\"equiv\":\"≡\",\"equivDD\":\"⩸\",\"eqvparsl\":\"⧥\",\"erarr\":\"⥱\",\"erDot\":\"≓\",\"escr\":\"ℯ\",\"Escr\":\"ℰ\",\"esdot\":\"≐\",\"Esim\":\"⩳\",\"esim\":\"≂\",\"Eta\":\"Η\",\"eta\":\"η\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"euro\":\"€\",\"excl\":\"!\",\"exist\":\"∃\",\"Exists\":\"∃\",\"expectation\":\"ℰ\",\"exponentiale\":\"ⅇ\",\"ExponentialE\":\"ⅇ\",\"fallingdotseq\":\"≒\",\"Fcy\":\"Ф\",\"fcy\":\"ф\",\"female\":\"♀\",\"ffilig\":\"ffi\",\"fflig\":\"ff\",\"ffllig\":\"ffl\",\"Ffr\":\"𝔉\",\"ffr\":\"𝔣\",\"filig\":\"fi\",\"FilledSmallSquare\":\"◼\",\"FilledVerySmallSquare\":\"▪\",\"fjlig\":\"fj\",\"flat\":\"♭\",\"fllig\":\"fl\",\"fltns\":\"▱\",\"fnof\":\"ƒ\",\"Fopf\":\"𝔽\",\"fopf\":\"𝕗\",\"forall\":\"∀\",\"ForAll\":\"∀\",\"fork\":\"⋔\",\"forkv\":\"⫙\",\"Fouriertrf\":\"ℱ\",\"fpartint\":\"⨍\",\"frac12\":\"½\",\"frac13\":\"⅓\",\"frac14\":\"¼\",\"frac15\":\"⅕\",\"frac16\":\"⅙\",\"frac18\":\"⅛\",\"frac23\":\"⅔\",\"frac25\":\"⅖\",\"frac34\":\"¾\",\"frac35\":\"⅗\",\"frac38\":\"⅜\",\"frac45\":\"⅘\",\"frac56\":\"⅚\",\"frac58\":\"⅝\",\"frac78\":\"⅞\",\"frasl\":\"⁄\",\"frown\":\"⌢\",\"fscr\":\"𝒻\",\"Fscr\":\"ℱ\",\"gacute\":\"ǵ\",\"Gamma\":\"Γ\",\"gamma\":\"γ\",\"Gammad\":\"Ϝ\",\"gammad\":\"ϝ\",\"gap\":\"⪆\",\"Gbreve\":\"Ğ\",\"gbreve\":\"ğ\",\"Gcedil\":\"Ģ\",\"Gcirc\":\"Ĝ\",\"gcirc\":\"ĝ\",\"Gcy\":\"Г\",\"gcy\":\"г\",\"Gdot\":\"Ġ\",\"gdot\":\"ġ\",\"ge\":\"≥\",\"gE\":\"≧\",\"gEl\":\"⪌\",\"gel\":\"⋛\",\"geq\":\"≥\",\"geqq\":\"≧\",\"geqslant\":\"⩾\",\"gescc\":\"⪩\",\"ges\":\"⩾\",\"gesdot\":\"⪀\",\"gesdoto\":\"⪂\",\"gesdotol\":\"⪄\",\"gesl\":\"⋛︀\",\"gesles\":\"⪔\",\"Gfr\":\"𝔊\",\"gfr\":\"𝔤\",\"gg\":\"≫\",\"Gg\":\"⋙\",\"ggg\":\"⋙\",\"gimel\":\"ℷ\",\"GJcy\":\"Ѓ\",\"gjcy\":\"ѓ\",\"gla\":\"⪥\",\"gl\":\"≷\",\"glE\":\"⪒\",\"glj\":\"⪤\",\"gnap\":\"⪊\",\"gnapprox\":\"⪊\",\"gne\":\"⪈\",\"gnE\":\"≩\",\"gneq\":\"⪈\",\"gneqq\":\"≩\",\"gnsim\":\"⋧\",\"Gopf\":\"𝔾\",\"gopf\":\"𝕘\",\"grave\":\"`\",\"GreaterEqual\":\"≥\",\"GreaterEqualLess\":\"⋛\",\"GreaterFullEqual\":\"≧\",\"GreaterGreater\":\"⪢\",\"GreaterLess\":\"≷\",\"GreaterSlantEqual\":\"⩾\",\"GreaterTilde\":\"≳\",\"Gscr\":\"𝒢\",\"gscr\":\"ℊ\",\"gsim\":\"≳\",\"gsime\":\"⪎\",\"gsiml\":\"⪐\",\"gtcc\":\"⪧\",\"gtcir\":\"⩺\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"≫\",\"gtdot\":\"⋗\",\"gtlPar\":\"⦕\",\"gtquest\":\"⩼\",\"gtrapprox\":\"⪆\",\"gtrarr\":\"⥸\",\"gtrdot\":\"⋗\",\"gtreqless\":\"⋛\",\"gtreqqless\":\"⪌\",\"gtrless\":\"≷\",\"gtrsim\":\"≳\",\"gvertneqq\":\"≩︀\",\"gvnE\":\"≩︀\",\"Hacek\":\"ˇ\",\"hairsp\":\" \",\"half\":\"½\",\"hamilt\":\"ℋ\",\"HARDcy\":\"Ъ\",\"hardcy\":\"ъ\",\"harrcir\":\"⥈\",\"harr\":\"↔\",\"hArr\":\"⇔\",\"harrw\":\"↭\",\"Hat\":\"^\",\"hbar\":\"ℏ\",\"Hcirc\":\"Ĥ\",\"hcirc\":\"ĥ\",\"hearts\":\"♥\",\"heartsuit\":\"♥\",\"hellip\":\"…\",\"hercon\":\"⊹\",\"hfr\":\"𝔥\",\"Hfr\":\"ℌ\",\"HilbertSpace\":\"ℋ\",\"hksearow\":\"⤥\",\"hkswarow\":\"⤦\",\"hoarr\":\"⇿\",\"homtht\":\"∻\",\"hookleftarrow\":\"↩\",\"hookrightarrow\":\"↪\",\"hopf\":\"𝕙\",\"Hopf\":\"ℍ\",\"horbar\":\"―\",\"HorizontalLine\":\"─\",\"hscr\":\"𝒽\",\"Hscr\":\"ℋ\",\"hslash\":\"ℏ\",\"Hstrok\":\"Ħ\",\"hstrok\":\"ħ\",\"HumpDownHump\":\"≎\",\"HumpEqual\":\"≏\",\"hybull\":\"⁃\",\"hyphen\":\"‐\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"ic\":\"⁣\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"Icy\":\"И\",\"icy\":\"и\",\"Idot\":\"İ\",\"IEcy\":\"Е\",\"iecy\":\"е\",\"iexcl\":\"¡\",\"iff\":\"⇔\",\"ifr\":\"𝔦\",\"Ifr\":\"ℑ\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"ii\":\"ⅈ\",\"iiiint\":\"⨌\",\"iiint\":\"∭\",\"iinfin\":\"⧜\",\"iiota\":\"℩\",\"IJlig\":\"IJ\",\"ijlig\":\"ij\",\"Imacr\":\"Ī\",\"imacr\":\"ī\",\"image\":\"ℑ\",\"ImaginaryI\":\"ⅈ\",\"imagline\":\"ℐ\",\"imagpart\":\"ℑ\",\"imath\":\"ı\",\"Im\":\"ℑ\",\"imof\":\"⊷\",\"imped\":\"Ƶ\",\"Implies\":\"⇒\",\"incare\":\"℅\",\"in\":\"∈\",\"infin\":\"∞\",\"infintie\":\"⧝\",\"inodot\":\"ı\",\"intcal\":\"⊺\",\"int\":\"∫\",\"Int\":\"∬\",\"integers\":\"ℤ\",\"Integral\":\"∫\",\"intercal\":\"⊺\",\"Intersection\":\"⋂\",\"intlarhk\":\"⨗\",\"intprod\":\"⨼\",\"InvisibleComma\":\"⁣\",\"InvisibleTimes\":\"⁢\",\"IOcy\":\"Ё\",\"iocy\":\"ё\",\"Iogon\":\"Į\",\"iogon\":\"į\",\"Iopf\":\"𝕀\",\"iopf\":\"𝕚\",\"Iota\":\"Ι\",\"iota\":\"ι\",\"iprod\":\"⨼\",\"iquest\":\"¿\",\"iscr\":\"𝒾\",\"Iscr\":\"ℐ\",\"isin\":\"∈\",\"isindot\":\"⋵\",\"isinE\":\"⋹\",\"isins\":\"⋴\",\"isinsv\":\"⋳\",\"isinv\":\"∈\",\"it\":\"⁢\",\"Itilde\":\"Ĩ\",\"itilde\":\"ĩ\",\"Iukcy\":\"І\",\"iukcy\":\"і\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"Jcirc\":\"Ĵ\",\"jcirc\":\"ĵ\",\"Jcy\":\"Й\",\"jcy\":\"й\",\"Jfr\":\"𝔍\",\"jfr\":\"𝔧\",\"jmath\":\"ȷ\",\"Jopf\":\"𝕁\",\"jopf\":\"𝕛\",\"Jscr\":\"𝒥\",\"jscr\":\"𝒿\",\"Jsercy\":\"Ј\",\"jsercy\":\"ј\",\"Jukcy\":\"Є\",\"jukcy\":\"є\",\"Kappa\":\"Κ\",\"kappa\":\"κ\",\"kappav\":\"ϰ\",\"Kcedil\":\"Ķ\",\"kcedil\":\"ķ\",\"Kcy\":\"К\",\"kcy\":\"к\",\"Kfr\":\"𝔎\",\"kfr\":\"𝔨\",\"kgreen\":\"ĸ\",\"KHcy\":\"Х\",\"khcy\":\"х\",\"KJcy\":\"Ќ\",\"kjcy\":\"ќ\",\"Kopf\":\"𝕂\",\"kopf\":\"𝕜\",\"Kscr\":\"𝒦\",\"kscr\":\"𝓀\",\"lAarr\":\"⇚\",\"Lacute\":\"Ĺ\",\"lacute\":\"ĺ\",\"laemptyv\":\"⦴\",\"lagran\":\"ℒ\",\"Lambda\":\"Λ\",\"lambda\":\"λ\",\"lang\":\"⟨\",\"Lang\":\"⟪\",\"langd\":\"⦑\",\"langle\":\"⟨\",\"lap\":\"⪅\",\"Laplacetrf\":\"ℒ\",\"laquo\":\"«\",\"larrb\":\"⇤\",\"larrbfs\":\"⤟\",\"larr\":\"←\",\"Larr\":\"↞\",\"lArr\":\"⇐\",\"larrfs\":\"⤝\",\"larrhk\":\"↩\",\"larrlp\":\"↫\",\"larrpl\":\"⤹\",\"larrsim\":\"⥳\",\"larrtl\":\"↢\",\"latail\":\"⤙\",\"lAtail\":\"⤛\",\"lat\":\"⪫\",\"late\":\"⪭\",\"lates\":\"⪭︀\",\"lbarr\":\"⤌\",\"lBarr\":\"⤎\",\"lbbrk\":\"❲\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"⦋\",\"lbrksld\":\"⦏\",\"lbrkslu\":\"⦍\",\"Lcaron\":\"Ľ\",\"lcaron\":\"ľ\",\"Lcedil\":\"Ļ\",\"lcedil\":\"ļ\",\"lceil\":\"⌈\",\"lcub\":\"{\",\"Lcy\":\"Л\",\"lcy\":\"л\",\"ldca\":\"⤶\",\"ldquo\":\"“\",\"ldquor\":\"„\",\"ldrdhar\":\"⥧\",\"ldrushar\":\"⥋\",\"ldsh\":\"↲\",\"le\":\"≤\",\"lE\":\"≦\",\"LeftAngleBracket\":\"⟨\",\"LeftArrowBar\":\"⇤\",\"leftarrow\":\"←\",\"LeftArrow\":\"←\",\"Leftarrow\":\"⇐\",\"LeftArrowRightArrow\":\"⇆\",\"leftarrowtail\":\"↢\",\"LeftCeiling\":\"⌈\",\"LeftDoubleBracket\":\"⟦\",\"LeftDownTeeVector\":\"⥡\",\"LeftDownVectorBar\":\"⥙\",\"LeftDownVector\":\"⇃\",\"LeftFloor\":\"⌊\",\"leftharpoondown\":\"↽\",\"leftharpoonup\":\"↼\",\"leftleftarrows\":\"⇇\",\"leftrightarrow\":\"↔\",\"LeftRightArrow\":\"↔\",\"Leftrightarrow\":\"⇔\",\"leftrightarrows\":\"⇆\",\"leftrightharpoons\":\"⇋\",\"leftrightsquigarrow\":\"↭\",\"LeftRightVector\":\"⥎\",\"LeftTeeArrow\":\"↤\",\"LeftTee\":\"⊣\",\"LeftTeeVector\":\"⥚\",\"leftthreetimes\":\"⋋\",\"LeftTriangleBar\":\"⧏\",\"LeftTriangle\":\"⊲\",\"LeftTriangleEqual\":\"⊴\",\"LeftUpDownVector\":\"⥑\",\"LeftUpTeeVector\":\"⥠\",\"LeftUpVectorBar\":\"⥘\",\"LeftUpVector\":\"↿\",\"LeftVectorBar\":\"⥒\",\"LeftVector\":\"↼\",\"lEg\":\"⪋\",\"leg\":\"⋚\",\"leq\":\"≤\",\"leqq\":\"≦\",\"leqslant\":\"⩽\",\"lescc\":\"⪨\",\"les\":\"⩽\",\"lesdot\":\"⩿\",\"lesdoto\":\"⪁\",\"lesdotor\":\"⪃\",\"lesg\":\"⋚︀\",\"lesges\":\"⪓\",\"lessapprox\":\"⪅\",\"lessdot\":\"⋖\",\"lesseqgtr\":\"⋚\",\"lesseqqgtr\":\"⪋\",\"LessEqualGreater\":\"⋚\",\"LessFullEqual\":\"≦\",\"LessGreater\":\"≶\",\"lessgtr\":\"≶\",\"LessLess\":\"⪡\",\"lesssim\":\"≲\",\"LessSlantEqual\":\"⩽\",\"LessTilde\":\"≲\",\"lfisht\":\"⥼\",\"lfloor\":\"⌊\",\"Lfr\":\"𝔏\",\"lfr\":\"𝔩\",\"lg\":\"≶\",\"lgE\":\"⪑\",\"lHar\":\"⥢\",\"lhard\":\"↽\",\"lharu\":\"↼\",\"lharul\":\"⥪\",\"lhblk\":\"▄\",\"LJcy\":\"Љ\",\"ljcy\":\"љ\",\"llarr\":\"⇇\",\"ll\":\"≪\",\"Ll\":\"⋘\",\"llcorner\":\"⌞\",\"Lleftarrow\":\"⇚\",\"llhard\":\"⥫\",\"lltri\":\"◺\",\"Lmidot\":\"Ŀ\",\"lmidot\":\"ŀ\",\"lmoustache\":\"⎰\",\"lmoust\":\"⎰\",\"lnap\":\"⪉\",\"lnapprox\":\"⪉\",\"lne\":\"⪇\",\"lnE\":\"≨\",\"lneq\":\"⪇\",\"lneqq\":\"≨\",\"lnsim\":\"⋦\",\"loang\":\"⟬\",\"loarr\":\"⇽\",\"lobrk\":\"⟦\",\"longleftarrow\":\"⟵\",\"LongLeftArrow\":\"⟵\",\"Longleftarrow\":\"⟸\",\"longleftrightarrow\":\"⟷\",\"LongLeftRightArrow\":\"⟷\",\"Longleftrightarrow\":\"⟺\",\"longmapsto\":\"⟼\",\"longrightarrow\":\"⟶\",\"LongRightArrow\":\"⟶\",\"Longrightarrow\":\"⟹\",\"looparrowleft\":\"↫\",\"looparrowright\":\"↬\",\"lopar\":\"⦅\",\"Lopf\":\"𝕃\",\"lopf\":\"𝕝\",\"loplus\":\"⨭\",\"lotimes\":\"⨴\",\"lowast\":\"∗\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"↙\",\"LowerRightArrow\":\"↘\",\"loz\":\"◊\",\"lozenge\":\"◊\",\"lozf\":\"⧫\",\"lpar\":\"(\",\"lparlt\":\"⦓\",\"lrarr\":\"⇆\",\"lrcorner\":\"⌟\",\"lrhar\":\"⇋\",\"lrhard\":\"⥭\",\"lrm\":\"‎\",\"lrtri\":\"⊿\",\"lsaquo\":\"‹\",\"lscr\":\"𝓁\",\"Lscr\":\"ℒ\",\"lsh\":\"↰\",\"Lsh\":\"↰\",\"lsim\":\"≲\",\"lsime\":\"⪍\",\"lsimg\":\"⪏\",\"lsqb\":\"[\",\"lsquo\":\"‘\",\"lsquor\":\"‚\",\"Lstrok\":\"Ł\",\"lstrok\":\"ł\",\"ltcc\":\"⪦\",\"ltcir\":\"⩹\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"≪\",\"ltdot\":\"⋖\",\"lthree\":\"⋋\",\"ltimes\":\"⋉\",\"ltlarr\":\"⥶\",\"ltquest\":\"⩻\",\"ltri\":\"◃\",\"ltrie\":\"⊴\",\"ltrif\":\"◂\",\"ltrPar\":\"⦖\",\"lurdshar\":\"⥊\",\"luruhar\":\"⥦\",\"lvertneqq\":\"≨︀\",\"lvnE\":\"≨︀\",\"macr\":\"¯\",\"male\":\"♂\",\"malt\":\"✠\",\"maltese\":\"✠\",\"Map\":\"⤅\",\"map\":\"↦\",\"mapsto\":\"↦\",\"mapstodown\":\"↧\",\"mapstoleft\":\"↤\",\"mapstoup\":\"↥\",\"marker\":\"▮\",\"mcomma\":\"⨩\",\"Mcy\":\"М\",\"mcy\":\"м\",\"mdash\":\"—\",\"mDDot\":\"∺\",\"measuredangle\":\"∡\",\"MediumSpace\":\" \",\"Mellintrf\":\"ℳ\",\"Mfr\":\"𝔐\",\"mfr\":\"𝔪\",\"mho\":\"℧\",\"micro\":\"µ\",\"midast\":\"*\",\"midcir\":\"⫰\",\"mid\":\"∣\",\"middot\":\"·\",\"minusb\":\"⊟\",\"minus\":\"−\",\"minusd\":\"∸\",\"minusdu\":\"⨪\",\"MinusPlus\":\"∓\",\"mlcp\":\"⫛\",\"mldr\":\"…\",\"mnplus\":\"∓\",\"models\":\"⊧\",\"Mopf\":\"𝕄\",\"mopf\":\"𝕞\",\"mp\":\"∓\",\"mscr\":\"𝓂\",\"Mscr\":\"ℳ\",\"mstpos\":\"∾\",\"Mu\":\"Μ\",\"mu\":\"μ\",\"multimap\":\"⊸\",\"mumap\":\"⊸\",\"nabla\":\"∇\",\"Nacute\":\"Ń\",\"nacute\":\"ń\",\"nang\":\"∠⃒\",\"nap\":\"≉\",\"napE\":\"⩰̸\",\"napid\":\"≋̸\",\"napos\":\"ʼn\",\"napprox\":\"≉\",\"natural\":\"♮\",\"naturals\":\"ℕ\",\"natur\":\"♮\",\"nbsp\":\" \",\"nbump\":\"≎̸\",\"nbumpe\":\"≏̸\",\"ncap\":\"⩃\",\"Ncaron\":\"Ň\",\"ncaron\":\"ň\",\"Ncedil\":\"Ņ\",\"ncedil\":\"ņ\",\"ncong\":\"≇\",\"ncongdot\":\"⩭̸\",\"ncup\":\"⩂\",\"Ncy\":\"Н\",\"ncy\":\"н\",\"ndash\":\"–\",\"nearhk\":\"⤤\",\"nearr\":\"↗\",\"neArr\":\"⇗\",\"nearrow\":\"↗\",\"ne\":\"≠\",\"nedot\":\"≐̸\",\"NegativeMediumSpace\":\"​\",\"NegativeThickSpace\":\"​\",\"NegativeThinSpace\":\"​\",\"NegativeVeryThinSpace\":\"​\",\"nequiv\":\"≢\",\"nesear\":\"⤨\",\"nesim\":\"≂̸\",\"NestedGreaterGreater\":\"≫\",\"NestedLessLess\":\"≪\",\"NewLine\":\"\\n\",\"nexist\":\"∄\",\"nexists\":\"∄\",\"Nfr\":\"𝔑\",\"nfr\":\"𝔫\",\"ngE\":\"≧̸\",\"nge\":\"≱\",\"ngeq\":\"≱\",\"ngeqq\":\"≧̸\",\"ngeqslant\":\"⩾̸\",\"nges\":\"⩾̸\",\"nGg\":\"⋙̸\",\"ngsim\":\"≵\",\"nGt\":\"≫⃒\",\"ngt\":\"≯\",\"ngtr\":\"≯\",\"nGtv\":\"≫̸\",\"nharr\":\"↮\",\"nhArr\":\"⇎\",\"nhpar\":\"⫲\",\"ni\":\"∋\",\"nis\":\"⋼\",\"nisd\":\"⋺\",\"niv\":\"∋\",\"NJcy\":\"Њ\",\"njcy\":\"њ\",\"nlarr\":\"↚\",\"nlArr\":\"⇍\",\"nldr\":\"‥\",\"nlE\":\"≦̸\",\"nle\":\"≰\",\"nleftarrow\":\"↚\",\"nLeftarrow\":\"⇍\",\"nleftrightarrow\":\"↮\",\"nLeftrightarrow\":\"⇎\",\"nleq\":\"≰\",\"nleqq\":\"≦̸\",\"nleqslant\":\"⩽̸\",\"nles\":\"⩽̸\",\"nless\":\"≮\",\"nLl\":\"⋘̸\",\"nlsim\":\"≴\",\"nLt\":\"≪⃒\",\"nlt\":\"≮\",\"nltri\":\"⋪\",\"nltrie\":\"⋬\",\"nLtv\":\"≪̸\",\"nmid\":\"∤\",\"NoBreak\":\"⁠\",\"NonBreakingSpace\":\" \",\"nopf\":\"𝕟\",\"Nopf\":\"ℕ\",\"Not\":\"⫬\",\"not\":\"¬\",\"NotCongruent\":\"≢\",\"NotCupCap\":\"≭\",\"NotDoubleVerticalBar\":\"∦\",\"NotElement\":\"∉\",\"NotEqual\":\"≠\",\"NotEqualTilde\":\"≂̸\",\"NotExists\":\"∄\",\"NotGreater\":\"≯\",\"NotGreaterEqual\":\"≱\",\"NotGreaterFullEqual\":\"≧̸\",\"NotGreaterGreater\":\"≫̸\",\"NotGreaterLess\":\"≹\",\"NotGreaterSlantEqual\":\"⩾̸\",\"NotGreaterTilde\":\"≵\",\"NotHumpDownHump\":\"≎̸\",\"NotHumpEqual\":\"≏̸\",\"notin\":\"∉\",\"notindot\":\"⋵̸\",\"notinE\":\"⋹̸\",\"notinva\":\"∉\",\"notinvb\":\"⋷\",\"notinvc\":\"⋶\",\"NotLeftTriangleBar\":\"⧏̸\",\"NotLeftTriangle\":\"⋪\",\"NotLeftTriangleEqual\":\"⋬\",\"NotLess\":\"≮\",\"NotLessEqual\":\"≰\",\"NotLessGreater\":\"≸\",\"NotLessLess\":\"≪̸\",\"NotLessSlantEqual\":\"⩽̸\",\"NotLessTilde\":\"≴\",\"NotNestedGreaterGreater\":\"⪢̸\",\"NotNestedLessLess\":\"⪡̸\",\"notni\":\"∌\",\"notniva\":\"∌\",\"notnivb\":\"⋾\",\"notnivc\":\"⋽\",\"NotPrecedes\":\"⊀\",\"NotPrecedesEqual\":\"⪯̸\",\"NotPrecedesSlantEqual\":\"⋠\",\"NotReverseElement\":\"∌\",\"NotRightTriangleBar\":\"⧐̸\",\"NotRightTriangle\":\"⋫\",\"NotRightTriangleEqual\":\"⋭\",\"NotSquareSubset\":\"⊏̸\",\"NotSquareSubsetEqual\":\"⋢\",\"NotSquareSuperset\":\"⊐̸\",\"NotSquareSupersetEqual\":\"⋣\",\"NotSubset\":\"⊂⃒\",\"NotSubsetEqual\":\"⊈\",\"NotSucceeds\":\"⊁\",\"NotSucceedsEqual\":\"⪰̸\",\"NotSucceedsSlantEqual\":\"⋡\",\"NotSucceedsTilde\":\"≿̸\",\"NotSuperset\":\"⊃⃒\",\"NotSupersetEqual\":\"⊉\",\"NotTilde\":\"≁\",\"NotTildeEqual\":\"≄\",\"NotTildeFullEqual\":\"≇\",\"NotTildeTilde\":\"≉\",\"NotVerticalBar\":\"∤\",\"nparallel\":\"∦\",\"npar\":\"∦\",\"nparsl\":\"⫽⃥\",\"npart\":\"∂̸\",\"npolint\":\"⨔\",\"npr\":\"⊀\",\"nprcue\":\"⋠\",\"nprec\":\"⊀\",\"npreceq\":\"⪯̸\",\"npre\":\"⪯̸\",\"nrarrc\":\"⤳̸\",\"nrarr\":\"↛\",\"nrArr\":\"⇏\",\"nrarrw\":\"↝̸\",\"nrightarrow\":\"↛\",\"nRightarrow\":\"⇏\",\"nrtri\":\"⋫\",\"nrtrie\":\"⋭\",\"nsc\":\"⊁\",\"nsccue\":\"⋡\",\"nsce\":\"⪰̸\",\"Nscr\":\"𝒩\",\"nscr\":\"𝓃\",\"nshortmid\":\"∤\",\"nshortparallel\":\"∦\",\"nsim\":\"≁\",\"nsime\":\"≄\",\"nsimeq\":\"≄\",\"nsmid\":\"∤\",\"nspar\":\"∦\",\"nsqsube\":\"⋢\",\"nsqsupe\":\"⋣\",\"nsub\":\"⊄\",\"nsubE\":\"⫅̸\",\"nsube\":\"⊈\",\"nsubset\":\"⊂⃒\",\"nsubseteq\":\"⊈\",\"nsubseteqq\":\"⫅̸\",\"nsucc\":\"⊁\",\"nsucceq\":\"⪰̸\",\"nsup\":\"⊅\",\"nsupE\":\"⫆̸\",\"nsupe\":\"⊉\",\"nsupset\":\"⊃⃒\",\"nsupseteq\":\"⊉\",\"nsupseteqq\":\"⫆̸\",\"ntgl\":\"≹\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"ntlg\":\"≸\",\"ntriangleleft\":\"⋪\",\"ntrianglelefteq\":\"⋬\",\"ntriangleright\":\"⋫\",\"ntrianglerighteq\":\"⋭\",\"Nu\":\"Ν\",\"nu\":\"ν\",\"num\":\"#\",\"numero\":\"№\",\"numsp\":\" \",\"nvap\":\"≍⃒\",\"nvdash\":\"⊬\",\"nvDash\":\"⊭\",\"nVdash\":\"⊮\",\"nVDash\":\"⊯\",\"nvge\":\"≥⃒\",\"nvgt\":\">⃒\",\"nvHarr\":\"⤄\",\"nvinfin\":\"⧞\",\"nvlArr\":\"⤂\",\"nvle\":\"≤⃒\",\"nvlt\":\"<⃒\",\"nvltrie\":\"⊴⃒\",\"nvrArr\":\"⤃\",\"nvrtrie\":\"⊵⃒\",\"nvsim\":\"∼⃒\",\"nwarhk\":\"⤣\",\"nwarr\":\"↖\",\"nwArr\":\"⇖\",\"nwarrow\":\"↖\",\"nwnear\":\"⤧\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"oast\":\"⊛\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"ocir\":\"⊚\",\"Ocy\":\"О\",\"ocy\":\"о\",\"odash\":\"⊝\",\"Odblac\":\"Ő\",\"odblac\":\"ő\",\"odiv\":\"⨸\",\"odot\":\"⊙\",\"odsold\":\"⦼\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"ofcir\":\"⦿\",\"Ofr\":\"𝔒\",\"ofr\":\"𝔬\",\"ogon\":\"˛\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ogt\":\"⧁\",\"ohbar\":\"⦵\",\"ohm\":\"Ω\",\"oint\":\"∮\",\"olarr\":\"↺\",\"olcir\":\"⦾\",\"olcross\":\"⦻\",\"oline\":\"‾\",\"olt\":\"⧀\",\"Omacr\":\"Ō\",\"omacr\":\"ō\",\"Omega\":\"Ω\",\"omega\":\"ω\",\"Omicron\":\"Ο\",\"omicron\":\"ο\",\"omid\":\"⦶\",\"ominus\":\"⊖\",\"Oopf\":\"𝕆\",\"oopf\":\"𝕠\",\"opar\":\"⦷\",\"OpenCurlyDoubleQuote\":\"“\",\"OpenCurlyQuote\":\"‘\",\"operp\":\"⦹\",\"oplus\":\"⊕\",\"orarr\":\"↻\",\"Or\":\"⩔\",\"or\":\"∨\",\"ord\":\"⩝\",\"order\":\"ℴ\",\"orderof\":\"ℴ\",\"ordf\":\"ª\",\"ordm\":\"º\",\"origof\":\"⊶\",\"oror\":\"⩖\",\"orslope\":\"⩗\",\"orv\":\"⩛\",\"oS\":\"Ⓢ\",\"Oscr\":\"𝒪\",\"oscr\":\"ℴ\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"osol\":\"⊘\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"otimesas\":\"⨶\",\"Otimes\":\"⨷\",\"otimes\":\"⊗\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"ovbar\":\"⌽\",\"OverBar\":\"‾\",\"OverBrace\":\"⏞\",\"OverBracket\":\"⎴\",\"OverParenthesis\":\"⏜\",\"para\":\"¶\",\"parallel\":\"∥\",\"par\":\"∥\",\"parsim\":\"⫳\",\"parsl\":\"⫽\",\"part\":\"∂\",\"PartialD\":\"∂\",\"Pcy\":\"П\",\"pcy\":\"п\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"‰\",\"perp\":\"⊥\",\"pertenk\":\"‱\",\"Pfr\":\"𝔓\",\"pfr\":\"𝔭\",\"Phi\":\"Φ\",\"phi\":\"φ\",\"phiv\":\"ϕ\",\"phmmat\":\"ℳ\",\"phone\":\"☎\",\"Pi\":\"Π\",\"pi\":\"π\",\"pitchfork\":\"⋔\",\"piv\":\"ϖ\",\"planck\":\"ℏ\",\"planckh\":\"ℎ\",\"plankv\":\"ℏ\",\"plusacir\":\"⨣\",\"plusb\":\"⊞\",\"pluscir\":\"⨢\",\"plus\":\"+\",\"plusdo\":\"∔\",\"plusdu\":\"⨥\",\"pluse\":\"⩲\",\"PlusMinus\":\"±\",\"plusmn\":\"±\",\"plussim\":\"⨦\",\"plustwo\":\"⨧\",\"pm\":\"±\",\"Poincareplane\":\"ℌ\",\"pointint\":\"⨕\",\"popf\":\"𝕡\",\"Popf\":\"ℙ\",\"pound\":\"£\",\"prap\":\"⪷\",\"Pr\":\"⪻\",\"pr\":\"≺\",\"prcue\":\"≼\",\"precapprox\":\"⪷\",\"prec\":\"≺\",\"preccurlyeq\":\"≼\",\"Precedes\":\"≺\",\"PrecedesEqual\":\"⪯\",\"PrecedesSlantEqual\":\"≼\",\"PrecedesTilde\":\"≾\",\"preceq\":\"⪯\",\"precnapprox\":\"⪹\",\"precneqq\":\"⪵\",\"precnsim\":\"⋨\",\"pre\":\"⪯\",\"prE\":\"⪳\",\"precsim\":\"≾\",\"prime\":\"′\",\"Prime\":\"″\",\"primes\":\"ℙ\",\"prnap\":\"⪹\",\"prnE\":\"⪵\",\"prnsim\":\"⋨\",\"prod\":\"∏\",\"Product\":\"∏\",\"profalar\":\"⌮\",\"profline\":\"⌒\",\"profsurf\":\"⌓\",\"prop\":\"∝\",\"Proportional\":\"∝\",\"Proportion\":\"∷\",\"propto\":\"∝\",\"prsim\":\"≾\",\"prurel\":\"⊰\",\"Pscr\":\"𝒫\",\"pscr\":\"𝓅\",\"Psi\":\"Ψ\",\"psi\":\"ψ\",\"puncsp\":\" \",\"Qfr\":\"𝔔\",\"qfr\":\"𝔮\",\"qint\":\"⨌\",\"qopf\":\"𝕢\",\"Qopf\":\"ℚ\",\"qprime\":\"⁗\",\"Qscr\":\"𝒬\",\"qscr\":\"𝓆\",\"quaternions\":\"ℍ\",\"quatint\":\"⨖\",\"quest\":\"?\",\"questeq\":\"≟\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"rAarr\":\"⇛\",\"race\":\"∽̱\",\"Racute\":\"Ŕ\",\"racute\":\"ŕ\",\"radic\":\"√\",\"raemptyv\":\"⦳\",\"rang\":\"⟩\",\"Rang\":\"⟫\",\"rangd\":\"⦒\",\"range\":\"⦥\",\"rangle\":\"⟩\",\"raquo\":\"»\",\"rarrap\":\"⥵\",\"rarrb\":\"⇥\",\"rarrbfs\":\"⤠\",\"rarrc\":\"⤳\",\"rarr\":\"→\",\"Rarr\":\"↠\",\"rArr\":\"⇒\",\"rarrfs\":\"⤞\",\"rarrhk\":\"↪\",\"rarrlp\":\"↬\",\"rarrpl\":\"⥅\",\"rarrsim\":\"⥴\",\"Rarrtl\":\"⤖\",\"rarrtl\":\"↣\",\"rarrw\":\"↝\",\"ratail\":\"⤚\",\"rAtail\":\"⤜\",\"ratio\":\"∶\",\"rationals\":\"ℚ\",\"rbarr\":\"⤍\",\"rBarr\":\"⤏\",\"RBarr\":\"⤐\",\"rbbrk\":\"❳\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"⦌\",\"rbrksld\":\"⦎\",\"rbrkslu\":\"⦐\",\"Rcaron\":\"Ř\",\"rcaron\":\"ř\",\"Rcedil\":\"Ŗ\",\"rcedil\":\"ŗ\",\"rceil\":\"⌉\",\"rcub\":\"}\",\"Rcy\":\"Р\",\"rcy\":\"р\",\"rdca\":\"⤷\",\"rdldhar\":\"⥩\",\"rdquo\":\"”\",\"rdquor\":\"”\",\"rdsh\":\"↳\",\"real\":\"ℜ\",\"realine\":\"ℛ\",\"realpart\":\"ℜ\",\"reals\":\"ℝ\",\"Re\":\"ℜ\",\"rect\":\"▭\",\"reg\":\"®\",\"REG\":\"®\",\"ReverseElement\":\"∋\",\"ReverseEquilibrium\":\"⇋\",\"ReverseUpEquilibrium\":\"⥯\",\"rfisht\":\"⥽\",\"rfloor\":\"⌋\",\"rfr\":\"𝔯\",\"Rfr\":\"ℜ\",\"rHar\":\"⥤\",\"rhard\":\"⇁\",\"rharu\":\"⇀\",\"rharul\":\"⥬\",\"Rho\":\"Ρ\",\"rho\":\"ρ\",\"rhov\":\"ϱ\",\"RightAngleBracket\":\"⟩\",\"RightArrowBar\":\"⇥\",\"rightarrow\":\"→\",\"RightArrow\":\"→\",\"Rightarrow\":\"⇒\",\"RightArrowLeftArrow\":\"⇄\",\"rightarrowtail\":\"↣\",\"RightCeiling\":\"⌉\",\"RightDoubleBracket\":\"⟧\",\"RightDownTeeVector\":\"⥝\",\"RightDownVectorBar\":\"⥕\",\"RightDownVector\":\"⇂\",\"RightFloor\":\"⌋\",\"rightharpoondown\":\"⇁\",\"rightharpoonup\":\"⇀\",\"rightleftarrows\":\"⇄\",\"rightleftharpoons\":\"⇌\",\"rightrightarrows\":\"⇉\",\"rightsquigarrow\":\"↝\",\"RightTeeArrow\":\"↦\",\"RightTee\":\"⊢\",\"RightTeeVector\":\"⥛\",\"rightthreetimes\":\"⋌\",\"RightTriangleBar\":\"⧐\",\"RightTriangle\":\"⊳\",\"RightTriangleEqual\":\"⊵\",\"RightUpDownVector\":\"⥏\",\"RightUpTeeVector\":\"⥜\",\"RightUpVectorBar\":\"⥔\",\"RightUpVector\":\"↾\",\"RightVectorBar\":\"⥓\",\"RightVector\":\"⇀\",\"ring\":\"˚\",\"risingdotseq\":\"≓\",\"rlarr\":\"⇄\",\"rlhar\":\"⇌\",\"rlm\":\"‏\",\"rmoustache\":\"⎱\",\"rmoust\":\"⎱\",\"rnmid\":\"⫮\",\"roang\":\"⟭\",\"roarr\":\"⇾\",\"robrk\":\"⟧\",\"ropar\":\"⦆\",\"ropf\":\"𝕣\",\"Ropf\":\"ℝ\",\"roplus\":\"⨮\",\"rotimes\":\"⨵\",\"RoundImplies\":\"⥰\",\"rpar\":\")\",\"rpargt\":\"⦔\",\"rppolint\":\"⨒\",\"rrarr\":\"⇉\",\"Rrightarrow\":\"⇛\",\"rsaquo\":\"›\",\"rscr\":\"𝓇\",\"Rscr\":\"ℛ\",\"rsh\":\"↱\",\"Rsh\":\"↱\",\"rsqb\":\"]\",\"rsquo\":\"’\",\"rsquor\":\"’\",\"rthree\":\"⋌\",\"rtimes\":\"⋊\",\"rtri\":\"▹\",\"rtrie\":\"⊵\",\"rtrif\":\"▸\",\"rtriltri\":\"⧎\",\"RuleDelayed\":\"⧴\",\"ruluhar\":\"⥨\",\"rx\":\"℞\",\"Sacute\":\"Ś\",\"sacute\":\"ś\",\"sbquo\":\"‚\",\"scap\":\"⪸\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Sc\":\"⪼\",\"sc\":\"≻\",\"sccue\":\"≽\",\"sce\":\"⪰\",\"scE\":\"⪴\",\"Scedil\":\"Ş\",\"scedil\":\"ş\",\"Scirc\":\"Ŝ\",\"scirc\":\"ŝ\",\"scnap\":\"⪺\",\"scnE\":\"⪶\",\"scnsim\":\"⋩\",\"scpolint\":\"⨓\",\"scsim\":\"≿\",\"Scy\":\"С\",\"scy\":\"с\",\"sdotb\":\"⊡\",\"sdot\":\"⋅\",\"sdote\":\"⩦\",\"searhk\":\"⤥\",\"searr\":\"↘\",\"seArr\":\"⇘\",\"searrow\":\"↘\",\"sect\":\"§\",\"semi\":\";\",\"seswar\":\"⤩\",\"setminus\":\"∖\",\"setmn\":\"∖\",\"sext\":\"✶\",\"Sfr\":\"𝔖\",\"sfr\":\"𝔰\",\"sfrown\":\"⌢\",\"sharp\":\"♯\",\"SHCHcy\":\"Щ\",\"shchcy\":\"щ\",\"SHcy\":\"Ш\",\"shcy\":\"ш\",\"ShortDownArrow\":\"↓\",\"ShortLeftArrow\":\"←\",\"shortmid\":\"∣\",\"shortparallel\":\"∥\",\"ShortRightArrow\":\"→\",\"ShortUpArrow\":\"↑\",\"shy\":\"­\",\"Sigma\":\"Σ\",\"sigma\":\"σ\",\"sigmaf\":\"ς\",\"sigmav\":\"ς\",\"sim\":\"∼\",\"simdot\":\"⩪\",\"sime\":\"≃\",\"simeq\":\"≃\",\"simg\":\"⪞\",\"simgE\":\"⪠\",\"siml\":\"⪝\",\"simlE\":\"⪟\",\"simne\":\"≆\",\"simplus\":\"⨤\",\"simrarr\":\"⥲\",\"slarr\":\"←\",\"SmallCircle\":\"∘\",\"smallsetminus\":\"∖\",\"smashp\":\"⨳\",\"smeparsl\":\"⧤\",\"smid\":\"∣\",\"smile\":\"⌣\",\"smt\":\"⪪\",\"smte\":\"⪬\",\"smtes\":\"⪬︀\",\"SOFTcy\":\"Ь\",\"softcy\":\"ь\",\"solbar\":\"⌿\",\"solb\":\"⧄\",\"sol\":\"/\",\"Sopf\":\"𝕊\",\"sopf\":\"𝕤\",\"spades\":\"♠\",\"spadesuit\":\"♠\",\"spar\":\"∥\",\"sqcap\":\"⊓\",\"sqcaps\":\"⊓︀\",\"sqcup\":\"⊔\",\"sqcups\":\"⊔︀\",\"Sqrt\":\"√\",\"sqsub\":\"⊏\",\"sqsube\":\"⊑\",\"sqsubset\":\"⊏\",\"sqsubseteq\":\"⊑\",\"sqsup\":\"⊐\",\"sqsupe\":\"⊒\",\"sqsupset\":\"⊐\",\"sqsupseteq\":\"⊒\",\"square\":\"□\",\"Square\":\"□\",\"SquareIntersection\":\"⊓\",\"SquareSubset\":\"⊏\",\"SquareSubsetEqual\":\"⊑\",\"SquareSuperset\":\"⊐\",\"SquareSupersetEqual\":\"⊒\",\"SquareUnion\":\"⊔\",\"squarf\":\"▪\",\"squ\":\"□\",\"squf\":\"▪\",\"srarr\":\"→\",\"Sscr\":\"𝒮\",\"sscr\":\"𝓈\",\"ssetmn\":\"∖\",\"ssmile\":\"⌣\",\"sstarf\":\"⋆\",\"Star\":\"⋆\",\"star\":\"☆\",\"starf\":\"★\",\"straightepsilon\":\"ϵ\",\"straightphi\":\"ϕ\",\"strns\":\"¯\",\"sub\":\"⊂\",\"Sub\":\"⋐\",\"subdot\":\"⪽\",\"subE\":\"⫅\",\"sube\":\"⊆\",\"subedot\":\"⫃\",\"submult\":\"⫁\",\"subnE\":\"⫋\",\"subne\":\"⊊\",\"subplus\":\"⪿\",\"subrarr\":\"⥹\",\"subset\":\"⊂\",\"Subset\":\"⋐\",\"subseteq\":\"⊆\",\"subseteqq\":\"⫅\",\"SubsetEqual\":\"⊆\",\"subsetneq\":\"⊊\",\"subsetneqq\":\"⫋\",\"subsim\":\"⫇\",\"subsub\":\"⫕\",\"subsup\":\"⫓\",\"succapprox\":\"⪸\",\"succ\":\"≻\",\"succcurlyeq\":\"≽\",\"Succeeds\":\"≻\",\"SucceedsEqual\":\"⪰\",\"SucceedsSlantEqual\":\"≽\",\"SucceedsTilde\":\"≿\",\"succeq\":\"⪰\",\"succnapprox\":\"⪺\",\"succneqq\":\"⪶\",\"succnsim\":\"⋩\",\"succsim\":\"≿\",\"SuchThat\":\"∋\",\"sum\":\"∑\",\"Sum\":\"∑\",\"sung\":\"♪\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"sup\":\"⊃\",\"Sup\":\"⋑\",\"supdot\":\"⪾\",\"supdsub\":\"⫘\",\"supE\":\"⫆\",\"supe\":\"⊇\",\"supedot\":\"⫄\",\"Superset\":\"⊃\",\"SupersetEqual\":\"⊇\",\"suphsol\":\"⟉\",\"suphsub\":\"⫗\",\"suplarr\":\"⥻\",\"supmult\":\"⫂\",\"supnE\":\"⫌\",\"supne\":\"⊋\",\"supplus\":\"⫀\",\"supset\":\"⊃\",\"Supset\":\"⋑\",\"supseteq\":\"⊇\",\"supseteqq\":\"⫆\",\"supsetneq\":\"⊋\",\"supsetneqq\":\"⫌\",\"supsim\":\"⫈\",\"supsub\":\"⫔\",\"supsup\":\"⫖\",\"swarhk\":\"⤦\",\"swarr\":\"↙\",\"swArr\":\"⇙\",\"swarrow\":\"↙\",\"swnwar\":\"⤪\",\"szlig\":\"ß\",\"Tab\":\"\\t\",\"target\":\"⌖\",\"Tau\":\"Τ\",\"tau\":\"τ\",\"tbrk\":\"⎴\",\"Tcaron\":\"Ť\",\"tcaron\":\"ť\",\"Tcedil\":\"Ţ\",\"tcedil\":\"ţ\",\"Tcy\":\"Т\",\"tcy\":\"т\",\"tdot\":\"⃛\",\"telrec\":\"⌕\",\"Tfr\":\"𝔗\",\"tfr\":\"𝔱\",\"there4\":\"∴\",\"therefore\":\"∴\",\"Therefore\":\"∴\",\"Theta\":\"Θ\",\"theta\":\"θ\",\"thetasym\":\"ϑ\",\"thetav\":\"ϑ\",\"thickapprox\":\"≈\",\"thicksim\":\"∼\",\"ThickSpace\":\"  \",\"ThinSpace\":\" \",\"thinsp\":\" \",\"thkap\":\"≈\",\"thksim\":\"∼\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"tilde\":\"˜\",\"Tilde\":\"∼\",\"TildeEqual\":\"≃\",\"TildeFullEqual\":\"≅\",\"TildeTilde\":\"≈\",\"timesbar\":\"⨱\",\"timesb\":\"⊠\",\"times\":\"×\",\"timesd\":\"⨰\",\"tint\":\"∭\",\"toea\":\"⤨\",\"topbot\":\"⌶\",\"topcir\":\"⫱\",\"top\":\"⊤\",\"Topf\":\"𝕋\",\"topf\":\"𝕥\",\"topfork\":\"⫚\",\"tosa\":\"⤩\",\"tprime\":\"‴\",\"trade\":\"™\",\"TRADE\":\"™\",\"triangle\":\"▵\",\"triangledown\":\"▿\",\"triangleleft\":\"◃\",\"trianglelefteq\":\"⊴\",\"triangleq\":\"≜\",\"triangleright\":\"▹\",\"trianglerighteq\":\"⊵\",\"tridot\":\"◬\",\"trie\":\"≜\",\"triminus\":\"⨺\",\"TripleDot\":\"⃛\",\"triplus\":\"⨹\",\"trisb\":\"⧍\",\"tritime\":\"⨻\",\"trpezium\":\"⏢\",\"Tscr\":\"𝒯\",\"tscr\":\"𝓉\",\"TScy\":\"Ц\",\"tscy\":\"ц\",\"TSHcy\":\"Ћ\",\"tshcy\":\"ћ\",\"Tstrok\":\"Ŧ\",\"tstrok\":\"ŧ\",\"twixt\":\"≬\",\"twoheadleftarrow\":\"↞\",\"twoheadrightarrow\":\"↠\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"uarr\":\"↑\",\"Uarr\":\"↟\",\"uArr\":\"⇑\",\"Uarrocir\":\"⥉\",\"Ubrcy\":\"Ў\",\"ubrcy\":\"ў\",\"Ubreve\":\"Ŭ\",\"ubreve\":\"ŭ\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ucy\":\"У\",\"ucy\":\"у\",\"udarr\":\"⇅\",\"Udblac\":\"Ű\",\"udblac\":\"ű\",\"udhar\":\"⥮\",\"ufisht\":\"⥾\",\"Ufr\":\"𝔘\",\"ufr\":\"𝔲\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uHar\":\"⥣\",\"uharl\":\"↿\",\"uharr\":\"↾\",\"uhblk\":\"▀\",\"ulcorn\":\"⌜\",\"ulcorner\":\"⌜\",\"ulcrop\":\"⌏\",\"ultri\":\"◸\",\"Umacr\":\"Ū\",\"umacr\":\"ū\",\"uml\":\"¨\",\"UnderBar\":\"_\",\"UnderBrace\":\"⏟\",\"UnderBracket\":\"⎵\",\"UnderParenthesis\":\"⏝\",\"Union\":\"⋃\",\"UnionPlus\":\"⊎\",\"Uogon\":\"Ų\",\"uogon\":\"ų\",\"Uopf\":\"𝕌\",\"uopf\":\"𝕦\",\"UpArrowBar\":\"⤒\",\"uparrow\":\"↑\",\"UpArrow\":\"↑\",\"Uparrow\":\"⇑\",\"UpArrowDownArrow\":\"⇅\",\"updownarrow\":\"↕\",\"UpDownArrow\":\"↕\",\"Updownarrow\":\"⇕\",\"UpEquilibrium\":\"⥮\",\"upharpoonleft\":\"↿\",\"upharpoonright\":\"↾\",\"uplus\":\"⊎\",\"UpperLeftArrow\":\"↖\",\"UpperRightArrow\":\"↗\",\"upsi\":\"υ\",\"Upsi\":\"ϒ\",\"upsih\":\"ϒ\",\"Upsilon\":\"Υ\",\"upsilon\":\"υ\",\"UpTeeArrow\":\"↥\",\"UpTee\":\"⊥\",\"upuparrows\":\"⇈\",\"urcorn\":\"⌝\",\"urcorner\":\"⌝\",\"urcrop\":\"⌎\",\"Uring\":\"Ů\",\"uring\":\"ů\",\"urtri\":\"◹\",\"Uscr\":\"𝒰\",\"uscr\":\"𝓊\",\"utdot\":\"⋰\",\"Utilde\":\"Ũ\",\"utilde\":\"ũ\",\"utri\":\"▵\",\"utrif\":\"▴\",\"uuarr\":\"⇈\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"uwangle\":\"⦧\",\"vangrt\":\"⦜\",\"varepsilon\":\"ϵ\",\"varkappa\":\"ϰ\",\"varnothing\":\"∅\",\"varphi\":\"ϕ\",\"varpi\":\"ϖ\",\"varpropto\":\"∝\",\"varr\":\"↕\",\"vArr\":\"⇕\",\"varrho\":\"ϱ\",\"varsigma\":\"ς\",\"varsubsetneq\":\"⊊︀\",\"varsubsetneqq\":\"⫋︀\",\"varsupsetneq\":\"⊋︀\",\"varsupsetneqq\":\"⫌︀\",\"vartheta\":\"ϑ\",\"vartriangleleft\":\"⊲\",\"vartriangleright\":\"⊳\",\"vBar\":\"⫨\",\"Vbar\":\"⫫\",\"vBarv\":\"⫩\",\"Vcy\":\"В\",\"vcy\":\"в\",\"vdash\":\"⊢\",\"vDash\":\"⊨\",\"Vdash\":\"⊩\",\"VDash\":\"⊫\",\"Vdashl\":\"⫦\",\"veebar\":\"⊻\",\"vee\":\"∨\",\"Vee\":\"⋁\",\"veeeq\":\"≚\",\"vellip\":\"⋮\",\"verbar\":\"|\",\"Verbar\":\"‖\",\"vert\":\"|\",\"Vert\":\"‖\",\"VerticalBar\":\"∣\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"❘\",\"VerticalTilde\":\"≀\",\"VeryThinSpace\":\" \",\"Vfr\":\"𝔙\",\"vfr\":\"𝔳\",\"vltri\":\"⊲\",\"vnsub\":\"⊂⃒\",\"vnsup\":\"⊃⃒\",\"Vopf\":\"𝕍\",\"vopf\":\"𝕧\",\"vprop\":\"∝\",\"vrtri\":\"⊳\",\"Vscr\":\"𝒱\",\"vscr\":\"𝓋\",\"vsubnE\":\"⫋︀\",\"vsubne\":\"⊊︀\",\"vsupnE\":\"⫌︀\",\"vsupne\":\"⊋︀\",\"Vvdash\":\"⊪\",\"vzigzag\":\"⦚\",\"Wcirc\":\"Ŵ\",\"wcirc\":\"ŵ\",\"wedbar\":\"⩟\",\"wedge\":\"∧\",\"Wedge\":\"⋀\",\"wedgeq\":\"≙\",\"weierp\":\"℘\",\"Wfr\":\"𝔚\",\"wfr\":\"𝔴\",\"Wopf\":\"𝕎\",\"wopf\":\"𝕨\",\"wp\":\"℘\",\"wr\":\"≀\",\"wreath\":\"≀\",\"Wscr\":\"𝒲\",\"wscr\":\"𝓌\",\"xcap\":\"⋂\",\"xcirc\":\"◯\",\"xcup\":\"⋃\",\"xdtri\":\"▽\",\"Xfr\":\"𝔛\",\"xfr\":\"𝔵\",\"xharr\":\"⟷\",\"xhArr\":\"⟺\",\"Xi\":\"Ξ\",\"xi\":\"ξ\",\"xlarr\":\"⟵\",\"xlArr\":\"⟸\",\"xmap\":\"⟼\",\"xnis\":\"⋻\",\"xodot\":\"⨀\",\"Xopf\":\"𝕏\",\"xopf\":\"𝕩\",\"xoplus\":\"⨁\",\"xotime\":\"⨂\",\"xrarr\":\"⟶\",\"xrArr\":\"⟹\",\"Xscr\":\"𝒳\",\"xscr\":\"𝓍\",\"xsqcup\":\"⨆\",\"xuplus\":\"⨄\",\"xutri\":\"△\",\"xvee\":\"⋁\",\"xwedge\":\"⋀\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"YAcy\":\"Я\",\"yacy\":\"я\",\"Ycirc\":\"Ŷ\",\"ycirc\":\"ŷ\",\"Ycy\":\"Ы\",\"ycy\":\"ы\",\"yen\":\"¥\",\"Yfr\":\"𝔜\",\"yfr\":\"𝔶\",\"YIcy\":\"Ї\",\"yicy\":\"ї\",\"Yopf\":\"𝕐\",\"yopf\":\"𝕪\",\"Yscr\":\"𝒴\",\"yscr\":\"𝓎\",\"YUcy\":\"Ю\",\"yucy\":\"ю\",\"yuml\":\"ÿ\",\"Yuml\":\"Ÿ\",\"Zacute\":\"Ź\",\"zacute\":\"ź\",\"Zcaron\":\"Ž\",\"zcaron\":\"ž\",\"Zcy\":\"З\",\"zcy\":\"з\",\"Zdot\":\"Ż\",\"zdot\":\"ż\",\"zeetrf\":\"ℨ\",\"ZeroWidthSpace\":\"​\",\"Zeta\":\"Ζ\",\"zeta\":\"ζ\",\"zfr\":\"𝔷\",\"Zfr\":\"ℨ\",\"ZHcy\":\"Ж\",\"zhcy\":\"ж\",\"zigrarr\":\"⇝\",\"zopf\":\"𝕫\",\"Zopf\":\"ℤ\",\"Zscr\":\"𝒵\",\"zscr\":\"𝓏\",\"zwj\":\"‍\",\"zwnj\":\"‌\"}\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"Agrave\":\"À\",\"agrave\":\"à\",\"amp\":\"&\",\"AMP\":\"&\",\"Aring\":\"Å\",\"aring\":\"å\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"brvbar\":\"¦\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"cedil\":\"¸\",\"cent\":\"¢\",\"copy\":\"©\",\"COPY\":\"©\",\"curren\":\"¤\",\"deg\":\"°\",\"divide\":\"÷\",\"Eacute\":\"É\",\"eacute\":\"é\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"Egrave\":\"È\",\"egrave\":\"è\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"frac12\":\"½\",\"frac14\":\"¼\",\"frac34\":\"¾\",\"gt\":\">\",\"GT\":\">\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"iexcl\":\"¡\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"iquest\":\"¿\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"laquo\":\"«\",\"lt\":\"<\",\"LT\":\"<\",\"macr\":\"¯\",\"micro\":\"µ\",\"middot\":\"·\",\"nbsp\":\" \",\"not\":\"¬\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ordf\":\"ª\",\"ordm\":\"º\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"para\":\"¶\",\"plusmn\":\"±\",\"pound\":\"£\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"raquo\":\"»\",\"reg\":\"®\",\"REG\":\"®\",\"sect\":\"§\",\"shy\":\"­\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"szlig\":\"ß\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"times\":\"×\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uml\":\"¨\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"yen\":\"¥\",\"yuml\":\"ÿ\"}\n","{\"amp\":\"&\",\"apos\":\"'\",\"gt\":\">\",\"lt\":\"<\",\"quot\":\"\\\"\"}\n","{\"0\":65533,\"128\":8364,\"130\":8218,\"131\":402,\"132\":8222,\"133\":8230,\"134\":8224,\"135\":8225,\"136\":710,\"137\":8240,\"138\":352,\"139\":8249,\"140\":338,\"142\":381,\"145\":8216,\"146\":8217,\"147\":8220,\"148\":8221,\"149\":8226,\"150\":8211,\"151\":8212,\"152\":732,\"153\":8482,\"154\":353,\"155\":8250,\"156\":339,\"158\":382,\"159\":376}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decode_json_1 = __importDefault(require(\"./maps/decode.json\"));\n// Adapted from https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nvar fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.fromCodePoint ||\n function (codePoint) {\n var output = \"\";\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n output += String.fromCharCode(codePoint);\n return output;\n };\nfunction decodeCodePoint(codePoint) {\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n if (codePoint in decode_json_1.default) {\n codePoint = decode_json_1.default[codePoint];\n }\n return fromCodePoint(codePoint);\n}\nexports.default = decodeCodePoint;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeHTML = exports.decodeHTMLStrict = exports.decodeXML = void 0;\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar legacy_json_1 = __importDefault(require(\"./maps/legacy.json\"));\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar decode_codepoint_1 = __importDefault(require(\"./decode_codepoint\"));\nvar strictEntityRe = /&(?:[a-zA-Z0-9]+|#[xX][\\da-fA-F]+|#\\d+);/g;\nexports.decodeXML = getStrictDecoder(xml_json_1.default);\nexports.decodeHTMLStrict = getStrictDecoder(entities_json_1.default);\nfunction getStrictDecoder(map) {\n var replace = getReplacer(map);\n return function (str) { return String(str).replace(strictEntityRe, replace); };\n}\nvar sorter = function (a, b) { return (a < b ? 1 : -1); };\nexports.decodeHTML = (function () {\n var legacy = Object.keys(legacy_json_1.default).sort(sorter);\n var keys = Object.keys(entities_json_1.default).sort(sorter);\n for (var i = 0, j = 0; i < keys.length; i++) {\n if (legacy[j] === keys[i]) {\n keys[i] += \";?\";\n j++;\n }\n else {\n keys[i] += \";\";\n }\n }\n var re = new RegExp(\"&(?:\" + keys.join(\"|\") + \"|#[xX][\\\\da-fA-F]+;?|#\\\\d+;?)\", \"g\");\n var replace = getReplacer(entities_json_1.default);\n function replacer(str) {\n if (str.substr(-1) !== \";\")\n str += \";\";\n return replace(str);\n }\n // TODO consider creating a merged map\n return function (str) { return String(str).replace(re, replacer); };\n})();\nfunction getReplacer(map) {\n return function replace(str) {\n if (str.charAt(1) === \"#\") {\n var secondChar = str.charAt(2);\n if (secondChar === \"X\" || secondChar === \"x\") {\n return decode_codepoint_1.default(parseInt(str.substr(3), 16));\n }\n return decode_codepoint_1.default(parseInt(str.substr(2), 10));\n }\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n return map[str.slice(1, -1)] || str;\n };\n}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = void 0;\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar inverseXML = getInverseObj(xml_json_1.default);\nvar xmlReplacer = getInverseReplacer(inverseXML);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using XML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeXML = getASCIIEncoder(inverseXML);\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar inverseHTML = getInverseObj(entities_json_1.default);\nvar htmlReplacer = getInverseReplacer(inverseHTML);\n/**\n * Encodes all entities and non-ASCII characters in the input.\n *\n * This includes characters that are valid ASCII characters in HTML documents.\n * For example `#` will be encoded as `&num;`. To get a more compact output,\n * consider using the `encodeNonAsciiHTML` function.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeHTML = getInverse(inverseHTML, htmlReplacer);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in HTML\n * documents using HTML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `&#xfc;`) will be used.\n */\nexports.encodeNonAsciiHTML = getASCIIEncoder(inverseHTML);\nfunction getInverseObj(obj) {\n return Object.keys(obj)\n .sort()\n .reduce(function (inverse, name) {\n inverse[obj[name]] = \"&\" + name + \";\";\n return inverse;\n }, {});\n}\nfunction getInverseReplacer(inverse) {\n var single = [];\n var multiple = [];\n for (var _i = 0, _a = Object.keys(inverse); _i < _a.length; _i++) {\n var k = _a[_i];\n if (k.length === 1) {\n // Add value to single array\n single.push(\"\\\\\" + k);\n }\n else {\n // Add value to multiple array\n multiple.push(k);\n }\n }\n // Add ranges to single characters.\n single.sort();\n for (var start = 0; start < single.length - 1; start++) {\n // Find the end of a run of characters\n var end = start;\n while (end < single.length - 1 &&\n single[end].charCodeAt(1) + 1 === single[end + 1].charCodeAt(1)) {\n end += 1;\n }\n var count = 1 + end - start;\n // We want to replace at least three characters\n if (count < 3)\n continue;\n single.splice(start, count, single[start] + \"-\" + single[end]);\n }\n multiple.unshift(\"[\" + single.join(\"\") + \"]\");\n return new RegExp(multiple.join(\"|\"), \"g\");\n}\n// /[^\\0-\\x7F]/gu\nvar reNonASCII = /(?:[\\x80-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g;\nvar getCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.prototype.codePointAt != null\n ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n function (str) { return str.codePointAt(0); }\n : // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n function (c) {\n return (c.charCodeAt(0) - 0xd800) * 0x400 +\n c.charCodeAt(1) -\n 0xdc00 +\n 0x10000;\n };\nfunction singleCharReplacer(c) {\n return \"&#x\" + (c.length > 1 ? getCodePoint(c) : c.charCodeAt(0))\n .toString(16)\n .toUpperCase() + \";\";\n}\nfunction getInverse(inverse, re) {\n return function (data) {\n return data\n .replace(re, function (name) { return inverse[name]; })\n .replace(reNonASCII, singleCharReplacer);\n };\n}\nvar reEscapeChars = new RegExp(xmlReplacer.source + \"|\" + reNonASCII.source, \"g\");\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using numeric hexadecimal reference (eg. `&#xfc;`).\n *\n * Have a look at `escapeUTF8` if you want a more concise output at the expense\n * of reduced transportability.\n *\n * @param data String to escape.\n */\nfunction escape(data) {\n return data.replace(reEscapeChars, singleCharReplacer);\n}\nexports.escape = escape;\n/**\n * Encodes all characters not valid in XML documents using numeric hexadecimal\n * reference (eg. `&#xfc;`).\n *\n * Note that the output will be character-set dependent.\n *\n * @param data String to escape.\n */\nfunction escapeUTF8(data) {\n return data.replace(xmlReplacer, singleCharReplacer);\n}\nexports.escapeUTF8 = escapeUTF8;\nfunction getASCIIEncoder(obj) {\n return function (data) {\n return data.replace(reEscapeChars, function (c) { return obj[c] || singleCharReplacer(c); });\n };\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;\nvar decode_1 = require(\"./decode\");\nvar encode_1 = require(\"./encode\");\n/**\n * Decodes a string with entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeXML` or `decodeHTML` directly.\n */\nfunction decode(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTML)(data);\n}\nexports.decode = decode;\n/**\n * Decodes a string with entities. Does not allow missing trailing semicolons for entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeHTMLStrict` or `decodeXML` directly.\n */\nfunction decodeStrict(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTMLStrict)(data);\n}\nexports.decodeStrict = decodeStrict;\n/**\n * Encodes a string with entities.\n *\n * @param data String to encode.\n * @param level Optional level to encode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `encodeHTML`, `encodeXML` or `encodeNonAsciiHTML` directly.\n */\nfunction encode(data, level) {\n return (!level || level <= 0 ? encode_1.encodeXML : encode_1.encodeHTML)(data);\n}\nexports.encode = encode;\nvar encode_2 = require(\"./encode\");\nObject.defineProperty(exports, \"encodeXML\", { enumerable: true, get: function () { return encode_2.encodeXML; } });\nObject.defineProperty(exports, \"encodeHTML\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeNonAsciiHTML\", { enumerable: true, get: function () { return encode_2.encodeNonAsciiHTML; } });\nObject.defineProperty(exports, \"escape\", { enumerable: true, get: function () { return encode_2.escape; } });\nObject.defineProperty(exports, \"escapeUTF8\", { enumerable: true, get: function () { return encode_2.escapeUTF8; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"encodeHTML4\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeHTML5\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nvar decode_2 = require(\"./decode\");\nObject.defineProperty(exports, \"decodeXML\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\nObject.defineProperty(exports, \"decodeHTML\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTMLStrict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"decodeHTML4\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML5\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML4Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeHTML5Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeXMLStrict\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\n","'use strict';\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar entities = require('entities');\n\nvar defaults = {\n fg: '#FFF',\n bg: '#000',\n newline: false,\n escapeXML: false,\n stream: false,\n colors: getDefaultColors()\n};\n\nfunction getDefaultColors() {\n var colors = {\n 0: '#000',\n 1: '#A00',\n 2: '#0A0',\n 3: '#A50',\n 4: '#00A',\n 5: '#A0A',\n 6: '#0AA',\n 7: '#AAA',\n 8: '#555',\n 9: '#F55',\n 10: '#5F5',\n 11: '#FF5',\n 12: '#55F',\n 13: '#F5F',\n 14: '#5FF',\n 15: '#FFF'\n };\n range(0, 5).forEach(function (red) {\n range(0, 5).forEach(function (green) {\n range(0, 5).forEach(function (blue) {\n return setStyleColor(red, green, blue, colors);\n });\n });\n });\n range(0, 23).forEach(function (gray) {\n var c = gray + 232;\n var l = toHexString(gray * 10 + 8);\n colors[c] = '#' + l + l + l;\n });\n return colors;\n}\n/**\n * @param {number} red\n * @param {number} green\n * @param {number} blue\n * @param {object} colors\n */\n\n\nfunction setStyleColor(red, green, blue, colors) {\n var c = 16 + red * 36 + green * 6 + blue;\n var r = red > 0 ? red * 40 + 55 : 0;\n var g = green > 0 ? green * 40 + 55 : 0;\n var b = blue > 0 ? blue * 40 + 55 : 0;\n colors[c] = toColorHexString([r, g, b]);\n}\n/**\n * Converts from a number like 15 to a hex string like 'F'\n * @param {number} num\n * @returns {string}\n */\n\n\nfunction toHexString(num) {\n var str = num.toString(16);\n\n while (str.length < 2) {\n str = '0' + str;\n }\n\n return str;\n}\n/**\n * Converts from an array of numbers like [15, 15, 15] to a hex string like 'FFF'\n * @param {[red, green, blue]} ref\n * @returns {string}\n */\n\n\nfunction toColorHexString(ref) {\n var results = [];\n\n var _iterator = _createForOfIteratorHelper(ref),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var r = _step.value;\n results.push(toHexString(r));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return '#' + results.join('');\n}\n/**\n * @param {Array} stack\n * @param {string} token\n * @param {*} data\n * @param {object} options\n */\n\n\nfunction generateOutput(stack, token, data, options) {\n var result;\n\n if (token === 'text') {\n result = pushText(data, options);\n } else if (token === 'display') {\n result = handleDisplay(stack, data, options);\n } else if (token === 'xterm256Foreground') {\n result = pushForegroundColor(stack, options.colors[data]);\n } else if (token === 'xterm256Background') {\n result = pushBackgroundColor(stack, options.colors[data]);\n } else if (token === 'rgb') {\n result = handleRgb(stack, data);\n }\n\n return result;\n}\n/**\n * @param {Array} stack\n * @param {string} data\n * @returns {*}\n */\n\n\nfunction handleRgb(stack, data) {\n data = data.substring(2).slice(0, -1);\n var operation = +data.substr(0, 2);\n var color = data.substring(5).split(';');\n var rgb = color.map(function (value) {\n return ('0' + Number(value).toString(16)).substr(-2);\n }).join('');\n return pushStyle(stack, (operation === 38 ? 'color:#' : 'background-color:#') + rgb);\n}\n/**\n * @param {Array} stack\n * @param {number} code\n * @param {object} options\n * @returns {*}\n */\n\n\nfunction handleDisplay(stack, code, options) {\n code = parseInt(code, 10);\n var codeMap = {\n '-1': function _() {\n return '<br/>';\n },\n 0: function _() {\n return stack.length && resetStyles(stack);\n },\n 1: function _() {\n return pushTag(stack, 'b');\n },\n 3: function _() {\n return pushTag(stack, 'i');\n },\n 4: function _() {\n return pushTag(stack, 'u');\n },\n 8: function _() {\n return pushStyle(stack, 'display:none');\n },\n 9: function _() {\n return pushTag(stack, 'strike');\n },\n 22: function _() {\n return pushStyle(stack, 'font-weight:normal;text-decoration:none;font-style:normal');\n },\n 23: function _() {\n return closeTag(stack, 'i');\n },\n 24: function _() {\n return closeTag(stack, 'u');\n },\n 39: function _() {\n return pushForegroundColor(stack, options.fg);\n },\n 49: function _() {\n return pushBackgroundColor(stack, options.bg);\n },\n 53: function _() {\n return pushStyle(stack, 'text-decoration:overline');\n }\n };\n var result;\n\n if (codeMap[code]) {\n result = codeMap[code]();\n } else if (4 < code && code < 7) {\n result = pushTag(stack, 'blink');\n } else if (29 < code && code < 38) {\n result = pushForegroundColor(stack, options.colors[code - 30]);\n } else if (39 < code && code < 48) {\n result = pushBackgroundColor(stack, options.colors[code - 40]);\n } else if (89 < code && code < 98) {\n result = pushForegroundColor(stack, options.colors[8 + (code - 90)]);\n } else if (99 < code && code < 108) {\n result = pushBackgroundColor(stack, options.colors[8 + (code - 100)]);\n }\n\n return result;\n}\n/**\n * Clear all the styles\n * @returns {string}\n */\n\n\nfunction resetStyles(stack) {\n var stackClone = stack.slice(0);\n stack.length = 0;\n return stackClone.reverse().map(function (tag) {\n return '</' + tag + '>';\n }).join('');\n}\n/**\n * Creates an array of numbers ranging from low to high\n * @param {number} low\n * @param {number} high\n * @returns {Array}\n * @example range(3, 7); // creates [3, 4, 5, 6, 7]\n */\n\n\nfunction range(low, high) {\n var results = [];\n\n for (var j = low; j <= high; j++) {\n results.push(j);\n }\n\n return results;\n}\n/**\n * Returns a new function that is true if value is NOT the same category\n * @param {string} category\n * @returns {function}\n */\n\n\nfunction notCategory(category) {\n return function (e) {\n return (category === null || e.category !== category) && category !== 'all';\n };\n}\n/**\n * Converts a code into an ansi token type\n * @param {number} code\n * @returns {string}\n */\n\n\nfunction categoryForCode(code) {\n code = parseInt(code, 10);\n var result = null;\n\n if (code === 0) {\n result = 'all';\n } else if (code === 1) {\n result = 'bold';\n } else if (2 < code && code < 5) {\n result = 'underline';\n } else if (4 < code && code < 7) {\n result = 'blink';\n } else if (code === 8) {\n result = 'hide';\n } else if (code === 9) {\n result = 'strike';\n } else if (29 < code && code < 38 || code === 39 || 89 < code && code < 98) {\n result = 'foreground-color';\n } else if (39 < code && code < 48 || code === 49 || 99 < code && code < 108) {\n result = 'background-color';\n }\n\n return result;\n}\n/**\n * @param {string} text\n * @param {object} options\n * @returns {string}\n */\n\n\nfunction pushText(text, options) {\n if (options.escapeXML) {\n return entities.encodeXML(text);\n }\n\n return text;\n}\n/**\n * @param {Array} stack\n * @param {string} tag\n * @param {string} [style='']\n * @returns {string}\n */\n\n\nfunction pushTag(stack, tag, style) {\n if (!style) {\n style = '';\n }\n\n stack.push(tag);\n return \"<\".concat(tag).concat(style ? \" style=\\\"\".concat(style, \"\\\"\") : '', \">\");\n}\n/**\n * @param {Array} stack\n * @param {string} style\n * @returns {string}\n */\n\n\nfunction pushStyle(stack, style) {\n return pushTag(stack, 'span', style);\n}\n\nfunction pushForegroundColor(stack, color) {\n return pushTag(stack, 'span', 'color:' + color);\n}\n\nfunction pushBackgroundColor(stack, color) {\n return pushTag(stack, 'span', 'background-color:' + color);\n}\n/**\n * @param {Array} stack\n * @param {string} style\n * @returns {string}\n */\n\n\nfunction closeTag(stack, style) {\n var last;\n\n if (stack.slice(-1)[0] === style) {\n last = stack.pop();\n }\n\n if (last) {\n return '</' + style + '>';\n }\n}\n/**\n * @param {string} text\n * @param {object} options\n * @param {function} callback\n * @returns {Array}\n */\n\n\nfunction tokenize(text, options, callback) {\n var ansiMatch = false;\n var ansiHandler = 3;\n\n function remove() {\n return '';\n }\n\n function removeXterm256Foreground(m, g1) {\n callback('xterm256Foreground', g1);\n return '';\n }\n\n function removeXterm256Background(m, g1) {\n callback('xterm256Background', g1);\n return '';\n }\n\n function newline(m) {\n if (options.newline) {\n callback('display', -1);\n } else {\n callback('text', m);\n }\n\n return '';\n }\n\n function ansiMess(m, g1) {\n ansiMatch = true;\n\n if (g1.trim().length === 0) {\n g1 = '0';\n }\n\n g1 = g1.trimRight(';').split(';');\n\n var _iterator2 = _createForOfIteratorHelper(g1),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var g = _step2.value;\n callback('display', g);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n return '';\n }\n\n function realText(m) {\n callback('text', m);\n return '';\n }\n\n function rgb(m) {\n callback('rgb', m);\n return '';\n }\n /* eslint no-control-regex:0 */\n\n\n var tokens = [{\n pattern: /^\\x08+/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[[012]?K/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[\\(B/,\n sub: remove\n }, {\n pattern: /^\\x1b\\[[34]8;2;\\d+;\\d+;\\d+m/,\n sub: rgb\n }, {\n pattern: /^\\x1b\\[38;5;(\\d+)m/,\n sub: removeXterm256Foreground\n }, {\n pattern: /^\\x1b\\[48;5;(\\d+)m/,\n sub: removeXterm256Background\n }, {\n pattern: /^\\n/,\n sub: newline\n }, {\n pattern: /^\\r+\\n/,\n sub: newline\n }, {\n pattern: /^\\r/,\n sub: newline\n }, {\n pattern: /^\\x1b\\[((?:\\d{1,3};?)+|)m/,\n sub: ansiMess\n }, {\n // CSI n J\n // ED - Erase in Display Clears part of the screen.\n // If n is 0 (or missing), clear from cursor to end of screen.\n // If n is 1, clear from cursor to beginning of the screen.\n // If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS).\n // If n is 3, clear entire screen and delete all lines saved in the scrollback buffer\n // (this feature was added for xterm and is supported by other terminal applications).\n pattern: /^\\x1b\\[\\d?J/,\n sub: remove\n }, {\n // CSI n ; m f\n // HVP - Horizontal Vertical Position Same as CUP\n pattern: /^\\x1b\\[\\d{0,3};\\d{0,3}f/,\n sub: remove\n }, {\n // catch-all for CSI sequences?\n pattern: /^\\x1b\\[?[\\d;]{0,3}/,\n sub: remove\n }, {\n /**\n * extracts real text - not containing:\n * - `\\x1b' - ESC - escape (Ascii 27)\n * - '\\x08' - BS - backspace (Ascii 8)\n * - `\\n` - Newline - linefeed (LF) (ascii 10)\n * - `\\r` - Windows Carriage Return (CR)\n */\n pattern: /^(([^\\x1b\\x08\\r\\n])+)/,\n sub: realText\n }];\n\n function process(handler, i) {\n if (i > ansiHandler && ansiMatch) {\n return;\n }\n\n ansiMatch = false;\n text = text.replace(handler.pattern, handler.sub);\n }\n\n var results1 = [];\n var _text = text,\n length = _text.length;\n\n outer: while (length > 0) {\n for (var i = 0, o = 0, len = tokens.length; o < len; i = ++o) {\n var handler = tokens[i];\n process(handler, i);\n\n if (text.length !== length) {\n // We matched a token and removed it from the text. We need to\n // start matching *all* tokens against the new text.\n length = text.length;\n continue outer;\n }\n }\n\n if (text.length === length) {\n break;\n }\n\n results1.push(0);\n length = text.length;\n }\n\n return results1;\n}\n/**\n * If streaming, then the stack is \"sticky\"\n *\n * @param {Array} stickyStack\n * @param {string} token\n * @param {*} data\n * @returns {Array}\n */\n\n\nfunction updateStickyStack(stickyStack, token, data) {\n if (token !== 'text') {\n stickyStack = stickyStack.filter(notCategory(categoryForCode(data)));\n stickyStack.push({\n token: token,\n data: data,\n category: categoryForCode(data)\n });\n }\n\n return stickyStack;\n}\n\nvar Filter = /*#__PURE__*/function () {\n /**\n * @param {object} options\n * @param {string=} options.fg The default foreground color used when reset color codes are encountered.\n * @param {string=} options.bg The default background color used when reset color codes are encountered.\n * @param {boolean=} options.newline Convert newline characters to `<br/>`.\n * @param {boolean=} options.escapeXML Generate HTML/XML entities.\n * @param {boolean=} options.stream Save style state across invocations of `toHtml()`.\n * @param {(string[] | {[code: number]: string})=} options.colors Can override specific colors or the entire ANSI palette.\n */\n function Filter(options) {\n _classCallCheck(this, Filter);\n\n options = options || {};\n\n if (options.colors) {\n options.colors = Object.assign({}, defaults.colors, options.colors);\n }\n\n this.options = Object.assign({}, defaults, options);\n this.stack = [];\n this.stickyStack = [];\n }\n /**\n * @param {string | string[]} input\n * @returns {string}\n */\n\n\n _createClass(Filter, [{\n key: \"toHtml\",\n value: function toHtml(input) {\n var _this = this;\n\n input = typeof input === 'string' ? [input] : input;\n var stack = this.stack,\n options = this.options;\n var buf = [];\n this.stickyStack.forEach(function (element) {\n var output = generateOutput(stack, element.token, element.data, options);\n\n if (output) {\n buf.push(output);\n }\n });\n tokenize(input.join(''), options, function (token, data) {\n var output = generateOutput(stack, token, data, options);\n\n if (output) {\n buf.push(output);\n }\n\n if (options.stream) {\n _this.stickyStack = updateStickyStack(_this.stickyStack, token, data);\n }\n });\n\n if (stack.length) {\n buf.push(resetStyles(stack));\n }\n\n return buf.join('');\n }\n }]);\n\n return Filter;\n}();\n\nmodule.exports = Filter;\n//# sourceMappingURL=ansi_to_html.js.map","/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */\nfunction _OverloadYield(e, d) {\n\tthis.v = e, this.k = d;\n}\nfunction _arrayLikeToArray(r, a) {\n\t(null == a || a > r.length) && (a = r.length);\n\tfor (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n\treturn n;\n}\nfunction _arrayWithHoles(r) {\n\tif (Array.isArray(r)) return r;\n}\nfunction _iterableToArrayLimit(r, l) {\n\tvar t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n\tif (null != t) {\n\t\tvar e, n, i, u, a = [], f = !0, o = !1;\n\t\ttry {\n\t\t\tif (i = (t = t.call(r)).next, 0 === l) {\n\t\t\t\tif (Object(t) !== t) return;\n\t\t\t\tf = !1;\n\t\t\t} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n\t\t} catch (r) {\n\t\t\to = !0, n = r;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n\t\t\t} finally {\n\t\t\t\tif (o) throw n;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}\nfunction _nonIterableRest() {\n\tthrow new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\nfunction _slicedToArray(r, e) {\n\treturn _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _unsupportedIterableToArray(r, a) {\n\tif (r) {\n\t\tif (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n\t\tvar t = {}.toString.call(r).slice(8, -1);\n\t\treturn \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n\t}\n}\nfunction AsyncGenerator(e) {\n\tvar t, n;\n\tfunction resume(t, n) {\n\t\ttry {\n\t\t\tvar r = e[t](n), o = r.value, u = o instanceof _OverloadYield;\n\t\t\tPromise.resolve(u ? o.v : o).then(function(n) {\n\t\t\t\tif (u) {\n\t\t\t\t\tvar i = \"return\" === t && o.k ? t : \"next\";\n\t\t\t\t\tif (!o.k || n.done) return resume(i, n);\n\t\t\t\t\tn = e[i](n).value;\n\t\t\t\t}\n\t\t\t\tsettle(!!r.done, n);\n\t\t\t}, function(e) {\n\t\t\t\tresume(\"throw\", e);\n\t\t\t});\n\t\t} catch (e) {\n\t\t\tsettle(2, e);\n\t\t}\n\t}\n\tfunction settle(e, r) {\n\t\t2 === e ? t.reject(r) : t.resolve({\n\t\t\tvalue: r,\n\t\t\tdone: e\n\t\t}), (t = t.next) ? resume(t.key, t.arg) : n = null;\n\t}\n\tthis._invoke = function(e, r) {\n\t\treturn new Promise(function(o, u) {\n\t\t\tvar i = {\n\t\t\t\tkey: e,\n\t\t\t\targ: r,\n\t\t\t\tresolve: o,\n\t\t\t\treject: u,\n\t\t\t\tnext: null\n\t\t\t};\n\t\t\tn ? n = n.next = i : (t = n = i, resume(e, r));\n\t\t});\n\t}, \"function\" != typeof e.return && (this.return = void 0);\n}\nAsyncGenerator.prototype[\"function\" == typeof Symbol && Symbol.asyncIterator || \"@@asyncIterator\"] = function() {\n\treturn this;\n}, AsyncGenerator.prototype.next = function(e) {\n\treturn this._invoke(\"next\", e);\n}, AsyncGenerator.prototype.throw = function(e) {\n\treturn this._invoke(\"throw\", e);\n}, AsyncGenerator.prototype.return = function(e) {\n\treturn this._invoke(\"return\", e);\n};\nconst entries = Object.entries;\nconst setPrototypeOf = Object.setPrototypeOf;\nconst isFrozen = Object.isFrozen;\nconst getPrototypeOf = Object.getPrototypeOf;\nconst getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nlet freeze = Object.freeze;\nlet seal = Object.seal;\nlet create = Object.create;\nlet _ref = typeof Reflect !== \"undefined\" && Reflect;\nlet apply = _ref.apply;\nlet construct = _ref.construct;\nif (!freeze) freeze = function freeze(x) {\n\treturn x;\n};\nif (!seal) seal = function seal(x) {\n\treturn x;\n};\nif (!apply) apply = function apply(func, thisArg) {\n\tfor (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) args[_key - 2] = arguments[_key];\n\treturn func.apply(thisArg, args);\n};\nif (!construct) construct = function construct(Func) {\n\tfor (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) args[_key2 - 1] = arguments[_key2];\n\treturn new Func(...args);\n};\nconst arrayForEach = unapply(Array.prototype.forEach);\nArray.prototype.indexOf;\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nArray.prototype.slice;\nconst arraySplice = unapply(Array.prototype.splice);\nconst arrayIsArray = Array.isArray;\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst numberToString = unapply(Number.prototype.toString);\nconst booleanToString = unapply(Boolean.prototype.toString);\nconst bigintToString = typeof BigInt === \"undefined\" ? null : unapply(BigInt.prototype.toString);\nconst symbolToString = typeof Symbol === \"undefined\" ? null : unapply(Symbol.prototype.toString);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst objectToString = unapply(Object.prototype.toString);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n* Creates a new function that calls the given function with a specified thisArg and arguments.\n*\n* @param func - The function to be wrapped and called.\n* @returns A new function that calls the given function with a specified thisArg and arguments.\n*/\nfunction unapply(func) {\n\treturn function(thisArg) {\n\t\tif (thisArg instanceof RegExp) thisArg.lastIndex = 0;\n\t\tfor (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) args[_key3 - 1] = arguments[_key3];\n\t\treturn apply(func, thisArg, args);\n\t};\n}\n/**\n* Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n*\n* @param func - The constructor function to be wrapped and called.\n* @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n*/\nfunction unconstruct(Func) {\n\treturn function() {\n\t\tfor (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) args[_key4] = arguments[_key4];\n\t\treturn construct(Func, args);\n\t};\n}\n/**\n* Add properties to a lookup table\n*\n* @param set - The set to which elements will be added.\n* @param array - The array containing elements to be added to the set.\n* @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n* @returns The modified set with added elements.\n*/\nfunction addToSet(set, array) {\n\tlet transformCaseFunc = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;\n\tif (setPrototypeOf) setPrototypeOf(set, null);\n\tif (!arrayIsArray(array)) return set;\n\tlet l = array.length;\n\twhile (l--) {\n\t\tlet element = array[l];\n\t\tif (typeof element === \"string\") {\n\t\t\tconst lcElement = transformCaseFunc(element);\n\t\t\tif (lcElement !== element) {\n\t\t\t\tif (!isFrozen(array)) array[l] = lcElement;\n\t\t\t\telement = lcElement;\n\t\t\t}\n\t\t}\n\t\tset[element] = true;\n\t}\n\treturn set;\n}\n/**\n* Clean up an array to harden against CSPP\n*\n* @param array - The array to be cleaned.\n* @returns The cleaned version of the array\n*/\nfunction cleanArray(array) {\n\tfor (let index = 0; index < array.length; index++) if (!objectHasOwnProperty(array, index)) array[index] = null;\n\treturn array;\n}\n/**\n* Shallow clone an object\n*\n* @param object - The object to be cloned.\n* @returns A new object that copies the original.\n*/\nfunction clone(object) {\n\tconst newObject = create(null);\n\tfor (const _ref2 of entries(object)) {\n\t\tvar _ref3 = _slicedToArray(_ref2, 2);\n\t\tconst property = _ref3[0];\n\t\tconst value = _ref3[1];\n\t\tif (objectHasOwnProperty(object, property)) {\n\t\t\tif (arrayIsArray(value)) newObject[property] = cleanArray(value);\n\t\t\telse if (value && typeof value === \"object\" && value.constructor === Object) newObject[property] = clone(value);\n\t\t\telse newObject[property] = value;\n\t\t}\n\t}\n\treturn newObject;\n}\n/**\n* Convert non-node values into strings without depending on direct property access.\n*\n* @param value - The value to stringify.\n* @returns A string representation of the provided value.\n*/\nfunction stringifyValue(value) {\n\tswitch (typeof value) {\n\t\tcase \"string\": return value;\n\t\tcase \"number\": return numberToString(value);\n\t\tcase \"boolean\": return booleanToString(value);\n\t\tcase \"bigint\": return bigintToString ? bigintToString(value) : \"0\";\n\t\tcase \"symbol\": return symbolToString ? symbolToString(value) : \"Symbol()\";\n\t\tcase \"undefined\": return objectToString(value);\n\t\tcase \"function\":\n\t\tcase \"object\": {\n\t\t\tif (value === null) return objectToString(value);\n\t\t\tconst valueAsRecord = value;\n\t\t\tconst valueToString = lookupGetter(valueAsRecord, \"toString\");\n\t\t\tif (typeof valueToString === \"function\") {\n\t\t\t\tconst stringified = valueToString(valueAsRecord);\n\t\t\t\treturn typeof stringified === \"string\" ? stringified : objectToString(stringified);\n\t\t\t}\n\t\t\treturn objectToString(value);\n\t\t}\n\t\tdefault: return objectToString(value);\n\t}\n}\n/**\n* This method automatically checks if the prop is function or getter and behaves accordingly.\n*\n* @param object - The object to look up the getter function in its prototype chain.\n* @param prop - The property name for which to find the getter function.\n* @returns The getter function found in the prototype chain or a fallback function.\n*/\nfunction lookupGetter(object, prop) {\n\twhile (object !== null) {\n\t\tconst desc = getOwnPropertyDescriptor(object, prop);\n\t\tif (desc) {\n\t\t\tif (desc.get) return unapply(desc.get);\n\t\t\tif (typeof desc.value === \"function\") return unapply(desc.value);\n\t\t}\n\t\tobject = getPrototypeOf(object);\n\t}\n\tfunction fallbackValue() {\n\t\treturn null;\n\t}\n\treturn fallbackValue;\n}\nfunction isRegex(value) {\n\ttry {\n\t\tregExpTest(value, \"\");\n\t\treturn true;\n\t} catch (_unused) {\n\t\treturn false;\n\t}\n}\nconst html$1 = freeze([\n\t\"a\",\n\t\"abbr\",\n\t\"acronym\",\n\t\"address\",\n\t\"area\",\n\t\"article\",\n\t\"aside\",\n\t\"audio\",\n\t\"b\",\n\t\"bdi\",\n\t\"bdo\",\n\t\"big\",\n\t\"blink\",\n\t\"blockquote\",\n\t\"body\",\n\t\"br\",\n\t\"button\",\n\t\"canvas\",\n\t\"caption\",\n\t\"center\",\n\t\"cite\",\n\t\"code\",\n\t\"col\",\n\t\"colgroup\",\n\t\"content\",\n\t\"data\",\n\t\"datalist\",\n\t\"dd\",\n\t\"decorator\",\n\t\"del\",\n\t\"details\",\n\t\"dfn\",\n\t\"dialog\",\n\t\"dir\",\n\t\"div\",\n\t\"dl\",\n\t\"dt\",\n\t\"element\",\n\t\"em\",\n\t\"fieldset\",\n\t\"figcaption\",\n\t\"figure\",\n\t\"font\",\n\t\"footer\",\n\t\"form\",\n\t\"h1\",\n\t\"h2\",\n\t\"h3\",\n\t\"h4\",\n\t\"h5\",\n\t\"h6\",\n\t\"head\",\n\t\"header\",\n\t\"hgroup\",\n\t\"hr\",\n\t\"html\",\n\t\"i\",\n\t\"img\",\n\t\"input\",\n\t\"ins\",\n\t\"kbd\",\n\t\"label\",\n\t\"legend\",\n\t\"li\",\n\t\"main\",\n\t\"map\",\n\t\"mark\",\n\t\"marquee\",\n\t\"menu\",\n\t\"menuitem\",\n\t\"meter\",\n\t\"nav\",\n\t\"nobr\",\n\t\"ol\",\n\t\"optgroup\",\n\t\"option\",\n\t\"output\",\n\t\"p\",\n\t\"picture\",\n\t\"pre\",\n\t\"progress\",\n\t\"q\",\n\t\"rp\",\n\t\"rt\",\n\t\"ruby\",\n\t\"s\",\n\t\"samp\",\n\t\"search\",\n\t\"section\",\n\t\"select\",\n\t\"shadow\",\n\t\"slot\",\n\t\"small\",\n\t\"source\",\n\t\"spacer\",\n\t\"span\",\n\t\"strike\",\n\t\"strong\",\n\t\"style\",\n\t\"sub\",\n\t\"summary\",\n\t\"sup\",\n\t\"table\",\n\t\"tbody\",\n\t\"td\",\n\t\"template\",\n\t\"textarea\",\n\t\"tfoot\",\n\t\"th\",\n\t\"thead\",\n\t\"time\",\n\t\"tr\",\n\t\"track\",\n\t\"tt\",\n\t\"u\",\n\t\"ul\",\n\t\"var\",\n\t\"video\",\n\t\"wbr\"\n]);\nconst svg$1 = freeze([\n\t\"svg\",\n\t\"a\",\n\t\"altglyph\",\n\t\"altglyphdef\",\n\t\"altglyphitem\",\n\t\"animatecolor\",\n\t\"animatemotion\",\n\t\"animatetransform\",\n\t\"circle\",\n\t\"clippath\",\n\t\"defs\",\n\t\"desc\",\n\t\"ellipse\",\n\t\"enterkeyhint\",\n\t\"exportparts\",\n\t\"filter\",\n\t\"font\",\n\t\"g\",\n\t\"glyph\",\n\t\"glyphref\",\n\t\"hkern\",\n\t\"image\",\n\t\"inputmode\",\n\t\"line\",\n\t\"lineargradient\",\n\t\"marker\",\n\t\"mask\",\n\t\"metadata\",\n\t\"mpath\",\n\t\"part\",\n\t\"path\",\n\t\"pattern\",\n\t\"polygon\",\n\t\"polyline\",\n\t\"radialgradient\",\n\t\"rect\",\n\t\"stop\",\n\t\"style\",\n\t\"switch\",\n\t\"symbol\",\n\t\"text\",\n\t\"textpath\",\n\t\"title\",\n\t\"tref\",\n\t\"tspan\",\n\t\"view\",\n\t\"vkern\"\n]);\nconst svgFilters = freeze([\n\t\"feBlend\",\n\t\"feColorMatrix\",\n\t\"feComponentTransfer\",\n\t\"feComposite\",\n\t\"feConvolveMatrix\",\n\t\"feDiffuseLighting\",\n\t\"feDisplacementMap\",\n\t\"feDistantLight\",\n\t\"feDropShadow\",\n\t\"feFlood\",\n\t\"feFuncA\",\n\t\"feFuncB\",\n\t\"feFuncG\",\n\t\"feFuncR\",\n\t\"feGaussianBlur\",\n\t\"feImage\",\n\t\"feMerge\",\n\t\"feMergeNode\",\n\t\"feMorphology\",\n\t\"feOffset\",\n\t\"fePointLight\",\n\t\"feSpecularLighting\",\n\t\"feSpotLight\",\n\t\"feTile\",\n\t\"feTurbulence\"\n]);\nconst svgDisallowed = freeze([\n\t\"animate\",\n\t\"color-profile\",\n\t\"cursor\",\n\t\"discard\",\n\t\"font-face\",\n\t\"font-face-format\",\n\t\"font-face-name\",\n\t\"font-face-src\",\n\t\"font-face-uri\",\n\t\"foreignobject\",\n\t\"hatch\",\n\t\"hatchpath\",\n\t\"mesh\",\n\t\"meshgradient\",\n\t\"meshpatch\",\n\t\"meshrow\",\n\t\"missing-glyph\",\n\t\"script\",\n\t\"set\",\n\t\"solidcolor\",\n\t\"unknown\",\n\t\"use\"\n]);\nconst mathMl$1 = freeze([\n\t\"math\",\n\t\"menclose\",\n\t\"merror\",\n\t\"mfenced\",\n\t\"mfrac\",\n\t\"mglyph\",\n\t\"mi\",\n\t\"mlabeledtr\",\n\t\"mmultiscripts\",\n\t\"mn\",\n\t\"mo\",\n\t\"mover\",\n\t\"mpadded\",\n\t\"mphantom\",\n\t\"mroot\",\n\t\"mrow\",\n\t\"ms\",\n\t\"mspace\",\n\t\"msqrt\",\n\t\"mstyle\",\n\t\"msub\",\n\t\"msup\",\n\t\"msubsup\",\n\t\"mtable\",\n\t\"mtd\",\n\t\"mtext\",\n\t\"mtr\",\n\t\"munder\",\n\t\"munderover\",\n\t\"mprescripts\"\n]);\nconst mathMlDisallowed = freeze([\n\t\"maction\",\n\t\"maligngroup\",\n\t\"malignmark\",\n\t\"mlongdiv\",\n\t\"mscarries\",\n\t\"mscarry\",\n\t\"msgroup\",\n\t\"mstack\",\n\t\"msline\",\n\t\"msrow\",\n\t\"semantics\",\n\t\"annotation\",\n\t\"annotation-xml\",\n\t\"mprescripts\",\n\t\"none\"\n]);\nconst text = freeze([\"#text\"]);\nconst html = freeze([\n\t\"accept\",\n\t\"action\",\n\t\"align\",\n\t\"alt\",\n\t\"autocapitalize\",\n\t\"autocomplete\",\n\t\"autopictureinpicture\",\n\t\"autoplay\",\n\t\"background\",\n\t\"bgcolor\",\n\t\"border\",\n\t\"capture\",\n\t\"cellpadding\",\n\t\"cellspacing\",\n\t\"checked\",\n\t\"cite\",\n\t\"class\",\n\t\"clear\",\n\t\"color\",\n\t\"cols\",\n\t\"colspan\",\n\t\"command\",\n\t\"commandfor\",\n\t\"controls\",\n\t\"controlslist\",\n\t\"coords\",\n\t\"crossorigin\",\n\t\"datetime\",\n\t\"decoding\",\n\t\"default\",\n\t\"dir\",\n\t\"disabled\",\n\t\"disablepictureinpicture\",\n\t\"disableremoteplayback\",\n\t\"download\",\n\t\"draggable\",\n\t\"enctype\",\n\t\"enterkeyhint\",\n\t\"exportparts\",\n\t\"face\",\n\t\"for\",\n\t\"headers\",\n\t\"height\",\n\t\"hidden\",\n\t\"high\",\n\t\"href\",\n\t\"hreflang\",\n\t\"id\",\n\t\"inert\",\n\t\"inputmode\",\n\t\"integrity\",\n\t\"ismap\",\n\t\"kind\",\n\t\"label\",\n\t\"lang\",\n\t\"list\",\n\t\"loading\",\n\t\"loop\",\n\t\"low\",\n\t\"max\",\n\t\"maxlength\",\n\t\"media\",\n\t\"method\",\n\t\"min\",\n\t\"minlength\",\n\t\"multiple\",\n\t\"muted\",\n\t\"name\",\n\t\"nonce\",\n\t\"noshade\",\n\t\"novalidate\",\n\t\"nowrap\",\n\t\"open\",\n\t\"optimum\",\n\t\"part\",\n\t\"pattern\",\n\t\"placeholder\",\n\t\"playsinline\",\n\t\"popover\",\n\t\"popovertarget\",\n\t\"popovertargetaction\",\n\t\"poster\",\n\t\"preload\",\n\t\"pubdate\",\n\t\"radiogroup\",\n\t\"readonly\",\n\t\"rel\",\n\t\"required\",\n\t\"rev\",\n\t\"reversed\",\n\t\"role\",\n\t\"rows\",\n\t\"rowspan\",\n\t\"spellcheck\",\n\t\"scope\",\n\t\"selected\",\n\t\"shape\",\n\t\"size\",\n\t\"sizes\",\n\t\"slot\",\n\t\"span\",\n\t\"srclang\",\n\t\"start\",\n\t\"src\",\n\t\"srcset\",\n\t\"step\",\n\t\"style\",\n\t\"summary\",\n\t\"tabindex\",\n\t\"title\",\n\t\"translate\",\n\t\"type\",\n\t\"usemap\",\n\t\"valign\",\n\t\"value\",\n\t\"width\",\n\t\"wrap\",\n\t\"xmlns\"\n]);\nconst svg = freeze([\n\t\"accent-height\",\n\t\"accumulate\",\n\t\"additive\",\n\t\"alignment-baseline\",\n\t\"amplitude\",\n\t\"ascent\",\n\t\"attributename\",\n\t\"attributetype\",\n\t\"azimuth\",\n\t\"basefrequency\",\n\t\"baseline-shift\",\n\t\"begin\",\n\t\"bias\",\n\t\"by\",\n\t\"class\",\n\t\"clip\",\n\t\"clippathunits\",\n\t\"clip-path\",\n\t\"clip-rule\",\n\t\"color\",\n\t\"color-interpolation\",\n\t\"color-interpolation-filters\",\n\t\"color-profile\",\n\t\"color-rendering\",\n\t\"cx\",\n\t\"cy\",\n\t\"d\",\n\t\"dx\",\n\t\"dy\",\n\t\"diffuseconstant\",\n\t\"direction\",\n\t\"display\",\n\t\"divisor\",\n\t\"dominant-baseline\",\n\t\"dur\",\n\t\"edgemode\",\n\t\"elevation\",\n\t\"end\",\n\t\"exponent\",\n\t\"fill\",\n\t\"fill-opacity\",\n\t\"fill-rule\",\n\t\"filter\",\n\t\"filterunits\",\n\t\"flood-color\",\n\t\"flood-opacity\",\n\t\"font-family\",\n\t\"font-size\",\n\t\"font-size-adjust\",\n\t\"font-stretch\",\n\t\"font-style\",\n\t\"font-variant\",\n\t\"font-weight\",\n\t\"fx\",\n\t\"fy\",\n\t\"g1\",\n\t\"g2\",\n\t\"glyph-name\",\n\t\"glyphref\",\n\t\"gradientunits\",\n\t\"gradienttransform\",\n\t\"height\",\n\t\"href\",\n\t\"id\",\n\t\"image-rendering\",\n\t\"in\",\n\t\"in2\",\n\t\"intercept\",\n\t\"k\",\n\t\"k1\",\n\t\"k2\",\n\t\"k3\",\n\t\"k4\",\n\t\"kerning\",\n\t\"keypoints\",\n\t\"keysplines\",\n\t\"keytimes\",\n\t\"lang\",\n\t\"lengthadjust\",\n\t\"letter-spacing\",\n\t\"kernelmatrix\",\n\t\"kernelunitlength\",\n\t\"lighting-color\",\n\t\"local\",\n\t\"marker-end\",\n\t\"marker-mid\",\n\t\"marker-start\",\n\t\"markerheight\",\n\t\"markerunits\",\n\t\"markerwidth\",\n\t\"maskcontentunits\",\n\t\"maskunits\",\n\t\"max\",\n\t\"mask\",\n\t\"mask-type\",\n\t\"media\",\n\t\"method\",\n\t\"mode\",\n\t\"min\",\n\t\"name\",\n\t\"numoctaves\",\n\t\"offset\",\n\t\"operator\",\n\t\"opacity\",\n\t\"order\",\n\t\"orient\",\n\t\"orientation\",\n\t\"origin\",\n\t\"overflow\",\n\t\"paint-order\",\n\t\"path\",\n\t\"pathlength\",\n\t\"patterncontentunits\",\n\t\"patterntransform\",\n\t\"patternunits\",\n\t\"pointer-events\",\n\t\"points\",\n\t\"preservealpha\",\n\t\"preserveaspectratio\",\n\t\"primitiveunits\",\n\t\"r\",\n\t\"rx\",\n\t\"ry\",\n\t\"radius\",\n\t\"refx\",\n\t\"refy\",\n\t\"repeatcount\",\n\t\"repeatdur\",\n\t\"restart\",\n\t\"result\",\n\t\"rotate\",\n\t\"scale\",\n\t\"seed\",\n\t\"shape-rendering\",\n\t\"slope\",\n\t\"specularconstant\",\n\t\"specularexponent\",\n\t\"spreadmethod\",\n\t\"startoffset\",\n\t\"stddeviation\",\n\t\"stitchtiles\",\n\t\"stop-color\",\n\t\"stop-opacity\",\n\t\"stroke-dasharray\",\n\t\"stroke-dashoffset\",\n\t\"stroke-linecap\",\n\t\"stroke-linejoin\",\n\t\"stroke-miterlimit\",\n\t\"stroke-opacity\",\n\t\"stroke\",\n\t\"stroke-width\",\n\t\"style\",\n\t\"surfacescale\",\n\t\"systemlanguage\",\n\t\"tabindex\",\n\t\"tablevalues\",\n\t\"targetx\",\n\t\"targety\",\n\t\"transform\",\n\t\"transform-origin\",\n\t\"text-anchor\",\n\t\"text-decoration\",\n\t\"text-orientation\",\n\t\"text-rendering\",\n\t\"textlength\",\n\t\"type\",\n\t\"u1\",\n\t\"u2\",\n\t\"unicode\",\n\t\"values\",\n\t\"vector-effect\",\n\t\"viewbox\",\n\t\"visibility\",\n\t\"version\",\n\t\"vert-adv-y\",\n\t\"vert-origin-x\",\n\t\"vert-origin-y\",\n\t\"width\",\n\t\"word-spacing\",\n\t\"wrap\",\n\t\"writing-mode\",\n\t\"xchannelselector\",\n\t\"ychannelselector\",\n\t\"x\",\n\t\"x1\",\n\t\"x2\",\n\t\"xmlns\",\n\t\"y\",\n\t\"y1\",\n\t\"y2\",\n\t\"z\",\n\t\"zoomandpan\"\n]);\nconst mathMl = freeze([\n\t\"accent\",\n\t\"accentunder\",\n\t\"align\",\n\t\"bevelled\",\n\t\"close\",\n\t\"columnalign\",\n\t\"columnlines\",\n\t\"columnspacing\",\n\t\"columnspan\",\n\t\"denomalign\",\n\t\"depth\",\n\t\"dir\",\n\t\"display\",\n\t\"displaystyle\",\n\t\"encoding\",\n\t\"fence\",\n\t\"frame\",\n\t\"height\",\n\t\"href\",\n\t\"id\",\n\t\"largeop\",\n\t\"length\",\n\t\"linethickness\",\n\t\"lquote\",\n\t\"lspace\",\n\t\"mathbackground\",\n\t\"mathcolor\",\n\t\"mathsize\",\n\t\"mathvariant\",\n\t\"maxsize\",\n\t\"minsize\",\n\t\"movablelimits\",\n\t\"notation\",\n\t\"numalign\",\n\t\"open\",\n\t\"rowalign\",\n\t\"rowlines\",\n\t\"rowspacing\",\n\t\"rowspan\",\n\t\"rspace\",\n\t\"rquote\",\n\t\"scriptlevel\",\n\t\"scriptminsize\",\n\t\"scriptsizemultiplier\",\n\t\"selection\",\n\t\"separator\",\n\t\"separators\",\n\t\"stretchy\",\n\t\"subscriptshift\",\n\t\"supscriptshift\",\n\t\"symmetric\",\n\t\"voffset\",\n\t\"width\",\n\t\"xmlns\"\n]);\nconst xml = freeze([\n\t\"xlink:href\",\n\t\"xml:id\",\n\t\"xlink:title\",\n\t\"xml:space\",\n\t\"xmlns:xlink\"\n]);\nconst MUSTACHE_EXPR = seal(/{{[\\w\\W]*|^[\\w\\W]*}}/g);\nconst ERB_EXPR = seal(/<%[\\w\\W]*|^[\\w\\W]*%>/g);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*/g);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/);\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/);\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\nconst ELEMENT_MARKUP_PROBE = seal(/<[/\\w!]/g);\nconst COMMENT_MARKUP_PROBE = seal(/<[/\\w]/g);\nconst FALLBACK_TAG_CLOSE = seal(/<\\/no(script|embed|frames)/i);\nconst SELF_CLOSING_TAG = seal(/\\/>/i);\nconst NODE_TYPE = {\n\telement: 1,\n\tattribute: 2,\n\ttext: 3,\n\tcdataSection: 4,\n\tentityReference: 5,\n\tentityNode: 6,\n\tprocessingInstruction: 7,\n\tcomment: 8,\n\tdocument: 9,\n\tdocumentType: 10,\n\tdocumentFragment: 11,\n\tnotation: 12\n};\nconst LITERAL_TEXT_ELEMENT_NAMES = [\n\t\"style\",\n\t\"script\",\n\t\"xmp\",\n\t\"iframe\",\n\t\"noembed\",\n\t\"noframes\",\n\t\"plaintext\",\n\t\"noscript\"\n];\nconst LITERAL_TEXT_ELEMENTS = freeze(addToSet({}, LITERAL_TEXT_ELEMENT_NAMES));\nconst LITERAL_TEXT_CLOSE = function() {\n\tconst map = {};\n\tarrayForEach(LITERAL_TEXT_ELEMENT_NAMES, (name) => {\n\t\tmap[name] = seal(new RegExp(\"</\" + name + \"(?=[\\\\t\\\\n\\\\f\\\\r />])\", \"i\"));\n\t});\n\treturn freeze(map);\n}();\nconst getGlobal = function getGlobal() {\n\treturn typeof window === \"undefined\" ? null : window;\n};\n/**\n* Creates a no-op policy for internal use only.\n* Don't export this function outside this module!\n* @param trustedTypes The policy factory.\n* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n* @return The policy created (or null, if Trusted Types\n* are not supported or creating the policy failed).\n*/\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n\tif (typeof trustedTypes !== \"object\" || typeof trustedTypes.createPolicy !== \"function\") return null;\n\tlet suffix = null;\n\tconst ATTR_NAME = \"data-tt-policy-suffix\";\n\tif (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) suffix = purifyHostElement.getAttribute(ATTR_NAME);\n\tconst policyName = \"dompurify\" + (suffix ? \"#\" + suffix : \"\");\n\ttry {\n\t\treturn trustedTypes.createPolicy(policyName, {\n\t\t\tcreateHTML(html) {\n\t\t\t\treturn html;\n\t\t\t},\n\t\t\tcreateScriptURL(scriptUrl) {\n\t\t\t\treturn scriptUrl;\n\t\t\t}\n\t\t});\n\t} catch (_) {\n\t\tconsole.warn(\"TrustedTypes policy \" + policyName + \" could not be created.\");\n\t\treturn null;\n\t}\n};\nconst _createHooksMap = function _createHooksMap() {\n\treturn {\n\t\tafterSanitizeAttributes: [],\n\t\tafterSanitizeElements: [],\n\t\tafterSanitizeShadowDOM: [],\n\t\tbeforeSanitizeAttributes: [],\n\t\tbeforeSanitizeElements: [],\n\t\tbeforeSanitizeShadowDOM: [],\n\t\tuponSanitizeAttribute: [],\n\t\tuponSanitizeElement: [],\n\t\tuponSanitizeShadowNode: []\n\t};\n};\n/**\n* Resolve a set-valued configuration option: a fresh set built from\n* cfg[key] when it is an own array property (seeded with a clone of\n* options.base when given, case-normalized via options.transform),\n* the fallback set otherwise.\n*\n* @param cfg the cloned, prototype-free configuration object\n* @param key the configuration property to read\n* @param fallback the set to use when the option is absent or not an array\n* @param options transform and optional base set to merge into\n* @returns the resolved set\n*/\nconst _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options) {\n\treturn objectHasOwnProperty(cfg, key) && arrayIsArray(cfg[key]) ? addToSet(options.base ? clone(options.base) : {}, cfg[key], options.transform) : fallback;\n};\n/**\n* Resolve an object-valued configuration option: a prototype-free clone\n* of cfg[key] when it is an own, truthy object property, else a fresh\n* fallback built by makeFallback (fresh on every parse, so a previous\n* parse can never leak state into the next one).\n*\n* @param cfg the cloned, prototype-free configuration object\n* @param key the configuration property to read\n* @param makeFallback builds the fallback value when the option is absent\n* @returns the resolved object\n*/\nconst _resolveObjectOption = function _resolveObjectOption(cfg, key, makeFallback) {\n\tconst value = objectHasOwnProperty(cfg, key) ? cfg[key] : void 0;\n\treturn value && typeof value === \"object\" ? clone(value) : makeFallback();\n};\nfunction createDOMPurify() {\n\tlet window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();\n\tconst DOMPurify = (root) => createDOMPurify(root);\n\tDOMPurify.version = \"3.4.16\";\n\tDOMPurify.removed = [];\n\tif (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n\t\tDOMPurify.isSupported = false;\n\t\treturn DOMPurify;\n\t}\n\tlet document = window.document;\n\tconst originalDocument = document;\n\tconst currentScript = originalDocument.currentScript;\n\twindow.DocumentFragment;\n\tconst HTMLTemplateElement = window.HTMLTemplateElement, Node = window.Node, Element = window.Element, NodeFilter = window.NodeFilter;\n\twindow.NamedNodeMap === void 0 && (window.NamedNodeMap || window.MozNamedAttrMap);\n\twindow.HTMLFormElement;\n\tconst DOMParser = window.DOMParser, trustedTypes = window.trustedTypes;\n\tconst ElementPrototype = Element.prototype;\n\tconst cloneNode = lookupGetter(ElementPrototype, \"cloneNode\");\n\tconst remove = lookupGetter(ElementPrototype, \"remove\");\n\tconst removeAttributeNode = lookupGetter(ElementPrototype, \"removeAttributeNode\");\n\tconst getNextSibling = lookupGetter(ElementPrototype, \"nextSibling\");\n\tconst getChildNodes = lookupGetter(ElementPrototype, \"childNodes\");\n\tconst getParentNode = lookupGetter(ElementPrototype, \"parentNode\");\n\tconst getShadowRoot = lookupGetter(ElementPrototype, \"shadowRoot\");\n\tconst getAttributes = lookupGetter(ElementPrototype, \"attributes\");\n\tconst getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, \"nodeType\") : null;\n\tconst getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, \"nodeName\") : null;\n\tconst getOwnerDocument = Node && Node.prototype ? lookupGetter(Node.prototype, \"ownerDocument\") : null;\n\tconst _readNodeType = function _readNodeType(node) {\n\t\treturn getNodeType ? getNodeType(node) : node.nodeType;\n\t};\n\tconst _readNodeName = function _readNodeName(node) {\n\t\treturn getNodeName ? getNodeName(node) : node.nodeName;\n\t};\n\tif (typeof HTMLTemplateElement === \"function\") {\n\t\tconst template = document.createElement(\"template\");\n\t\tif (template.content && template.content.ownerDocument) document = template.content.ownerDocument;\n\t}\n\tlet trustedTypesPolicy;\n\tlet emptyHTML = \"\";\n\tlet defaultTrustedTypesPolicy;\n\tlet defaultTrustedTypesPolicyResolved = false;\n\tlet IN_TRUSTED_TYPES_POLICY = 0;\n\tconst _assertNotInTrustedTypesPolicy = function _assertNotInTrustedTypesPolicy() {\n\t\tif (IN_TRUSTED_TYPES_POLICY > 0) throw typeErrorCreate(\"A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \\\"DOMPurify and Trusted Types\\\" section of the README.\");\n\t};\n\tconst _createTrustedHTML = function _createTrustedHTML(html) {\n\t\t_assertNotInTrustedTypesPolicy();\n\t\tIN_TRUSTED_TYPES_POLICY++;\n\t\ttry {\n\t\t\treturn trustedTypesPolicy.createHTML(html);\n\t\t} finally {\n\t\t\tIN_TRUSTED_TYPES_POLICY--;\n\t\t}\n\t};\n\tconst _createTrustedScriptURL = function _createTrustedScriptURL(scriptUrl) {\n\t\t_assertNotInTrustedTypesPolicy();\n\t\tIN_TRUSTED_TYPES_POLICY++;\n\t\ttry {\n\t\t\treturn trustedTypesPolicy.createScriptURL(scriptUrl);\n\t\t} finally {\n\t\t\tIN_TRUSTED_TYPES_POLICY--;\n\t\t}\n\t};\n\tconst _getDefaultTrustedTypesPolicy = function _getDefaultTrustedTypesPolicy() {\n\t\tif (!defaultTrustedTypesPolicyResolved) {\n\t\t\tdefaultTrustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n\t\t\tdefaultTrustedTypesPolicyResolved = true;\n\t\t}\n\t\treturn defaultTrustedTypesPolicy;\n\t};\n\tconst _document = document, implementation = _document.implementation, createNodeIterator = _document.createNodeIterator, createDocumentFragment = _document.createDocumentFragment, getElementsByTagName = _document.getElementsByTagName;\n\tconst importNode = originalDocument.importNode;\n\tlet hooks = _createHooksMap();\n\t/**\n\t* Expose whether this browser supports running the full DOMPurify.\n\t*/\n\tDOMPurify.isSupported = typeof entries === \"function\" && typeof getParentNode === \"function\" && implementation && implementation.createHTMLDocument !== void 0;\n\tconst MUSTACHE_EXPR$1 = MUSTACHE_EXPR, ERB_EXPR$1 = ERB_EXPR, TMPLIT_EXPR$1 = TMPLIT_EXPR, DATA_ATTR$1 = DATA_ATTR, ARIA_ATTR$1 = ARIA_ATTR, IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA, ATTR_WHITESPACE$1 = ATTR_WHITESPACE, CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n\tlet IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n\t/**\n\t* We consider the elements and attributes below to be safe. Ideally\n\t* don't add any new ones but feel free to remove unwanted ones.\n\t*/\n\tlet ALLOWED_TAGS = null;\n\tconst DEFAULT_ALLOWED_TAGS = addToSet({}, [\n\t\t...html$1,\n\t\t...svg$1,\n\t\t...svgFilters,\n\t\t...mathMl$1,\n\t\t...text\n\t]);\n\tlet ALLOWED_ATTR = null;\n\tconst DEFAULT_ALLOWED_ATTR = addToSet({}, [\n\t\t...html,\n\t\t...svg,\n\t\t...mathMl,\n\t\t...xml\n\t]);\n\tlet CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n\t\ttagNameCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tattributeNameCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tallowCustomizedBuiltInElements: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: false\n\t\t}\n\t}));\n\tlet FORBID_TAGS = null;\n\tlet FORBID_ATTR = null;\n\tconst EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n\t\ttagCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t},\n\t\tattributeCheck: {\n\t\t\twritable: true,\n\t\t\tconfigurable: false,\n\t\t\tenumerable: true,\n\t\t\tvalue: null\n\t\t}\n\t}));\n\tlet ALLOW_ARIA_ATTR = true;\n\tlet ALLOW_DATA_ATTR = true;\n\tlet ALLOW_UNKNOWN_PROTOCOLS = false;\n\tlet ALLOW_SELF_CLOSE_IN_ATTR = true;\n\tlet SAFE_FOR_TEMPLATES = false;\n\tlet SAFE_FOR_XML = true;\n\tlet WHOLE_DOCUMENT = false;\n\tlet SET_CONFIG = false;\n\tlet SET_CONFIG_ALLOWED_TAGS = null;\n\tlet SET_CONFIG_ALLOWED_ATTR = null;\n\tlet FORCE_BODY = false;\n\tlet RETURN_DOM = false;\n\tlet RETURN_DOM_FRAGMENT = false;\n\tlet RETURN_TRUSTED_TYPE = false;\n\tlet SANITIZE_DOM = true;\n\tlet SANITIZE_NAMED_PROPS = false;\n\tconst SANITIZE_NAMED_PROPS_PREFIX = \"user-content-\";\n\tlet KEEP_CONTENT = true;\n\tlet IN_PLACE = false;\n\tlet USE_PROFILES = {};\n\tlet FORBID_CONTENTS = null;\n\tconst DEFAULT_FORBID_CONTENTS = addToSet({}, [\n\t\t\"annotation-xml\",\n\t\t\"audio\",\n\t\t\"colgroup\",\n\t\t\"desc\",\n\t\t\"foreignobject\",\n\t\t\"head\",\n\t\t\"iframe\",\n\t\t\"math\",\n\t\t\"mi\",\n\t\t\"mn\",\n\t\t\"mo\",\n\t\t\"ms\",\n\t\t\"mtext\",\n\t\t\"noembed\",\n\t\t\"noframes\",\n\t\t\"noscript\",\n\t\t\"plaintext\",\n\t\t\"script\",\n\t\t\"selectedcontent\",\n\t\t\"style\",\n\t\t\"svg\",\n\t\t\"template\",\n\t\t\"thead\",\n\t\t\"title\",\n\t\t\"video\",\n\t\t\"xmp\"\n\t]);\n\tlet DATA_URI_TAGS = null;\n\tconst DEFAULT_DATA_URI_TAGS = addToSet({}, [\n\t\t\"audio\",\n\t\t\"video\",\n\t\t\"img\",\n\t\t\"source\",\n\t\t\"image\",\n\t\t\"track\"\n\t]);\n\tlet URI_SAFE_ATTRIBUTES = null;\n\tconst DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, [\n\t\t\"alt\",\n\t\t\"class\",\n\t\t\"for\",\n\t\t\"id\",\n\t\t\"label\",\n\t\t\"name\",\n\t\t\"pattern\",\n\t\t\"placeholder\",\n\t\t\"role\",\n\t\t\"summary\",\n\t\t\"title\",\n\t\t\"value\",\n\t\t\"style\",\n\t\t\"xmlns\"\n\t]);\n\tconst MATHML_NAMESPACE = \"http://www.w3.org/1998/Math/MathML\";\n\tconst SVG_NAMESPACE = \"http://www.w3.org/2000/svg\";\n\tconst HTML_NAMESPACE = \"http://www.w3.org/1999/xhtml\";\n\tlet NAMESPACE = HTML_NAMESPACE;\n\tlet IS_EMPTY_INPUT = false;\n\tlet ALLOWED_NAMESPACES = null;\n\tconst DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [\n\t\tMATHML_NAMESPACE,\n\t\tSVG_NAMESPACE,\n\t\tHTML_NAMESPACE\n\t], stringToString);\n\tconst DEFAULT_MATHML_TEXT_INTEGRATION_POINTS = freeze([\n\t\t\"mi\",\n\t\t\"mo\",\n\t\t\"mn\",\n\t\t\"ms\",\n\t\t\"mtext\"\n\t]);\n\tlet MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS);\n\tconst DEFAULT_HTML_INTEGRATION_POINTS = freeze([\"annotation-xml\"]);\n\tlet HTML_INTEGRATION_POINTS = addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS);\n\tconst COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, [\n\t\t\"title\",\n\t\t\"style\",\n\t\t\"font\",\n\t\t\"a\",\n\t\t\"script\"\n\t]);\n\tlet PARSER_MEDIA_TYPE = null;\n\tconst SUPPORTED_PARSER_MEDIA_TYPES = [\"application/xhtml+xml\", \"text/html\"];\n\tconst DEFAULT_PARSER_MEDIA_TYPE = \"text/html\";\n\tlet transformCaseFunc = null;\n\tlet CONFIG = null;\n\tconst formElement = document.createElement(\"form\");\n\tconst isRegexOrFunction = function isRegexOrFunction(testValue) {\n\t\treturn testValue instanceof RegExp || testValue instanceof Function;\n\t};\n\t/**\n\t* _parseConfig\n\t*\n\t* @param cfg optional config literal\n\t*/\n\tconst _parseConfig = function _parseConfig() {\n\t\tlet cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n\t\tif (CONFIG && CONFIG === cfg) return;\n\t\tif (!cfg || typeof cfg !== \"object\") cfg = {};\n\t\tcfg = clone(cfg);\n\t\tPARSER_MEDIA_TYPE = SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n\t\ttransformCaseFunc = PARSER_MEDIA_TYPE === \"application/xhtml+xml\" ? stringToString : stringToLowerCase;\n\t\tALLOWED_TAGS = _resolveSetOption(cfg, \"ALLOWED_TAGS\", DEFAULT_ALLOWED_TAGS, { transform: transformCaseFunc });\n\t\tALLOWED_ATTR = _resolveSetOption(cfg, \"ALLOWED_ATTR\", DEFAULT_ALLOWED_ATTR, { transform: transformCaseFunc });\n\t\tALLOWED_NAMESPACES = _resolveSetOption(cfg, \"ALLOWED_NAMESPACES\", DEFAULT_ALLOWED_NAMESPACES, { transform: stringToString });\n\t\tURI_SAFE_ATTRIBUTES = _resolveSetOption(cfg, \"ADD_URI_SAFE_ATTR\", DEFAULT_URI_SAFE_ATTRIBUTES, {\n\t\t\ttransform: transformCaseFunc,\n\t\t\tbase: DEFAULT_URI_SAFE_ATTRIBUTES\n\t\t});\n\t\tDATA_URI_TAGS = _resolveSetOption(cfg, \"ADD_DATA_URI_TAGS\", DEFAULT_DATA_URI_TAGS, {\n\t\t\ttransform: transformCaseFunc,\n\t\t\tbase: DEFAULT_DATA_URI_TAGS\n\t\t});\n\t\tFORBID_CONTENTS = _resolveSetOption(cfg, \"FORBID_CONTENTS\", DEFAULT_FORBID_CONTENTS, { transform: transformCaseFunc });\n\t\tFORBID_TAGS = _resolveSetOption(cfg, \"FORBID_TAGS\", clone({}), { transform: transformCaseFunc });\n\t\tFORBID_ATTR = _resolveSetOption(cfg, \"FORBID_ATTR\", clone({}), { transform: transformCaseFunc });\n\t\tUSE_PROFILES = objectHasOwnProperty(cfg, \"USE_PROFILES\") ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === \"object\" ? clone(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;\n\t\tALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;\n\t\tALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;\n\t\tALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false;\n\t\tALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false;\n\t\tSAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false;\n\t\tSAFE_FOR_XML = cfg.SAFE_FOR_XML !== false;\n\t\tWHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false;\n\t\tRETURN_DOM = cfg.RETURN_DOM || false;\n\t\tRETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false;\n\t\tRETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false;\n\t\tFORCE_BODY = cfg.FORCE_BODY || false;\n\t\tSANITIZE_DOM = cfg.SANITIZE_DOM !== false;\n\t\tSANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false;\n\t\tKEEP_CONTENT = cfg.KEEP_CONTENT !== false;\n\t\tIN_PLACE = cfg.IN_PLACE || false;\n\t\tIS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI;\n\t\tNAMESPACE = typeof cfg.NAMESPACE === \"string\" ? cfg.NAMESPACE : HTML_NAMESPACE;\n\t\tMATHML_TEXT_INTEGRATION_POINTS = _resolveObjectOption(cfg, \"MATHML_TEXT_INTEGRATION_POINTS\", () => addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS));\n\t\tHTML_INTEGRATION_POINTS = _resolveObjectOption(cfg, \"HTML_INTEGRATION_POINTS\", () => addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS));\n\t\tconst customElementHandling = _resolveObjectOption(cfg, \"CUSTOM_ELEMENT_HANDLING\", () => create(null));\n\t\tCUSTOM_ELEMENT_HANDLING = create(null);\n\t\tif (objectHasOwnProperty(customElementHandling, \"tagNameCheck\") && isRegexOrFunction(customElementHandling.tagNameCheck)) CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck;\n\t\tif (objectHasOwnProperty(customElementHandling, \"attributeNameCheck\") && isRegexOrFunction(customElementHandling.attributeNameCheck)) CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck;\n\t\tif (objectHasOwnProperty(customElementHandling, \"allowCustomizedBuiltInElements\") && typeof customElementHandling.allowCustomizedBuiltInElements === \"boolean\") CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements;\n\t\tseal(CUSTOM_ELEMENT_HANDLING);\n\t\tif (SAFE_FOR_TEMPLATES) ALLOW_DATA_ATTR = false;\n\t\tif (RETURN_DOM_FRAGMENT) RETURN_DOM = true;\n\t\tif (USE_PROFILES) {\n\t\t\tALLOWED_TAGS = addToSet({}, text);\n\t\t\tALLOWED_ATTR = create(null);\n\t\t\tif (USE_PROFILES.html === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, html$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, html);\n\t\t\t}\n\t\t\tif (USE_PROFILES.svg === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, svg$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, svg);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t\tif (USE_PROFILES.svgFilters === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, svgFilters);\n\t\t\t\taddToSet(ALLOWED_ATTR, svg);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t\tif (USE_PROFILES.mathMl === true) {\n\t\t\t\taddToSet(ALLOWED_TAGS, mathMl$1);\n\t\t\t\taddToSet(ALLOWED_ATTR, mathMl);\n\t\t\t\taddToSet(ALLOWED_ATTR, xml);\n\t\t\t}\n\t\t}\n\t\tEXTRA_ELEMENT_HANDLING.tagCheck = null;\n\t\tEXTRA_ELEMENT_HANDLING.attributeCheck = null;\n\t\tif (objectHasOwnProperty(cfg, \"ADD_TAGS\")) {\n\t\t\tif (typeof cfg.ADD_TAGS === \"function\") EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n\t\t\telse if (arrayIsArray(cfg.ADD_TAGS)) {\n\t\t\t\tif (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) ALLOWED_TAGS = clone(ALLOWED_TAGS);\n\t\t\t\taddToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n\t\t\t}\n\t\t}\n\t\tif (objectHasOwnProperty(cfg, \"ADD_ATTR\")) {\n\t\t\tif (typeof cfg.ADD_ATTR === \"function\") EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n\t\t\telse if (arrayIsArray(cfg.ADD_ATTR)) {\n\t\t\t\tif (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) ALLOWED_ATTR = clone(ALLOWED_ATTR);\n\t\t\t\taddToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n\t\t\t}\n\t\t}\n\t\tif (objectHasOwnProperty(cfg, \"ADD_FORBID_CONTENTS\") && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {\n\t\t\tif (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) FORBID_CONTENTS = clone(FORBID_CONTENTS);\n\t\t\taddToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);\n\t\t}\n\t\tif (KEEP_CONTENT) ALLOWED_TAGS[\"#text\"] = true;\n\t\tif (WHOLE_DOCUMENT) addToSet(ALLOWED_TAGS, [\n\t\t\t\"html\",\n\t\t\t\"head\",\n\t\t\t\"body\"\n\t\t]);\n\t\tif (ALLOWED_TAGS.table) {\n\t\t\taddToSet(ALLOWED_TAGS, [\"tbody\"]);\n\t\t\tdelete FORBID_TAGS.tbody;\n\t\t}\n\t\tif (cfg.TRUSTED_TYPES_POLICY) {\n\t\t\tif (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== \"function\") throw typeErrorCreate(\"TRUSTED_TYPES_POLICY configuration option must provide a \\\"createHTML\\\" hook.\");\n\t\t\tif (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== \"function\") throw typeErrorCreate(\"TRUSTED_TYPES_POLICY configuration option must provide a \\\"createScriptURL\\\" hook.\");\n\t\t\tconst previousTrustedTypesPolicy = trustedTypesPolicy;\n\t\t\ttrustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n\t\t\ttry {\n\t\t\t\temptyHTML = _createTrustedHTML(\"\");\n\t\t\t} catch (error) {\n\t\t\t\ttrustedTypesPolicy = previousTrustedTypesPolicy;\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t} else if (cfg.TRUSTED_TYPES_POLICY === null) {\n\t\t\ttrustedTypesPolicy = void 0;\n\t\t\temptyHTML = \"\";\n\t\t} else {\n\t\t\tif (trustedTypesPolicy === void 0) trustedTypesPolicy = _getDefaultTrustedTypesPolicy();\n\t\t\tif (trustedTypesPolicy && typeof emptyHTML === \"string\") emptyHTML = _createTrustedHTML(\"\");\n\t\t}\n\t\tif (freeze) freeze(cfg);\n\t\tCONFIG = cfg;\n\t};\n\tconst ALL_SVG_TAGS = addToSet({}, [\n\t\t...svg$1,\n\t\t...svgFilters,\n\t\t...svgDisallowed\n\t]);\n\tconst ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n\t/**\n\t* Namespace rules for an element in the SVG namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkSvgNamespace = function _checkSvgNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === HTML_NAMESPACE) return tagName === \"svg\";\n\t\tif (parent.namespaceURI === MATHML_NAMESPACE) return tagName === \"svg\" && (parentTagName === \"annotation-xml\" || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n\t\treturn Boolean(ALL_SVG_TAGS[tagName]);\n\t};\n\t/**\n\t* Namespace rules for an element in the MathML namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkMathMlNamespace = function _checkMathMlNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === HTML_NAMESPACE) return tagName === \"math\";\n\t\tif (parent.namespaceURI === SVG_NAMESPACE) return tagName === \"math\" && HTML_INTEGRATION_POINTS[parentTagName];\n\t\treturn Boolean(ALL_MATHML_TAGS[tagName]);\n\t};\n\t/**\n\t* Namespace rules for an element in the HTML namespace.\n\t*\n\t* @param tagName the element's lowercase tag name\n\t* @param parent the (possibly simulated) parent node\n\t* @param parentTagName the parent's lowercase tag name\n\t* @returns true if a spec-compliant parser could produce this element\n\t*/\n\tconst _checkHtmlNamespace = function _checkHtmlNamespace(tagName, parent, parentTagName) {\n\t\tif (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) return false;\n\t\tif (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) return false;\n\t\treturn !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n\t};\n\t/**\n\t* @param element a DOM element whose namespace is being checked\n\t* @returns Return false if the element has a\n\t* namespace that a spec-compliant parser would never\n\t* return. Return true otherwise.\n\t*/\n\tconst _checkValidNamespace = function _checkValidNamespace(element) {\n\t\tlet parent = getParentNode(element);\n\t\tif (!parent || !parent.tagName) parent = {\n\t\t\tnamespaceURI: NAMESPACE,\n\t\t\ttagName: \"template\"\n\t\t};\n\t\tconst tagName = stringToLowerCase(element.tagName);\n\t\tconst parentTagName = stringToLowerCase(parent.tagName);\n\t\tif (!ALLOWED_NAMESPACES[element.namespaceURI]) return false;\n\t\tif (element.namespaceURI === SVG_NAMESPACE) return _checkSvgNamespace(tagName, parent, parentTagName);\n\t\tif (element.namespaceURI === MATHML_NAMESPACE) return _checkMathMlNamespace(tagName, parent, parentTagName);\n\t\tif (element.namespaceURI === HTML_NAMESPACE) return _checkHtmlNamespace(tagName, parent, parentTagName);\n\t\tif (PARSER_MEDIA_TYPE === \"application/xhtml+xml\" && ALLOWED_NAMESPACES[element.namespaceURI]) return true;\n\t\treturn false;\n\t};\n\t/**\n\t* _forceRemove\n\t*\n\t* @param node a DOM node\n\t*/\n\tconst _forceRemove = function _forceRemove(node) {\n\t\tarrayPush(DOMPurify.removed, { element: node });\n\t\ttry {\n\t\t\tgetParentNode(node).removeChild(node);\n\t\t} catch (_) {\n\t\t\tremove(node);\n\t\t\tif (!getParentNode(node)) throw typeErrorCreate(\"a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place\");\n\t\t}\n\t};\n\t/**\n\t* _stripAttributeNode\n\t*\n\t* Remove a single Attr node case/namespace-exactly on an attribute-teardown\n\t* path. Name-based removeAttribute() ASCII-lowercases its lookup key for an\n\t* HTML element in an HTML document and so silently misses a case-preserved\n\t* handler (e.g. `ONERROR` off an XML/XHTML import) - the same defect\n\t* _removeAttribute() was fixed for, which a name-based call would reintroduce\n\t* on these IN_PLACE teardown paths. Unlike _removeAttribute this does not\n\t* record into DOMPurify.removed: the neutralize passes intentionally do not\n\t* book-keep. A clobbered/detached node falls back to best-effort name-based\n\t* removal.\n\t*\n\t* @param element the element to strip the attribute from\n\t* @param attribute the Attr node to remove\n\t* @param name the attribute's name, for the fallback path\n\t*/\n\tconst _stripAttributeNode = function _stripAttributeNode(element, attribute, name) {\n\t\ttry {\n\t\t\tremoveAttributeNode(element, attribute);\n\t\t} catch (_) {\n\t\t\ttry {\n\t\t\t\telement.removeAttribute(name);\n\t\t\t} catch (_) {}\n\t\t}\n\t};\n\t/**\n\t* _neutralizeRoot\n\t*\n\t* Fail-closed teardown of an in-place root after the sanitize walk aborts\n\t* (campaign-3 F2). An internal throw mid-walk — e.g. a page-registered\n\t* custom element's reaction detaches a node so `_forceRemove`'s deliberate\n\t* parentless guard throws, or any other re-entrant engine mutation — would\n\t* otherwise leave the caller's *live* tree half-sanitized, with everything\n\t* after the abort point still carrying its handlers. There is no safe way\n\t* to resume the walk (the tree mutated under us), so we strip the root bare:\n\t* remove every child and every attribute, then let the caller's catch see\n\t* the original error. Clobber-safe (cached `remove`/`childNodes`/`attributes`\n\t* getters; the root was already clobber-pre-flighted at the IN_PLACE entry).\n\t*\n\t* @param root the in-place root to empty\n\t*/\n\tconst _neutralizeRoot = function _neutralizeRoot(root) {\n\t\t_neutralizeSubtree(root);\n\t\tconst childNodes = getChildNodes(root);\n\t\tif (childNodes) {\n\t\t\tconst snapshot = [];\n\t\t\tarrayForEach(childNodes, (child) => {\n\t\t\t\tarrayPush(snapshot, child);\n\t\t\t});\n\t\t\tarrayForEach(snapshot, (child) => {\n\t\t\t\ttry {\n\t\t\t\t\tremove(child);\n\t\t\t\t} catch (_) {}\n\t\t\t});\n\t\t}\n\t\tconst attributes = getAttributes(root);\n\t\tif (attributes) for (let i = attributes.length - 1; i >= 0; --i) {\n\t\t\tconst attribute = attributes[i];\n\t\t\tconst name = attribute && attribute.name;\n\t\t\tif (typeof name === \"string\") _stripAttributeNode(root, attribute, name);\n\t\t}\n\t};\n\t/**\n\t* _removeAttribute\n\t*\n\t* Name-based getAttributeNode()/removeAttribute() ASCII-lowercase their\n\t* lookup key for HTML elements in an HTML document, so they silently miss an\n\t* attribute whose stored qualified name still contains uppercase ASCII\n\t* letters. That happens when the node came from a case-preserving source\n\t* (an XML/XHTML document imported via importNode(), or createAttributeNS()),\n\t* where e.g. `ONERROR` survives the walk: the policy check lowercases to\n\t* `onerror` and rejects it, but `removeAttribute('ONERROR')` looks up\n\t* `onerror` and finds nothing. Remove the exact Attr node instead, which is\n\t* case- and namespace-exact, and fall back to name-based removal only when\n\t* the caller could not supply the node.\n\t*\n\t* @param name an Attribute name\n\t* @param element a DOM node\n\t* @param attr the exact Attr node to remove, when the caller has it\n\t*/\n\tconst _removeAttribute = function _removeAttribute(name, element, attr) {\n\t\tif (!attr) try {\n\t\t\tattr = element.getAttributeNode(name);\n\t\t} catch (_) {\n\t\t\tattr = null;\n\t\t}\n\t\tarrayPush(DOMPurify.removed, {\n\t\t\tattribute: attr || null,\n\t\t\tfrom: element\n\t\t});\n\t\ttry {\n\t\t\tif (attr) removeAttributeNode(element, attr);\n\t\t\telse element.removeAttribute(name);\n\t\t} catch (_) {\n\t\t\ttry {\n\t\t\t\telement.removeAttribute(name);\n\t\t\t} catch (_) {}\n\t\t}\n\t\tif (name === \"is\") {\n\t\t\tif (RETURN_DOM || RETURN_DOM_FRAGMENT) try {\n\t\t\t\t_forceRemove(element);\n\t\t\t} catch (_) {}\n\t\t\telse try {\n\t\t\t\telement.setAttribute(name, \"\");\n\t\t\t} catch (_) {}\n\t\t}\n\t};\n\t/**\n\t* _stripDisallowedAttributes\n\t*\n\t* Removes every attribute the active configuration does not allow from a\n\t* single element, using the same allowlist as the main attribute pass (so\n\t* `on*` handlers go, but no `/^on/` blocklist is introduced). Used only to\n\t* neutralise nodes that are being discarded from an in-place tree.\n\t*\n\t* @param element the element to strip\n\t*/\n\tconst _stripDisallowedAttributes = function _stripDisallowedAttributes(element) {\n\t\tconst attributes = getAttributes(element);\n\t\tif (!attributes) return;\n\t\tfor (let i = attributes.length - 1; i >= 0; --i) {\n\t\t\tconst attribute = attributes[i];\n\t\t\tconst name = attribute && attribute.name;\n\t\t\tif (typeof name !== \"string\" || ALLOWED_ATTR[transformCaseFunc(name)]) continue;\n\t\t\t_stripAttributeNode(element, attribute, name);\n\t\t}\n\t};\n\t/**\n\t* _neutralizeSubtree\n\t*\n\t* Completes the audit-5 F1 fix across every removal path. The KEEP_CONTENT\n\t* move-hoist neutralises only disallowed-tag removals; clobber, mXSS-canary,\n\t* namespace, comment, processing-instruction and KEEP_CONTENT:false removals\n\t* all drop their subtree wholesale via `_forceRemove`. On the IN_PLACE path\n\t* those dropped nodes are detached from the caller's LIVE tree but a\n\t* handler-bearing original among them (an `<img onerror>`/`<video>` that was\n\t* loading) keeps its queued resource event, which fires in page scope after\n\t* sanitize returns. This walks a removed subtree and strips every attribute\n\t* the active configuration does not allow — so `on*` handlers are cancelled\n\t* through the SAME allowlist that governs kept nodes, not a separate `/^on/`\n\t* blocklist. Run synchronously before sanitize returns, i.e. before any\n\t* queued event can fire. Hook-free by design: these nodes leave the output,\n\t* so firing attribute hooks for them would be surprising. Clobber-safe reads;\n\t* a doomed clobbered node may shadow `removeAttribute` (its own attributes are\n\t* irrelevant — it is discarded — while its non-clobbered descendants, e.g.\n\t* the `<img>`, are reached and scrubbed).\n\t*\n\t* @param root the root of a removed subtree to neutralise\n\t*/\n\tconst _neutralizeSubtree = function _neutralizeSubtree(root) {\n\t\tconst stack = [root];\n\t\twhile (stack.length > 0) {\n\t\t\tconst node = stack.pop();\n\t\t\tif (_readNodeType(node) === NODE_TYPE.element) _stripDisallowedAttributes(node);\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push(childNodes[i]);\n\t\t}\n\t};\n\t/**\n\t* _neutralizePatchLinkage\n\t*\n\t* IN_PLACE entry pre-pass (declarative-partial-updates / streaming\n\t* hardening, https://github.com/WICG/declarative-partial-updates).\n\t*\n\t* The main walk strips patch linkage (`for`/`patchsrc`) and removes range\n\t* markers (PIs / markup comments) node-by-node, in document order, AS it\n\t* reaches each node. On a live in-place root that leaves a window: from the\n\t* moment the root is connected until the walk arrives at a given node, that\n\t* node's linkage is live. A patch applied on connection/stream can fire as\n\t* a microtask during the walk and inject or teleport an unsanitized DOM\n\t* range into a region the iterator has already passed and will not revisit,\n\t* so the post-return \"tree is sanitized\" contract is violated. Sweep the\n\t* whole tree once up front and sever every linkage before the walk begins,\n\t* closing that window.\n\t*\n\t* This CANNOT undo a patch that already fired before sanitize ran — that is\n\t* the irreducible \"do not IN_PLACE a live-connected attacker tree\" caveat —\n\t* but it closes everything from sanitize-start onward. Gated on SAFE_FOR_XML\n\t* to group with the rest of the declarative-partial-updates handling and\n\t* stay overridable, consistent with the codebase.\n\t*\n\t* Clobber-safe traversal (cached childNodes getter); per-node try/catch so a\n\t* clobbered root cannot defeat the sweep of its non-clobbered descendants.\n\t*\n\t* NOTE (pending real-Chrome confirmation, see test/declarative-patch-probe\n\t* .html Q1): this mirrors the existing policy of keeping `for` on\n\t* <label>/<output>. If the shipping feature can drive a patch through a\n\t* surviving `for`-on-label/output + `id` pair, this pre-pass and the\n\t* attribute check at _isBasicCustomElement's caller must additionally drop\n\t* that pair on the IN_PLACE path. Left as-is until the taxonomy is verified.\n\t*\n\t* @param root the in-place root to sweep\n\t*/\n\t/**\n\t* Central policy for declarative-partial-updates patch-linkage attributes,\n\t* shared by the _neutralizePatchLinkage pre-pass and _isValidAttribute so\n\t* the two sites cannot drift: `patchsrc` always links, `for` links\n\t* everywhere except on <label>/<output>, and the whole policy is gated on\n\t* SAFE_FOR_XML (see the rationale block in _isValidAttribute).\n\t*\n\t* @param lcName the transformCaseFunc'd attribute name\n\t* @param lcTag the transformCaseFunc'd tag name of the carrying element\n\t* @return true if the attribute is patch linkage and must be dropped\n\t*/\n\tconst _isPatchLinkageAttribute = function _isPatchLinkageAttribute(lcName, lcTag) {\n\t\tif (!SAFE_FOR_XML) return false;\n\t\tif (lcName === \"patchsrc\") return true;\n\t\treturn lcName === \"for\" && lcTag !== \"label\" && lcTag !== \"output\";\n\t};\n\tconst _neutralizePatchLinkage = function _neutralizePatchLinkage(root) {\n\t\tif (!SAFE_FOR_XML) return;\n\t\tconst stack = [root];\n\t\twhile (stack.length > 0) {\n\t\t\tconst node = stack.pop();\n\t\t\tconst nodeType = _readNodeType(node);\n\t\t\tif (nodeType === NODE_TYPE.processingInstruction || nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, node.data)) {\n\t\t\t\ttry {\n\t\t\t\t\tremove(node);\n\t\t\t\t} catch (_) {}\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (nodeType === NODE_TYPE.element) {\n\t\t\t\tconst element = node;\n\t\t\t\tconst lcTag = transformCaseFunc(_readNodeName(node));\n\t\t\t\ttry {\n\t\t\t\t\tif (element.hasAttribute && element.hasAttribute(\"patchsrc\")) element.removeAttribute(\"patchsrc\");\n\t\t\t\t\tif (element.hasAttribute && element.hasAttribute(\"for\") && _isPatchLinkageAttribute(\"for\", lcTag)) element.removeAttribute(\"for\");\n\t\t\t\t} catch (_) {}\n\t\t\t}\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push(childNodes[i]);\n\t\t}\n\t};\n\t/**\n\t* _initDocument\n\t*\n\t* @param dirty - a string of dirty markup\n\t* @return a DOM, filled with the dirty markup\n\t*/\n\tconst _initDocument = function _initDocument(dirty) {\n\t\tlet doc = null;\n\t\tlet leadingWhitespace = null;\n\t\tif (FORCE_BODY) dirty = \"<remove></remove>\" + dirty;\n\t\telse {\n\t\t\tconst matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n\t\t\tleadingWhitespace = matches && matches[0];\n\t\t}\n\t\tif (PARSER_MEDIA_TYPE === \"application/xhtml+xml\" && NAMESPACE === HTML_NAMESPACE) dirty = \"<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><head></head><body>\" + dirty + \"</body></html>\";\n\t\tconst dirtyPayload = trustedTypesPolicy ? _createTrustedHTML(dirty) : dirty;\n\t\tif (NAMESPACE === HTML_NAMESPACE) try {\n\t\t\tdoc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n\t\t} catch (_) {}\n\t\tif (!doc || !doc.documentElement) {\n\t\t\tdoc = implementation.createDocument(NAMESPACE, \"template\", null);\n\t\t\ttry {\n\t\t\t\tdoc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n\t\t\t} catch (_) {}\n\t\t}\n\t\tconst body = doc.body || doc.documentElement;\n\t\tif (dirty && leadingWhitespace) body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n\t\tif (NAMESPACE === HTML_NAMESPACE) return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? \"html\" : \"body\")[0];\n\t\treturn WHOLE_DOCUMENT ? doc.documentElement : body;\n\t};\n\t/**\n\t* Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n\t*\n\t* @param root The root element or node to start traversing on.\n\t* @return The created NodeIterator\n\t*/\n\tconst _createNodeIterator = function _createNodeIterator(root) {\n\t\tconst doc = getOwnerDocument ? getOwnerDocument(root) : root.ownerDocument;\n\t\treturn createNodeIterator.call(doc || root, root, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n\t};\n\t/**\n\t* Replace template expression syntax (mustache, ERB, template\n\t* literal) with a space; shared by all SAFE_FOR_TEMPLATES scrub\n\t* sites. Order matters: mustache, then ERB, then template literal.\n\t*\n\t* @param value the string to scrub\n\t* @returns the scrubbed string\n\t*/\n\tconst _stripTemplateExpressions = function _stripTemplateExpressions(value) {\n\t\tvalue = stringReplace(value, MUSTACHE_EXPR$1, \" \");\n\t\tvalue = stringReplace(value, ERB_EXPR$1, \" \");\n\t\tvalue = stringReplace(value, TMPLIT_EXPR$1, \" \");\n\t\treturn value;\n\t};\n\t/**\n\t* Strip template-engine expressions ({{...}}, ${...}, <%...%>) from the\n\t* character data of an element subtree. Used as the final safety net for\n\t* SAFE_FOR_TEMPLATES on every DOM-returning code path so that expressions\n\t* which only form after text-node normalization (e.g. fragments split across\n\t* stripped elements) cannot survive into a template-evaluating framework.\n\t*\n\t* Walks text/comment/CDATA/processing-instruction nodes and mutates `.data`\n\t* in place rather than round-tripping through innerHTML. This preserves\n\t* descendant node references (important for IN_PLACE callers), avoids a\n\t* serialize/reparse cycle, and reads literal character data — which means\n\t* `<%...%>` in text content matches the ERB regex against its real bytes\n\t* instead of the HTML-entity-escaped form innerHTML would produce.\n\t*\n\t* Attribute values are not visited here; SAFE_FOR_TEMPLATES handling for\n\t* attributes is performed during the per-node `_sanitizeAttributes` pass.\n\t*\n\t* @param node The root element whose character data should be scrubbed.\n\t*/\n\tconst _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {\n\t\tvar _node$querySelectorAl;\n\t\tnode.normalize();\n\t\tconst doc = getOwnerDocument ? getOwnerDocument(node) : node.ownerDocument;\n\t\tconst walker = createNodeIterator.call(doc || node, node, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);\n\t\tlet currentNode = walker.nextNode();\n\t\twhile (currentNode) {\n\t\t\tcurrentNode.data = _stripTemplateExpressions(currentNode.data);\n\t\t\tcurrentNode = walker.nextNode();\n\t\t}\n\t\tconst templates = (_node$querySelectorAl = node.querySelectorAll) === null || _node$querySelectorAl === void 0 ? void 0 : _node$querySelectorAl.call(node, \"template\");\n\t\tif (templates) arrayForEach(templates, (tmpl) => {\n\t\t\tif (_isDocumentFragment(tmpl.content)) _scrubTemplateExpressions2(tmpl.content);\n\t\t});\n\t};\n\t/**\n\t* _isClobbered\n\t*\n\t* Detect DOM-clobbering on HTMLFormElement nodes. Form is the only HTML\n\t* interface with [LegacyOverrideBuiltIns]; a descendant element with a\n\t* `name` attribute matching a prototype property shadows that property\n\t* on direct reads. We use this check at the IN_PLACE entry-point and\n\t* during attribute sanitization to refuse clobbered forms.\n\t*\n\t* @param element element to check for clobbering attacks\n\t* @return true if clobbered, false if safe\n\t*/\n\tconst _isClobbered = function _isClobbered(element) {\n\t\tconst realTagName = getNodeName ? getNodeName(element) : null;\n\t\tif (typeof realTagName !== \"string\") return false;\n\t\tif (transformCaseFunc(realTagName) !== \"form\") return false;\n\t\treturn typeof element.nodeName !== \"string\" || typeof element.textContent !== \"string\" || typeof element.removeChild !== \"function\" || element.attributes !== getAttributes(element) || typeof element.removeAttribute !== \"function\" || typeof element.removeAttributeNode !== \"function\" || typeof element.getAttributeNode !== \"function\" || typeof element.setAttribute !== \"function\" || typeof element.namespaceURI !== \"string\" || typeof element.insertBefore !== \"function\" || typeof element.hasChildNodes !== \"function\" || element.nodeType !== getNodeType(element) || element.childNodes !== getChildNodes(element);\n\t};\n\t/**\n\t* Checks whether the given value is a DocumentFragment from any realm.\n\t*\n\t* The realm-independent replacement reads `nodeType` through the cached\n\t* Node.prototype getter and compares to the DOCUMENT_FRAGMENT_NODE\n\t* constant (11). nodeType is a numeric value resolved from the node's\n\t* internal slot, identical across realms for the same kind of node.\n\t*\n\t* @param value object to check\n\t* @return true if value is a DocumentFragment-shaped node from any realm\n\t*/\n\tconst _isDocumentFragment = function _isDocumentFragment(value) {\n\t\tif (!getNodeType || typeof value !== \"object\" || value === null) return false;\n\t\ttry {\n\t\t\treturn getNodeType(value) === NODE_TYPE.documentFragment;\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t};\n\t/**\n\t* Checks whether the given object is a DOM node, including nodes that\n\t* originate from a different window/realm (e.g. an iframe's\n\t* contentDocument). The previous `value instanceof Node` check was\n\t* realm-bound: nodes from a different window failed it, causing\n\t* sanitize() to silently stringify them and reset IN_PLACE to false,\n\t* returning the original node unsanitized. See GHSA-4w3q-35jp-p934.\n\t*\n\t* @param value object to check whether it's a DOM node\n\t* @return true if value is a DOM node from any realm\n\t*/\n\tconst _isNode = function _isNode(value) {\n\t\tif (!getNodeType || typeof value !== \"object\" || value === null) return false;\n\t\ttry {\n\t\t\treturn typeof getNodeType(value) === \"number\";\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t};\n\tfunction _executeHooks(hooks, currentNode, data) {\n\t\tif (hooks.length === 0) return;\n\t\tarrayForEach(hooks, (hook) => {\n\t\t\thook.call(DOMPurify, currentNode, data, CONFIG);\n\t\t});\n\t}\n\t/**\n\t* Structural-threat checks that condemn a node regardless of the\n\t* allowlists: mXSS via namespace confusion, risky CSS construction,\n\t* processing instructions, markup-bearing comments. Pure predicate;\n\t* the caller removes. Check order is load-bearing.\n\t*\n\t* @param currentNode the node to inspect\n\t* @param tagName the node's transformCaseFunc'd tag name\n\t* @return true if the node must be removed\n\t*/\n\tconst _isUnsafeNode = function _isUnsafeNode(currentNode, tagName) {\n\t\tif (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.innerHTML)) return true;\n\t\tif (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && LITERAL_TEXT_ELEMENTS[tagName] && (_isNode(currentNode.firstElementChild) || typeof currentNode.textContent === \"string\" && regExpTest(LITERAL_TEXT_CLOSE[tagName], currentNode.textContent))) return true;\n\t\tif (currentNode.nodeType === NODE_TYPE.processingInstruction) return true;\n\t\tif (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, currentNode.data)) return true;\n\t\treturn false;\n\t};\n\t/**\n\t* Evaluate a CUSTOM_ELEMENT_HANDLING check (a RegExp or a predicate\n\t* function, per the validation in _parseConfig) against a name.\n\t* Additional arguments are forwarded to predicate functions - the\n\t* attributeNameCheck predicate receives the tag name as its second\n\t* argument. A null/absent check never matches.\n\t*\n\t* @param check the configured tagNameCheck / attributeNameCheck value\n\t* @param name the name to test\n\t* @param args extra arguments forwarded to a predicate function\n\t* @return true if the check matches the name\n\t*/\n\tconst _matchesNameCheck = function _matchesNameCheck(check, name) {\n\t\tif (check instanceof RegExp) return regExpTest(check, name);\n\t\tif (check instanceof Function) {\n\t\t\tfor (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) args[_key - 2] = arguments[_key];\n\t\t\treturn Boolean(check(name, ...args));\n\t\t}\n\t\treturn false;\n\t};\n\t/**\n\t* Handle a node whose tag is forbidden or not allowlisted: keep\n\t* allowed custom elements (false return exits _sanitizeElements\n\t* early - the namespace and fallback-tag removal checks are\n\t* intentionally skipped for kept custom elements), else hoist\n\t* content per KEEP_CONTENT and remove.\n\t*\n\t* A kept custom element is the ONLY case in which this function\n\t* returns false, so the caller uses that return value to run the\n\t* afterSanitizeElements hook on the kept element and keep the\n\t* element-hook lifecycle consistent with normal allowlisted\n\t* elements (GHSA-c2j3-45gr-mqc4).\n\t*\n\t* @param currentNode the disallowed node\n\t* @param tagName the node's transformCaseFunc'd tag name\n\t* @return true if the node was removed, false if kept\n\t*/\n\tconst _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName, root) {\n\t\tif (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;\n\t\tif (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n\t\t\tconst parentNode = getParentNode(currentNode);\n\t\t\tconst childNodes = getChildNodes(currentNode);\n\t\t\tif (childNodes && parentNode) {\n\t\t\t\tconst childCount = childNodes.length;\n\t\t\t\tfor (let i = childCount - 1; i >= 0; --i) {\n\t\t\t\t\tconst hoisted = currentNode === root ? cloneNode(childNodes[i], true) : childNodes[i];\n\t\t\t\t\tparentNode.insertBefore(hoisted, getNextSibling(currentNode));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_forceRemove(currentNode);\n\t\treturn true;\n\t};\n\t/**\n\t* Fork a hook-mutable allowlist off its shared binding the first time a\n\t* (possibly lazily-installed) uponSanitize* hook is about to see it, so the\n\t* hook cannot widen the per-instance default or the setConfig binding by\n\t* reference and leak past the call. Returns the set unchanged once it is\n\t* already call-local, so repeated calls across elements are idempotent.\n\t*\n\t* @param hookList the uponSanitize* hook array for this event\n\t* @param set the current ALLOWED_TAGS / ALLOWED_ATTR binding\n\t* @param defaultSet the per-instance DEFAULT_ALLOWED_* constant\n\t* @param setConfigSet the captured setConfig() binding, or null\n\t* @return a call-local clone if a hook is present and set is still shared,\n\t* else set unchanged\n\t*/\n\tconst _forkSharedAllowlist = function _forkSharedAllowlist(hookList, set, defaultSet, setConfigSet) {\n\t\tif (hookList.length === 0) return set;\n\t\treturn set === defaultSet || set === setConfigSet ? clone(set) : set;\n\t};\n\t/**\n\t* Shared guard for a node that a hook has detached from the walk tree,\n\t* used after each element-hook site in _sanitizeElements. Detaching is a\n\t* long-standing user pattern (issue #469; draw.io-style foreignObject\n\t* filtering). Per the cached, unclobberable parentNode getter the node is\n\t* genuinely out of the tree, so it can reach neither the serialized\n\t* output nor an IN_PLACE live tree; treat it as removed and stop\n\t* processing it. Without this guard, the unsafe-node / namespace checks\n\t* would call _forceRemove on a parentless node and hit the REPORT-3\n\t* fail-closed throw — which exists for nodes DOMPurify wants gone but\n\t* *cannot* detach (clobbered / parentless roots), the opposite of a node\n\t* that is already safely gone. The walk root is exempt: a detached\n\t* IN_PLACE root is legitimate input and must still be fully sanitized,\n\t* and a kill-decision on it must keep hitting the REPORT-3 throw.\n\t*\n\t* Nodes detached by hooks stay the hook's responsibility for placement:\n\t* they are not recorded in DOMPurify.removed, so the post-walk IN_PLACE\n\t* pass (which iterates DOMPurify.removed) does not reach them. But a\n\t* hook-detached subtree can still hold a queued resource-event handler -\n\t* e.g. an <img onload> that began loading when the caller built the live\n\t* tree - which fires in page scope after sanitize returns even though the\n\t* handler never reached the returned tree. That is the audit-5 F1 hazard,\n\t* and the documented node.remove() hook pattern walks straight into it.\n\t* So on the IN_PLACE path we neutralize the detached subtree inline,\n\t* stripping its non-allow-listed attributes before returning, exactly as\n\t* the post-walk pass does for _forceRemove'd subtrees.\n\t*\n\t* @param currentNode the node a hook may have detached\n\t* @param root the current walk root\n\t* @return true if the node is detached and now handled, false otherwise\n\t*/\n\tconst _handleHookDetachedNode = function _handleHookDetachedNode(currentNode, root) {\n\t\tif (currentNode === root || getParentNode(currentNode) !== null) return false;\n\t\tif (IN_PLACE) _neutralizeSubtree(currentNode);\n\t\treturn true;\n\t};\n\t/**\n\t* _sanitizeElements\n\t*\n\t* @protect nodeName\n\t* @protect textContent\n\t* @protect removeChild\n\t* @param currentNode to check for permission to exist\n\t* @return true if node was killed, false if left alive\n\t*/\n\tconst _sanitizeElements = function _sanitizeElements(currentNode, root) {\n\t\t_executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\tif (_isClobbered(currentNode)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tconst tagName = transformCaseFunc(_readNodeName(currentNode));\n\t\tALLOWED_TAGS = _forkSharedAllowlist(hooks.uponSanitizeElement, ALLOWED_TAGS, DEFAULT_ALLOWED_TAGS, SET_CONFIG_ALLOWED_TAGS);\n\t\t_executeHooks(hooks.uponSanitizeElement, currentNode, {\n\t\t\ttagName,\n\t\t\tallowedTags: ALLOWED_TAGS\n\t\t});\n\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\tif (_isUnsafeNode(currentNode, tagName)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {\n\t\t\tconst removed = _sanitizeDisallowedNode(currentNode, tagName, root);\n\t\t\tif (removed === false) {\n\t\t\t\t_executeHooks(hooks.afterSanitizeElements, currentNode, null);\n\t\t\t\tif (_handleHookDetachedNode(currentNode, root)) return true;\n\t\t\t}\n\t\t\treturn removed;\n\t\t}\n\t\tif (_readNodeType(currentNode) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif ((tagName === \"noscript\" || tagName === \"noembed\" || tagName === \"noframes\") && regExpTest(FALLBACK_TAG_CLOSE, currentNode.innerHTML)) {\n\t\t\t_forceRemove(currentNode);\n\t\t\treturn true;\n\t\t}\n\t\tif (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n\t\t\tconst content = _stripTemplateExpressions(currentNode.textContent);\n\t\t\tif (currentNode.textContent !== content) {\n\t\t\t\tarrayPush(DOMPurify.removed, { element: currentNode.cloneNode() });\n\t\t\t\tcurrentNode.textContent = content;\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeElements, currentNode, null);\n\t\treturn _handleHookDetachedNode(currentNode, root);\n\t};\n\t/**\n\t* _isValidAttribute\n\t*\n\t* @param lcTag Lowercase tag name of containing element.\n\t* @param lcName Lowercase attribute name.\n\t* @param value Attribute value.\n\t* @return Returns true if `value` is valid, otherwise false.\n\t*/\n\tconst _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n\t\tif (FORBID_ATTR[lcName]) return false;\n\t\tif (_isPatchLinkageAttribute(lcName, lcTag)) return false;\n\t\tif (SANITIZE_DOM && (lcName === \"id\" || lcName === \"name\") && (value in document || value in formElement)) return false;\n\t\tconst nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);\n\t\tif (ALLOW_DATA_ATTR && regExpTest(DATA_ATTR$1, lcName)) return true;\n\t\tif (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) return true;\n\t\tif (!nameIsPermitted) return _isBasicCustomElement(lcTag) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName, lcTag) || lcName === \"is\" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && _matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value);\n\t\tif (URI_SAFE_ATTRIBUTES[lcName]) return true;\n\t\tif (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, \"\"))) return true;\n\t\tif ((lcName === \"src\" || lcName === \"xlink:href\" || lcName === \"href\") && lcTag !== \"script\" && stringIndexOf(value, \"data:\") === 0 && DATA_URI_TAGS[lcTag]) return true;\n\t\tif (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, \"\"))) return true;\n\t\treturn !value;\n\t};\n\tconst RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, [\n\t\t\"annotation-xml\",\n\t\t\"color-profile\",\n\t\t\"font-face\",\n\t\t\"font-face-format\",\n\t\t\"font-face-name\",\n\t\t\"font-face-src\",\n\t\t\"font-face-uri\",\n\t\t\"missing-glyph\"\n\t]);\n\t/**\n\t* _isBasicCustomElement\n\t* checks if at least one dash is included in tagName, and it's not the first char\n\t* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n\t*\n\t* @param tagName name of the tag of the node to sanitize\n\t* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n\t*/\n\tconst _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n\t\treturn !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);\n\t};\n\t/**\n\t* Wrap an attribute value in the matching Trusted Types object when\n\t* the active policy requires it. Namespaced attributes pass through\n\t* unchanged (no TT support yet, see\n\t* https://bugs.chromium.org/p/chromium/issues/detail?id=1305293).\n\t*\n\t* @param lcTag lowercase tag name of the containing element\n\t* @param lcName lowercase attribute name\n\t* @param namespaceURI the attribute's namespace, if any\n\t* @param value the attribute value to wrap\n\t* @return the value, wrapped when Trusted Types demand it\n\t*/\n\tconst _applyTrustedTypesToAttribute = function _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value) {\n\t\tif (trustedTypesPolicy && typeof trustedTypes === \"object\" && typeof trustedTypes.getAttributeType === \"function\" && !namespaceURI) switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n\t\t\tcase \"TrustedHTML\": return _createTrustedHTML(value);\n\t\t\tcase \"TrustedScriptURL\": return _createTrustedScriptURL(value);\n\t\t}\n\t\treturn value;\n\t};\n\t/**\n\t* Write a modified attribute value back onto the element. On\n\t* success, re-probe for clobbering introduced by the new value and\n\t* remove the element when found; otherwise, when this writeback is the\n\t* recreate half of the SANITIZE_NAMED_PROPS remove-and-recreate, pop the\n\t* removal entry that path recorded so it does not show as removed. On\n\t* failure, remove the attribute instead.\n\t*\n\t* Returns true only on a clean write (the value was set and the new value\n\t* introduced no clobbering). The caller uses that, together with its own\n\t* knowledge of whether this attribute pushed a DOMPurify.removed record, to\n\t* decide whether to pop that record. The pop must happen ONLY for the\n\t* named-prop remove-and-recreate; popping on any other value change (trim,\n\t* template scrubbing, Trusted Types) would consume an unrelated _forceRemove\n\t* subtree-cleanup record and let that detached subtree keep a live event\n\t* handler through the IN_PLACE neutralization pass (SO-001).\n\t*\n\t* @param currentNode the element carrying the attribute\n\t* @param name the attribute name as present on the element\n\t* @param namespaceURI the attribute's namespace, if any\n\t* @param value the new attribute value\n\t* @return true if the value was written without introducing clobbering\n\t*/\n\tconst _setAttributeValue = function _setAttributeValue(currentNode, name, namespaceURI, value) {\n\t\ttry {\n\t\t\tif (namespaceURI) currentNode.setAttributeNS(namespaceURI, name, value);\n\t\t\telse currentNode.setAttribute(name, value);\n\t\t\tif (_isClobbered(currentNode)) {\n\t\t\t\t_forceRemove(currentNode);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (_) {\n\t\t\t_removeAttribute(name, currentNode);\n\t\t\treturn false;\n\t\t}\n\t};\n\t/**\n\t* _sanitizeAttributes\n\t*\n\t* @protect attributes\n\t* @protect nodeName\n\t* @protect removeAttribute\n\t* @protect setAttribute\n\t*\n\t* @param currentNode to sanitize\n\t* @param root the current walk root\n\t*/\n\tconst _sanitizeAttributes = function _sanitizeAttributes(currentNode, root) {\n\t\t_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n\t\tif (_handleHookDetachedNode(currentNode, root)) return;\n\t\tconst attributes = currentNode.attributes;\n\t\tif (!attributes || _isClobbered(currentNode)) return;\n\t\tALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);\n\t\tconst hookEvent = {\n\t\t\tattrName: \"\",\n\t\t\tattrValue: \"\",\n\t\t\tkeepAttr: true,\n\t\t\tallowedAttributes: ALLOWED_ATTR,\n\t\t\tforceKeepAttr: void 0\n\t\t};\n\t\tlet l = attributes.length;\n\t\tconst lcTag = transformCaseFunc(currentNode.nodeName);\n\t\twhile (l--) {\n\t\t\tconst attr = attributes[l];\n\t\t\tconst name = attr.name, namespaceURI = attr.namespaceURI, attrValue = attr.value;\n\t\t\tconst lcName = transformCaseFunc(name);\n\t\t\tconst initValue = attrValue;\n\t\t\tlet value = name === \"value\" ? initValue : stringTrim(initValue);\n\t\t\tlet recreatedNamedProp = false;\n\t\t\thookEvent.attrName = lcName;\n\t\t\thookEvent.attrValue = value;\n\t\t\thookEvent.keepAttr = true;\n\t\t\thookEvent.forceKeepAttr = void 0;\n\t\t\t_executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n\t\t\tvalue = hookEvent.attrValue;\n\t\t\tif (SANITIZE_NAMED_PROPS && (lcName === \"id\" || lcName === \"name\") && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tvalue = SANITIZE_NAMED_PROPS_PREFIX + value;\n\t\t\t\trecreatedNamedProp = true;\n\t\t\t}\n\t\t\tif (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (lcName === \"attributename\" && stringMatch(value, \"href\")) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (hookEvent.forceKeepAttr) continue;\n\t\t\tif (!hookEvent.keepAttr) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(SELF_CLOSING_TAG, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (SAFE_FOR_TEMPLATES) value = _stripTemplateExpressions(value);\n\t\t\tif (!_isValidAttribute(lcTag, lcName, value)) {\n\t\t\t\t_removeAttribute(name, currentNode, attr);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvalue = _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value);\n\t\t\tif (value !== initValue) {\n\t\t\t\tif (_setAttributeValue(currentNode, name, namespaceURI, value) && recreatedNamedProp) arrayPop(DOMPurify.removed);\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n\t\t_handleHookDetachedNode(currentNode, root);\n\t};\n\t/**\n\t* _sanitizeShadowDOM\n\t*\n\t* @param fragment to iterate over recursively\n\t*/\n\tconst _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {\n\t\tlet shadowNode = null;\n\t\tconst shadowIterator = _createNodeIterator(fragment);\n\t\t_executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n\t\twhile (shadowNode = shadowIterator.nextNode()) {\n\t\t\t_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n\t\t\t_sanitizeElements(shadowNode, fragment);\n\t\t\t_sanitizeAttributes(shadowNode, fragment);\n\t\t\tif (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);\n\t\t\tif (_readNodeType(shadowNode) === NODE_TYPE.element) {\n\t\t\t\tconst innerSr = getShadowRoot(shadowNode);\n\t\t\t\tif (_isDocumentFragment(innerSr)) {\n\t\t\t\t\t_sanitizeAttachedShadowRoots(innerSr);\n\t\t\t\t\t_sanitizeShadowDOM2(innerSr);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n\t};\n\t/**\n\t* _sanitizeAttachedShadowRoots\n\t*\n\t* Walks `root` and feeds every attached shadow root we encounter into\n\t* the existing _sanitizeShadowDOM pipeline. The default node iterator\n\t* does not descend into shadow trees, so nodes inside an attached\n\t* shadow root would otherwise be skipped entirely.\n\t*\n\t* Two real input paths put attached shadow roots in front of us:\n\t* 1. IN_PLACE on a DOM node that already has shadow roots attached.\n\t* 2. DOM-node input where importNode(dirty, true) deep-clones the\n\t* shadow root because it was created with `clonable: true`.\n\t*\n\t* This pass runs once, up front, so the main iteration loop (and the\n\t* existing _sanitizeShadowDOM template-content recursion) stay\n\t* untouched — string-input paths are not affected.\n\t*\n\t* @param root the subtree root to walk for attached shadow roots\n\t*/\n\tconst _sanitizeAttachedShadowRoots = function _sanitizeAttachedShadowRoots(root) {\n\t\tconst stack = [{\n\t\t\tnode: root,\n\t\t\tshadow: null\n\t\t}];\n\t\twhile (stack.length > 0) {\n\t\t\tconst item = stack.pop();\n\t\t\tif (item.shadow) {\n\t\t\t\t_sanitizeShadowDOM2(item.shadow);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst node = item.node;\n\t\t\tconst isElement = _readNodeType(node) === NODE_TYPE.element;\n\t\t\tconst childNodes = getChildNodes(node);\n\t\t\tif (childNodes) for (let i = childNodes.length - 1; i >= 0; --i) stack.push({\n\t\t\t\tnode: childNodes[i],\n\t\t\t\tshadow: null\n\t\t\t});\n\t\t\tif (isElement) {\n\t\t\t\tconst rootName = getNodeName ? getNodeName(node) : null;\n\t\t\t\tif (typeof rootName === \"string\" && transformCaseFunc(rootName) === \"template\") {\n\t\t\t\t\tconst content = node.content;\n\t\t\t\t\tif (_isDocumentFragment(content)) stack.push({\n\t\t\t\t\t\tnode: content,\n\t\t\t\t\t\tshadow: null\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isElement) {\n\t\t\t\tconst sr = getShadowRoot(node);\n\t\t\t\tif (_isDocumentFragment(sr)) stack.push({\n\t\t\t\t\tnode: null,\n\t\t\t\t\tshadow: sr\n\t\t\t\t}, {\n\t\t\t\t\tnode: sr,\n\t\t\t\t\tshadow: null\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\tDOMPurify.sanitize = function(dirty) {\n\t\tlet cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};\n\t\tlet body = null;\n\t\tlet importedNode = null;\n\t\tlet currentNode = null;\n\t\tlet returnNode = null;\n\t\tIS_EMPTY_INPUT = !dirty;\n\t\tif (IS_EMPTY_INPUT) dirty = \"<!-->\";\n\t\tif (typeof dirty !== \"string\" && !_isNode(dirty)) {\n\t\t\tdirty = stringifyValue(dirty);\n\t\t\tif (typeof dirty !== \"string\") throw typeErrorCreate(\"dirty is not a string, aborting\");\n\t\t}\n\t\tif (!DOMPurify.isSupported) return dirty;\n\t\tif (SET_CONFIG) {\n\t\t\tALLOWED_TAGS = SET_CONFIG_ALLOWED_TAGS;\n\t\t\tALLOWED_ATTR = SET_CONFIG_ALLOWED_ATTR;\n\t\t} else _parseConfig(cfg);\n\t\tif (hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) ALLOWED_TAGS = clone(ALLOWED_TAGS);\n\t\tif (hooks.uponSanitizeAttribute.length > 0) ALLOWED_ATTR = clone(ALLOWED_ATTR);\n\t\tDOMPurify.removed = [];\n\t\tconst inPlace = IN_PLACE && typeof dirty !== \"string\" && _isNode(dirty);\n\t\tif (inPlace) {\n\t\t\t_neutralizePatchLinkage(dirty);\n\t\t\tconst nn = _readNodeName(dirty);\n\t\t\tif (typeof nn === \"string\") {\n\t\t\t\tconst tagName = transformCaseFunc(nn);\n\t\t\t\tif (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n\t\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\t\tthrow typeErrorCreate(\"root node is forbidden and cannot be sanitized in-place\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (_isClobbered(dirty)) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tthrow typeErrorCreate(\"root node is clobbered and cannot be sanitized in-place\");\n\t\t\t}\n\t\t\ttry {\n\t\t\t\t_sanitizeAttachedShadowRoots(dirty);\n\t\t\t} catch (error) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t} else if (_isNode(dirty)) {\n\t\t\tbody = _initDocument(\"<!---->\");\n\t\t\timportedNode = body.ownerDocument.importNode(dirty, true);\n\t\t\tif (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === \"BODY\") body = importedNode;\n\t\t\telse if (importedNode.nodeName === \"HTML\") body = importedNode;\n\t\t\telse body.appendChild(importedNode);\n\t\t\t_sanitizeAttachedShadowRoots(body);\n\t\t} else {\n\t\t\tif (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && dirty.indexOf(\"<\") === -1) return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(dirty) : dirty;\n\t\t\tbody = _initDocument(dirty);\n\t\t\tif (!body) return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : \"\";\n\t\t}\n\t\tif (body && FORCE_BODY) _forceRemove(body.firstChild);\n\t\tconst walkRoot = inPlace ? dirty : body;\n\t\ttry {\n\t\t\tconst nodeIterator = _createNodeIterator(walkRoot);\n\t\t\twhile (currentNode = nodeIterator.nextNode()) {\n\t\t\t\t_sanitizeElements(currentNode, walkRoot);\n\t\t\t\t_sanitizeAttributes(currentNode, walkRoot);\n\t\t\t\tif (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tif (inPlace) {\n\t\t\t\t_neutralizeRoot(dirty);\n\t\t\t\tarrayForEach(DOMPurify.removed, (entry) => {\n\t\t\t\t\tif (entry.element) _neutralizeSubtree(entry.element);\n\t\t\t\t});\n\t\t\t}\n\t\t\tthrow error;\n\t\t}\n\t\tif (inPlace) {\n\t\t\tlet rootWasRemoved = false;\n\t\t\tarrayForEach(DOMPurify.removed, (entry) => {\n\t\t\t\tif (entry.element) {\n\t\t\t\t\tif (entry.element === dirty) rootWasRemoved = true;\n\t\t\t\t\t_neutralizeSubtree(entry.element);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (rootWasRemoved) throw typeErrorCreate(\"a node selected for removal could not be safely returned; refusing to sanitize in place\");\n\t\t\tif (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);\n\t\t\treturn dirty;\n\t\t}\n\t\tif (RETURN_DOM) {\n\t\t\tif (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(body);\n\t\t\tif (RETURN_DOM_FRAGMENT) {\n\t\t\t\treturnNode = createDocumentFragment.call(body.ownerDocument);\n\t\t\t\twhile (body.firstChild) returnNode.appendChild(body.firstChild);\n\t\t\t} else returnNode = body;\n\t\t\tif (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) returnNode = importNode.call(originalDocument, returnNode, true);\n\t\t\treturn returnNode;\n\t\t}\n\t\tlet serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n\t\tif (WHOLE_DOCUMENT && ALLOWED_TAGS[\"!doctype\"] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) serializedHTML = \"<!DOCTYPE \" + body.ownerDocument.doctype.name + \">\\n\" + serializedHTML;\n\t\tif (SAFE_FOR_TEMPLATES) serializedHTML = _stripTemplateExpressions(serializedHTML);\n\t\treturn trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(serializedHTML) : serializedHTML;\n\t};\n\tDOMPurify.setConfig = function() {\n\t\tlet cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n\t\t_parseConfig(cfg);\n\t\tSET_CONFIG = true;\n\t\tSET_CONFIG_ALLOWED_TAGS = ALLOWED_TAGS;\n\t\tSET_CONFIG_ALLOWED_ATTR = ALLOWED_ATTR;\n\t};\n\tDOMPurify.clearConfig = function() {\n\t\tCONFIG = null;\n\t\tSET_CONFIG = false;\n\t\tSET_CONFIG_ALLOWED_TAGS = null;\n\t\tSET_CONFIG_ALLOWED_ATTR = null;\n\t\ttrustedTypesPolicy = defaultTrustedTypesPolicy;\n\t\temptyHTML = \"\";\n\t};\n\tDOMPurify.isValidAttribute = function(tag, attr, value) {\n\t\tif (!CONFIG) _parseConfig({});\n\t\tconst lcTag = transformCaseFunc(tag);\n\t\tconst lcName = transformCaseFunc(attr);\n\t\treturn _isValidAttribute(lcTag, lcName, value);\n\t};\n\tDOMPurify.addHook = function(entryPoint, hookFunction) {\n\t\tif (typeof hookFunction !== \"function\") return;\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\tarrayPush(hooks[entryPoint], hookFunction);\n\t};\n\tDOMPurify.removeHook = function(entryPoint, hookFunction) {\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\tif (hookFunction !== void 0) {\n\t\t\tconst index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n\t\t\treturn index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];\n\t\t}\n\t\treturn arrayPop(hooks[entryPoint]);\n\t};\n\tDOMPurify.removeHooks = function(entryPoint) {\n\t\tif (!objectHasOwnProperty(hooks, entryPoint)) return;\n\t\thooks[entryPoint] = [];\n\t};\n\tDOMPurify.removeAllHooks = function() {\n\t\thooks = _createHooksMap();\n\t};\n\treturn DOMPurify;\n}\nvar purify_default = createDOMPurify();\nexport { purify_default as default };\n\n//# sourceMappingURL=purify.es.mjs.map","<!--\n [Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n [Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n [Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n [Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n [Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n [Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n [Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n [Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n [Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n [Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n [Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n [Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n-->\n<template>\n <v-container>\n <v-card\n class=\"ma-2 pa-2\"\n color=\"#002255\"\n theme=\"dark\"\n prepend-icon=\"mdi-desktop-tower\"\n :title=\"`${title}`\"\n >\n <template #text>\n [{{ nodeid }}]\n <v-switch\n v-model=\"detailMode\"\n :label=\"`Detailed Mode: ${detailMode.toString()}`\"\n />\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.DURATION_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.DURATION_GAUGE}`]\n .percentile\n )\n }}\n </span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.LATENCY_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[`${Gauge.ERROR_COUNT_GAUGE}`].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[`${Gauge.RETRY_COUNT_GAUGE}`].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Authentication Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay ml-6\">{{\n instrumentData[\n `${Gauge.AUTHENTICATION_COUNT_GAUGE}`\n ].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Velocity </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\"\n >{{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`].va\n )\n }}\n <span class=\"subDisplay ml-1\"\n >[{{\n velocityFormat(\n instrumentData[\n `${Gauge.VELOCITY_GAUGE}`\n ].velocity\n )\n }}]</span\n ></span\n >\n <span class=\"instDisplay ml-6\"\n >Delta:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .delta\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Max:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .maxVelocity\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Active Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentData[\n `${Gauge.ACTIVE_REQUEST_GAUGE}`\n ].percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Core Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Time </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n convertMS(\n instrumentData[`${Gauge.TIMER_GAUGE}`].val\n )\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Logs </v-col>\n <v-col md=\"10\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isLeafNode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </template>\n </v-card>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentAgentCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isLeafNode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentData: any;\n contextData: any;\n isLeafNode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst LogData = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER}`]) {\n return props.instrumentData[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentData[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentData,\n (val) => {\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentData[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentData[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<!--\n [Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n [Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n [Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n [Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n [Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n [Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n [Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n [Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n [Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n [Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n [Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n [Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n-->\n<template>\n <v-container>\n <v-card\n class=\"ma-2 pa-2\"\n color=\"#002255\"\n theme=\"dark\"\n prepend-icon=\"mdi-desktop-tower\"\n :title=\"`${title}`\"\n >\n <template #text>\n [{{ nodeid }}]\n <v-switch\n v-model=\"detailMode\"\n :label=\"`Detailed Mode: ${detailMode.toString()}`\"\n />\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.DURATION_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.DURATION_GAUGE}`]\n .percentile\n )\n }}\n </span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Duration Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n round2Places(\n instrumentData[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round2PlacesArray(\n instrumentData[`${Gauge.LATENCY_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div\n v-for=\"(histo, index) in instrumentData[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[`${Gauge.ERROR_COUNT_GAUGE}`].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[`${Gauge.RETRY_COUNT_GAUGE}`].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Authentication Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay ml-6\">{{\n instrumentData[\n `${Gauge.AUTHENTICATION_COUNT_GAUGE}`\n ].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentData[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Velocity </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\"\n >{{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`].va\n )\n }}\n <span class=\"subDisplay ml-1\"\n >[{{\n velocityFormat(\n instrumentData[\n `${Gauge.VELOCITY_GAUGE}`\n ].velocity\n )\n }}]</span\n ></span\n >\n <span class=\"instDisplay ml-6\"\n >Delta:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .delta\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Max:\n {{\n velocityFormat(\n instrumentData[`${Gauge.VELOCITY_GAUGE}`]\n .maxVelocity\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Active Request Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isLeafNode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentData[\n `${Gauge.ACTIVE_REQUEST_GAUGE}`\n ].percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Core Count </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n instrumentData[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Time </v-col>\n <v-col md=\"10\">\n <span class=\"instDisplay text-right\">{{\n convertMS(\n instrumentData[`${Gauge.TIMER_GAUGE}`].val\n )\n }}</span>\n </v-col>\n </v-row>\n <v-row cols=\"12\">\n <v-col md=\"2\"> Logs </v-col>\n <v-col md=\"10\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isLeafNode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </template>\n </v-card>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentAgentCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isLeafNode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentData: any;\n contextData: any;\n isLeafNode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst LogData = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER}`]) {\n return props.instrumentData[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentData[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentData[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentData,\n (val) => {\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentData[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentData[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","const ANSI_BACKGROUND_OFFSET = 10;\n\nconst wrapAnsi16 = (offset = 0) => code => `\\u001B[${code + offset}m`;\n\nconst wrapAnsi256 = (offset = 0) => code => `\\u001B[${38 + offset};5;${code}m`;\n\nconst wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\n\nconst styles = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\t// 21 isn't widely supported and 22 does the same thing\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29],\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\n\t\t// Bright color\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39], // Alias of `blackBright`\n\t\tgrey: [90, 39], // Alias of `blackBright`\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39],\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\n\t\t// Bright color\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49], // Alias of `bgBlackBright`\n\t\tbgGrey: [100, 49], // Alias of `bgBlackBright`\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49],\n\t},\n};\n\nexport const modifierNames = Object.keys(styles.modifier);\nexport const foregroundColorNames = Object.keys(styles.color);\nexport const backgroundColorNames = Object.keys(styles.bgColor);\nexport const colorNames = [...foregroundColorNames, ...backgroundColorNames];\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`,\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false,\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false,\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = wrapAnsi16();\n\tstyles.color.ansi256 = wrapAnsi256();\n\tstyles.color.ansi16m = wrapAnsi16m();\n\tstyles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\n\t// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js\n\tObject.defineProperties(styles, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\t// We use the extended greyscale palette here, with the exception of\n\t\t\t\t// black and white. normal palette only has 4 greyscale shades.\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) {\n\t\t\t\t\t\treturn 16;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (red > 248) {\n\t\t\t\t\t\treturn 231;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn Math.round(((red - 8) / 247) * 24) + 232;\n\t\t\t\t}\n\n\t\t\t\treturn 16\n\t\t\t\t\t+ (36 * Math.round(red / 255 * 5))\n\t\t\t\t\t+ (6 * Math.round(green / 255 * 5))\n\t\t\t\t\t+ Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) {\n\t\t\t\t\treturn [0, 0, 0];\n\t\t\t\t}\n\n\t\t\t\tlet [colorString] = matches;\n\n\t\t\t\tif (colorString.length === 3) {\n\t\t\t\t\tcolorString = [...colorString].map(character => character + character).join('');\n\t\t\t\t}\n\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\n\t\t\t\treturn [\n\t\t\t\t\t/* eslint-disable no-bitwise */\n\t\t\t\t\t(integer >> 16) & 0xFF,\n\t\t\t\t\t(integer >> 8) & 0xFF,\n\t\t\t\t\tinteger & 0xFF,\n\t\t\t\t\t/* eslint-enable no-bitwise */\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) {\n\t\t\t\t\treturn 30 + code;\n\t\t\t\t}\n\n\t\t\t\tif (code < 16) {\n\t\t\t\t\treturn 90 + (code - 8);\n\t\t\t\t}\n\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = (((code - 232) * 10) + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\n\t\t\t\t\tconst remainder = code % 36;\n\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = (remainder % 6) / 5;\n\t\t\t\t}\n\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\n\t\t\t\tif (value === 0) {\n\t\t\t\t\treturn 30;\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tlet result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));\n\n\t\t\t\tif (value === 2) {\n\t\t\t\t\tresult += 60;\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t});\n\n\treturn styles;\n}\n\nconst ansiStyles = assembleStyles();\n\nexport default ansiStyles;\n","/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n","// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.\nexport function stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n\nexport function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n","import ansiStyles from '#ansi-styles';\nimport supportsColor from '#supports-color';\nimport { // eslint-disable-line import/order\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex,\n} from './utilities.js';\n\nconst {stdout: stdoutColor, stderr: stderrColor} = supportsColor;\n\nconst GENERATOR = Symbol('GENERATOR');\nconst STYLER = Symbol('STYLER');\nconst IS_EMPTY = Symbol('IS_EMPTY');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m',\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nexport class Chalk {\n\tconstructor(options) {\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = (...strings) => strings.join(' ');\n\tapplyOptions(chalk, options);\n\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\n\treturn chalk;\n};\n\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\n\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t},\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this[STYLER], true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t},\n};\n\nconst getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === 'rgb') {\n\t\tif (level === 'ansi16m') {\n\t\t\treturn ansiStyles[type].ansi16m(...arguments_);\n\t\t}\n\n\t\tif (level === 'ansi256') {\n\t\t\treturn ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\t}\n\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\n\tif (model === 'hex') {\n\t\treturn getModelAnsi('rgb', level, type, ...ansiStyles.hexToRgb(...arguments_));\n\t}\n\n\treturn ansiStyles[type][model](...arguments_);\n};\n\nconst usedModels = ['rgb', 'hex', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t},\n\t},\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent,\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\t// Single argument is hot path, implicit coercion is faster than anything\n\t// eslint-disable-next-line no-implicit-coercion\n\tconst builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\n\t// We alter the prototype because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tObject.setPrototypeOf(builder, proto);\n\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self[IS_EMPTY] ? '' : string;\n\t}\n\n\tlet styler = self[STYLER];\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.includes('\\u001B')) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nObject.defineProperties(createChalk.prototype, styles);\n\nconst chalk = createChalk();\nexport const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});\n\nexport {\n\tmodifierNames,\n\tforegroundColorNames,\n\tbackgroundColorNames,\n\tcolorNames,\n\n\t// TODO: Remove these aliases in the next major version\n\tmodifierNames as modifiers,\n\tforegroundColorNames as foregroundColors,\n\tbackgroundColorNames as backgroundColors,\n\tcolorNames as colors,\n} from './vendor/ansi-styles/index.js';\n\nexport {\n\tstdoutColor as supportsColor,\n\tstderrColor as supportsColorStderr,\n};\n\nexport default chalk;\n","<!--\n[Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n[Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n[Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n[Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n[Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n[Gauge.CPU_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.cpu, data.cpu_quantile),\n[Gauge.CPU_SYSTEM_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.systemcpu, data.systemcpu_quantile),\n[Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n[Gauge.CONNECTION_COUNT_GAUGE]: this.GetModelNode(data.connectionCount),\n[Gauge.CONNECTION_POOL_TOTAL_GAUGE]: this.GetModelNode(data.connectionPoolCount),\n[Gauge.CONNECTION_POOL_IDLE_GAUGE]: this.GetModelNode(data.connectionIdleCount),\n[Gauge.CONNECTION_POOL_WAITING_GAUGE]: this.GetModelNode(data.connectionWaitingCount),\n[Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n[Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n[Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n[Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n[Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n[Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n[Gauge.OBJECT_GAUGE]: this.GetModelNodeObject(data.memory)\n-->\n\n<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2 pr-4\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters cols=\"12\" class=\"mt-1\">\n <v-col cols=\"2\"> CPU </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{ CPU }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.CPU_LOAD_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"12\" style=\"margin-top: -20px\">\n <div><UXLineChart ref=\"lineChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"border-top: 2px solid lightgray\"\n >\n <v-col cols=\"2\"> Duration </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.DURATION_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.DURATION_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"2\"> Duration Histo </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.LATENCY_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\" style=\"margin-top: -15px\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"margin-top: -10px; border-top: 2px solid lightgray\"\n >\n <v-col md=\"3\"> Rx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Tx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{ instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{ instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Authentication Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Velocity </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{\n velocityFormat(\n instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val\n )\n }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Active Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Core Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> TCP Connections </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Connection Pool </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Idle:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_IDLE_GAUGE}`\n ].val\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Wait:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_WAITING_GAUGE}`\n ].val\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Time </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n convertMS(instrumentdata[`${Gauge.TIMER_GAUGE}`].val)\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Logs </v-col>\n <v-col md=\"9\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isleafnode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\n\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\n//import UXRadialChart from './UXRadialChart.vue';\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentServiceCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isleafnode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst CPU = computed(() => {\n const cpuVal = props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n return round2Places(cpuVal);\n});\n\nconst LogData = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER}`]) {\n return props.instrumentdata[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentdata[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst lineChartEx = ref<typeof UXLineChart>(); //@@ was ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n /*\n if (radialChartEx.value) {\n radialChartEx.value.UpdateGraph(props.instrumentData[Gauge.ACTIVE_REQUEST_GAUGE].val,\n props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE].val, // TCP Connections\n props.instrumentData[Gauge.CONNECTION_POOL_TOTAL_GAUGE].val);\n\n console.log(JSON.stringify(props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE]));\n }\n */\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<!--\n[Gauge.REQUEST_COUNT_GAUGE]: this.GetModelNode(data.requestCount),\n[Gauge.ERROR_COUNT_GAUGE]: this.GetModelNode(data.errorCount),\n[Gauge.RETRY_COUNT_GAUGE]: this.GetModelNode(data.retryCount),\n[Gauge.AUTHENTICATION_COUNT_GAUGE]: this.GetModelNode(data.authenticationCount),\n[Gauge.VELOCITY_GAUGE]: this.GetModelNode(data.velocity),\n[Gauge.CPU_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.cpu, data.cpu_quantile),\n[Gauge.CPU_SYSTEM_LOAD_GAUGE]: this.GetModelNodeWithQuantile(data.systemcpu, data.systemcpu_quantile),\n[Gauge.ACTIVE_REQUEST_GAUGE]: this.GetModelNode(data.activeRequestCount),\n[Gauge.CONNECTION_COUNT_GAUGE]: this.GetModelNode(data.connectionCount),\n[Gauge.CONNECTION_POOL_TOTAL_GAUGE]: this.GetModelNode(data.connectionPoolCount),\n[Gauge.CONNECTION_POOL_IDLE_GAUGE]: this.GetModelNode(data.connectionIdleCount),\n[Gauge.CONNECTION_POOL_WAITING_GAUGE]: this.GetModelNode(data.connectionWaitingCount),\n[Gauge.CORE_COUNT_GAUGE]: this.GetModelNode(data.coreCount),\n[Gauge.TIMER_GAUGE]: this.GetModelNode(data.timer),\n[Gauge.DURATION_GAUGE]: this.GetModelNodeWithQuantile(data.duration, data.duration_quantile),\n[Gauge.LATENCY_GAUGE]: this.GetModelNodeWithQuantile(data.latency, data.latency_quantile),\n[Gauge.DURATION_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.duration_histo),\n[Gauge.LATENCY_HISTOGRAM_GAUGE]: this.GetModelNodeHistFromInfluxData(data.latency_histo),\n[Gauge.OBJECT_GAUGE]: this.GetModelNodeObject(data.memory)\n-->\n\n<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2 pr-4\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters cols=\"12\" class=\"mt-1\">\n <v-col cols=\"2\"> CPU </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{ CPU }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.CPU_LOAD_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"12\" style=\"margin-top: -20px\">\n <div><UXLineChart ref=\"lineChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"border-top: 2px solid lightgray\"\n >\n <v-col cols=\"2\"> Duration </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-wrap\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.DURATION_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.DURATION_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col cols=\"2\"> Duration Histo </v-col>\n <v-col cols=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.DURATION_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row\">\n <div class=\"instDisplay text-right\">\n {{\n round2Places(\n instrumentdata[`${Gauge.LATENCY_GAUGE}`].val\n )\n }}\n </div>\n <div\n v-for=\"(perc, index) in instrumentdata[\n `${Gauge.LATENCY_GAUGE}`\n ].percentile\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ perc[0] as number }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ (perc[1] as number).toFixed(2) }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"2\"> Latency Histo </v-col>\n <v-col md=\"10\">\n <div class=\"d-flex flex-row flex-nowrap\">\n <div\n v-for=\"(histo, index) in instrumentdata[\n `${Gauge.LATENCY_HISTOGRAM_GAUGE}`\n ].hist\"\n :key=\"index\"\n >\n <div class=\"stdWidth text-right\">\n {{ histo[1] }}\n </div>\n <div class=\"stdWidth text-right\">\n {{ histo[0] }}\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\" style=\"margin-top: -15px\">\n <v-col md=\"12\">\n <div><UXBarChart ref=\"barChartEx\" /></div>\n </v-col>\n </v-row>\n <v-row\n no-gutters\n cols=\"12\"\n class=\"pt-1\"\n style=\"margin-top: -10px; border-top: 2px solid lightgray\"\n >\n <v-col md=\"3\"> Rx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Tx (MB/s) </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{ instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{ instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Authentication Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Error:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`\n ].val\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Retry:\n {{\n instrumentdata[\n `${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`\n ].val\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Velocity </v-col>\n <v-col md=\"9\">\n <div class=\"instDisplay text-right\">\n {{\n velocityFormat(\n instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val\n )\n }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Active Request Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Core Count </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> TCP Connections </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val\n }}</span>\n <span\n v-if=\"isleafnode === false\"\n class=\"instDisplayWide ml-6\"\n >{{\n round0PlacesArray(\n instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`]\n .percentile\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Connection Pool </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val\n }}</span>\n <span class=\"instDisplay ml-6\"\n >Idle:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_IDLE_GAUGE}`\n ].val\n )\n }}</span\n >\n <span class=\"instDisplay ml-6\"\n >Wait:\n {{\n velocityFormat(\n instrumentdata[\n `${Gauge.CONNECTION_POOL_WAITING_GAUGE}`\n ].val\n )\n }}</span\n >\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Time </v-col>\n <v-col md=\"9\">\n <span class=\"instDisplay text-right\">{{\n convertMS(instrumentdata[`${Gauge.TIMER_GAUGE}`].val)\n }}</span>\n </v-col>\n </v-row>\n <v-row no-gutters cols=\"12\">\n <v-col md=\"3\"> Logs </v-col>\n <v-col md=\"9\">\n <div class=\"overflow-x-auto\" style=\"max-height: 400px\">\n <div v-if=\"isleafnode\">\n <div\n v-for=\"(logLine, index) in LogDataCopy\"\n :key=\"`ln-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n <div v-else>\n <div\n v-for=\"(logLine, index) in LogData\"\n :key=\"`nlf-${index}`\"\n class=\"instDisplayXWide\"\n >\n <!--eslint-disable-next-line vue/no-v-html -->\n <span v-html=\"convertHtml(logLine)\" />\n </div>\n </div>\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport Convert from \"ansi-to-html\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\n\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\n//import UXRadialChart from './UXRadialChart.vue';\n\n// Alternatives;\n// https://www.npmjs.com/package/sanitize-html\n// Use this is node\n// https://www.npmjs.com/package/isomorphic-dompurify\n// import DOMPurify2 from 'isomorphic-dompurify';\nimport DOMPurify from \"dompurify\";\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst convert = new Convert();\n\nconsole.debug(`UXModelInstrumentServiceCommon(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n if (!props.isleafnode) {\n emit(\"myclick\", id);\n }\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst CPU = computed(() => {\n const cpuVal = props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n return round2Places(cpuVal);\n});\n\nconst LogData = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER}`]) {\n return props.instrumentdata[`${Gauge.LOGGER}`].val;\n } else {\n return [];\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst LogDataCopy = computed(() => {\n if (props.instrumentdata[`${Gauge.LOGGER_COPY}`]) {\n return props.instrumentdata[`${Gauge.LOGGER_COPY}`].val;\n } else {\n return [];\n }\n});\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst round0PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n retVal += `${sep}${value[i][0]}/${value[i][1]}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n};\n\nconst round2PlacesArray = function (value: any[][]): string {\n try {\n let sep = \"\";\n let retVal = \"\";\n for (let i = 0; i < value.length; i++) {\n const bp = (Math.round((value[i][0] as number) * 10000) /\n 100) as number;\n const val = (Math.round((value[i][1] as number) * 100) /\n 100) as number;\n retVal += `${sep}${bp}/${val.toFixed(2)}`;\n sep = \", \";\n }\n return retVal;\n } catch (error) {\n return \"\";\n }\n\n let numArray = value.map((value) =>\n (Math.round(value[1] * 100) / 100).toFixed(2)\n );\n let sep = \"\";\n return (\n \"[\" +\n numArray.reduce((prev, current) => {\n const retVal = (prev += sep + current);\n sep = \", \";\n return retVal;\n }, \"\") +\n \"]\"\n );\n};\n\nconst convertMS = function (ms: number): string {\n //let d, h, m, s;\n let s = Math.floor(ms / 1000);\n let m = Math.floor(s / 60);\n s = s % 60;\n let h = Math.floor(m / 60);\n m = m % 60;\n const d = Math.floor(h / 24);\n h = h % 24;\n\n const pad: (n: number) => string = function (n: number) {\n return n < 10 ? \"0\" + n : n.toString();\n };\n\n return (d + \".\" + pad(h) + \":\" + pad(m) + \":\" + pad(s)).padStart(12);\n};\n\nconst convertHtml = function (value: string): string {\n return DOMPurify.sanitize(convert.toHtml(value));\n};\n\nconst detailMode = computed<boolean>({\n get: () => {\n if (store._models[props.modelId]) {\n if (\n store._models[props.modelId].modelMeta[props.nodeid] &&\n store._models[props.modelId].modelMeta[props.nodeid].detailView\n ) {\n return store._models[props.modelId].modelMeta[props.nodeid]\n .detailView;\n }\n }\n return false;\n },\n set: (val) => {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].modelMeta[props.nodeid]) {\n store._models[props.modelId].modelMeta[\n props.nodeid\n ].detailView = val;\n } else {\n store._models[props.modelId].modelMeta[props.nodeid] = {\n detailView: val,\n };\n }\n }\n },\n});\n\nconst lineChartEx = ref<typeof UXLineChart>(); //@@ was ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); //@@ was ref(null);\n//const radialChartEx = ref<typeof UXRadialChart>(); //@@ was ref(null);\n\nlet barUpdate = 0;\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n /*\n if (radialChartEx.value) {\n radialChartEx.value.UpdateGraph(props.instrumentData[Gauge.ACTIVE_REQUEST_GAUGE].val,\n props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE].val, // TCP Connections\n props.instrumentData[Gauge.CONNECTION_POOL_TOTAL_GAUGE].val);\n\n console.log(JSON.stringify(props.instrumentData[Gauge.CONNECTION_COUNT_GAUGE]));\n }\n */\n if (barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n</script>\n\n<style scoped>\n.stdWidth {\n width: 70px;\n}\n.instDisplay {\n display: inline-block;\n width: 70px;\n}\n.instDisplayWide {\n display: inline-block;\n width: 300px;\n max-width: 400px;\n}\n.instDisplayXWide {\n width: 300px;\n max-width: 400px;\n}\n.subDisplay {\n font-size: smaller;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">CPU</div>\n <div class=\"stsbiginfo\">\n {{ round2Places(CPU) }}%\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"20\"\n :width=\"CPUWidth\"\n :model-value=\"CPU\"\n :color=\"CPUColor\"\n />\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Velocity</div>\n <div class=\"stsbiginfo\">\n {{ velocityFormat(Velocity) }}\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"18\"\n :width=\"VelocityWidth\"\n :model-value=\"VelocityPerc\"\n :color=\"VelocityColor\"\n />\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Active Rx Count</div>\n <div class=\"stsbiginfo\">\n {{ ActiveRequestCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ActiveRequestWidth\"\n :model-value=\"ActiveRequestCountPerc\"\n :color=\"ActiveRequestColor\"\n />\n </div>\n </v-col>\n\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Connections</div>\n <div class=\"stsbiginfo\">\n {{ ConnectionCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ConnectionCountWidth\"\n :model-value=\"ConnectionCountPercentage\"\n :color=\"ConnectionCountColor\"\n />\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters style=\"border-top: 2px solid lightgray\">\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Request (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ RequestCountErrorRetry }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">Timer:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Timer }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Duration (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Duration }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Latency (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Latency }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Receive-Rx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Transmit-Tx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Pool (tot/idle/wait):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ ConnectionPool }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">vCPU:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ CoreCount }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Auth (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ AuthErrorRetry }}\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed, onMounted, onBeforeUnmount } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelInstrumentServiceSmall(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n emit(\"myclick\", id);\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst lineChartEx = ref<typeof UXLineChart>(); // ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); // ref(null);\n\nlet barUpdate = 0;\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst KafkaTopic = () => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n};\n\nconst KafkaTopicEx = computed(() => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n});\n\nonMounted(() => {\n console.log(chalk.magenta(`onMounted`));\n});\n\nonBeforeUnmount(() => {\n console.log(chalk.magenta(`onBeforeUnmount`));\n});\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value && lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n if (barChartEx.value && barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n\nconst CPUBreakPoints = [\n { bp: 90, col: \"#ff0000\" },\n { bp: 60, col: \"#9900cc\" },\n { bp: 40, col: \"#ff9900\" },\n { bp: 20, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst VelocityBreakPoints = [\n { bp: 1000, col: \"#ff0000\" },\n { bp: 500, col: \"#9900cc\" },\n { bp: 250, col: \"#ff9900\" },\n { bp: 50, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst ActiveRequestCountBreakPoints = [\n { bp: 20, col: \"#ff0000\" },\n { bp: 10, col: \"#9900cc\" },\n { bp: 5, col: \"#ff9900\" },\n { bp: 2, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst CPU = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ActiveRequestCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst RequestCountErrorRetry = computed<string>(() => {\n try {\n //return props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val;\n return `${props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0/0/0\";\n }\n});\n\nconst CoreCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Timer = computed<number>(() => {\n try {\n return Math.round(props.instrumentdata[`${Gauge.TIMER_GAUGE}`].val);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Duration = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.DURATION_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Latency = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.LATENCY_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst ConnectionPool = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_IDLE_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_WAITING_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst AuthErrorRetry = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst ActiveRequestCountPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val / 20) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ConnectionCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst ConnectionCountPercentage = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val / 20) *\n 100.0\n ); // We are at 100% if we have 20 connections\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst Velocity = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst VelocityPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].va / 1000.0) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst GetColFromBP = (value: number, bpList: any[]): string => {\n for (let i = 0; i < bpList.length; i++) {\n if (value >= bpList[i].bp) {\n return bpList[i].col;\n }\n }\n return bpList[bpList.length - 1].col;\n};\n\nconst CPUColor = computed<string>(() => {\n return GetColFromBP(CPU.value, CPUBreakPoints);\n});\n\nconst ActiveRequestColor = computed<string>(() => {\n return GetColFromBP(\n ActiveRequestCount.value,\n ActiveRequestCountBreakPoints\n );\n});\n\nconst VelocityColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, VelocityBreakPoints);\n});\n\nconst ConnectionCountColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, ActiveRequestCountBreakPoints);\n});\n\nconst CircleWidth = (value: number, maxVal: number): number => {\n if (value > maxVal) {\n return 4;\n } else {\n return 2;\n }\n};\n\nconst CPUWidth = computed<number>(() => {\n return CircleWidth(CPU.value, 200);\n});\n\nconst ActiveRequestWidth = computed<number>(() => {\n return CircleWidth(ActiveRequestCountPerc.value, 200);\n});\n\nconst VelocityWidth = computed<number>(() => {\n return CircleWidth(VelocityPerc.value, 200);\n});\n\nconst ConnectionCountWidth = computed<number>(() => {\n return CircleWidth(ConnectionCountPercentage.value, 100);\n});\n</script>\n\n<style scoped>\n.stsinfo {\n}\n.stsbiginfo {\n font-size: x-large;\n font-weight: bold;\n text-align: right;\n width: 130px;\n}\n.stsbiginfolabel {\n text-align: right;\n white-space: nowrap;\n width: 130px;\n}\n.ststitle {\n font-size: large;\n font-weight: bold;\n text-align: center;\n border-bottom: 2px solid lightgray;\n margin-bottom: 5px;\n}\n.stssubtitle {\n font-size: small;\n font-weight: bold;\n text-align: center;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"mx-2 mt-2 mb-4 pa-2\"\n :elevation=\"2\"\n border\n @click=\"clicked(nodeid)\"\n >\n <div class=\"ststitle\">\n {{ friendlyTitle(title) }}\n <div v-if=\"title.length > 30\" class=\"stssubtitle\">\n {{ title.split(\"@\")[0] }}\n <div>\n {{ title.split(\"@\")[1] }}\n </div>\n </div>\n </div>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">CPU</div>\n <div class=\"stsbiginfo\">\n {{ round2Places(CPU) }}%\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"20\"\n :width=\"CPUWidth\"\n :model-value=\"CPU\"\n :color=\"CPUColor\"\n />\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Velocity</div>\n <div class=\"stsbiginfo\">\n {{ velocityFormat(Velocity) }}\n <v-progress-circular\n class=\"mb-1\"\n :rotate=\"360\"\n :size=\"18\"\n :width=\"VelocityWidth\"\n :model-value=\"VelocityPerc\"\n :color=\"VelocityColor\"\n />\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters class=\"mb-3\">\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Active Rx Count</div>\n <div class=\"stsbiginfo\">\n {{ ActiveRequestCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ActiveRequestWidth\"\n :model-value=\"ActiveRequestCountPerc\"\n :color=\"ActiveRequestColor\"\n />\n </div>\n </v-col>\n\n <v-col cols=\"6\">\n <div class=\"stsbiginfolabel\">Connections</div>\n <div class=\"stsbiginfo\">\n {{ ConnectionCount }}\n <v-progress-circular\n :rotate=\"360\"\n :size=\"18\"\n :width=\"ConnectionCountWidth\"\n :model-value=\"ConnectionCountPercentage\"\n :color=\"ConnectionCountColor\"\n />\n </div>\n </v-col>\n </v-row>\n\n <v-row no-gutters style=\"border-top: 2px solid lightgray\">\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Request (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ RequestCountErrorRetry }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">Timer:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Timer }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Duration (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Duration }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Latency (ms):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Latency }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Receive-Rx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Rx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Transmit-Tx (MBs):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ Tx }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Pool (tot/idle/wait):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ ConnectionPool }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">vCPU:</div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ CoreCount }}\n </div>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col cols=\"6\">\n <div style=\"white-space: nowrap; text-align: right\">\n Auth (c/e/r):\n </div>\n </v-col>\n <v-col cols=\"6\">\n <div\n class=\"stsinfo\"\n style=\"text-align: right; padding-left: 15px\"\n >\n {{ AuthErrorRetry }}\n </div>\n </v-col>\n </v-row>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { ref, watch, computed, onMounted, onBeforeUnmount } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport UXLineChart from \"./UXLineChart.vue\";\nimport UXBarChart from \"./UXBarChart.vue\";\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelInstrumentServiceSmall(): ModelStore`);\nconst store = ModelStore();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst clicked = function (id: any) {\n emit(\"myclick\", id);\n};\n\nconst props = defineProps<{\n modelId: string;\n instrumentdata: any;\n contextdata: any;\n isleafnode: boolean;\n nodeid: string;\n title: string;\n}>();\n\nconst velocityFormat = function (value: number): string {\n return \"\" + Math.round(value);\n};\n\nconst round2Places = function (value: number): string {\n return \"\" + (Math.round(value * 100) / 100).toFixed(2);\n};\n\nconst lineChartEx = ref<typeof UXLineChart>(); // ref(null);\nconst barChartEx = ref<typeof UXBarChart>(); // ref(null);\n\nlet barUpdate = 0;\n\nconst friendlyTitle = (id: string) => {\n if (id.length > 30) {\n return store.GetFriendName(props.modelId, id);\n } else {\n return id;\n }\n};\n\nconst KafkaTopic = () => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n};\n\nconst KafkaTopicEx = computed(() => {\n const context = props.contextdata;\n\n let topic = \"\";\n if (context.serviceInstanceId && context.serviceInstanceProcessId) {\n topic = (\n context.serviceInstanceId +\n \"_\" +\n context.serviceInstanceProcessId\n ).replace(/@/g, \"_\");\n }\n return topic;\n});\n\nonMounted(() => {\n console.log(chalk.magenta(`onMounted`));\n});\n\nonBeforeUnmount(() => {\n console.log(chalk.magenta(`onBeforeUnmount`));\n});\n\nwatch(\n () => props.instrumentdata,\n (val) => {\n if (lineChartEx.value && lineChartEx.value) {\n lineChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.CPU_LOAD_GAUGE].val\n );\n }\n if (barChartEx.value && barChartEx.value) {\n const now = performance.now();\n if (now - barUpdate > 4500) {\n barUpdate = now;\n barChartEx.value.UpdateGraph(\n props.instrumentdata[Gauge.DURATION_HISTOGRAM_GAUGE].hist,\n props.instrumentdata[Gauge.LATENCY_HISTOGRAM_GAUGE].hist\n );\n }\n }\n },\n { deep: true }\n);\n\nconst CPUBreakPoints = [\n { bp: 90, col: \"#ff0000\" },\n { bp: 60, col: \"#9900cc\" },\n { bp: 40, col: \"#ff9900\" },\n { bp: 20, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst VelocityBreakPoints = [\n { bp: 1000, col: \"#ff0000\" },\n { bp: 500, col: \"#9900cc\" },\n { bp: 250, col: \"#ff9900\" },\n { bp: 50, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst ActiveRequestCountBreakPoints = [\n { bp: 20, col: \"#ff0000\" },\n { bp: 10, col: \"#9900cc\" },\n { bp: 5, col: \"#ff9900\" },\n { bp: 2, col: \"#009900\" },\n { bp: 0, col: \"#00cc00\" },\n];\n\nconst CPU = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ActiveRequestCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst RequestCountErrorRetry = computed<string>(() => {\n try {\n //return props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val;\n return `${props.instrumentdata[`${Gauge.REQUEST_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0/0/0\";\n }\n});\n\nconst CoreCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CORE_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Timer = computed<number>(() => {\n try {\n return Math.round(props.instrumentdata[`${Gauge.TIMER_GAUGE}`].val);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst Duration = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.DURATION_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Rx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_RX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Tx = computed<string>(() => {\n try {\n return (\n props.instrumentdata[`${Gauge.NETWORK_TX_GAUGE}`].val / 1000000.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst Latency = computed<string>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.LATENCY_GAUGE}`].val * 100) /\n 100.0\n ).toFixed(2);\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"0.0\";\n }\n});\n\nconst ConnectionPool = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_IDLE_GAUGE}`].val}/${props.instrumentdata[`${Gauge.CONNECTION_POOL_WAITING_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst AuthErrorRetry = computed<string>(() => {\n try {\n return `${props.instrumentdata[`${Gauge.AUTHENTICATION_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE}`].val}/${props.instrumentdata[`${Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE}`].val}`;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return \"[Unknown]\";\n }\n});\n\nconst ActiveRequestCountPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val / 20) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst ConnectionCount = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst ConnectionCountPercentage = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.CONNECTION_COUNT_GAUGE}`].val / 20) *\n 100.0\n ); // We are at 100% if we have 20 connections\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst Velocity = computed<number>(() => {\n try {\n return props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0;\n }\n});\n\nconst VelocityPerc = computed<number>(() => {\n try {\n return (\n (props.instrumentdata[`${Gauge.VELOCITY_GAUGE}`].va / 1000.0) *\n 100.0\n );\n } catch (error) {\n console.log(chalk.red(`${props.instrumentdata}`));\n return 0.0;\n }\n});\n\nconst GetColFromBP = (value: number, bpList: any[]): string => {\n for (let i = 0; i < bpList.length; i++) {\n if (value >= bpList[i].bp) {\n return bpList[i].col;\n }\n }\n return bpList[bpList.length - 1].col;\n};\n\nconst CPUColor = computed<string>(() => {\n return GetColFromBP(CPU.value, CPUBreakPoints);\n});\n\nconst ActiveRequestColor = computed<string>(() => {\n return GetColFromBP(\n ActiveRequestCount.value,\n ActiveRequestCountBreakPoints\n );\n});\n\nconst VelocityColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, VelocityBreakPoints);\n});\n\nconst ConnectionCountColor = computed<string>(() => {\n return GetColFromBP(Velocity.value, ActiveRequestCountBreakPoints);\n});\n\nconst CircleWidth = (value: number, maxVal: number): number => {\n if (value > maxVal) {\n return 4;\n } else {\n return 2;\n }\n};\n\nconst CPUWidth = computed<number>(() => {\n return CircleWidth(CPU.value, 200);\n});\n\nconst ActiveRequestWidth = computed<number>(() => {\n return CircleWidth(ActiveRequestCountPerc.value, 200);\n});\n\nconst VelocityWidth = computed<number>(() => {\n return CircleWidth(VelocityPerc.value, 200);\n});\n\nconst ConnectionCountWidth = computed<number>(() => {\n return CircleWidth(ConnectionCountPercentage.value, 100);\n});\n</script>\n\n<style scoped>\n.stsinfo {\n}\n.stsbiginfo {\n font-size: x-large;\n font-weight: bold;\n text-align: right;\n width: 130px;\n}\n.stsbiginfolabel {\n text-align: right;\n white-space: nowrap;\n width: 130px;\n}\n.ststitle {\n font-size: large;\n font-weight: bold;\n text-align: center;\n border-bottom: 2px solid lightgray;\n margin-bottom: 5px;\n}\n.stssubtitle {\n font-size: small;\n font-weight: bold;\n text-align: center;\n}\n</style>\n","<template>\n <div\n v-for=\"(svc, svcIndex) in serviceModel\"\n :key=\"svcIndex\"\n :value=\"svc\"\n class=\"d-inline-flex align-center justify-center ma-0 pa-0\"\n >\n <div v-if=\"cpu(svc) > 0.0\">\n <component\n :is=\"\n smallMode\n ? UXModelInstrumentServiceSmall\n : UXModelInstrumentServiceCommon\n \"\n :isleafnode=\"false\"\n :model-id=\"props.modelId\"\n :nodeid=\"svc.id\"\n :contextdata=\"svc.context\"\n :instrumentdata=\"svc.instruments\"\n :title=\"svc.id\"\n @myclick=\"navigate\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport UXModelInstrumentServiceCommon from \"./UXModelInstrumentServiceCommon.vue\";\n\nimport UXModelInstrumentServiceSmall from \"./UXModelInstrumentServiceSmall.vue\";\n\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport type { JSONObject } from \"@nsshunt/stsutils\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelNode(): ModelStore`);\nconst store = ModelStore();\n\nconst props = defineProps<{\n modelId: string;\n nodeid: string;\n smallMode: boolean;\n}>();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst agentModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].agentModel;\n } else {\n return {};\n }\n});\n\nconst serviceModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].serviceModel;\n } else {\n return {};\n }\n});\n\nconst cpu = (model: JSONObject) => {\n try {\n return model.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${error}`));\n }\n};\n\nconst navigate = function (id: string) {\n emit(\"myclick\", id);\n};\n\n/*\nconst CPU = computed((): number => {\n if (modelNode.value && modelNode.value.instruments) {\n return modelNode.value.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val as number;\n } else {\n return 0;\n }\n});\n\nconst maxARC = 50;\nconst maxTCP = 50;\nconst maxPool = 50;\n\nconst Series = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [\n (modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number / maxARC) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number / maxTCP) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number / maxPool) * 100.0\n ]\n } else {\n return [ 0, 0, 0];\n }\n})\n\nconst Series2 = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [{\n data: [\n modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number\n ]\n }]\n } else {\n return [{\n data: [ 0, 0, 0]\n }]\n }\n})\n\nconst Labels = computed(() => {\n return [ 'AR', 'TCP', 'Pool' ];\n})\n*/\n</script>\n","<template>\n <div\n v-for=\"(svc, svcIndex) in serviceModel\"\n :key=\"svcIndex\"\n :value=\"svc\"\n class=\"d-inline-flex align-center justify-center ma-0 pa-0\"\n >\n <div v-if=\"cpu(svc) > 0.0\">\n <component\n :is=\"\n smallMode\n ? UXModelInstrumentServiceSmall\n : UXModelInstrumentServiceCommon\n \"\n :isleafnode=\"false\"\n :model-id=\"props.modelId\"\n :nodeid=\"svc.id\"\n :contextdata=\"svc.context\"\n :instrumentdata=\"svc.instruments\"\n :title=\"svc.id\"\n @myclick=\"navigate\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { computed } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport UXModelInstrumentServiceCommon from \"./UXModelInstrumentServiceCommon.vue\";\n\nimport UXModelInstrumentServiceSmall from \"./UXModelInstrumentServiceSmall.vue\";\n\nimport { ModelStore } from \"./../stores/modelStore.js\";\nimport { Gauge } from \"@nsshunt/stsobservability\";\nimport type { JSONObject } from \"@nsshunt/stsutils\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nconsole.debug(`UXModelNode(): ModelStore`);\nconst store = ModelStore();\n\nconst props = defineProps<{\n modelId: string;\n nodeid: string;\n smallMode: boolean;\n}>();\n\nconst emit = defineEmits<{\n (e: \"myclick\", id: string): void;\n}>();\n\nconst agentModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].agentModel;\n } else {\n return {};\n }\n});\n\nconst serviceModel = computed(() => {\n if (store._models[props.modelId]) {\n return store._models[props.modelId].serviceModel;\n } else {\n return {};\n }\n});\n\nconst cpu = (model: JSONObject) => {\n try {\n return model.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val;\n } catch (error) {\n console.log(chalk.red(`${error}`));\n }\n};\n\nconst navigate = function (id: string) {\n emit(\"myclick\", id);\n};\n\n/*\nconst CPU = computed((): number => {\n if (modelNode.value && modelNode.value.instruments) {\n return modelNode.value.instruments[`${Gauge.CPU_LOAD_GAUGE}`].val as number;\n } else {\n return 0;\n }\n});\n\nconst maxARC = 50;\nconst maxTCP = 50;\nconst maxPool = 50;\n\nconst Series = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [\n (modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number / maxARC) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number / maxTCP) * 100.0,\n (modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number / maxPool) * 100.0\n ]\n } else {\n return [ 0, 0, 0];\n }\n})\n\nconst Series2 = computed(() => {\n if (modelNode.value && modelNode.value.instruments) {\n return [{\n data: [\n modelNode.value.instruments[`${Gauge.ACTIVE_REQUEST_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_COUNT_GAUGE}`].val as number,\n modelNode.value.instruments[`${Gauge.CONNECTION_POOL_TOTAL_GAUGE }`].val as number\n ]\n }]\n } else {\n return [{\n data: [ 0, 0, 0]\n }]\n }\n})\n\nconst Labels = computed(() => {\n return [ 'AR', 'TCP', 'Pool' ];\n})\n*/\n</script>\n","function E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n","'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\nconst isUnsafeObjectKey = (prop) =>\n typeof prop === 'string' &&\n (prop === '__proto__' || prop === 'constructor' || prop === 'prototype');\n\n/**\n * Determine whether an inherited object must be treated as a shared-prototype\n * boundary. Cross-realm Object.prototype objects cannot be distinguished\n * reliably from application-created null-prototype objects because their\n * properties are mutable, so all inherited terminal prototypes are excluded\n * as a fail-closed boundary. A null-prototype source still keeps its own\n * properties, as produced by mergeConfig and other safe materialization paths.\n *\n * @param {*} obj The object to inspect\n * @param {*} prototype The object's prototype\n * @param {boolean} source Whether obj is the original traversal source\n *\n * @returns {boolean} True when obj is a safe prototype traversal boundary\n */\nconst isPrototypeBoundary = (obj, prototype, source) =>\n obj === Object.prototype || (!source && prototype === null);\n\n/**\n * Determine whether an object can retain its identity through code paths that\n * add, replace, and remove config properties without bypassing unsafe-key\n * filtering. Immutable objects, unsafe-key-bearing objects, and objects with\n * accessor or restricted data properties must be materialized instead.\n *\n * @param {*} obj The object to inspect\n *\n * @returns {boolean} True when every own property is safe and fully mutable\n */\nconst isSafeAndFullyMutable = (obj) => {\n if (!Object.isExtensible(obj)) {\n return false;\n }\n\n const props = Object.getOwnPropertyNames(obj);\n\n if (Object.getOwnPropertySymbols) {\n props.push(...Object.getOwnPropertySymbols(obj));\n }\n\n return props.every((prop) => {\n if (isUnsafeObjectKey(prop)) {\n return false;\n }\n\n const descriptor = Object.getOwnPropertyDescriptor(obj, prop);\n\n return !!descriptor && descriptor.configurable && descriptor.writable === true;\n });\n};\n\n/**\n * Walk the prototype chain (excluding the source realm's Object.prototype)\n * looking for an own `prop`. This distinguishes genuine own/inherited members\n * — including class accessors and template prototypes — from members injected\n * via Object.prototype pollution (e.g. `Object.prototype.username = '...'`),\n * which live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n const prototype = getPrototypeOf(obj);\n\n if (isPrototypeBoundary(obj, prototype, obj === thing)) {\n return false;\n }\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = prototype;\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\n/**\n * Flatten an object and its application-defined prototype chain into a\n * null-prototype object. Members inherited only from the source realm's\n * Object.prototype are deliberately excluded, while class/template members\n * below that boundary are preserved.\n *\n * @param {*} thing The value to flatten\n *\n * @returns {*} A null-prototype copy, or the original value when it is already\n * structurally safe or is not an object\n */\nconst toSafeFlatObject = (thing) => {\n if (thing == null || (typeof thing !== 'object' && typeof thing !== 'function')) {\n return thing;\n }\n\n const sourcePrototype = getPrototypeOf(thing);\n\n if (sourcePrototype === null && isSafeAndFullyMutable(thing)) {\n return thing;\n }\n\n const result = Object.create(null);\n const merged = Object.create(null);\n const seen = [];\n let current = thing;\n\n while (current != null) {\n if (seen.indexOf(current) !== -1) {\n break;\n }\n\n seen.push(current);\n\n const prototype = current === thing ? sourcePrototype : getPrototypeOf(current);\n\n if (isPrototypeBoundary(current, prototype, current === thing)) {\n break;\n }\n\n const props = Object.getOwnPropertyNames(current);\n\n if (Object.getOwnPropertySymbols) {\n props.push(...Object.getOwnPropertySymbols(current));\n }\n\n for (const prop of props) {\n if (isUnsafeObjectKey(prop)) {\n continue;\n }\n\n if (!hasOwnProperty(merged, prop)) {\n result[prop] = thing[prop];\n merged[prop] = true;\n }\n }\n\n current = prototype;\n }\n\n return result;\n};\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) &&\n // Treat safe own/inherited Symbol.toStringTag or Symbol.iterator members as\n // evidence the value is tagged/iterable, while ignoring members reachable\n // only through shared or terminal prototype boundaries.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\nconst isSet = kindOfTest('Set');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array<unknown>} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object<any, any>} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array<boolean>}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n\n let target;\n\n if (isSet(source)) {\n target = [];\n for (const value of source) {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && target.push(reducedValue);\n }\n } else {\n target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n }\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n toSafeFlatObject,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n const hasKey = utils.hasOwnProp(parsed, key);\n\n if (!key || (hasKey && utils.hasOwnProp(ignoreDuplicateOf, key))) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (hasKey) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = hasKey ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst parameterNameRE = /^[!#$%&'*+\\-.^_`|~0-9A-Za-z]+$/;\n\nfunction trimOWS(value) {\n let start = 0;\n let end = value.length;\n\n while (start < end) {\n const code = value.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = value.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === value.length ? value : value.slice(start, end);\n}\n\nfunction decodeQuotedString(value) {\n const last = value.length - 1;\n\n if (last < 1 || value.charCodeAt(0) !== 0x22 || value.charCodeAt(last) !== 0x22) {\n return value;\n }\n\n let decoded = '';\n\n for (let i = 1; i < last; i++) {\n const code = value.charCodeAt(i);\n\n if (code === 0x22) {\n return value;\n }\n\n if (code === 0x5c) {\n i += 1;\n\n if (i >= last) {\n return value;\n }\n }\n\n decoded += value[i];\n }\n\n return decoded;\n}\n\nfunction parseParameters(value) {\n const parameters = Object.create(null);\n const str = String(value);\n let start = 0;\n let quoted = false;\n let escaped = false;\n\n function parseParameter(end) {\n const part = trimOWS(str.slice(start, end));\n const equals = part.indexOf('=');\n\n if (equals < 1) {\n return;\n }\n\n const name = trimOWS(part.slice(0, equals));\n\n if (!parameterNameRE.test(name)) {\n return;\n }\n\n const normalizedName = name.toLowerCase();\n\n if (\n normalizedName === '__proto__' ||\n normalizedName === 'constructor' ||\n normalizedName === 'prototype'\n ) {\n return;\n }\n\n const parameterValue = trimOWS(part.slice(equals + 1));\n parameters[normalizedName] = decodeQuotedString(parameterValue);\n }\n\n for (let i = 0; i < str.length; i++) {\n const code = str.charCodeAt(i);\n\n if (quoted) {\n if (escaped) {\n escaped = false;\n } else if (code === 0x5c) {\n escaped = true;\n } else if (code === 0x22) {\n quoted = false;\n }\n } else if (code === 0x22) {\n quoted = true;\n } else if (code === 0x2c || code === 0x3b) {\n parseParameter(i);\n start = i + 1;\n }\n }\n\n parseParameter(str.length);\n\n return parameters;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n const value = this.get('set-cookie');\n return utils.isArray(value) ? value : value == null || value === false ? [] : [value];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static parseParameters(value) {\n return parseParameters(value);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nexport const REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nfunction stringifySafely(value) {\n try {\n return String(value);\n } catch (err) {\n return '';\n }\n}\n\nfunction aggregateErrorMessage(error) {\n const message = error.errors\n .map((entry) => {\n try {\n return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);\n } catch (err) {\n return '';\n }\n })\n .filter(Boolean)\n .join('; ');\n\n return message || error.name || 'AggregateError';\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n // `AggregateError` (thrown by Node on dual-stack/Happy-Eyeballs connection\n // failures) has an empty `message`; its detail lives in `errors[]`. Without\n // this, the wrapped error surfaces with a blank message (see #6721).\n let message = error.message;\n if (!message && utils.isArray(error.errors) && error.errors.length) {\n message = aggregateErrorMessage(error);\n }\n\n const axiosError = new AxiosError(message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\nimport PlatformBuffer from '../platform/node/classes/Buffer.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array<any>} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object<any, any>} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object<string, any>} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n const option = (name, fallback) => {\n const value = utils.getSafeProp(options, name);\n return utils.isUndefined(value) ? fallback : value;\n };\n\n const metaTokens = option('metaTokens', true);\n // eslint-disable-next-line no-use-before-define\n const visitor = option('visitor') || defaultVisitor;\n const dots = option('dots', false);\n const indexes = option('indexes', false);\n const _Blob = option('Blob') || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = option('maxDepth', DEFAULT_FORM_DATA_MAX_DEPTH);\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (PlatformBuffer && PlatformBuffer.isBufferAvailable()) {\n return PlatformBuffer.from(value);\n }\n throw new AxiosError(\n 'Blob is not supported. Use a Buffer instead.',\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array<String|Number>} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nconst $internals = Symbol('internals');\n\n// `handlers` is public and may be replaced with a nullish value by user code;\n// `clear()` has always tolerated that. Treat it as an empty stack rather than\n// dereferencing it.\nfunction countHandlers(handlers) {\n return handlers ? handlers.length : 0;\n}\n\nfunction trimHandlers(handlers) {\n if (!handlers) {\n return;\n }\n\n while (handlers.length && handlers[handlers.length - 1] === null) {\n handlers.pop();\n }\n}\n\nfunction syncHandlerEntries(manager, internals) {\n const handlers = manager.handlers;\n const length = countHandlers(handlers);\n\n if (handlers !== internals.handlersRef) {\n internals.handlersRef = handlers;\n internals.handlerEntries.clear();\n } else if (length !== internals.handlersLength) {\n if (!length) {\n internals.handlerEntries.clear();\n } else {\n internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {\n if (handlers[entry.index] !== entry.handler) {\n internals.handlerEntries.delete(id);\n }\n });\n }\n }\n\n internals.handlersLength = length;\n}\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n this[$internals] = {\n handlersRef: this.handlers,\n handlersLength: this.handlers.length,\n handlerEntries: new Map(),\n iterationDepth: 0,\n nextId: 0,\n };\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n const handler = {\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n };\n const internals = this[$internals];\n\n if (this.handlers == null) {\n this.handlers = [];\n }\n\n syncHandlerEntries(this, internals);\n\n const id = internals.nextId++;\n\n this.handlers.push(handler);\n internals.handlerEntries.set(id, {\n handler,\n index: this.handlers.length - 1,\n });\n internals.handlersLength = this.handlers.length;\n\n return id;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n const internals = this[$internals];\n\n syncHandlerEntries(this, internals);\n\n const entry = internals.handlerEntries.get(id);\n\n if (entry) {\n internals.handlerEntries.delete(id);\n\n // Ignore IDs invalidated by clear or direct replacement of handlers.\n if (this.handlers[entry.index] !== entry.handler) {\n return;\n }\n\n this.handlers[entry.index] = null;\n\n // Do not reuse an index while forEach is walking its length snapshot.\n if (!internals.iterationDepth) {\n trimHandlers(this.handlers);\n internals.handlersLength = this.handlers.length;\n }\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n syncHandlerEntries(this, this[$internals]);\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n const internals = this[$internals];\n\n syncHandlerEntries(this, internals);\n\n internals.iterationDepth++;\n\n try {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n } finally {\n if (!--internals.iterationDepth) {\n syncHandlerEntries(this, internals);\n trimHandlers(this.handlers);\n internals.handlersLength = countHandlers(this.handlers);\n }\n }\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z] -> ['foo', 'x', 'y', 'z']\n // foo.x.y.z -> ['foo', 'x', 'y', 'z']\n // A path is split on `.` and on `[...]` groups. A segment — whether written\n // in dot notation or captured inside brackets — may contain any character\n // except `.`, `[` and `]`, so a key like `user-name` or `user name` is kept\n // literal instead of being split (#5402). `.`, `[` and `]` keep their existing\n // meaning, e.g. `foo[bar.baz]` -> ['foo', 'bar', 'baz'] and `[]` is an array push.\n // Excluding `[` from the bracket group also makes the match fail fast at the\n // next `[`, so a malformed name cannot rescan to the end of the string from\n // every unmatched `[` — parsing stays linear in the length of the name.\n const path = [];\n const pattern = /[^.[\\]]+|\\[([^.[\\]]*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array<any>} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object<string, any> | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nconst methodList = Object.freeze([\n 'get',\n 'delete',\n 'head',\n 'options',\n 'post',\n 'put',\n 'patch',\n 'purge',\n 'link',\n 'unlink',\n 'query',\n]);\n\nexport default methodList;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\nimport methodList from '../core/methodList.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(methodList, (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\nconst urlParserControlCharacters = /[\\t\\n\\r]/g;\n\n/**\n * Match WHATWG URL preprocessing before checking a URL's protocol.\n *\n * @param {string} url\n *\n * @returns {string}\n */\nexport default function normalizeURLForProtocolCheck(url) {\n if (typeof url !== 'string') {\n return url;\n }\n\n let start = 0;\n\n while (start < url.length && url.charCodeAt(start) <= 0x20) {\n start++;\n }\n\n return url.slice(start).replace(urlParserControlCharacters, '');\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Array<Function>}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n const flushWith = (...args) => invoke(args);\n\n return [throttled, flush, flushWith];\n}\n\nexport default throttle;\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || !utils.isNumber(e.loaded)) {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn, scheduler = utils.asap) =>\n (...args) =>\n scheduler(() => fn(...args));\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n if (!relativeURL) {\n return baseURL;\n }\n\n let end = baseURL.length;\n\n while (end > 0 && baseURL.charCodeAt(end - 1) === 47) {\n end--;\n }\n\n return baseURL.slice(0, end) + '/' + relativeURL.replace(/^\\/+/, '');\n}\n","'use strict';\n\nimport AxiosError, { REDACTED } from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\nimport normalizeURLForProtocolCheck from '../helpers/normalizeURLForProtocolCheck.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\n\n// Redact the parts of a URL that can carry secrets before it is embedded in an\n// error message. AxiosError.toJSON() serializes `message` verbatim and errors\n// are commonly logged, while the opt-in `config.redact` model only cleans\n// config keys — it cannot reach the message. Redact only the genuinely\n// sensitive substrings — userinfo (credentials), query parameter values and\n// fragment contents — with the same REDACTED marker the config redaction uses,\n// while keeping the scheme, host, path and parameter names so the offending\n// request stays accurately identifiable.\nfunction redactFragment(fragment) {\n if (!fragment) {\n return fragment;\n }\n\n return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match, separator, parameterName = '') => {\n return `${separator}${parameterName}${REDACTED}`;\n });\n}\n\nfunction redactSensitiveURLParts(url) {\n const redactedURL = url.replace(/^(https?:\\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);\n const fragmentIndex = redactedURL.indexOf('#');\n const urlWithoutFragment =\n fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);\n const redactedURLWithoutFragment = urlWithoutFragment.replace(\n /([?&][^=&#]*=)[^&#]*/g,\n `$1${REDACTED}`\n );\n\n if (fragmentIndex === -1) {\n return redactedURLWithoutFragment;\n }\n\n return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string') {\n const normalizedURL = normalizeURLForProtocolCheck(url);\n if (malformedHttpProtocol.test(normalizedURL)) {\n throw new AxiosError(\n `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing \"//\" after protocol`,\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\nconst ownEnumerableKeys = (thing) => {\n if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {\n return Object.keys(thing).concat(\n Object.getOwnPropertySymbols(thing).filter(\n (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable\n )\n );\n }\n return Object.keys(thing);\n};\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional')\n ? config2.transitional\n : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional')\n ? config1.transitional\n : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutErrorMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","'use strict';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\n/**\n * Apply the headers generated by a FormData implementation to the request headers,\n * honoring the `formDataHeaderPolicy` option: with 'content-only', copy only the\n * content-* headers; otherwise merge all of them.\n *\n * @param {AxiosHeaders} headers - the request headers to mutate\n * @param {Object | null | undefined} formHeaders - headers produced by the FormData implementation\n * @param {String} [policy] - the resolved `formDataHeaderPolicy` config value\n *\n * @returns {void}\n */\nexport default function setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport setFormDataHeaders from '../core/setFormDataHeaders.js';\nimport buildURL from './buildURL.js';\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n const getHeaders = utils.getSafeProp(data, 'getHeaders');\n\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, getHeaders.call(data), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport normalizeURLForProtocolCheck from '../helpers/normalizeURLForProtocolCheck.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload, flushDownloadWithEvent;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend(event) {\n if (!request) {\n return;\n }\n\n // Status 0 means no response was received, which onerror and onabort normally\n // reject before this runs. Firefox 152 fires only readystatechange and loadend for\n // navigation-canceled requests (https://bugzilla.mozilla.org/show_bug.cgi?id=1505389),\n // leaving settle() to resolve them as an empty success. ECONNABORTED is the error\n // onabort raised on Firefox 151. Reads over file:, which some environments report as\n // status 0 on success, are excluded by the request URL's scheme after browser-style\n // preprocessing, by the page origin's scheme for relative URLs (which inherit it), or\n // by responseURL where implemented.\n if (\n request.status === 0 &&\n (parseProtocol(normalizeURLForProtocolCheck(_config.url)) ||\n parseProtocol(platform.origin)) !== 'file' &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n return;\n }\n\n // When loadend is still dispatching, flushing with it gives progress\n // listeners a final delivery whose event has a live target. The legacy\n // ready-state fallback has no event, so replay its pending progress.\n // A throwing listener must not block settlement; rethrow asynchronously,\n // matching how listener errors surface on the throttle timer path.\n try {\n if (event) {\n flushDownloadWithEvent && flushDownloadWithEvent(event);\n } else {\n flushDownload && flushDownload();\n }\n } catch (err) {\n setTimeout(() => {\n throw err;\n });\n }\n\n // A final progress callback can cancel the request synchronously.\n if (!request) {\n return;\n }\n\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload, flushDownloadWithEvent] = progressEventReducer(\n onDownloadProgress,\n true\n );\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => {\n if (aborted) {\n return;\n }\n\n if (signal.aborted) {\n onabort.call(signal);\n return;\n }\n\n signal.addEventListener('abort', onabort, { once: true });\n });\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate data: URL byte lengths *without* allocating large buffers.\n * - Fetch percent-decodes a base64 body before decoding it.\n * - Node's Buffer.from(body, 'base64') sizes its backing allocation from the\n * raw body, including ignored characters and content after padding.\n * - Non-base64 data is percent-decoded and then encoded as UTF-8.\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nconst hexValue = (charCode) => (charCode <= 57 ? charCode - 48 : (charCode & 0xdf) - 55);\n\nconst isBase64Char = (charCode) =>\n (charCode >= 65 && charCode <= 90) || // A-Z\n (charCode >= 97 && charCode <= 122) || // a-z\n (charCode >= 48 && charCode <= 57) || // 0-9\n charCode === 43 || // +\n charCode === 47 || // /\n charCode === 45 || // - (base64url)\n charCode === 95; // _ (base64url)\n\nconst isBase64Whitespace = (charCode) =>\n charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;\n\nconst base64Bytes = (significant) => {\n const groups = Math.floor(significant / 4);\n const remainder = significant % 4;\n return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);\n};\n\n// Buffer.byteLength(body, 'base64') uses the raw string length as an allocation\n// upper bound even when Buffer.from later ignores characters or stops at '='.\nconst estimateBase64BufferAllocation = (body) => {\n const len = body.length;\n let padding = 0;\n\n if (len > 0 && body.charCodeAt(len - 1) === 61 /* '=' */) {\n padding++;\n\n if (len > 1 && body.charCodeAt(len - 2) === 61 /* '=' */) {\n padding++;\n }\n }\n\n return Math.floor(((len - padding) * 3) / 4);\n};\n\nconst estimatePercentDecodedBase64Bytes = (body) => {\n const len = body.length;\n let significant = 0;\n let padding = 0;\n let invalid = false;\n\n for (let i = 0; i < len; i++) {\n let code = body.charCodeAt(i);\n\n if (code === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n code = hexValue(body.charCodeAt(i + 1)) * 16 + hexValue(body.charCodeAt(i + 2));\n i += 2;\n }\n\n if (isBase64Whitespace(code)) {\n continue;\n }\n\n if (code === 61 /* '=' */) {\n padding++;\n continue;\n }\n\n if (!isBase64Char(code) || padding > 0) {\n invalid = true;\n continue;\n }\n\n significant++;\n }\n\n // Fetch rejects malformed forgiving-base64 input. Returning the raw-size\n // allocation bound keeps that invalid input from becoming a pre-check bypass.\n if (\n invalid ||\n padding > 2 ||\n (padding > 0 && (significant + padding) % 4 !== 0) ||\n significant % 4 === 1\n ) {\n return estimateBase64BufferAllocation(body);\n }\n\n return base64Bytes(significant);\n};\n\nconst estimateDataURLBytes = (url, estimateBase64) => {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n return estimateBase64(body);\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n};\n\n/**\n * Estimate the percent-decoded payload size used by Fetch data: URLs.\n *\n * @param {string} url\n * @returns {number}\n */\nexport default function estimateDataURLDecodedBytes(url) {\n // Fetch removes URL fragments before processing a data: URL.\n const fragmentIndex = typeof url === 'string' ? url.indexOf('#') : -1;\n\n return estimateDataURLBytes(\n fragmentIndex === -1 ? url : url.slice(0, fragmentIndex),\n estimatePercentDecodedBase64Bytes\n );\n}\n\n/**\n * Estimate the Buffer backing allocation used by Node's raw base64 decoder.\n *\n * @param {string} url\n * @returns {number}\n */\nexport function estimateDataURLBufferAllocation(url) {\n return estimateDataURLBytes(url, estimateBase64BufferAllocation);\n}\n","export const VERSION = \"1.20.0\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst DEFAULT_REQUEST_OPTIONS = {\n cache: 'default',\n redirect: 'follow',\n referrer: 'about:client',\n referrerPolicy: '',\n mode: 'cors',\n integrity: '',\n keepalive: false,\n priority: 'auto',\n window: null,\n};\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null ? utils.global : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n maxRedirects,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password,\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword,\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null\n ? await resolveBodyLength(headers, data)\n : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (\n utils.isFormData(data) &&\n (contentTypeHeader = _request.headers.get('content-type'))\n ) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const safeFetchOptions =\n fetchOptions == null ? fetchOptions : Object.assign(Object.create(null), fetchOptions);\n\n if (safeFetchOptions) {\n // These options are owned by Axios and are already reflected in the\n // resolved Request passed to fetch.\n delete safeFetchOptions.body;\n delete safeFetchOptions.headers;\n delete safeFetchOptions.method;\n delete safeFetchOptions.signal;\n delete safeFetchOptions.duplex;\n delete safeFetchOptions.credentials;\n }\n\n const resolvedOptions = Object.assign(Object.create(null), safeFetchOptions, {\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n });\n\n if (isRequestSupported) {\n utils.forEach(DEFAULT_REQUEST_OPTIONS, (value, key) => {\n if (resolvedOptions[key] === undefined) {\n resolvedOptions[key] = value;\n }\n });\n\n if (resolvedOptions.signal === undefined) {\n resolvedOptions.signal = null;\n }\n\n if (resolvedOptions.body === undefined) {\n resolvedOptions.body = null;\n }\n }\n\n if (maxRedirects === 0) {\n resolvedOptions.redirect = 'manual';\n\n if (safeFetchOptions) {\n safeFetchOptions.redirect = 'manual';\n }\n }\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, safeFetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object<string, Function|Object>}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object<string, Function|Object>}\n */\n adapters: knownAdapters,\n};\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\nimport utils from '../utils.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(_config) {\n // Interceptors may replace the merged config with an ordinary object. Flatten\n // it at the dispatch boundary so shared prototype members cannot become\n // request behavior, while preserving intentional template/class members.\n const config = utils.toSafeFlatObject(_config);\n\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(utils.getSafeProp(config, 'headers'));\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype.<opt> cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport methodList from './methodList.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n try {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n const dummyStack = dummy.stack;\n let stack = '';\n\n // slice off the Error: ... line\n if (typeof dummyStack === 'string') {\n const firstNewlineIndex = dummyStack.indexOf('\\n');\n\n stack = firstNewlineIndex === -1 ? '' : dummyStack.slice(firstNewlineIndex + 1);\n }\n\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // Ignore failures from custom stack hooks or un-writable stack properties.\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (\n utils.getSafeProp(config, 'method') ||\n utils.getSafeProp(this.defaults, 'method') ||\n 'get'\n ).toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(methodList.concat('common'), (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;\n } catch (error) {\n if (!onRejected) {\n promise = Promise.reject(error);\n break;\n }\n\n try {\n const rejectedResult = onRejected.call(this, error);\n\n if (utils.isThenable(rejectedResult)) {\n promise = Promise.resolve(rejectedResult).then(() =>\n dispatchRequest.call(this, newConfig)\n );\n }\n } catch (rejectedError) {\n promise = Promise.reject(rejectedError);\n }\n\n break;\n }\n }\n\n if (!promise) {\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n promise = Promise.reject(error);\n }\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n /**\n * @deprecated Use `ContentTooLarge` instead.\n */\n PayloadTooLarge: 413,\n ContentTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n /**\n * @deprecated Use `UnprocessableContent` instead.\n */\n UnprocessableEntity: 422,\n UnprocessableContent: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerReturnsAnUnknownError: 520,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n if (HttpStatusCode[value] === undefined) {\n HttpStatusCode[value] = key;\n }\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","//#region \\0rolldown/runtime.js\nvar __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);\n//#endregion\n//#region node_modules/tiny-emitter/index.js\nvar require_tiny_emitter = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tfunction E() {}\n\tE.prototype = {\n\t\ton: function(name, callback, ctx) {\n\t\t\tvar e = this.e || (this.e = {});\n\t\t\t(e[name] || (e[name] = [])).push({\n\t\t\t\tfn: callback,\n\t\t\t\tctx\n\t\t\t});\n\t\t\treturn this;\n\t\t},\n\t\tonce: function(name, callback, ctx) {\n\t\t\tvar self = this;\n\t\t\tfunction listener() {\n\t\t\t\tself.off(name, listener);\n\t\t\t\tcallback.apply(ctx, arguments);\n\t\t\t}\n\t\t\tlistener._ = callback;\n\t\t\treturn this.on(name, listener, ctx);\n\t\t},\n\t\temit: function(name) {\n\t\t\tvar data = [].slice.call(arguments, 1);\n\t\t\tvar evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n\t\t\tvar i = 0;\n\t\t\tvar len = evtArr.length;\n\t\t\tfor (; i < len; i++) evtArr[i].fn.apply(evtArr[i].ctx, data);\n\t\t\treturn this;\n\t\t},\n\t\toff: function(name, callback) {\n\t\t\tvar e = this.e || (this.e = {});\n\t\t\tvar evts = e[name];\n\t\t\tvar liveEvents = [];\n\t\t\tif (evts && callback) {\n\t\t\t\tfor (var i = 0, len = evts.length; i < len; i++) if (evts[i].fn !== callback && evts[i].fn._ !== callback) liveEvents.push(evts[i]);\n\t\t\t}\n\t\t\tliveEvents.length ? e[name] = liveEvents : delete e[name];\n\t\t\treturn this;\n\t\t}\n\t};\n\tmodule.exports = E;\n\tmodule.exports.TinyEmitter = E;\n}));\n//#endregion\nexport { require_tiny_emitter as t };\n\n//# sourceMappingURL=tiny-emitter-Ci1ma0VV.js.map","import { t as require_tiny_emitter } from \"./tiny-emitter-Ci1ma0VV.js\";\nimport { io } from \"socket.io-client\";\nimport { isNode } from \"@nsshunt/stsutils\";\n//#region src/commonTypes.ts\nvar STSNamespace = /* @__PURE__ */ function(STSNamespace) {\n\tSTSNamespace[\"STSMonitor\"] = \"stsinstrumentmanager/stsmonitor\";\n\tSTSNamespace[\"STSControl\"] = \"stsinstrumentmanager/stscontrol\";\n\tSTSNamespace[\"STSTestingNamespace\"] = \"ststestingnamespace/ststesting\";\n\treturn STSNamespace;\n}({});\nvar STSRoom = /* @__PURE__ */ function(STSRoom) {\n\tSTSRoom[\"STSInstrumentDataRoom\"] = \"stsinstrumentdataroom\";\n\tSTSRoom[\"STSInstrumentDataSubscriptionRoom\"] = \"stsinstrumentdatasubscriptionroom\";\n\tSTSRoom[\"STSRunnerRoom\"] = \"stsrunnerroom\";\n\tSTSRoom[\"STSNodeRunnerRoom\"] = \"stsnoderunnerroom\";\n\treturn STSRoom;\n}({});\nvar STSEvent = /* @__PURE__ */ function(STSEvent) {\n\tSTSEvent[\"STSInstrumentData\"] = \"stsinstrumentdata\";\n\tSTSEvent[\"STSSubInstrumentData\"] = \"stssubinstrumentdata\";\n\tSTSEvent[\"STSResetInstrumentData\"] = \"stsresetinstrumentdata\";\n\tSTSEvent[\"STSStartLoggingInstrumentData\"] = \"stsStartLoggingInstrumentData\";\n\tSTSEvent[\"STSStopLoggingInstrumentData\"] = \"stsStopLoggingInstrumentData\";\n\tSTSEvent[\"STSStart\"] = \"stsstart\";\n\tSTSEvent[\"STSStop\"] = \"stsstop\";\n\tSTSEvent[\"STSPause\"] = \"stspause\";\n\tSTSEvent[\"STSResume\"] = \"stsresume\";\n\tSTSEvent[\"STSTerminate\"] = \"ststerminate\";\n\tSTSEvent[\"STSUpdateStaticConfig\"] = \"stsupdatestaticconfig\";\n\tSTSEvent[\"STSUpdateDynamicConfig\"] = \"stsupdatedynamicconfig\";\n\tSTSEvent[\"STSSendToRoom\"] = \"sendToRoom\";\n\tSTSEvent[\"connect\"] = \"connect\";\n\treturn STSEvent;\n}({});\n//#endregion\n//#region src/socketIoClient.ts\nvar import_tiny_emitter = require_tiny_emitter();\nvar SocketIoClient = class extends import_tiny_emitter.TinyEmitter {\n\t#agentManager;\n\t#logger;\n\t#name;\n\t#address;\n\t#socketIoCustomPath;\n\t#authToken;\n\t#socket;\n\t#reconnectTimeout = 2e3;\n\t#ackTimeout = 5e3;\n\t#reconnectTimeoutVal = void 0;\n\tconstructor(name) {\n\t\tsuper();\n\t\tthis.#name = name;\n\t}\n\tget logPrefix() {\n\t\treturn `SocketIoClient[${this.#name}]:`;\n\t}\n\tLogDebugMessage(message) {\n\t\tif (this.#logger) this.#logger.debug(`${this.logPrefix}${message}`);\n\t}\n\tLogErrorMessage(message) {\n\t\tif (this.#logger) this.#logger.error(`${this.logPrefix}${message}`);\n\t}\n\tLogWarningMessage(message) {\n\t\tif (this.#logger) this.#logger.warn(`${this.logPrefix}${message}`);\n\t}\n\tget name() {\n\t\treturn this.#name;\n\t}\n\tget reconnectTimeout() {\n\t\treturn this.#reconnectTimeout;\n\t}\n\tget agentManager() {\n\t\treturn this.#agentManager;\n\t}\n\tget logger() {\n\t\treturn this.#logger;\n\t}\n\tget address() {\n\t\treturn this.#address;\n\t}\n\tget authToken() {\n\t\treturn this.#authToken;\n\t}\n\tget socketIoCustomPath() {\n\t\treturn this.#socketIoCustomPath;\n\t}\n\tget socket() {\n\t\treturn this.#socket;\n\t}\n\tget ackTimeout() {\n\t\treturn this.#ackTimeout;\n\t}\n\tWithAckTimeout(ackTimeout) {\n\t\tthis.#ackTimeout = ackTimeout;\n\t\treturn this;\n\t}\n\tWithAddress(address) {\n\t\tthis.#address = address;\n\t\treturn this;\n\t}\n\tWithAuthToken(authToken) {\n\t\tthis.#authToken = authToken;\n\t\treturn this;\n\t}\n\tWithSocketIoCustomPath(socketIoCustomPath) {\n\t\tthis.#socketIoCustomPath = socketIoCustomPath;\n\t\treturn this;\n\t}\n\tWithLogger(logger) {\n\t\tthis.#logger = logger;\n\t\treturn this;\n\t}\n\tWithAgentManager(agentManager) {\n\t\tthis.#agentManager = agentManager;\n\t\treturn this;\n\t}\n\tWithReconnectTimeout(reconnectTimeout) {\n\t\tthis.#reconnectTimeout = reconnectTimeout;\n\t\treturn this;\n\t}\n\tSetupSocket() {\n\t\tif (!this.#address) throw new Error(`SocketIoClient:SetupSocket(): Error: [address not provided]`);\n\t\tthis.#EstablishSocketConnect();\n\t\treturn this;\n\t}\n\tEngineError(error) {}\n\tEngineReconnectError(error) {}\n\tEngineConnectError(error) {}\n\tEngineReconnect(attempt) {}\n\t#EstablishSocketConnect() {\n\t\tif (this.#socket !== void 0) {\n\t\t\tthis.ResetSocket();\n\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\treturn;\n\t\t}\n\t\tlet socketOptions;\n\t\tif (isNode) {\n\t\t\tsocketOptions = { transports: [\"websocket\"] };\n\t\t\tif (this.#agentManager) {\n\t\t\t\tif (!this.#address) {\n\t\t\t\t\tconst message = `SocketIoClient:#EstablishSocketConnect(): Error: [address not provided when using agentManager]`;\n\t\t\t\t\tthis.LogErrorMessage(message);\n\t\t\t\t\tthrow new Error(message);\n\t\t\t\t}\n\t\t\t\tsocketOptions.agent = this.#agentManager.GetAgent(this.#address);\n\t\t\t}\n\t\t} else socketOptions = { transports: [\"websocket\"] };\n\t\tsocketOptions.ackTimeout = this.#ackTimeout;\n\t\tif (this.#authToken) socketOptions.auth = (cb) => {\n\t\t\tcb({ token: this.#authToken });\n\t\t};\n\t\tif (this.#socketIoCustomPath && this.#socketIoCustomPath.localeCompare(\"\") !== 0) socketOptions.path = this.#socketIoCustomPath;\n\t\tthis.#socket = io(this.#address, socketOptions);\n\t\tthis.#socket.io.on(\"error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.io.on('error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineError(err);\n\t\t});\n\t\tthis.#socket.io.on(\"reconnect_error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.io.on('reconnect_error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineReconnectError(err);\n\t\t});\n\t\tthis.#socket.on(\"connect_error\", (err) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient.socket.on('connect_error'): [${err}] Address: [${this.#address}]`);\n\t\t\tthis.EngineConnectError(err);\n\t\t});\n\t\tthis.#socket.io.on(\"reconnect\", (attempt) => {\n\t\t\tthis.LogErrorMessage(`SocketIoClient:socket.io.on('reconnect'): Number: [${attempt}] Address: [${this.#address}]`);\n\t\t\tthis.EngineReconnect(attempt);\n\t\t});\n\t\tthis.#socket.on(\"connect\", () => {\n\t\t\tif (this.#socket) {\n\t\t\t\tthis.LogDebugMessage(`SocketIoClient:on(\"connect\"): Socket: [${this.#socket.id}]: connected, Address: [${this.#address}]`);\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.SocketConnect(this.#socket);\n\t\t\t\t}, 0);\n\t\t\t\tthis.SetupSocketEvents(this.#socket);\n\t\t\t} else {\n\t\t\t\tconst errorMessage = \"SocketIoClient:on(\\\"connect\\\"): Could not get socket object from socket.io, Address: [${socketDetail.address}]\";\n\t\t\t\tthis.LogErrorMessage(errorMessage);\n\t\t\t\tthis.SocketConnectError(/* @__PURE__ */ new Error(errorMessage));\n\t\t\t}\n\t\t});\n\t\tthis.#socket.on(\"disconnect\", (reason) => {\n\t\t\tthis.LogDebugMessage(\"socket disconnect: \" + reason);\n\t\t\tthis.SocketDisconnect(reason);\n\t\t\tswitch (reason) {\n\t\t\t\tcase \"io server disconnect\":\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The server disconnected using disconnectSockets, i.e. normal safe shutdown from explicit disconnection by the server.\");\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will be re-established when the server becomes available.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"io client disconnect\":\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The client disconnected using disconnectSockets, i.e. normal safe disconnection from explicit disconnection by the client.\");\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will not be re-established automatically.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"transport close\":\n\t\t\t\tcase \"ping timeout\":\n\t\t\t\tcase \"transport error\":\n\t\t\t\t\tthis.LogDebugMessage(`SocketIoClient:on(\"disconnect\"): Server unexpectedly disconnected. Reason: [${reason}]`);\n\t\t\t\t\tthis.LogDebugMessage(\"SocketIoClient:on(\\\"disconnect\\\"): The connection will be re-established when the server becomes available.\");\n\t\t\t\t\tthis.ResetSocket();\n\t\t\t\t\tif (isNode) this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();\n\t\t\t\t\telse this.#reconnectTimeoutVal = setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);\n\t\t\t}\n\t\t});\n\t}\n\tResetSocket = () => {\n\t\ttry {\n\t\t\tif (this.#reconnectTimeoutVal !== void 0) {\n\t\t\t\tclearTimeout(this.#reconnectTimeoutVal);\n\t\t\t\tthis.#reconnectTimeoutVal = void 0;\n\t\t\t}\n\t\t\tif (this.#socket) {\n\t\t\t\tthis.#socket.removeAllListeners();\n\t\t\t\tthis.#socket.io.removeAllListeners();\n\t\t\t\tif (this.#socket.connected === true) this.#socket.disconnect();\n\t\t\t\tif (isNode) {\n\t\t\t\t\tif (this.#agentManager) this.#agentManager.ResetAgent();\n\t\t\t\t}\n\t\t\t\tthis.#socket = void 0;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconst errorMessage = `SocketIoClient:ResetSocket(): Error: [${error}]`;\n\t\t\tthis.LogErrorMessage(errorMessage);\n\t\t\tthis.SocketConnectError(new Error(errorMessage));\n\t\t}\n\t};\n\tDisconnect = () => {\n\t\tthis.#socket?.disconnect();\n\t};\n};\n//#endregion\nexport { STSEvent, STSNamespace, STSRoom, SocketIoClient };\n\n//# sourceMappingURL=index.mjs.map","import { TinyEmitter } from \"tiny-emitter\";\nimport { Gauge, GaugeTypes, InstrumentGauge, InstrumentHistogram, InstrumentLog, InstrumentObject, InstrumentTimerGauge, InstrumentVelocity, StopInstruments } from \"@nsshunt/stsobservability\";\nimport axios from \"axios\";\nimport { STSAxiosConfig, defaultLogger, isNode } from \"@nsshunt/stsutils\";\nimport { SocketIoClient } from \"@nsshunt/stssocketioutils\";\n//#region src/commonTypes.ts\nvar SubscriptionTopic = /* @__PURE__ */ function(SubscriptionTopic) {\n\tSubscriptionTopic[\"AllServicesCombined\"] = \"AllServicesCombined\";\n\tSubscriptionTopic[\"Services\"] = \"Services\";\n\tSubscriptionTopic[\"ServiceInstances\"] = \"ServiceInstances\";\n\tSubscriptionTopic[\"ServiceInstance\"] = \"ServiceInstance\";\n\tSubscriptionTopic[\"AllAgentsCombined\"] = \"AllAgentsCombined\";\n\tSubscriptionTopic[\"Agents\"] = \"Agents\";\n\tSubscriptionTopic[\"AgentWorkers\"] = \"AgentWorkers\";\n\tSubscriptionTopic[\"AgentWorker\"] = \"AgentWorker\";\n\tSubscriptionTopic[\"AllLambdasCombined\"] = \"AllLambdasCombined\";\n\tSubscriptionTopic[\"LambdaTechnologies\"] = \"LambdaTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologies\"] = \"LambdaSubTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologiesInstance\"] = \"LambdaSubTechnologiesInstance\";\n\tSubscriptionTopic[\"LogProcessing\"] = \"LogProcessing\";\n\treturn SubscriptionTopic;\n}({});\nvar GetSocketIOSubscriptionKey = (subscriptionKey) => {\n\treturn `SubscriptionData_${subscriptionKey.id}`;\n};\nvar KAFKA_PREFIX = \"__STS__\";\nvar TransportType = /* @__PURE__ */ function(TransportType) {\n\tTransportType[TransportType[\"none\"] = 0] = \"none\";\n\tTransportType[TransportType[\"IPC\"] = 1] = \"IPC\";\n\tTransportType[TransportType[\"websocket\"] = 2] = \"websocket\";\n\tTransportType[TransportType[\"RESTAPI\"] = 4] = \"RESTAPI\";\n\tTransportType[TransportType[\"redis\"] = 8] = \"redis\";\n\tTransportType[TransportType[\"kafka\"] = 16] = \"kafka\";\n\tTransportType[TransportType[\"influxdb\"] = 32] = \"influxdb\";\n\tTransportType[TransportType[\"prometheus\"] = 64] = \"prometheus\";\n\tTransportType[TransportType[\"gRPC\"] = 128] = \"gRPC\";\n\tTransportType[TransportType[\"unixsocket\"] = 256] = \"unixsocket\";\n\tTransportType[TransportType[\"socketio\"] = 512] = \"socketio\";\n\tTransportType[TransportType[\"otelcollector\"] = 1024] = \"otelcollector\";\n\tTransportType[TransportType[\"messageport\"] = 2048] = \"messageport\";\n\tTransportType[TransportType[\"jsonrpc\"] = 4096] = \"jsonrpc\";\n\tTransportType[TransportType[\"postgresql\"] = 8192] = \"postgresql\";\n\tTransportType[TransportType[\"grafanaloki\"] = 16384] = \"grafanaloki\";\n\tTransportType[TransportType[\"logstash\"] = 32768] = \"logstash\";\n\tTransportType[TransportType[\"fluentbit\"] = 65536] = \"fluentbit\";\n\tTransportType[TransportType[\"fluentd\"] = 131072] = \"fluentd\";\n\tTransportType[TransportType[\"inmemory\"] = 262144] = \"inmemory\";\n\treturn TransportType;\n}({});\nfunction GetTransportMode(transport) {\n\tlet trans = 0;\n\ttry {\n\t\ttransport.split(\"|\").forEach((item) => {\n\t\t\tswitch (item) {\n\t\t\t\tcase \"IPC\":\n\t\t\t\t\ttrans |= 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"websocket\":\n\t\t\t\t\ttrans |= 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RESTAPI\":\n\t\t\t\t\ttrans |= 4;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"redis\":\n\t\t\t\t\ttrans |= 8;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"kafka\":\n\t\t\t\t\ttrans |= 16;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"influxdb\":\n\t\t\t\t\ttrans |= 32;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"prometheus\":\n\t\t\t\t\ttrans |= 64;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gRPC\":\n\t\t\t\t\ttrans |= 128;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"unixsocket\":\n\t\t\t\t\ttrans |= 256;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"socketio\":\n\t\t\t\t\ttrans |= 512;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"otelcollector\":\n\t\t\t\t\ttrans |= 1024;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"messageport\":\n\t\t\t\t\ttrans |= 2048;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"jsonrpc\":\n\t\t\t\t\ttrans |= 4096;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"postgresql\":\n\t\t\t\t\ttrans |= 8192;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"grafanaloki\":\n\t\t\t\t\ttrans |= 16384;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"logstash\":\n\t\t\t\t\ttrans |= 32768;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentbit\":\n\t\t\t\t\ttrans |= 65536;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentd\":\n\t\t\t\t\ttrans |= 131072;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inmemory\": trans |= 262144;\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tthrow new Error(`GetTransportMode(): Error: [${error}]`);\n\t}\n\treturn trans;\n}\nvar InstrumentPayloadType = /* @__PURE__ */ function(InstrumentPayloadType) {\n\tInstrumentPayloadType[\"agent\"] = \"agent\";\n\tInstrumentPayloadType[\"service\"] = \"service\";\n\treturn InstrumentPayloadType;\n}({});\n//#endregion\n//#region src/publish/middleware/requestLoggerMiddleware.ts\nvar RequestLoggerMiddlewareEventName = /* @__PURE__ */ function(RequestLoggerMiddlewareEventName) {\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_DEC\"] = \"UpdateInstrument_AR_DEC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_INC\"] = \"UpdateInstrument_AR_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_RC_INC\"] = \"UpdateInstrument_RC_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_V_INC\"] = \"UpdateInstrument_V_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_DH_VAL\"] = \"UpdateInstrument_DH_VAL\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_D_VAL\"] = \"UpdateInstrument_D_VAL\";\n\treturn RequestLoggerMiddlewareEventName;\n}({});\nvar RequestLoggerMiddleware = class {\n\toptions;\n\t#tinyEmitter = new TinyEmitter();\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\ton(eventName, callBackFn) {\n\t\tthis.#tinyEmitter.on(eventName, callBackFn);\n\t}\n\t#RequestCompleted = (start, req) => {\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_AR_DEC\");\n\t\tconst end = performance.now() - start;\n\t\tconst timeInMs = parseFloat(end.toFixed(4));\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_DH_VAL\", timeInMs);\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_D_VAL\", {\n\t\t\ttimeInMs,\n\t\t\tserializableReq: {\n\t\t\t\tmethod: req.method,\n\t\t\t\turl: req.originalUrl,\n\t\t\t\theaders: req.headers,\n\t\t\t\tquery: req.query,\n\t\t\t\tparams: req.params,\n\t\t\t\tbody: req.body,\n\t\t\t\tip: req.ip\n\t\t\t}\n\t\t});\n\t};\n\t/**\n\t* Use with .bind(class instance).\n\t* Example;\n\t* ---\n\t* `let requestLoggerMiddleware = new RequestLoggerMiddleware();\n\t* app.use(requestLoggerMiddleware.Middleware.bind(requestLoggerMiddleware));`\n\t* @param {*} req\n\t* @param {*} res\n\t* @param {*} next\n\t* @returns\n\t*/\n\tMiddleware = async (req, res, next) => {\n\t\tif (this.options.ignoresocketio && req.originalUrl.includes(\"socket.io\")) return next();\n\t\tconst start = performance.now();\n\t\tlet completed = false;\n\t\tconst completeOnce = (req) => {\n\t\t\tif (completed) return;\n\t\t\tcompleted = true;\n\t\t\tthis.#RequestCompleted(start, req);\n\t\t};\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_AR_INC\");\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_RC_INC\");\n\t\tthis.#tinyEmitter.emit(\"UpdateInstrument_V_INC\");\n\t\treq.on(\"aborted\", () => {});\n\t\treq.on(\"end\", () => {});\n\t\tres.on(\"close\", () => {\n\t\t\tcompleteOnce(req);\n\t\t});\n\t\tres.on(\"finish\", () => {\n\t\t\tcompleteOnce(req);\n\t\t});\n\t\tnext();\n\t};\n};\n//#endregion\n//#region node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\u001B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\u001B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles$1 = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29]\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39],\n\t\tgrey: [90, 39],\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39]\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49],\n\t\tbgGrey: [100, 49],\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49]\n\t}\n};\nObject.keys(styles$1.modifier);\nvar foregroundColorNames = Object.keys(styles$1.color);\nvar backgroundColorNames = Object.keys(styles$1.bgColor);\n[...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n\tconst codes = /* @__PURE__ */ new Map();\n\tfor (const [groupName, group] of Object.entries(styles$1)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles$1[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\t\t\tgroup[styleName] = styles$1[styleName];\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\t\tObject.defineProperty(styles$1, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\tObject.defineProperty(styles$1, \"codes\", {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\tstyles$1.color.close = \"\\x1B[39m\";\n\tstyles$1.bgColor.close = \"\\x1B[49m\";\n\tstyles$1.color.ansi = wrapAnsi16();\n\tstyles$1.color.ansi256 = wrapAnsi256();\n\tstyles$1.color.ansi16m = wrapAnsi16m();\n\tstyles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\tObject.defineProperties(styles$1, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) return 16;\n\t\t\t\t\tif (red > 248) return 231;\n\t\t\t\t\treturn Math.round((red - 8) / 247 * 24) + 232;\n\t\t\t\t}\n\t\t\t\treturn 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) return [\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t\t0\n\t\t\t\t];\n\t\t\t\tlet [colorString] = matches;\n\t\t\t\tif (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join(\"\");\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\t\t\t\treturn [\n\t\t\t\t\tinteger >> 16 & 255,\n\t\t\t\t\tinteger >> 8 & 255,\n\t\t\t\t\tinteger & 255\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),\n\t\t\tenumerable: false\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) return 30 + code;\n\t\t\t\tif (code < 16) return 90 + (code - 8);\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = ((code - 232) * 10 + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\t\t\t\t\tconst remainder = code % 36;\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = remainder % 6 / 5;\n\t\t\t\t}\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\t\t\t\tif (value === 0) return 30;\n\t\t\t\tlet result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n\t\t\t\tif (value === 2) result += 60;\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),\n\t\t\tenumerable: false\n\t\t}\n\t});\n\treturn styles$1;\n}\nvar ansiStyles = assembleStyles();\n//#endregion\n//#region node_modules/chalk/source/vendor/supports-color/browser.js\nvar level = (() => {\n\tif (!(\"navigator\" in globalThis)) return 0;\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({ brand }) => brand === \"Chromium\");\n\t\tif (brand && brand.version > 93) return 3;\n\t}\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) return 1;\n\treturn 0;\n})();\nvar colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3\n};\nvar supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport\n};\n//#endregion\n//#region node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) return string;\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\tconst gotCR = string[index - 1] === \"\\r\";\n\t\treturnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf(\"\\n\", endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n//#endregion\n//#region node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supportsColor;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n\t\"ansi\",\n\t\"ansi\",\n\t\"ansi256\",\n\t\"ansi16m\"\n];\nvar styles = Object.create(null);\nvar applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error(\"The `level` option should be an integer from 0 to 3\");\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n\tconst chalk = (...strings) => strings.join(\" \");\n\tapplyOptions(chalk, options);\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\treturn chalk;\n};\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {\n\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\tObject.defineProperty(this, styleName, { value: builder });\n\treturn builder;\n} };\nstyles.visible = { get() {\n\tconst builder = createBuilder(this, this[STYLER], true);\n\tObject.defineProperty(this, \"visible\", { value: builder });\n\treturn builder;\n} };\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === \"rgb\") {\n\t\tif (level === \"ansi16m\") return ansiStyles[type].ansi16m(...arguments_);\n\t\tif (level === \"ansi256\") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\tif (model === \"hex\") return getModelAnsi(\"rgb\", level, type, ...ansiStyles.hexToRgb(...arguments_));\n\treturn ansiStyles[type][model](...arguments_);\n};\nfor (const model of [\n\t\"rgb\",\n\t\"hex\",\n\t\"ansi256\"\n]) {\n\tstyles[model] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n\tconst bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n}\nvar proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t}\n\t}\n});\nvar createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === void 0) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\nvar createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n\tObject.setPrototypeOf(builder, proto);\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\treturn builder;\n};\nvar applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) return self[IS_EMPTY] ? \"\" : string;\n\tlet styler = self[STYLER];\n\tif (styler === void 0) return string;\n\tconst { openAll, closeAll } = styler;\n\tif (string.includes(\"\\x1B\")) while (styler !== void 0) {\n\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\t\tstyler = styler.parent;\n\t}\n\tconst lfIndex = string.indexOf(\"\\n\");\n\tif (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\treturn openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles);\nvar chalk = createChalk();\ncreateChalk({ level: stderrColor ? stderrColor.level : 0 });\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs\nfunction utf8Count(str) {\n\tconst strLength = str.length;\n\tlet byteLength = 0;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\tbyteLength++;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) byteLength += 2;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) byteLength += 3;\n\t\t\telse byteLength += 4;\n\t\t}\n\t}\n\treturn byteLength;\n}\nfunction utf8EncodeJs(str, output, outputOffset) {\n\tconst strLength = str.length;\n\tlet offset = outputOffset;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\toutput[offset++] = value;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) output[offset++] = value >> 6 & 31 | 192;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) {\n\t\t\t\toutput[offset++] = value >> 12 & 15 | 224;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t} else {\n\t\t\t\toutput[offset++] = value >> 18 & 7 | 240;\n\t\t\t\toutput[offset++] = value >> 12 & 63 | 128;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t}\n\t\t}\n\t\toutput[offset++] = value & 63 | 128;\n\t}\n}\nvar sharedTextEncoder = new TextEncoder();\nvar TEXT_ENCODER_THRESHOLD = 50;\nfunction utf8EncodeTE(str, output, outputOffset) {\n\tsharedTextEncoder.encodeInto(str, output.subarray(outputOffset));\n}\nfunction utf8Encode(str, output, outputOffset) {\n\tif (str.length > TEXT_ENCODER_THRESHOLD) utf8EncodeTE(str, output, outputOffset);\n\telse utf8EncodeJs(str, output, outputOffset);\n}\nnew TextDecoder();\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs\n/**\n* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.\n*/\nvar ExtData = class {\n\ttype;\n\tdata;\n\tconstructor(type, data) {\n\t\tthis.type = type;\n\t\tthis.data = data;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs\nvar DecodeError = class DecodeError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tconst proto = Object.create(DecodeError.prototype);\n\t\tObject.setPrototypeOf(this, proto);\n\t\tObject.defineProperty(this, \"name\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: DecodeError.name\n\t\t});\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs\nfunction setUint64(view, offset, value) {\n\tconst high = value / 4294967296;\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction setInt64(view, offset, value) {\n\tconst high = Math.floor(value / 4294967296);\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction getInt64(view, offset) {\n\tconst high = view.getInt32(offset);\n\tconst low = view.getUint32(offset + 4);\n\treturn high * 4294967296 + low;\n}\nvar TIMESTAMP32_MAX_SEC = 4294967295;\nvar TIMESTAMP64_MAX_SEC = 17179869183;\nfunction encodeTimeSpecToTimestamp({ sec, nsec }) {\n\tif (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) {\n\t\tif (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {\n\t\t\tconst rv = /* @__PURE__ */ new Uint8Array(4);\n\t\t\tnew DataView(rv.buffer).setUint32(0, sec);\n\t\t\treturn rv;\n\t\t} else {\n\t\t\tconst secHigh = sec / 4294967296;\n\t\t\tconst secLow = sec & 4294967295;\n\t\t\tconst rv = /* @__PURE__ */ new Uint8Array(8);\n\t\t\tconst view = new DataView(rv.buffer);\n\t\t\tview.setUint32(0, nsec << 2 | secHigh & 3);\n\t\t\tview.setUint32(4, secLow);\n\t\t\treturn rv;\n\t\t}\n\t} else {\n\t\tconst rv = /* @__PURE__ */ new Uint8Array(12);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec);\n\t\tsetInt64(view, 4, sec);\n\t\treturn rv;\n\t}\n}\nfunction encodeDateToTimeSpec(date) {\n\tconst msec = date.getTime();\n\tconst sec = Math.floor(msec / 1e3);\n\tconst nsec = (msec - sec * 1e3) * 1e6;\n\tconst nsecInSec = Math.floor(nsec / 1e9);\n\treturn {\n\t\tsec: sec + nsecInSec,\n\t\tnsec: nsec - nsecInSec * 1e9\n\t};\n}\nfunction encodeTimestampExtension(object) {\n\tif (object instanceof Date) return encodeTimeSpecToTimestamp(encodeDateToTimeSpec(object));\n\telse return null;\n}\nfunction decodeTimestampToTimeSpec(data) {\n\tconst view = new DataView(data.buffer, data.byteOffset, data.byteLength);\n\tswitch (data.byteLength) {\n\t\tcase 4: return {\n\t\t\tsec: view.getUint32(0),\n\t\t\tnsec: 0\n\t\t};\n\t\tcase 8: {\n\t\t\tconst nsec30AndSecHigh2 = view.getUint32(0);\n\t\t\tconst secLow32 = view.getUint32(4);\n\t\t\treturn {\n\t\t\t\tsec: (nsec30AndSecHigh2 & 3) * 4294967296 + secLow32,\n\t\t\t\tnsec: nsec30AndSecHigh2 >>> 2\n\t\t\t};\n\t\t}\n\t\tcase 12: return {\n\t\t\tsec: getInt64(view, 4),\n\t\t\tnsec: view.getUint32(0)\n\t\t};\n\t\tdefault: throw new DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${data.length}`);\n\t}\n}\nfunction decodeTimestampExtension(data) {\n\tconst timeSpec = decodeTimestampToTimeSpec(data);\n\treturn /* @__PURE__ */ new Date(timeSpec.sec * 1e3 + timeSpec.nsec / 1e6);\n}\nvar timestampExtension = {\n\ttype: -1,\n\tencode: encodeTimestampExtension,\n\tdecode: decodeTimestampExtension\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs\nvar ExtensionCodec = class ExtensionCodec {\n\tstatic defaultCodec = new ExtensionCodec();\n\t__brand;\n\tbuiltInEncoders = [];\n\tbuiltInDecoders = [];\n\tencoders = [];\n\tdecoders = [];\n\tconstructor() {\n\t\tthis.register(timestampExtension);\n\t}\n\tregister({ type, encode, decode }) {\n\t\tif (type >= 0) {\n\t\t\tthis.encoders[type] = encode;\n\t\t\tthis.decoders[type] = decode;\n\t\t} else {\n\t\t\tconst index = -1 - type;\n\t\t\tthis.builtInEncoders[index] = encode;\n\t\t\tthis.builtInDecoders[index] = decode;\n\t\t}\n\t}\n\ttryToEncode(object, context) {\n\t\tfor (let i = 0; i < this.builtInEncoders.length; i++) {\n\t\t\tconst encodeExt = this.builtInEncoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(-1 - i, data);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < this.encoders.length; i++) {\n\t\t\tconst encodeExt = this.encoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(i, data);\n\t\t\t}\n\t\t}\n\t\tif (object instanceof ExtData) return object;\n\t\treturn null;\n\t}\n\tdecode(data, type, context) {\n\t\tconst decodeExt = type < 0 ? this.builtInDecoders[-1 - type] : this.decoders[type];\n\t\tif (decodeExt) return decodeExt(data, type, context);\n\t\telse return new ExtData(type, data);\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs\nfunction isArrayBufferLike(buffer) {\n\treturn buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== \"undefined\" && buffer instanceof SharedArrayBuffer;\n}\nfunction ensureUint8Array(buffer) {\n\tif (buffer instanceof Uint8Array) return buffer;\n\telse if (ArrayBuffer.isView(buffer)) return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n\telse if (isArrayBufferLike(buffer)) return new Uint8Array(buffer);\n\telse return Uint8Array.from(buffer);\n}\nvar Encoder = class Encoder {\n\textensionCodec;\n\tcontext;\n\tuseBigInt64;\n\tmaxDepth;\n\tinitialBufferSize;\n\tsortKeys;\n\tforceFloat32;\n\tignoreUndefined;\n\tforceIntegerToFloat;\n\tpos;\n\tview;\n\tbytes;\n\tentered = false;\n\tconstructor(options) {\n\t\tthis.extensionCodec = options?.extensionCodec ?? ExtensionCodec.defaultCodec;\n\t\tthis.context = options?.context;\n\t\tthis.useBigInt64 = options?.useBigInt64 ?? false;\n\t\tthis.maxDepth = options?.maxDepth ?? 100;\n\t\tthis.initialBufferSize = options?.initialBufferSize ?? 2048;\n\t\tthis.sortKeys = options?.sortKeys ?? false;\n\t\tthis.forceFloat32 = options?.forceFloat32 ?? false;\n\t\tthis.ignoreUndefined = options?.ignoreUndefined ?? false;\n\t\tthis.forceIntegerToFloat = options?.forceIntegerToFloat ?? false;\n\t\tthis.pos = 0;\n\t\tthis.view = new DataView(new ArrayBuffer(this.initialBufferSize));\n\t\tthis.bytes = new Uint8Array(this.view.buffer);\n\t}\n\tclone() {\n\t\treturn new Encoder({\n\t\t\textensionCodec: this.extensionCodec,\n\t\t\tcontext: this.context,\n\t\t\tuseBigInt64: this.useBigInt64,\n\t\t\tmaxDepth: this.maxDepth,\n\t\t\tinitialBufferSize: this.initialBufferSize,\n\t\t\tsortKeys: this.sortKeys,\n\t\t\tforceFloat32: this.forceFloat32,\n\t\t\tignoreUndefined: this.ignoreUndefined,\n\t\t\tforceIntegerToFloat: this.forceIntegerToFloat\n\t\t});\n\t}\n\treinitializeState() {\n\t\tthis.pos = 0;\n\t}\n\t/**\n\t* This is almost equivalent to {@link Encoder#encode}, but it returns an reference of the encoder's internal buffer and thus much faster than {@link Encoder#encode}.\n\t*\n\t* @returns Encodes the object and returns a shared reference the encoder's internal buffer.\n\t*/\n\tencodeSharedRef(object) {\n\t\tif (this.entered) return this.clone().encodeSharedRef(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.subarray(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\t/**\n\t* @returns Encodes the object and returns a copy of the encoder's internal buffer.\n\t*/\n\tencode(object) {\n\t\tif (this.entered) return this.clone().encode(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.slice(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\tdoEncode(object, depth) {\n\t\tif (depth > this.maxDepth) throw new Error(`Too deep objects in depth ${depth}`);\n\t\tif (object == null) this.encodeNil();\n\t\telse if (typeof object === \"boolean\") this.encodeBoolean(object);\n\t\telse if (typeof object === \"number\") {\n\t\t\tif (!this.forceIntegerToFloat) this.encodeNumber(object);\n\t\t\telse this.encodeNumberAsFloat(object);\n\t\t} else if (typeof object === \"string\") this.encodeString(object);\n\t\telse if (this.useBigInt64 && typeof object === \"bigint\") this.encodeBigInt64(object);\n\t\telse this.encodeObject(object, depth);\n\t}\n\tensureBufferSizeToWrite(sizeToWrite) {\n\t\tconst requiredSize = this.pos + sizeToWrite;\n\t\tif (this.view.byteLength < requiredSize) this.resizeBuffer(requiredSize * 2);\n\t}\n\tresizeBuffer(newSize) {\n\t\tconst newBuffer = new ArrayBuffer(newSize);\n\t\tconst newBytes = new Uint8Array(newBuffer);\n\t\tconst newView = new DataView(newBuffer);\n\t\tnewBytes.set(this.bytes);\n\t\tthis.view = newView;\n\t\tthis.bytes = newBytes;\n\t}\n\tencodeNil() {\n\t\tthis.writeU8(192);\n\t}\n\tencodeBoolean(object) {\n\t\tif (object === false) this.writeU8(194);\n\t\telse this.writeU8(195);\n\t}\n\tencodeNumber(object) {\n\t\tif (!this.forceIntegerToFloat && Number.isSafeInteger(object)) {\n\t\t\tif (object >= 0) {\n\t\t\t\tif (object < 128) this.writeU8(object);\n\t\t\t\telse if (object < 256) {\n\t\t\t\t\tthis.writeU8(204);\n\t\t\t\t\tthis.writeU8(object);\n\t\t\t\t} else if (object < 65536) {\n\t\t\t\t\tthis.writeU8(205);\n\t\t\t\t\tthis.writeU16(object);\n\t\t\t\t} else if (object < 4294967296) {\n\t\t\t\t\tthis.writeU8(206);\n\t\t\t\t\tthis.writeU32(object);\n\t\t\t\t} else if (!this.useBigInt64) {\n\t\t\t\t\tthis.writeU8(207);\n\t\t\t\t\tthis.writeU64(object);\n\t\t\t\t} else this.encodeNumberAsFloat(object);\n\t\t\t} else if (object >= -32) this.writeU8(224 | object + 32);\n\t\t\telse if (object >= -128) {\n\t\t\t\tthis.writeU8(208);\n\t\t\t\tthis.writeI8(object);\n\t\t\t} else if (object >= -32768) {\n\t\t\t\tthis.writeU8(209);\n\t\t\t\tthis.writeI16(object);\n\t\t\t} else if (object >= -2147483648) {\n\t\t\t\tthis.writeU8(210);\n\t\t\t\tthis.writeI32(object);\n\t\t\t} else if (!this.useBigInt64) {\n\t\t\t\tthis.writeU8(211);\n\t\t\t\tthis.writeI64(object);\n\t\t\t} else this.encodeNumberAsFloat(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t}\n\tencodeNumberAsFloat(object) {\n\t\tif (this.forceFloat32) {\n\t\t\tthis.writeU8(202);\n\t\t\tthis.writeF32(object);\n\t\t} else {\n\t\t\tthis.writeU8(203);\n\t\t\tthis.writeF64(object);\n\t\t}\n\t}\n\tencodeBigInt64(object) {\n\t\tif (object >= BigInt(0)) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeBigUint64(object);\n\t\t} else {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeBigInt64(object);\n\t\t}\n\t}\n\twriteStringHeader(byteLength) {\n\t\tif (byteLength < 32) this.writeU8(160 + byteLength);\n\t\telse if (byteLength < 256) {\n\t\t\tthis.writeU8(217);\n\t\t\tthis.writeU8(byteLength);\n\t\t} else if (byteLength < 65536) {\n\t\t\tthis.writeU8(218);\n\t\t\tthis.writeU16(byteLength);\n\t\t} else if (byteLength < 4294967296) {\n\t\t\tthis.writeU8(219);\n\t\t\tthis.writeU32(byteLength);\n\t\t} else throw new Error(`Too long string: ${byteLength} bytes in UTF-8`);\n\t}\n\tencodeString(object) {\n\t\tconst maxHeaderSize = 5;\n\t\tconst byteLength = utf8Count(object);\n\t\tthis.ensureBufferSizeToWrite(maxHeaderSize + byteLength);\n\t\tthis.writeStringHeader(byteLength);\n\t\tutf8Encode(object, this.bytes, this.pos);\n\t\tthis.pos += byteLength;\n\t}\n\tencodeObject(object, depth) {\n\t\tconst ext = this.extensionCodec.tryToEncode(object, this.context);\n\t\tif (ext != null) this.encodeExtension(ext);\n\t\telse if (Array.isArray(object)) this.encodeArray(object, depth);\n\t\telse if (ArrayBuffer.isView(object)) this.encodeBinary(object);\n\t\telse if (typeof object === \"object\") this.encodeMap(object, depth);\n\t\telse throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(object)}`);\n\t}\n\tencodeBinary(object) {\n\t\tconst size = object.byteLength;\n\t\tif (size < 256) {\n\t\t\tthis.writeU8(196);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(197);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(198);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large binary: ${size}`);\n\t\tconst bytes = ensureUint8Array(object);\n\t\tthis.writeU8a(bytes);\n\t}\n\tencodeArray(object, depth) {\n\t\tconst size = object.length;\n\t\tif (size < 16) this.writeU8(144 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(220);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(221);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large array: ${size}`);\n\t\tfor (const item of object) this.doEncode(item, depth + 1);\n\t}\n\tcountWithoutUndefined(object, keys) {\n\t\tlet count = 0;\n\t\tfor (const key of keys) if (object[key] !== void 0) count++;\n\t\treturn count;\n\t}\n\tencodeMap(object, depth) {\n\t\tconst keys = Object.keys(object);\n\t\tif (this.sortKeys) keys.sort();\n\t\tconst size = this.ignoreUndefined ? this.countWithoutUndefined(object, keys) : keys.length;\n\t\tif (size < 16) this.writeU8(128 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(222);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(223);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large map object: ${size}`);\n\t\tfor (const key of keys) {\n\t\t\tconst value = object[key];\n\t\t\tif (!(this.ignoreUndefined && value === void 0)) {\n\t\t\t\tthis.encodeString(key);\n\t\t\t\tthis.doEncode(value, depth + 1);\n\t\t\t}\n\t\t}\n\t}\n\tencodeExtension(ext) {\n\t\tif (typeof ext.data === \"function\") {\n\t\t\tconst data = ext.data(this.pos + 6);\n\t\t\tconst size = data.length;\n\t\t\tif (size >= 4294967296) throw new Error(`Too large extension object: ${size}`);\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t\tthis.writeI8(ext.type);\n\t\t\tthis.writeU8a(data);\n\t\t\treturn;\n\t\t}\n\t\tconst size = ext.data.length;\n\t\tif (size === 1) this.writeU8(212);\n\t\telse if (size === 2) this.writeU8(213);\n\t\telse if (size === 4) this.writeU8(214);\n\t\telse if (size === 8) this.writeU8(215);\n\t\telse if (size === 16) this.writeU8(216);\n\t\telse if (size < 256) {\n\t\t\tthis.writeU8(199);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(200);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large extension object: ${size}`);\n\t\tthis.writeI8(ext.type);\n\t\tthis.writeU8a(ext.data);\n\t}\n\twriteU8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setUint8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU8a(values) {\n\t\tconst size = values.length;\n\t\tthis.ensureBufferSizeToWrite(size);\n\t\tthis.bytes.set(values, this.pos);\n\t\tthis.pos += size;\n\t}\n\twriteI8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setInt8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setUint16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteI16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setInt16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteU32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setUint32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteI32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setInt32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setFloat32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setFloat64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteU64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetUint64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteI64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetInt64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigUint64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigUint64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigInt64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigInt64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/encode.mjs\n/**\n* It encodes `value` in the MessagePack format and\n* returns a byte buffer.\n*\n* The returned buffer is a slice of a larger `ArrayBuffer`, so you have to use its `#byteOffset` and `#byteLength` in order to convert it to another typed arrays including NodeJS `Buffer`.\n*/\nfunction encode(value, options) {\n\treturn new Encoder(options).encodeSharedRef(value);\n}\n//#endregion\n//#region src/publish/publishers/publishTransportRESTServer.ts\nvar PublishTransportRESTServer = class {\n\toptions;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\tPublish = async (payload) => {\n\t\ttry {\n\t\t\tif (this.options.showPublishPayload) {\n\t\t\t\tconsole.log(chalk.grey(`PublishTransportRESTServer::Publish() url: [${this.options.url}]`));\n\t\t\t\tconsole.log(payload);\n\t\t\t}\n\t\t\tconst encodedData = encode(payload, { ignoreUndefined: true });\n\t\t\tconst headers = { \"Content-Type\": \"application/octet-stream\" };\n\t\t\tlet retVal = null;\n\t\t\tif (this.options.socketPath) retVal = await axios({\n\t\t\t\tmethod: \"post\",\n\t\t\t\tdata: Buffer.from(encodedData),\n\t\t\t\theaders,\n\t\t\t\tsocketPath: this.options.socketPath\n\t\t\t});\n\t\t\telse if (isNode) {\n\t\t\t\tif (this.options.agentManager) retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).withAgentManager(this.options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).config);\n\t\t\t} else {\n\t\t\t\tconst blob = new Blob([new Uint8Array(encodedData)], { type: \"application/octet-stream\" });\n\t\t\t\tretVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(blob).config);\n\t\t\t}\n\t\t\tif (retVal.status !== 200) {\n\t\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\tthis.options.logger.debug(chalk.red(`Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\treturn false;\n\t\t\t} else if (this.options.showPublishPayload) console.log(chalk.grey(`PublishTransportRESTServer::Publish() _PerformPublishRESTAPI:_PerformPublish:#publishmessage: [${this.options.url}] - Valid response from server: [${retVal.status}]`));\n\t\t\treturn true;\n\t\t} catch (error) {\n\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (PublishRESTServer:_PerformPublishRESTAPI:Error: [${error}]`));\n\t\t\treturn false;\n\t\t}\n\t};\n\tasync Close() {\n\t\tif (this.options.agentManager) this.options.agentManager.Terminate();\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstruments.ts\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstruments = class {\n\toptions;\n\t#inPublish = false;\n\t#observer = null;\n\t#publishState = 0;\n\t#publisherTransport = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.#publisherTransport = null;\n\t\tswitch (options.publishTransportBaseOptions.transportType) {\n\t\t\tcase TransportType.RESTAPI: this.#publisherTransport = new PublishTransportRESTServer(options.publishTransportBaseOptions);\n\t\t}\n\t\tthis.#UpdateState(0, \"constructor()\");\n\t}\n\tasync Publish() {\n\t\tif (this.#inPublish) return false;\n\t\tif (this.#publisherTransport) try {\n\t\t\tthis.#inPublish = true;\n\t\t\tif (this.options.publishInstrumentController) {\n\t\t\t\tconst instrumentPayload = this.options.publishInstrumentController.GetPayloadData();\n\t\t\t\treturn await this.#publisherTransport.Publish(instrumentPayload);\n\t\t\t}\n\t\t\treturn false;\n\t\t} catch (error) {\n\t\t\treturn false;\n\t\t} finally {\n\t\t\tthis.#inPublish = false;\n\t\t}\n\t\telse return false;\n\t}\n\t#PublishTimeoutLoop(publishInterval) {\n\t\tthis.#observer = setTimeout(async () => {\n\t\t\tconst start = performance.now();\n\t\t\tconst result = await this.Publish();\n\t\t\tconst diff = performance.now() - start;\n\t\t\tif (this.#publishState === 1) {\n\t\t\t\tif (result === true) this.#PublishTimeoutLoop(this.options.publishInterval - diff);\n\t\t\t\telse this.#PublishTimeoutLoop(this.options.publishPostFailInterval - diff);\n\t\t\t}\n\t\t}, publishInterval);\n\t\tif (isNode) this.#observer.unref();\n\t}\n\tasync StartPublish() {\n\t\tif (this.#publishState !== 0) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`StartPublish:${this.options.processContext.nid}: StartPublish called when not currently in the init state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(1, \"StartPublish()\");\n\t\tthis.#PublishTimeoutLoop(this.options.publishInterval);\n\t\treturn true;\n\t}\n\t#UpdateState(newState, comment) {\n\t\tconst previousState = this.#publishState;\n\t\tthis.#publishState = newState;\n\t\tthis.options.logger.debug(chalk.yellow(`#UpdateState:${this.options.processContext.nid}: Previous State: [${previousState}]. Current State: [${this.#publishState}]. Comment: [${comment}]`));\n\t}\n\tasync EndPublish() {\n\t\tif (this.#publishState !== 1) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`EndPublish:${this.options.processContext.nid}: EndPublish called when not within the started state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(2, \"EndPublish() (1)\");\n\t\tif (this.#observer !== null) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tawait this.Publish();\n\t\t}\n\t\tif (this.#publisherTransport) await this.#publisherTransport.Close();\n\t\tthis.#UpdateState(0, \"EndPublish() (2)\");\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstrumentController.ts\nvar ePublishState = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstrumentController = class PublishInstrumentController {\n\toptions;\n\t#instruments = {};\n\t#publisher = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.SetupInstrumentation();\n\t\tconst publishInstrumentsOptions = {\n\t\t\tlogger: options.logger,\n\t\t\tprocessContext: { ...options.processContext },\n\t\t\tpublishInterval: options.publishInterval,\n\t\t\tpublishPostFailInterval: options.publishPostFailInterval,\n\t\t\tpublishInstrumentController: this,\n\t\t\tpublishTransportBaseOptions: { ...options.publishTransportBaseOptions }\n\t\t};\n\t\tthis.#publisher = new PublishInstruments(publishInstrumentsOptions);\n\t\tif (this.options.autoStart === true) this.StartPublish();\n\t}\n\tStopInstruments = () => {\n\t\tStopInstruments(this.#instruments);\n\t};\n\tasync StartPublish() {\n\t\treturn this.#publisher.StartPublish();\n\t}\n\tasync EndPublish() {\n\t\treturn this.#publisher.EndPublish();\n\t}\n\tasync Publish() {\n\t\treturn this.#publisher.Publish();\n\t}\n\tLogEx = (message) => {\n\t\tthis.UpdateInstrument(Gauge.LOGGER, { LogMessage: message });\n\t};\n\t#GetInstrument(instrumentName) {\n\t\treturn this.#instruments[instrumentName];\n\t}\n\t#ProcessTelemetryCommand(instrumentName, telemetry) {\n\t\tconst instrument = this.#GetInstrument(instrumentName);\n\t\tif (instrument) instrument.ProcessTelemetry(telemetry);\n\t}\n\t#CreateInstrument(instrumentType, options) {\n\t\tlet instrument;\n\t\tswitch (instrumentType) {\n\t\t\tcase GaugeTypes.INSTRUMENT_GAUGE:\n\t\t\t\tinstrument = new InstrumentGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_HISTOGRAM:\n\t\t\t\tinstrument = new InstrumentHistogram(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_LOG:\n\t\t\t\tinstrument = new InstrumentLog(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_OBJECT:\n\t\t\t\tinstrument = new InstrumentObject(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_TIMER:\n\t\t\t\tinstrument = new InstrumentTimerGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_VELOCITY:\n\t\t\t\tinstrument = new InstrumentVelocity(options);\n\t\t\t\tbreak;\n\t\t\tdefault: throw new Error(`Gauge type: [${instrumentType} not known.]`);\n\t\t}\n\t\treturn instrument;\n\t}\n\t#CreateInstruments(payload) {\n\t\tpayload.forEach((instrumentDefinition) => {\n\t\t\tconst g = instrumentDefinition[0];\n\t\t\tconst gt = instrumentDefinition[1];\n\t\t\tconst instrumentBaseOptions = instrumentDefinition[2];\n\t\t\tconst instrument = this.#CreateInstrument(gt, instrumentBaseOptions);\n\t\t\tthis.#instruments[g] = instrument;\n\t\t});\n\t}\n\tGetPayloadData() {\n\t\tconst context = this.options.processContext;\n\t\tconst instruments = this.#instruments;\n\t\tconst payloadInstruments = {};\n\t\tfor (const [key, value] of Object.entries(instruments)) if (value instanceof InstrumentLog) payloadInstruments[key] = { ...value.WithUseLatestMessages(true) };\n\t\telse payloadInstruments[key] = { ...value };\n\t\treturn {\n\t\t\tcontext,\n\t\t\tinstruments: payloadInstruments\n\t\t};\n\t}\n\tSetupInstrumentation() {\n\t\tif (!this.options.instrumentDefinitions) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation:${this.options.processContext.nid}: No instrument(s) defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tif (!this.options.processContext) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation: No context defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tthis.#CreateInstruments(this.options.instrumentDefinitions);\n\t}\n\t/**\n\t* Check if an instrument exists within the managed instrument collection\n\t* @param instrumentName\n\t* @returns\n\t*/\n\tInstrumentExists(instrumentName) {\n\t\tif (this.#instruments[instrumentName]) return true;\n\t\treturn false;\n\t}\n\t/**\n\t* Update instrument telemetry.\n\t* @param instrumentName\n\t* @param telemetry\n\t*/\n\tUpdateInstrument(instrumentName, telemetry) {\n\t\tif (this.#instruments[instrumentName]) this.#ProcessTelemetryCommand(instrumentName, telemetry);\n\t\telse this.options.logger.debug(chalk.red(`UpdateInstrument:${this.options.processContext.nid}: Attempted to UpdateInstrument before initialised.`));\n\t}\n\t/**\n\t* Add additional instrument publishers. Usually invoked when adding workers to the app and/or async runners within a worker.\n\t* @param processContext\n\t* @returns Returns the newly created PublishInstrumentController\n\t*/\n\tAddPublishInstrumentController(processContext) {\n\t\tconst options = { ...this.options };\n\t\toptions.processContext = processContext;\n\t\treturn new PublishInstrumentController(options);\n\t}\n};\n//#endregion\n//#region src/publish/stsPluginKeys.ts\nvar STSInstrumentControllerPluginKey = Symbol(\"STSInstrumentControllerPlugin\");\n//#endregion\n//#region src/publish/stsInstrumentControllerPlugin.ts\nvar STSInstrumentControllerPlugin = { install: (app, options) => {\n\tapp.provide(STSInstrumentControllerPluginKey, new PublishInstrumentController(options));\n} };\n//#endregion\n//#region src/globalServiceDefinitions.ts\nvar influxDBDataType = /* @__PURE__ */ function(influxDBDataType) {\n\tinfluxDBDataType[\"intField\"] = \"intField\";\n\tinfluxDBDataType[\"floatField\"] = \"floatField\";\n\tinfluxDBDataType[\"stringField\"] = \"stringField\";\n\treturn influxDBDataType;\n}({});\nvar instrumentationObservationInterval = 1e3;\nvar instrumentationTimeWindow = 600;\nvar globalServiceDefinitions = {\n\tcoreFieldList: [\n\t\t{\n\t\t\tfieldName: \"requestCount\",\n\t\t\tgauge: Gauge.REQUEST_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"errorCount\",\n\t\t\tgauge: Gauge.ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"retryCount\",\n\t\t\tgauge: Gauge.RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationErrorCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationRetryCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"velocity\",\n\t\t\tgauge: Gauge.VELOCITY_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"activeRequestCount\",\n\t\t\tgauge: Gauge.ACTIVE_REQUEST_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfieldName: \"coreCount\",\n\t\t\tgauge: Gauge.CORE_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"intField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"rx\",\n\t\t\tgauge: Gauge.NETWORK_RX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"tx\",\n\t\t\tgauge: Gauge.NETWORK_TX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"timer\",\n\t\t\tgauge: Gauge.TIMER_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_TIMER\n\t\t},\n\t\t{\n\t\t\tfieldName: \"duration\",\n\t\t\tgauge: Gauge.DURATION_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.DURATION_HISTOGRAM_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"latency\",\n\t\t\tgauge: Gauge.LATENCY_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.LATENCY_HISTOGRAM_GAUGE\n\t\t}\n\t],\n\tlogFieldList: [{\n\t\tfieldName: \"log\",\n\t\tgauge: Gauge.LOGGER,\n\t\tinstrumentProperty: \"val\",\n\t\tdataType: \"string\",\n\t\ttimeSeriesIndex: false,\n\t\tquantile: false,\n\t\tinfluxdbDataType: \"stringField\",\n\t\tgaugeType: GaugeTypes.INSTRUMENT_LOG,\n\t\tinstrumentOptions: {\n\t\t\tconsoleLogging: false,\n\t\t\tinstrumentLogging: true\n\t\t}\n\t}],\n\tservices: {\n\t\t[\"service\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"serviceId\",\n\t\t\t\t\"serviceName\",\n\t\t\t\t\"serviceVersion\",\n\t\t\t\t\"serviceInstanceId\",\n\t\t\t\t\"serviceInstanceProcessId\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"pid\",\n\t\t\t\t\"ppid\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:serviceIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/serviceTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:serviceIndexInstant\",\n\t\t\t\tinstantPrefix: \"/serviceInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: \"stringField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT,\n\t\t\t\t\tinstrumentOptions: { label: \"InstrumentObjectMaster\" }\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { serviceId, serviceInstanceId, serviceInstanceProcessId } = context;\n\t\t\t\treturn `/${serviceId}/${serviceInstanceId}/${serviceInstanceProcessId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllServicesCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Services,\n\t\t\t\t\troute: \"/metrics/services\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstances,\n\t\t\t\t\troute: \"/metrics/services/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstance,\n\t\t\t\t\troute: \"/metrics/services/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"agent\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"id\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"agentName\",\n\t\t\t\t\"threadId\",\n\t\t\t\t\"asyncRunnerId\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:agentIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/agentTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:agentIndexInstant\",\n\t\t\t\tinstantPrefix: \"/agentInstant:\"\n\t\t\t},\n\t\t\tfieldList: [{\n\t\t\t\tfieldName: \"childCount\",\n\t\t\t\tgauge: Gauge.CHILD_COUNT,\n\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\tdataType: \"number\",\n\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t}],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { agentName, threadId, asyncRunnerId } = context;\n\t\t\t\treturn `/${agentName}/${threadId}/${asyncRunnerId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllAgentsCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Agents,\n\t\t\t\t\troute: \"/metrics/agents\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorkers,\n\t\t\t\t\troute: \"/metrics/agents/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorker,\n\t\t\t\t\troute: \"/metrics/agents/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"lambda\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"technology\",\n\t\t\t\t\"subTechnology\",\n\t\t\t\t\"lambdaFunctionName\",\n\t\t\t\t\"lambdaInstance\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"processId\",\n\t\t\t\t\"parentProcessId\",\n\t\t\t\t\"useCase\",\n\t\t\t\t\"pattern\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:lambdaIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/lambdaTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:lambdaIndexInstant\",\n\t\t\t\tinstantPrefix: \"/lambdaInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: \"intField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: \"floatField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: \"stringField\",\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { technology, subTechnology, lambdaInstance } = context;\n\t\t\t\treturn `/${technology}/${subTechnology}/${lambdaInstance}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"technology\",\n\t\t\t\tlevel3ContextField: \"subTechnology\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllLambdasCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologiesInstance,\n\t\t\t\t\troute: \"/metrics/lambdas/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n};\nvar GetInstruments = (service) => {\n\tconst fieldList = [\n\t\t...globalServiceDefinitions.coreFieldList,\n\t\t...globalServiceDefinitions.logFieldList,\n\t\t...globalServiceDefinitions.services[service].fieldList\n\t];\n\tconst retVal = [];\n\tfieldList.forEach((v) => {\n\t\tif (v.instrumentOptions) retVal.push([\n\t\t\tv.gauge,\n\t\t\tv.gaugeType,\n\t\t\tv.instrumentOptions\n\t\t]);\n\t\telse retVal.push([v.gauge, v.gaugeType]);\n\t\tif (v.histo) retVal.push([v.histoGauge, GaugeTypes.INSTRUMENT_HISTOGRAM]);\n\t});\n\treturn retVal;\n};\n//#endregion\n//#region src/subscribe/observabilitymodelutils.ts\nvar ObservabilityModelUtils = class ObservabilityModelUtils {\n\tstatic GetModelNode(data) {\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize)\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeRawStringArray(data) {\n\t\ttry {\n\t\t\treturn { val: data };\n\t\t} catch (error) {\n\t\t\treturn { val: [] };\n\t\t}\n\t}\n\tstatic GetModelNodeObject(data) {\n\t\ttry {\n\t\t\treturn { val: JSON.parse(data) };\n\t\t} catch (error) {\n\t\t\treturn { val: null };\n\t\t}\n\t}\n\tstatic GetModelNodeWithQuantile(data, quantileData) {\n\t\tlet quantile = \"\";\n\t\tconst quantileDataElementArray = [];\n\t\tfor (const [key, val] of Object.entries(quantileData)) {\n\t\t\tquantile += parseFloat(val.toFixed(2)).toString().padStart(8, \" \");\n\t\t\tquantileDataElementArray.push([key, val]);\n\t\t}\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize),\n\t\t\t\tpercentile: quantileDataElementArray,\n\t\t\t\tpercentileFormatted: quantile\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\",\n\t\t\t\tpercentile: [],\n\t\t\t\tpercentileFormatted: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeHistFromInfluxData(data) {\n\t\ttry {\n\t\t\tconst histVal = [];\n\t\t\tif (data) for (const [key, val] of Object.entries(data)) {\n\t\t\t\tconst dataElement = [\n\t\t\t\t\tval,\n\t\t\t\t\tkey,\n\t\t\t\t\tparseInt(key)\n\t\t\t\t];\n\t\t\t\thistVal.push(dataElement);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\treturn { hist: histVal };\n\t\t\t} catch (error) {\n\t\t\t\treturn { hist: [] };\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn { hist: [] };\n\t\t}\n\t}\n\tstatic ParseModelNode = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNode(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNode(): Field not present: [${fieldName}], default to [0]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNode(0);\n\t\t}\n\t};\n\tstatic ParseModelNodeWithQuantile = (model, data, parseLog, gaugeName, fieldName, quantileFieldName) => {\n\t\tif (fieldName in data && quantileFieldName in data) model.instruments[gaugeName] = this.GetModelNodeWithQuantile(data[fieldName], data[quantileFieldName]);\n\t\telse if (fieldName in data) {\n\t\t\tconst dataVal = data[fieldName];\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): QuantileFieldName not present: [${quantileFieldName}], default to [${dataVal},{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(dataVal, {});\n\t\t} else {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): Field not present: [${fieldName}], QuantileFieldName not present: [${quantileFieldName}], default to [0,{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(0, {});\n\t\t}\n\t};\n\tstatic ParseModelNodeHisto = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeHisto(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData({});\n\t\t}\n\t};\n\tstatic ParseModelNodeObject = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeObject(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeObject(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeObject({});\n\t\t}\n\t};\n\tstatic GetModelData(serviceType, model, data, parseLog) {\n\t\t[...globalServiceDefinitions.coreFieldList, ...globalServiceDefinitions.services[serviceType].fieldList].forEach((field) => {\n\t\t\tif (field.quantile) ObservabilityModelUtils.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);\n\t\t\telse if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\telse ObservabilityModelUtils.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\tif (field.histo) ObservabilityModelUtils.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);\n\t\t});\n\t}\n\tstatic GetModelForService(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"service\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForLambda(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"lambda\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForAgent(id, data, logger) {\n\t\ttry {\n\t\t\tif (Object.keys(data).length === 0) return null;\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"agent\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/observabilityPayloadTransformer.ts\nvar runStates = /* @__PURE__ */ function(runStates) {\n\trunStates[\"idle\"] = \"idle\";\n\trunStates[\"started\"] = \"started\";\n\trunStates[\"stopped\"] = \"stopped\";\n\treturn runStates;\n}({});\nvar ObservabilityPayloadTransformer = class {\n\t#serviceModel = {};\n\t#agentModel = {};\n\t#lambdaModel = {};\n\t#options;\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\tget serviceModel() {\n\t\treturn this.#serviceModel;\n\t}\n\tget agentModel() {\n\t\treturn this.#agentModel;\n\t}\n\tget lambdaModel() {\n\t\treturn this.#lambdaModel;\n\t}\n\tTransformSubscriptionPayloadCallback(subscriptionPayload) {\n\t\tswitch (subscriptionPayload.subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\tthis.CreateModelAllServicesCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\tthis.CreateModelServices(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances:\n\t\t\t\tthis.CreateModelServiceInstances(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\tthis.CreateModelServiceInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\tthis.CreateModelAllLambdasCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\tthis.CreateModelLambdaTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies:\n\t\t\t\tthis.CreateModelLambdaSubTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\tthis.CreateModelLambdaSubTechnologiesInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\tthis.CreateModelAllAgentsCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\tthis.CreateModelAgents(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers:\n\t\t\t\tthis.CreateModelAgentWorkers(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorker: this.CreateModelAgentWorker(subscriptionPayload);\n\t\t}\n\t}\n\tCreateModelAllServicesCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined.toString()) === 0) {\n\t\t\t\tthis.#serviceModel[\"STS-Service\"] = ObservabilityModelUtils.GetModelForService(\"STS-Service\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[\"STS-Service\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllServicesCombined():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServices(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, serviceTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#serviceModel[serviceId] = ObservabilityModelUtils.GetModelForService(serviceId, serviceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceId] === null) this.#LogDebugMessage(chalk.red(`CreateModelServices():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstances(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstanceTelemetry] of Object.entries(service)) if (serviceInstanceTelemetry.cpu && serviceInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceId] = ObservabilityModelUtils.GetModelForService(serviceInstanceId, serviceInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceId] !== null) this.#serviceModel[serviceInstanceId].options = { serviceId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstances():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstance] of Object.entries(service)) for (const [serviceInstanceProcessId, serviceInstanceProcessTelemetry] of Object.entries(serviceInstance)) if (serviceInstanceProcessTelemetry.cpu && serviceInstanceProcessTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceProcessId] = ObservabilityModelUtils.GetModelForService(serviceInstanceProcessId, serviceInstanceProcessTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceProcessId] !== null) this.#serviceModel[serviceInstanceProcessId].options = {\n\t\t\t\t\tserviceId,\n\t\t\t\t\tserviceInstanceId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstance():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAllAgentsCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined.toString()) === 0) {\n\t\t\t\tif (Object.keys(subscriptionPayload.data).length !== 0) {\n\t\t\t\t\tthis.#agentModel[\"STS-Agent\"] = ObservabilityModelUtils.GetModelForAgent(\"STS-Agent\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\t\tif (this.#agentModel[\"STS-Agent\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllAgentsCombined():Error: GetModelForAgent() returned null`));\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAgents(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentInstanceTelemetry] of Object.entries(subscriptionPayload.data)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tthis.#agentModel[agentId] = ObservabilityModelUtils.GetModelForAgent(agentId, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[agentId] !== null) {} else this.#LogDebugMessage(chalk.red(`CreateModelAgents():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgent:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorkers(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, agentInstanceTelemetry] of Object.entries(agentWorker)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tconst threadKey = `${agentWorkerId}`;\n\t\t\t\tthis.#agentModel[threadKey] = ObservabilityModelUtils.GetModelForAgent(threadKey, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[threadKey] !== null) {\n\t\t\t\t\tconst coreCount = this.#agentModel[threadKey].instruments[Gauge.CORE_COUNT_GAUGE].val;\n\t\t\t\t\tthis.#agentModel[threadKey].canNavigate = coreCount > 0;\n\t\t\t\t\tthis.#agentModel[threadKey].options = { agentId };\n\t\t\t\t} else this.#LogDebugMessage(chalk.red(`CreateModelAgentWorkers():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThreads:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorker(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, asyncRunnerData] of Object.entries(agentWorker)) for (const [asyncRunnerId, agentInstanceTelemetry] of Object.entries(asyncRunnerData)) if (agentInstanceTelemetry.timer) this.#agentModel[asyncRunnerId] = ObservabilityModelUtils.GetModelForAgent(asyncRunnerId, agentInstanceTelemetry, this.#options.logger);\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThread:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAllLambdasCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined.toString()) === 0) {\n\t\t\t\tthis.#lambdaModel[\"STS-Lambda\"] = ObservabilityModelUtils.GetModelForLambda(\"STS-Lambda\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[\"STS-Lambda\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllLambdasCombined():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#lambdaModel[technologyId] = ObservabilityModelUtils.GetModelForLambda(technologyId, technologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[technologyId] === null) this.#LogDebugMessage(chalk.red(`CreateModelLambdaTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) if (subTechnologyTelemetry.cpu && subTechnologyTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyId, subTechnologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyId] !== null) this.#lambdaModel[subTechnologyId].options = { technologyId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologiesInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) for (const [subTechnologyInstanceId, subTechnologyInstanceTelemetry] of Object.entries(subTechnologyTelemetry)) if (subTechnologyInstanceTelemetry.cpu && subTechnologyInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyInstanceId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyInstanceId, subTechnologyInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyInstanceId] !== null) this.#lambdaModel[subTechnologyInstanceId].options = {\n\t\t\t\t\ttechnologyId,\n\t\t\t\t\tsubTechnologyId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologiesInstance():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/restClientSubscriber.ts\nvar RESTClientSubscriber = class {\n\t#socketSubscribeKeepAlive = {};\n\t#options;\n\tKeepAliveAckBoundFunction;\n\t#currentSubscriptions = [];\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tasync Subscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\ttry {\n\t\t\t\tthis.#AddKeepAlive(subId);\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t});\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): UpdateModelCursor()`));\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tasync #InvokeRESTAPI(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tconst { subscriptionKey } = subscription;\n\t\tlet url = \"\";\n\t\tswitch (subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\turl = `/metrics/services`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/services/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\turl = `/metrics/lambdas`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\turl = `/metrics/agents`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AgentWorker: if (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key and/or subkey not provided for subscription: [${JSON.stringify(subscriptionKey.topic)}]`);\n\t\t}\n\t\tif (url.localeCompare(\"\") !== 0) {\n\t\t\tconst endPointUrl = `${this.#options.urlBase}${url}`;\n\t\t\tlet retVal;\n\t\t\tconst start = performance.now();\n\t\t\ttry {\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): axios call: endPointUrl: [${endPointUrl}]`));\n\t\t\t\tif (isNode && this.#options.agentManager) retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().withAgentManager(this.#options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().config);\n\t\t\t\tif (retVal) {\n\t\t\t\t\tif (retVal.data) {} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal.data`));\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal`));\n\t\t\t\tperformance.now() - start;\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined) === 0) return retVal.data[\"services\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined) === 0) return retVal.data[\"agents\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined) === 0) return retVal.data[\"lambdas\"];\n\t\t\t\treturn retVal.data;\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}], Error: [${error}]`));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else return null;\n\t}\n\t#GetData = async (subscription) => {\n\t\ttry {\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\tconst retVal = await this.#InvokeRESTAPI(subscription);\n\t\t\tif (retVal) {\n\t\t\t\tconst payload = {\n\t\t\t\t\tsubscriptionKey: subscription.subscriptionKey,\n\t\t\t\t\tdata: retVal\n\t\t\t\t};\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\t\tsubscription.cb(payload);\n\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): No data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t}\n\t};\n\t#SetupTimeout(socketSubscribeKeepAlive, subscription, timeout) {\n\t\treturn setTimeout(async () => {\n\t\t\ttry {\n\t\t\t\tconst start = performance.now();\n\t\t\t\tawait this.#GetData(subscription);\n\t\t\t\tif (socketSubscribeKeepAlive.timeout) {\n\t\t\t\t\tconst diff = performance.now() - start;\n\t\t\t\t\tlet timeoutDuration = (this.#options.keepAlive ?? 1e3) - diff;\n\t\t\t\t\tif (timeoutDuration < 500) timeoutDuration = 500;\n\t\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`Total duration for subscription: [${diff}], waiting: [${timeoutDuration}]`));\n\t\t\t\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, timeoutDuration);\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber: Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t\t}\n\t\t}, timeout);\n\t}\n\t#AddKeepAlive(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#RemoveKeepAlive(subscription);\n\t\tconst socketSubscribeKeepAlive = { id: subscription.subscriptionKey.id };\n\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, this.#options.keepAlive ?? 1e3);\n\t\tthis.#socketSubscribeKeepAlive[subscription.subscriptionKey.id] = socketSubscribeKeepAlive;\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): Getting Data: subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#GetData(subscription);\n\t}\n\t#RemoveKeepAlive(subscription) {\n\t\tif (this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id]) {\n\t\t\tthis.#LogDebugMessage(chalk.gray(`RESTClientSubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\t\tclearTimeout(this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout);\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout;\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id];\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/socketClientSubscriber.ts\nvar SOCKET_NAMESPACE$1 = \"stsinstrumentmanager/stsmonitor\";\nvar SocketClientSubscriber = class extends SocketIoClient {\n\t#options;\n\t#id;\n\t#currentSubscriptions = [];\n\tsubscriptions = {};\n\tconstructor(options) {\n\t\tsuper(\"STSVueTilsTester\");\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.#options = options;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}/${SOCKET_NAMESPACE$1}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger ?? defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\tif (this.#options) return `stsimclient:ObservabilitySubscriberManager[${this.#options.consumeInstrumentationMode}]:`;\n\t\telse return `stsimclient:ObservabilitySubscriberManager:`;\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"subscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:Subscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tthis.subscriptions[subId.subscriptionKey.id] = subId;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"unsubscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:UnSubscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tdelete this.subscriptions[subId.subscriptionKey.id];\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}]`));\n\t\tthis.UpdateModelCursor(this.#currentSubscriptions);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t\tif (this.socket) this.socket.on(\"subscriptionData\", (data, cb) => {\n\t\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): on subscriptionData(): Socket ID: [${socket.id}]`));\n\t\t\tconst subId = data.subscriptionKey.id;\n\t\t\tconst currentSubscriptions = Object.keys(this.subscriptions).toString();\n\t\t\tif (this.subscriptions[subId]) {\n\t\t\t\tthis.subscriptions[subId].cb(data);\n\t\t\t\tcb(`stsuxvue:subscriptionData Response: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t\t} else cb(`stsuxvue:subscriptionData Response: No subscription found in subscriptions: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t});\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/socketBrowserClientLogPublisher.ts\nvar SOCKET_NAMESPACE = \"stsinstrumentmanager/stsmonitor\";\nvar SocketBrowserClientLogPublisher = class extends SocketIoClient {\n\t#id;\n\t#options;\n\tconstructor(options) {\n\t\tsuper(\"stsinstrumentmanagerclient:SocketBrowserClientLogPublisher\");\n\t\tthis.#options = options;\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.imendpoint}:${this.#options.import}/${SOCKET_NAMESPACE}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\treturn `stsinstrumentmanagerclient:SocketBrowserClientLogPublisher:`;\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}], Joining Room: [${this.#options.rooms}]`));\n\t\tsocket.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/stsLoggerSocket.ts\nvar STSLoggerSocket = class {\n\t#options;\n\t#socketIoClient;\n\tconstructor(opts) {\n\t\tthis.#options = opts;\n\t\tthis.#socketIoClient = new SocketBrowserClientLogPublisher({\n\t\t\tlogger: this,\n\t\t\trooms: this.#options.rooms,\n\t\t\timendpoint: this.#options.imendpoint,\n\t\t\timport: this.#options.import\n\t\t});\n\t}\n\tJoinRoom = () => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t};\n\terror = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"error\",\n\t\t\tmessage\n\t\t});\n\t};\n\twarn = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"warn\",\n\t\t\tmessage\n\t\t});\n\t};\n\tinfo = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"info\",\n\t\t\tmessage\n\t\t});\n\t};\n\thttp = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"http\",\n\t\t\tmessage\n\t\t});\n\t};\n\tverbose = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"verbose\",\n\t\t\tmessage\n\t\t});\n\t};\n\tdebug = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"debug\",\n\t\t\tmessage\n\t\t});\n\t};\n\tsilly = (message) => {\n\t\tthis.#log({\n\t\t\tlevel: \"silly\",\n\t\t\tmessage\n\t\t});\n\t};\n\t#log = (info) => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSsendToRoom\", this.#options.rooms, {\n\t\t\tcommand: \"logmessage\",\n\t\t\tpayload: {\n\t\t\t\tlevel: info.level,\n\t\t\t\tmessage: info.message,\n\t\t\t\tdateTime: Date.now()\n\t\t\t}\n\t\t});\n\t};\n};\n//#endregion\nexport { GetInstruments, GetSocketIOSubscriptionKey, GetTransportMode, InstrumentPayloadType, KAFKA_PREFIX, ObservabilityPayloadTransformer, PublishInstrumentController, PublishTransportRESTServer, RESTClientSubscriber, RequestLoggerMiddleware, RequestLoggerMiddlewareEventName, STSInstrumentControllerPlugin, STSInstrumentControllerPluginKey, STSLoggerSocket, SocketBrowserClientLogPublisher, SocketClientSubscriber, SubscriptionTopic, TransportType, ePublishState, globalServiceDefinitions, influxDBDataType, runStates };\n\n//# sourceMappingURL=index.mjs.map","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"ma-4 mr-0 pa-2\"\n border\n :elevation=\"2\"\n >\n UXModelNavigator - Path: {{ navigationPath }}\n <v-row no-gutters>\n <v-col>\n <v-tabs v-model=\"tab\" background-color=\"primary\">\n <v-tab value=\"summary\"> Summary </v-tab>\n <v-tab value=\"detailed\"> Detailed </v-tab>\n </v-tabs>\n <v-window v-model=\"tab\">\n <v-window-item value=\"summary\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"true\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n <v-window-item value=\"detailed\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"false\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n </v-window>\n </v-col>\n </v-row>\n <div class=\"d-flex flex-wrap justify-space-between\">\n <v-btn color=\"secondary\" class=\"ma-1\" @click=\"TopLevel\">\n Top Level<v-icon end icon=\"fa-regular fa-house\" />\n </v-btn>\n <v-btn\n class=\"ma-1\"\n color=\"secondary\"\n :disabled=\"BackDisabled\"\n @click=\"GoBack\"\n >\n Go Back<v-icon end icon=\"fa-solid fa-backward-step\" />\n </v-btn>\n </div>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport {\n ref,\n computed,\n reactive,\n onMounted,\n onBeforeUnmount,\n toRaw,\n} from \"vue\";\n\nimport { ModelStore, _estate } from \"./../stores/modelStore.js\";\n\nimport UXModelNode from \"./UXModelNode.vue\";\n\nimport {\n ObservabilityPayloadTransformer,\n IObservabilityPayloadTransformerOptions,\n SubscriptionTopic,\n type ISubscriptionPayload,\n type ISubscriptions,\n type ISubscription,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport { IObservabilitySubscriberManagerOptions } from \"./../commonTypes.js\";\n\nimport { defaultLogger, Sleep } from \"@nsshunt/stsutils\";\n\nimport {\n SocketClientSubscriber,\n RESTClientSubscriber,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nlet subscriptionOptions: IObservabilitySubscriberManagerOptions;\n\nconst props = defineProps<{\n modelId: string;\n}>();\n\nconsole.debug(`UXModelNavigator(): ModelStore`);\nconst store = ModelStore();\n\nlet observabilityPayloadTransformer: ObservabilityPayloadTransformer =\n new ObservabilityPayloadTransformer({\n logger: defaultLogger,\n maxLogLength: 200,\n });\n\nlet metricsSubscriber:\n | SocketClientSubscriber\n | RESTClientSubscriber\n | undefined;\n\nconst baseColour = chalk.hex(\"#57A1A8\");\n\nconst LogDebug = (message: any) => {\n defaultLogger.debug(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogError = (message: any) => {\n defaultLogger.error(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogWarning = (message: any) => {\n defaultLogger.warn(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst TransformSubscriptionPayloadCallback = (\n subscriptionPayload: ISubscriptionPayload\n): void => {\n try {\n observabilityPayloadTransformer.TransformSubscriptionPayloadCallback(\n subscriptionPayload\n );\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllAgentsCombined\n ) === 0\n ) {\n const agentModel = observabilityPayloadTransformer.agentModel;\n store.UpdateAgentModel(\n props.modelId,\n agentModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllServicesCombined\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.Services\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstances\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstance\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n } catch (error) {\n LogError(\n `TransformSubscriptionPayloadCallback(): #modelId: [${props.modelId}], Error: [${error}]`\n );\n }\n};\n\n// Note: Every call to this function will yield a new id\nconst GetRootLevelSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllServicesCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllAgentsCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServicesSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.Services,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstancesSubscriptions = (serviceId: string) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstances,\n key: serviceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstanceSubscriptions = (\n serviceId: string,\n serviceInstanceId: string\n) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstance,\n key: serviceId,\n subkey: serviceInstanceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\ninterface INavigationSubscriptions {\n subscriptionHistoryStack: ISubscriptions[];\n currentSubscriptions: ISubscriptions | null;\n}\n\nlet navigationSubscriptions: INavigationSubscriptions = {\n subscriptionHistoryStack: [],\n currentSubscriptions: null,\n};\n\nlet reactiveNavigationSubscriptions: INavigationSubscriptions = reactive(\n navigationSubscriptions\n);\n\nconst getPathString = (sub: ISubscription): string => {\n if (sub.subscriptionKey.key && sub.subscriptionKey.subkey) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}/${sub.subscriptionKey.subkey}]`;\n }\n if (sub.subscriptionKey.key) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}]`;\n }\n return `${sub.subscriptionKey.topic}`;\n};\nconst navigationPath = computed(() => {\n let pathString = \"\";\n let sep = \"\";\n reactiveNavigationSubscriptions.subscriptionHistoryStack.forEach((s) => {\n pathString += sep + getPathString(s[0]);\n sep = \"/\";\n });\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n return (\n pathString +\n sep +\n getPathString(\n reactiveNavigationSubscriptions.currentSubscriptions[0]\n )\n );\n }\n return pathString;\n});\n\nconst BackDisabled = computed(() => {\n return reactiveNavigationSubscriptions.subscriptionHistoryStack.length < 1;\n});\n\nconst modelNode = reactive({\n node: {},\n});\n\nconst modelPos = computed({\n get: () => modelNode.node,\n set: (val) => {\n modelNode.node = val;\n },\n});\n\nconst clicked = function (id: any) {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].serviceModelSubscriptionKey) {\n switch (\n store._models[props.modelId].serviceModelSubscriptionKey?.topic\n ) {\n case SubscriptionTopic.AllServicesCombined:\n navigate(GetServicesSubscriptions());\n break;\n case SubscriptionTopic.Services:\n navigate(GetServiceInstancesSubscriptions(id));\n break;\n case SubscriptionTopic.ServiceInstances:\n navigate(\n GetServiceInstanceSubscriptions(\n store._models[props.modelId]\n .serviceModelSubscriptionKey?.key as string,\n id\n )\n );\n break;\n }\n }\n }\n};\n\nconst UpdateModelCursor = () => {\n const subscriptions: ISubscriptions | null =\n reactiveNavigationSubscriptions.currentSubscriptions;\n if (metricsSubscriber && subscriptions) {\n metricsSubscriber.UpdateModelCursor(subscriptions);\n }\n};\n\nconst navigate = function (subscriptions: ISubscriptions) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n reactiveNavigationSubscriptions.subscriptionHistoryStack.push(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n } else {\n LogWarning(`navigate: obj.currentSubscriptions not defined`);\n }\n reactiveNavigationSubscriptions.currentSubscriptions = subscriptions;\n LogDebug(\n `navigate: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(subscriptions)})`\n );\n UpdateModelCursor();\n};\n\nconst GoBack = function () {\n if (reactiveNavigationSubscriptions.subscriptionHistoryStack.length > 0) {\n let key =\n reactiveNavigationSubscriptions.subscriptionHistoryStack.pop();\n if (key) {\n reactiveNavigationSubscriptions.currentSubscriptions = key;\n LogDebug(\n `GoBack: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n } else {\n LogDebug(`GoBack: subscriptions key not defined`);\n }\n } else {\n LogDebug(`GoBack: subscriptions empty`);\n }\n};\n\nconst TopLevel = function () {\n reactiveNavigationSubscriptions.subscriptionHistoryStack = [];\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `TopLevel: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n};\n\nonMounted(() => {\n LogDebug(`onMounted()`);\n});\n\nonBeforeUnmount(() => {\n LogDebug(`onBeforeUnmount()`);\n Stop();\n});\n\nlet tab = ref(null);\n\nconst Stop = async () => {\n LogDebug(`Stop()`);\n store.UpdateSate(props.modelId, _estate.STOPPING);\n\n if (metricsSubscriber) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n metricsSubscriber.UnSubscribe(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n await Sleep(250); // Given some time for the server to cleanly unsubscribe ...\n }\n if (\n metricsSubscriber &&\n subscriptionOptions.consumeInstrumentationMode === \"PROXY\"\n ) {\n const socketClientSubscriber: SocketClientSubscriber =\n metricsSubscriber as SocketClientSubscriber;\n if (socketClientSubscriber.socket) {\n socketClientSubscriber.socket.disconnect();\n }\n }\n metricsSubscriber = undefined;\n }\n store.UpdateSate(props.modelId, _estate.IDLE);\n};\n\nconst Start = async (options: IObservabilitySubscriberManagerOptions) => {\n LogDebug(`Start()`);\n store.UpdateSate(props.modelId, _estate.STARTING);\n subscriptionOptions = options;\n LogDebug(`Start(): Options: [${JSON.stringify(subscriptionOptions)}]`);\n if (options.consumeInstrumentationMode === \"PROXY\") {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new SocketClientSubscriber({\n instrumentManagerEndpoint: options.instrumentManagerEndpoint,\n instrumentManagerPort: options.instrumentManagerPort,\n consumeInstrumentationMode: options.consumeInstrumentationMode,\n instrumentManagerAPIRoot: options.instrumentManagerAPIRoot,\n modelId: options.modelId,\n });\n } else {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new RESTClientSubscriber({\n urlBase: `${options.instrumentManagerEndpoint}:${options.instrumentManagerPort}${options.instrumentManagerAPIRoot}`,\n logger: defaultLogger,\n keepAlive: 1000,\n });\n }\n\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `Start(): observabilitySubscriberManager().UpdateModelCursor(): Mode: [${options.consumeInstrumentationMode}] rootLevelSubscriptions: [(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)}]`\n );\n UpdateModelCursor();\n\n store.UpdateSate(props.modelId, _estate.STARTED);\n};\n\ndefineExpose({\n Start,\n Stop,\n});\n</script>\n\n<style>\n.brown {\n background-color: brown;\n}\n</style>\n","<template>\n <v-sheet\n theme=\"light\"\n rounded=\"lg\"\n class=\"ma-4 mr-0 pa-2\"\n border\n :elevation=\"2\"\n >\n UXModelNavigator - Path: {{ navigationPath }}\n <v-row no-gutters>\n <v-col>\n <v-tabs v-model=\"tab\" background-color=\"primary\">\n <v-tab value=\"summary\"> Summary </v-tab>\n <v-tab value=\"detailed\"> Detailed </v-tab>\n </v-tabs>\n <v-window v-model=\"tab\">\n <v-window-item value=\"summary\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"true\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n <v-window-item value=\"detailed\">\n <UXModelNode\n :model-id=\"props.modelId\"\n :nodeid=\"'_'\"\n :small-mode=\"false\"\n @myclick=\"clicked\"\n />\n </v-window-item>\n </v-window>\n </v-col>\n </v-row>\n <div class=\"d-flex flex-wrap justify-space-between\">\n <v-btn color=\"secondary\" class=\"ma-1\" @click=\"TopLevel\">\n Top Level<v-icon end icon=\"fa-regular fa-house\" />\n </v-btn>\n <v-btn\n class=\"ma-1\"\n color=\"secondary\"\n :disabled=\"BackDisabled\"\n @click=\"GoBack\"\n >\n Go Back<v-icon end icon=\"fa-solid fa-backward-step\" />\n </v-btn>\n </div>\n </v-sheet>\n</template>\n\n<script setup lang=\"ts\">\n/* eslint @typescript-eslint/no-unused-vars: 0, @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport {\n ref,\n computed,\n reactive,\n onMounted,\n onBeforeUnmount,\n toRaw,\n} from \"vue\";\n\nimport { ModelStore, _estate } from \"./../stores/modelStore.js\";\n\nimport UXModelNode from \"./UXModelNode.vue\";\n\nimport {\n ObservabilityPayloadTransformer,\n IObservabilityPayloadTransformerOptions,\n SubscriptionTopic,\n type ISubscriptionPayload,\n type ISubscriptions,\n type ISubscription,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport { IObservabilitySubscriberManagerOptions } from \"./../commonTypes.js\";\n\nimport { defaultLogger, Sleep } from \"@nsshunt/stsutils\";\n\nimport {\n SocketClientSubscriber,\n RESTClientSubscriber,\n} from \"@nsshunt/stsinstrumentmanagerclient\";\n\nimport chalk from \"chalk\";\n// Force chalk level\nchalk.level = 3;\n\nlet subscriptionOptions: IObservabilitySubscriberManagerOptions;\n\nconst props = defineProps<{\n modelId: string;\n}>();\n\nconsole.debug(`UXModelNavigator(): ModelStore`);\nconst store = ModelStore();\n\nlet observabilityPayloadTransformer: ObservabilityPayloadTransformer =\n new ObservabilityPayloadTransformer({\n logger: defaultLogger,\n maxLogLength: 200,\n });\n\nlet metricsSubscriber:\n | SocketClientSubscriber\n | RESTClientSubscriber\n | undefined;\n\nconst baseColour = chalk.hex(\"#57A1A8\");\n\nconst LogDebug = (message: any) => {\n defaultLogger.debug(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogError = (message: any) => {\n defaultLogger.error(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst LogWarning = (message: any) => {\n defaultLogger.warn(baseColour(`stsuxvue:UXModelNavigator:${message}`));\n};\n\nconst TransformSubscriptionPayloadCallback = (\n subscriptionPayload: ISubscriptionPayload\n): void => {\n try {\n observabilityPayloadTransformer.TransformSubscriptionPayloadCallback(\n subscriptionPayload\n );\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllAgentsCombined\n ) === 0\n ) {\n const agentModel = observabilityPayloadTransformer.agentModel;\n store.UpdateAgentModel(\n props.modelId,\n agentModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.AllServicesCombined\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.Services\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstances\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n\n if (\n subscriptionPayload.subscriptionKey.topic.localeCompare(\n SubscriptionTopic.ServiceInstance\n ) === 0\n ) {\n const serviceModel = observabilityPayloadTransformer.serviceModel;\n store.UpdateServiceModel(\n props.modelId,\n serviceModel,\n subscriptionPayload.subscriptionKey\n );\n }\n } catch (error) {\n LogError(\n `TransformSubscriptionPayloadCallback(): #modelId: [${props.modelId}], Error: [${error}]`\n );\n }\n};\n\n// Note: Every call to this function will yield a new id\nconst GetRootLevelSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllServicesCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.AllAgentsCombined,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServicesSubscriptions = () => [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.Services,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n];\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstancesSubscriptions = (serviceId: string) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstances,\n key: serviceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\n// Note: Every call to this function will yield a new id\nconst GetServiceInstanceSubscriptions = (\n serviceId: string,\n serviceInstanceId: string\n) => {\n return [\n {\n subscriptionKey: {\n id: globalThis.crypto.randomUUID(),\n topic: SubscriptionTopic.ServiceInstance,\n key: serviceId,\n subkey: serviceInstanceId,\n },\n cb: TransformSubscriptionPayloadCallback,\n },\n ];\n};\n\ninterface INavigationSubscriptions {\n subscriptionHistoryStack: ISubscriptions[];\n currentSubscriptions: ISubscriptions | null;\n}\n\nlet navigationSubscriptions: INavigationSubscriptions = {\n subscriptionHistoryStack: [],\n currentSubscriptions: null,\n};\n\nlet reactiveNavigationSubscriptions: INavigationSubscriptions = reactive(\n navigationSubscriptions\n);\n\nconst getPathString = (sub: ISubscription): string => {\n if (sub.subscriptionKey.key && sub.subscriptionKey.subkey) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}/${sub.subscriptionKey.subkey}]`;\n }\n if (sub.subscriptionKey.key) {\n return `${sub.subscriptionKey.topic}[${sub.subscriptionKey.key}]`;\n }\n return `${sub.subscriptionKey.topic}`;\n};\nconst navigationPath = computed(() => {\n let pathString = \"\";\n let sep = \"\";\n reactiveNavigationSubscriptions.subscriptionHistoryStack.forEach((s) => {\n pathString += sep + getPathString(s[0]);\n sep = \"/\";\n });\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n return (\n pathString +\n sep +\n getPathString(\n reactiveNavigationSubscriptions.currentSubscriptions[0]\n )\n );\n }\n return pathString;\n});\n\nconst BackDisabled = computed(() => {\n return reactiveNavigationSubscriptions.subscriptionHistoryStack.length < 1;\n});\n\nconst modelNode = reactive({\n node: {},\n});\n\nconst modelPos = computed({\n get: () => modelNode.node,\n set: (val) => {\n modelNode.node = val;\n },\n});\n\nconst clicked = function (id: any) {\n if (store._models[props.modelId]) {\n if (store._models[props.modelId].serviceModelSubscriptionKey) {\n switch (\n store._models[props.modelId].serviceModelSubscriptionKey?.topic\n ) {\n case SubscriptionTopic.AllServicesCombined:\n navigate(GetServicesSubscriptions());\n break;\n case SubscriptionTopic.Services:\n navigate(GetServiceInstancesSubscriptions(id));\n break;\n case SubscriptionTopic.ServiceInstances:\n navigate(\n GetServiceInstanceSubscriptions(\n store._models[props.modelId]\n .serviceModelSubscriptionKey?.key as string,\n id\n )\n );\n break;\n }\n }\n }\n};\n\nconst UpdateModelCursor = () => {\n const subscriptions: ISubscriptions | null =\n reactiveNavigationSubscriptions.currentSubscriptions;\n if (metricsSubscriber && subscriptions) {\n metricsSubscriber.UpdateModelCursor(subscriptions);\n }\n};\n\nconst navigate = function (subscriptions: ISubscriptions) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n reactiveNavigationSubscriptions.subscriptionHistoryStack.push(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n } else {\n LogWarning(`navigate: obj.currentSubscriptions not defined`);\n }\n reactiveNavigationSubscriptions.currentSubscriptions = subscriptions;\n LogDebug(\n `navigate: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(subscriptions)})`\n );\n UpdateModelCursor();\n};\n\nconst GoBack = function () {\n if (reactiveNavigationSubscriptions.subscriptionHistoryStack.length > 0) {\n let key =\n reactiveNavigationSubscriptions.subscriptionHistoryStack.pop();\n if (key) {\n reactiveNavigationSubscriptions.currentSubscriptions = key;\n LogDebug(\n `GoBack: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n } else {\n LogDebug(`GoBack: subscriptions key not defined`);\n }\n } else {\n LogDebug(`GoBack: subscriptions empty`);\n }\n};\n\nconst TopLevel = function () {\n reactiveNavigationSubscriptions.subscriptionHistoryStack = [];\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `TopLevel: observabilitySubscriberManager().UpdateModelCursor(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)})`\n );\n UpdateModelCursor();\n};\n\nonMounted(() => {\n LogDebug(`onMounted()`);\n});\n\nonBeforeUnmount(() => {\n LogDebug(`onBeforeUnmount()`);\n Stop();\n});\n\nlet tab = ref(null);\n\nconst Stop = async () => {\n LogDebug(`Stop()`);\n store.UpdateSate(props.modelId, _estate.STOPPING);\n\n if (metricsSubscriber) {\n if (reactiveNavigationSubscriptions.currentSubscriptions) {\n metricsSubscriber.UnSubscribe(\n reactiveNavigationSubscriptions.currentSubscriptions\n );\n await Sleep(250); // Given some time for the server to cleanly unsubscribe ...\n }\n if (\n metricsSubscriber &&\n subscriptionOptions.consumeInstrumentationMode === \"PROXY\"\n ) {\n const socketClientSubscriber: SocketClientSubscriber =\n metricsSubscriber as SocketClientSubscriber;\n if (socketClientSubscriber.socket) {\n socketClientSubscriber.socket.disconnect();\n }\n }\n metricsSubscriber = undefined;\n }\n store.UpdateSate(props.modelId, _estate.IDLE);\n};\n\nconst Start = async (options: IObservabilitySubscriberManagerOptions) => {\n LogDebug(`Start()`);\n store.UpdateSate(props.modelId, _estate.STARTING);\n subscriptionOptions = options;\n LogDebug(`Start(): Options: [${JSON.stringify(subscriptionOptions)}]`);\n if (options.consumeInstrumentationMode === \"PROXY\") {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new SocketClientSubscriber({\n instrumentManagerEndpoint: options.instrumentManagerEndpoint,\n instrumentManagerPort: options.instrumentManagerPort,\n consumeInstrumentationMode: options.consumeInstrumentationMode,\n instrumentManagerAPIRoot: options.instrumentManagerAPIRoot,\n modelId: options.modelId,\n });\n } else {\n LogDebug(\n `Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`\n );\n metricsSubscriber = new RESTClientSubscriber({\n urlBase: `${options.instrumentManagerEndpoint}:${options.instrumentManagerPort}${options.instrumentManagerAPIRoot}`,\n logger: defaultLogger,\n keepAlive: 1000,\n });\n }\n\n reactiveNavigationSubscriptions.currentSubscriptions =\n GetRootLevelSubscriptions();\n LogDebug(\n `Start(): observabilitySubscriberManager().UpdateModelCursor(): Mode: [${options.consumeInstrumentationMode}] rootLevelSubscriptions: [(${JSON.stringify(reactiveNavigationSubscriptions.currentSubscriptions)}]`\n );\n UpdateModelCursor();\n\n store.UpdateSate(props.modelId, _estate.STARTED);\n};\n\ndefineExpose({\n Start,\n Stop,\n});\n</script>\n\n<style>\n.brown {\n background-color: brown;\n}\n</style>\n","<template>\n <v-container class=\"yellowgreen\">\n <v-row>\n <div>UXTestForm</div>\n <v-divider />\n </v-row>\n\n <v-row v-if=\"showFormValues\">\n <v-col cols=\"12\">\n <v-row\n v-for=\"(formDataElement, index) in formData\"\n :key=\"index\"\n class=\"ml-1 text-caption\"\n >\n {{ formDataElement.model }}\n </v-row>\n </v-col>\n </v-row>\n\n <v-row>\n <v-divider />\n </v-row>\n\n <v-row v-for=\"(formDataElement, index) in formData\" :key=\"index\">\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('divider') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-divider />\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('radio') === 0\"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-radio-group\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <v-radio\n v-for=\"n in formDataElement.radioGroup\"\n :key=\"n.key\"\n :label=\"`${n.label}`\"\n :value=\"n.value\"\n />\n </v-radio-group>\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('textField') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-text-field\n v-model=\"formDataElement.model\"\n :label=\"formDataElement.label\"\n required\n :hint=\"formDataElement.hint\"\n persistent-hint\n />\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('checkbox') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-checkbox\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <template #label>\n <div class=\"text-wrap\">\n {{ formDataElement.description }}\n </div>\n </template>\n </v-checkbox>\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('slider') === 0\"\n cols=\"12\"\n class=\"mx-3\"\n style=\"padding: 0 10px 0 0\"\n >\n <div class=\"ml-0 text-caption\">\n {{ formDataElement.description }}\n </div>\n <v-slider\n v-model=\"formDataElement.model as number\"\n class=\"align-center\"\n max=\"5\"\n min=\"1\"\n step=\"1\"\n show-ticks=\"always\"\n tick-size=\"6\"\n hide-details\n >\n <template #append>\n <v-text-field\n v-model=\"formDataElement.model\"\n hide-details\n single-line\n density=\"compact\"\n type=\"number\"\n style=\"width: 110px\"\n variant=\"outlined\"\n />\n </template>\n </v-slider>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n//import 'vuetify/styles'\n\n//import * as directives from 'vuetify/directives'\n//import * as VSlider from 'vuetify/components/VSlider'\n//import * as VTextField from 'vuetify/components/VTextField'\n\nimport { ref, onMounted } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport chalk from \"chalk\";\n\nimport { IFormData } from \"./../commonTypes.js\";\n\n//const props = withDefaults(defineProps<{\nwithDefaults(\n defineProps<{\n showFormValues?: boolean;\n }>(),\n {\n showFormValues: true,\n }\n);\n\n/*\nconst radioGroup = computed({\n get: () => { return applicationStore.testProfiles[cursor.value].profileName; },\n set: (value) => { \n //locate(value);\n emit('profileSelected', value);\n }\n});\n*/\n\n//const formData = computed(() => applicationStore.testProfiles[cursor.value]);\n\nonMounted(() => {\n //radioGroup.value = applicationStore.testProfiles[0].profileName;\n console.log(chalk.green(\"onMounted\"));\n});\n\nconst formData = ref<IFormData>([\n {\n elementType: \"textField\",\n model: \"My test Profile\",\n label: \"Profile Name\",\n hint: \"Profile name. Used as output file name.\",\n },\n {\n elementType: \"radio\",\n model: \"so2\",\n radioGroup: [\n {\n key: \"o1\",\n label: \"Option One\",\n value: \"so1\",\n },\n {\n key: \"o2\",\n label: \"Option Two\",\n value: \"so2\",\n },\n ],\n },\n {\n elementType: \"slider\",\n model: 5,\n description: \"Some description for the slider one.\",\n },\n {\n elementType: \"slider\",\n model: 2,\n description: \"Some description for the slider two.\",\n },\n {\n elementType: \"checkbox\",\n model: true,\n description: \"Some description for checkbox 1\",\n },\n {\n elementType: \"divider\",\n },\n {\n elementType: \"checkbox\",\n model: false,\n description: \"Some description for checkbox 2\",\n },\n]);\n\ndefineExpose({\n formData,\n});\n</script>\n\n<style>\n.yellowgreen {\n background-color: yellowgreen;\n}\n.cyan {\n background-color: cyan;\n}\n</style>\n","<template>\n <v-container class=\"yellowgreen\">\n <v-row>\n <div>UXTestForm</div>\n <v-divider />\n </v-row>\n\n <v-row v-if=\"showFormValues\">\n <v-col cols=\"12\">\n <v-row\n v-for=\"(formDataElement, index) in formData\"\n :key=\"index\"\n class=\"ml-1 text-caption\"\n >\n {{ formDataElement.model }}\n </v-row>\n </v-col>\n </v-row>\n\n <v-row>\n <v-divider />\n </v-row>\n\n <v-row v-for=\"(formDataElement, index) in formData\" :key=\"index\">\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('divider') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-divider />\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('radio') === 0\"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-radio-group\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <v-radio\n v-for=\"n in formDataElement.radioGroup\"\n :key=\"n.key\"\n :label=\"`${n.label}`\"\n :value=\"n.value\"\n />\n </v-radio-group>\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('textField') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-text-field\n v-model=\"formDataElement.model\"\n :label=\"formDataElement.label\"\n required\n :hint=\"formDataElement.hint\"\n persistent-hint\n />\n </v-col>\n <v-col\n v-if=\"\n formDataElement.elementType.localeCompare('checkbox') === 0\n \"\n cols=\"12\"\n class=\"ma-0 pa-0\"\n >\n <v-checkbox\n v-model=\"formDataElement.model\"\n :hide-details=\"true\"\n >\n <template #label>\n <div class=\"text-wrap\">\n {{ formDataElement.description }}\n </div>\n </template>\n </v-checkbox>\n </v-col>\n <v-col\n v-if=\"formDataElement.elementType.localeCompare('slider') === 0\"\n cols=\"12\"\n class=\"mx-3\"\n style=\"padding: 0 10px 0 0\"\n >\n <div class=\"ml-0 text-caption\">\n {{ formDataElement.description }}\n </div>\n <v-slider\n v-model=\"formDataElement.model as number\"\n class=\"align-center\"\n max=\"5\"\n min=\"1\"\n step=\"1\"\n show-ticks=\"always\"\n tick-size=\"6\"\n hide-details\n >\n <template #append>\n <v-text-field\n v-model=\"formDataElement.model\"\n hide-details\n single-line\n density=\"compact\"\n type=\"number\"\n style=\"width: 110px\"\n variant=\"outlined\"\n />\n </template>\n </v-slider>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script setup lang=\"ts\">\n//import 'vuetify/styles'\n\n//import * as directives from 'vuetify/directives'\n//import * as VSlider from 'vuetify/components/VSlider'\n//import * as VTextField from 'vuetify/components/VTextField'\n\nimport { ref, onMounted } from \"vue\"; //Docs say this is not needed, but it throws an error without it. Ref: https://stackoverflow.com/questions/69998772/problems-with-vue-3-2-script-setup-tag-and-typescript-types\n\nimport chalk from \"chalk\";\n\nimport { IFormData } from \"./../commonTypes.js\";\n\n//const props = withDefaults(defineProps<{\nwithDefaults(\n defineProps<{\n showFormValues?: boolean;\n }>(),\n {\n showFormValues: true,\n }\n);\n\n/*\nconst radioGroup = computed({\n get: () => { return applicationStore.testProfiles[cursor.value].profileName; },\n set: (value) => { \n //locate(value);\n emit('profileSelected', value);\n }\n});\n*/\n\n//const formData = computed(() => applicationStore.testProfiles[cursor.value]);\n\nonMounted(() => {\n //radioGroup.value = applicationStore.testProfiles[0].profileName;\n console.log(chalk.green(\"onMounted\"));\n});\n\nconst formData = ref<IFormData>([\n {\n elementType: \"textField\",\n model: \"My test Profile\",\n label: \"Profile Name\",\n hint: \"Profile name. Used as output file name.\",\n },\n {\n elementType: \"radio\",\n model: \"so2\",\n radioGroup: [\n {\n key: \"o1\",\n label: \"Option One\",\n value: \"so1\",\n },\n {\n key: \"o2\",\n label: \"Option Two\",\n value: \"so2\",\n },\n ],\n },\n {\n elementType: \"slider\",\n model: 5,\n description: \"Some description for the slider one.\",\n },\n {\n elementType: \"slider\",\n model: 2,\n description: \"Some description for the slider two.\",\n },\n {\n elementType: \"checkbox\",\n model: true,\n description: \"Some description for checkbox 1\",\n },\n {\n elementType: \"divider\",\n },\n {\n elementType: \"checkbox\",\n model: false,\n description: \"Some description for checkbox 2\",\n },\n]);\n\ndefineExpose({\n formData,\n});\n</script>\n\n<style>\n.yellowgreen {\n background-color: yellowgreen;\n}\n.cyan {\n background-color: cyan;\n}\n</style>\n"],"ignoreList":[10,11,12,13,14,15,16,17,18,19,22,23,24,25,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAY,UAAL,yBAAA,SAAA;CACH,QAAA,UAA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AAK,OAAO,QAAQ,KAAK,GAAG;GACrC,IAAI,OAAO,KAAK,UAAU,YAAY,OAAO,QAAQ,KAAK,KAAK;EAChE;EACA,SAASA,iBAAe,MAAM;CAC/B;CACA,SAAS,gBAAgB;EACxB,OAAO;CACR;CACA,OAAO;AACR;AACA,SAAS,QAAQ,OAAO;CACvB,IAAI;EACH,WAAW,OAAO,EAAE;EACpB,OAAO;CACR,SAAS,SAAS;EACjB,OAAO;CACR;AACD;AACA,IAAM,SAAS,OAAO;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,QAAQ,OAAO;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,aAAa,OAAO;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,gBAAgB,OAAO;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,WAAW,OAAO;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,mBAAmB,OAAO;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,OAAO,OAAO,CAAC,OAAO,CAAC;AAC7B,IAAM,OAAO,OAAO;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,MAAM,OAAO;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,SAAS,OAAO;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,IAAM,MAAM,OAAO;CAClB;CACA;CACA;CACA;CACA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ACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;GACD;GACA,YAAYD,0BAAAA,MAAM;EACnB;EACA;GACC,WAAW;GACX,OAAOA,0BAAAA,MAAM;GACb,oBAAoB;GACpB,UAAU;GACV,iBAAiB;GACjB,UAAU;GACV,kBAAkB;GAClB,WAAWC,0BAAAA,WAAW;GACtB,mBAAmB;IAClB,UAAU;IACV,YAAY;GACb;GACA,OAAO;IACN;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;IACA;KACC,OAAO;KACP,aAAa;IACd;GACD;GACA,YAAYD,0BAAAA,MAAM;EACnB;CACD;CACA,cAAc,CAAC;EACd,WAAW;EACX,OAAOA,0BAAAA,MAAM;EACb,oBAAoB;EACpB,UAAU;EACV,iBAAiB;EACjB,UAAU;EACV,kBAAkB;EAClB,WAAWC,0BAAAA,WAAW;EACtB,mBAAmB;GAClB,gBAAgB;GAChB,mBAAmB;EACpB;CACD,CAAC;CACD,UAAU;GACR,YAAY;GACZ,qBAAqB;IACpB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACD;GACA,6BAA6B;IAC5B,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IACd,eAAe;GAChB;GACA,WAAW;IACV;KACC,WAAW;KACX,OAAOD,0BAAAA,MAAM;KACb,oBAAoB;KACpB,UAAU;KACV,iBAAiB;KACjB,UAAU;KACV,kBAAkB;KAClB,WAAWC,0BAAAA,WAAW;KACtB,mBAAmB;MAClB,UAAU;MACV,YAAY;KACb;IACD;IACA;KACC,WAAW;KACX,OAAOD,0BAAAA,MAAM;KACb,oBAAoB;KACpB,UAAU;KACV,iBAAiB;KACjB,UAAU;KACV,kBAAkB;KAClB,WAAWC,0BAAAA,WAA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