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AAkBiB,yBAAyBC,OAASF,EACpD,IAAIb,EAAWC,OAAOJ,EAAkBK,iBAWxC,GATKF,EAASI,QACVJ,EAASI,MAAQ,IAErBY,YAAW,WACP,IAAIC,EAAgBR,SAASS,cAAc,UAC3CD,EAAcE,IAAMN,EAASO,KAAO,mDACpCX,SAASY,KAAKC,YAAYL,EAC9B,KAEKJ,EAASU,yBAA0B,CACpC,IAAIC,EAAW,UACf3B,EAAkBC,kBAAkB,IAAM0B,GAC1C,IAAIC,EAAkBxB,OAAOuB,GAC7BvB,OAAOuB,GAAY,SAAUE,EAASN,EAAKO,EAAYC,EAAcC,GACjE,IAAIC,EAAUL,GAAmBA,EAAgBC,EAASN,EAAKO,EAAYC,EAAcC,GAIzF,OAHgB,IAAZC,GACA9B,EAAS,IAAMwB,GAAUE,EAASN,EAAKO,EAAYC,EAAcC,GAE9DC,CACX,CACJ,CACJ,EACAjC,EAAkBiB,uBAAyB,WACvC,GAAsB,oBAAXb,OAWX,OARKA,OAAOJ,EAAkBK,mBAC1BD,OAAOJ,EAAkBK,iBAAmB,CACxC6B,iBAAkBlC,EAAkBe,UAEpCL,mBAAoBV,EAAkBU,oBAE1CV,EAAkBU,sBAEfN,OAAOJ,EAAkBK,gBACpC,EACAL,EAAkBmC,wBAAyB,EAC3CnC,EAAkBK,gBAAkB,cAIpCL,EAAkBoC,YAAc,WAE5B,IAAIC,EAAalH,OAAuB,eACxC,IACIkH,GAAcA,EAAWrC,EAAkB5E,UAAW,sBAAuB,CACzEkH,IAAKtC,EAAkBiB,uBACvBsB,YAAY,EACZC,cAAc,GAEtB,CACA,MAAO9E,GAGP,CACH,CAd+B,GAezBsC,CACX,CA7GsC,GA8GtCrH,EAAQ8J,YAAczC,EAAkBiB,wBAC3C,UArHgD,CAAC,EAAW,SAqH5D,oB","sources":["webpack://iadviser/./node_modules/accounting-js/dist/accounting.umd.js","webpack://iadviser/./node_modules/applicationinsights-js/bundle/ai.module.js"],"sourcesContent":["(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define(['exports'], factory) :\n\t(factory((global.accounting = global.accounting || {})));\n}(this, function (exports) { 'use strict';\n\n\tfunction __commonjs(fn, module) { return module = { exports: {} }, fn(module, module.exports), module.exports; }\n\n\t/**\n\t * The library's settings configuration object.\n\t *\n\t * Contains default parameters for currency and number formatting\n\t */\n\tvar settings = {\n\t symbol: '$', // default currency symbol is '$'\n\t format: '%s%v', // controls output: %s = symbol, %v = value (can be object, see docs)\n\t decimal: '.', // decimal point separator\n\t thousand: ',', // thousands separator\n\t precision: 2, // decimal places\n\t grouping: 3, // digit grouping (not implemented yet)\n\t stripZeros: false, // strip insignificant zeros from decimal part\n\t fallback: 0 // value returned on unformat() failure\n\t};\n\n\t/**\n\t * Takes a string/array of strings, removes all formatting/cruft and returns the raw float value\n\t * Alias: `accounting.parse(string)`\n\t *\n\t * Decimal must be included in the regular expression to match floats (defaults to\n\t * accounting.settings.decimal), so if the number uses a non-standard decimal\n\t * separator, provide it as the second argument.\n\t *\n\t * Also matches bracketed negatives (eg. '$ (1.99)' => -1.99)\n\t *\n\t * Doesn't throw any errors (`NaN`s become 0) but this may change in future\n\t *\n\t * ```js\n\t * accounting.unformat(\"£ 12,345,678.90 GBP\"); // 12345678.9\n\t * ```\n\t *\n\t * @method unformat\n\t * @for accounting\n\t * @param {String|Array} value The string or array of strings containing the number/s to parse.\n\t * @param {Number} decimal Number of decimal digits of the resultant number\n\t * @return {Float} The parsed number\n\t */\n\tfunction unformat(value) {\n\t var decimal = arguments.length <= 1 || arguments[1] === undefined ? settings.decimal : arguments[1];\n\t var fallback = arguments.length <= 2 || arguments[2] === undefined ? settings.fallback : arguments[2];\n\n\t // Recursively unformat arrays:\n\t if (Array.isArray(value)) {\n\t return value.map(function (val) {\n\t return unformat(val, decimal, fallback);\n\t });\n\t }\n\n\t // Return the value as-is if it's already a number:\n\t if (typeof value === 'number') return value;\n\n\t // Build regex to strip out everything except digits, decimal point and minus sign:\n\t var regex = new RegExp('[^0-9-(-)-' + decimal + ']', ['g']);\n\t var unformattedValueString = ('' + value).replace(regex, '') // strip out any cruft\n\t .replace(decimal, '.') // make sure decimal point is standard\n\t .replace(/\\(([-]*\\d*[^)]?\\d+)\\)/g, '-$1') // replace bracketed values with negatives\n\t .replace(/\\((.*)\\)/, ''); // remove any brackets that do not have numeric value\n\n\t /**\n\t * Handling -ve number and bracket, eg.\n\t * (-100) = 100, -(100) = 100, --100 = 100\n\t */\n\t var negative = (unformattedValueString.match(/-/g) || 2).length % 2,\n\t absUnformatted = parseFloat(unformattedValueString.replace(/-/g, '')),\n\t unformatted = absUnformatted * (negative ? -1 : 1);\n\n\t // This will fail silently which may cause trouble, let's wait and see:\n\t return !isNaN(unformatted) ? unformatted : fallback;\n\t}\n\n\t/**\n\t * Check and normalise the value of precision (must be positive integer)\n\t */\n\tfunction _checkPrecision(val, base) {\n\t val = Math.round(Math.abs(val));\n\t return isNaN(val) ? base : val;\n\t}\n\n\t/**\n\t * Implementation of toFixed() that treats floats more like decimals\n\t *\n\t * Fixes binary rounding issues (eg. (0.615).toFixed(2) === '0.61') that present\n\t * problems for accounting- and finance-related software.\n\t *\n\t * ```js\n\t * (0.615).toFixed(2); // \"0.61\" (native toFixed has rounding issues)\n\t * accounting.toFixed(0.615, 2); // \"0.62\"\n\t * ```\n\t *\n\t * @method toFixed\n\t * @for accounting\n\t * @param {Float} value The float to be treated as a decimal number.\n\t * @param {Number} [precision=2] The number of decimal digits to keep.\n\t * @return {String} The given number transformed into a string with the given precission\n\t */\n\tfunction toFixed(value, precision) {\n\t precision = _checkPrecision(precision, settings.precision);\n\t var power = Math.pow(10, precision);\n\n\t // Multiply up by precision, round accurately, then divide and use native toFixed():\n\t return (Math.round((value + 1e-8) * power) / power).toFixed(precision);\n\t}\n\n\tvar index = __commonjs(function (module) {\n\t/* eslint-disable no-unused-vars */\n\t'use strict';\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\n\t\treturn Object(val);\n\t}\n\n\tmodule.exports = Object.assign || function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Object.getOwnPropertySymbols) {\n\t\t\t\tsymbols = Object.getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn to;\n\t};\n\t});\n\n\tvar objectAssign = (index && typeof index === 'object' && 'default' in index ? index['default'] : index);\n\n\tfunction _stripInsignificantZeros(str, decimal) {\n\t var parts = str.split(decimal);\n\t var integerPart = parts[0];\n\t var decimalPart = parts[1].replace(/0+$/, '');\n\n\t if (decimalPart.length > 0) {\n\t return integerPart + decimal + decimalPart;\n\t }\n\n\t return integerPart;\n\t}\n\n\t/**\n\t * Format a number, with comma-separated thousands and custom precision/decimal places\n\t * Alias: `accounting.format()`\n\t *\n\t * Localise by overriding the precision and thousand / decimal separators\n\t *\n\t * ```js\n\t * accounting.formatNumber(5318008); // 5,318,008\n\t * accounting.formatNumber(9876543.21, { precision: 3, thousand: \" \" }); // 9 876 543.210\n\t * ```\n\t *\n\t * @method formatNumber\n\t * @for accounting\n\t * @param {Number} number The number to be formatted.\n\t * @param {Object} [opts={}] Object containing all the options of the method.\n\t * @return {String} The given number properly formatted.\n\t */\n\tfunction formatNumber(number) {\n\t var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t // Resursively format arrays:\n\t if (Array.isArray(number)) {\n\t return number.map(function (val) {\n\t return formatNumber(val, opts);\n\t });\n\t }\n\n\t // Build options object from second param (if object) or all params, extending defaults:\n\t opts = objectAssign({}, settings, opts);\n\n\t // Do some calc:\n\t var negative = number < 0 ? '-' : '';\n\t var base = parseInt(toFixed(Math.abs(number), opts.precision), 10) + '';\n\t var mod = base.length > 3 ? base.length % 3 : 0;\n\n\t // Format the number:\n\t var formatted = negative + (mod ? base.substr(0, mod) + opts.thousand : '') + base.substr(mod).replace(/(\\d{3})(?=\\d)/g, '$1' + opts.thousand) + (opts.precision > 0 ? opts.decimal + toFixed(Math.abs(number), opts.precision).split('.')[1] : '');\n\n\t return opts.stripZeros ? _stripInsignificantZeros(formatted, opts.decimal) : formatted;\n\t}\n\n\tvar index$1 = __commonjs(function (module) {\n\t'use strict';\n\n\tvar strValue = String.prototype.valueOf;\n\tvar tryStringObject = function tryStringObject(value) {\n\t\ttry {\n\t\t\tstrValue.call(value);\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\tvar toStr = Object.prototype.toString;\n\tvar strClass = '[object String]';\n\tvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\n\tmodule.exports = function isString(value) {\n\t\tif (typeof value === 'string') { return true; }\n\t\tif (typeof value !== 'object') { return false; }\n\t\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n\t};\n\t});\n\n\tvar isString = (index$1 && typeof index$1 === 'object' && 'default' in index$1 ? index$1['default'] : index$1);\n\n\t/**\n\t * Parses a format string or object and returns format obj for use in rendering\n\t *\n\t * `format` is either a string with the default (positive) format, or object\n\t * containing `pos` (required), `neg` and `zero` values\n\t *\n\t * Either string or format.pos must contain \"%v\" (value) to be valid\n\t *\n\t * @method _checkCurrencyFormat\n\t * @for accounting\n\t * @param {String} [format=\"%s%v\"] String with the format to apply, where %s is the currency symbol and %v is the value.\n\t * @return {Object} object represnting format (with pos, neg and zero attributes)\n\t */\n\tfunction _checkCurrencyFormat(format) {\n\t // Format should be a string, in which case `value` ('%v') must be present:\n\t if (isString(format) && format.match('%v')) {\n\t // Create and return positive, negative and zero formats:\n\t return {\n\t pos: format,\n\t neg: format.replace('-', '').replace('%v', '-%v'),\n\t zero: format\n\t };\n\t }\n\n\t // Otherwise, assume format was fine:\n\t return format;\n\t}\n\n\t/**\n\t * Format a number into currency\n\t *\n\t * Usage: accounting.formatMoney(number, symbol, precision, thousandsSep, decimalSep, format)\n\t * defaults: (0, '$', 2, ',', '.', '%s%v')\n\t *\n\t * Localise by overriding the symbol, precision, thousand / decimal separators and format\n\t *\n\t * ```js\n\t * // Default usage:\n\t * accounting.formatMoney(12345678); // $12,345,678.00\n\t *\n\t * // European formatting (custom symbol and separators), can also use options object as second parameter:\n\t * accounting.formatMoney(4999.99, { symbol: \"€\", precision: 2, thousand: \".\", decimal: \",\" }); // €4.999,99\n\t *\n\t * // Negative values can be formatted nicely:\n\t * accounting.formatMoney(-500000, { symbol: \"£ \", precision: 0 }); // £ -500,000\n\t *\n\t * // Simple `format` string allows control of symbol position (%v = value, %s = symbol):\n\t * accounting.formatMoney(5318008, { symbol: \"GBP\", format: \"%v %s\" }); // 5,318,008.00 GBP\n\t * ```\n\t *\n\t * @method formatMoney\n\t * @for accounting\n\t * @param {Number} number Number to be formatted.\n\t * @param {Object} [opts={}] Object containing all the options of the method.\n\t * @return {String} The given number properly formatted as money.\n\t */\n\tfunction formatMoney(number) {\n\t var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t // Resursively format arrays:\n\t if (Array.isArray(number)) {\n\t return number.map(function (val) {\n\t return formatMoney(val, opts);\n\t });\n\t }\n\n\t // Build options object from second param (if object) or all params, extending defaults:\n\t opts = objectAssign({}, settings, opts);\n\n\t // Check format (returns object with pos, neg and zero):\n\t var formats = _checkCurrencyFormat(opts.format);\n\n\t // Choose which format to use for this value:\n\t var useFormat = undefined;\n\n\t if (number > 0) {\n\t useFormat = formats.pos;\n\t } else if (number < 0) {\n\t useFormat = formats.neg;\n\t } else {\n\t useFormat = formats.zero;\n\t }\n\n\t // Return with currency symbol added:\n\t return useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(number), opts));\n\t}\n\n\t/**\n\t * Format a list of numbers into an accounting column, padding with whitespace\n\t * to line up currency symbols, thousand separators and decimals places\n\t *\n\t * List should be an array of numbers\n\t *\n\t * Returns array of accouting-formatted number strings of same length\n\t *\n\t * NB: `white-space:pre` CSS rule is required on the list container to prevent\n\t * browsers from collapsing the whitespace in the output strings.\n\t *\n\t * ```js\n\t * accounting.formatColumn([123.5, 3456.49, 777888.99, 12345678, -5432], { symbol: \"$ \" });\n\t * ```\n\t *\n\t * @method formatColumn\n\t * @for accounting\n\t * @param {Array} list An array of numbers to format\n\t * @param {Object} [opts={}] Object containing all the options of the method.\n\t * @param {Object|String} [symbol=\"$\"] String with the currency symbol. For conveniency if can be an object containing all the options of the method.\n\t * @param {Integer} [precision=2] Number of decimal digits\n\t * @param {String} [thousand=','] String with the thousands separator.\n\t * @param {String} [decimal=\".\"] String with the decimal separator.\n\t * @param {String} [format=\"%s%v\"] String with the format to apply, where %s is the currency symbol and %v is the value.\n\t * @return {Array} array of accouting-formatted number strings of same length\n\t */\n\tfunction formatColumn(list) {\n\t var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t if (!list) return [];\n\n\t // Build options object from second param (if object) or all params, extending defaults:\n\t opts = objectAssign({}, settings, opts);\n\n\t // Check format (returns object with pos, neg and zero), only need pos for now:\n\t var formats = _checkCurrencyFormat(opts.format);\n\n\t // Whether to pad at start of string or after currency symbol:\n\t var padAfterSymbol = formats.pos.indexOf('%s') < formats.pos.indexOf('%v');\n\n\t // Store value for the length of the longest string in the column:\n\t var maxLength = 0;\n\n\t // Format the list according to options, store the length of the longest string:\n\t var formatted = list.map(function (val) {\n\t if (Array.isArray(val)) {\n\t // Recursively format columns if list is a multi-dimensional array:\n\t return formatColumn(val, opts);\n\t }\n\t // Clean up the value\n\t val = unformat(val, opts.decimal);\n\n\t // Choose which format to use for this value (pos, neg or zero):\n\t var useFormat = undefined;\n\n\t if (val > 0) {\n\t useFormat = formats.pos;\n\t } else if (val < 0) {\n\t useFormat = formats.neg;\n\t } else {\n\t useFormat = formats.zero;\n\t }\n\n\t // Format this value, push into formatted list and save the length:\n\t var fVal = useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(val), opts));\n\n\t if (fVal.length > maxLength) {\n\t maxLength = fVal.length;\n\t }\n\n\t return fVal;\n\t });\n\n\t // Pad each number in the list and send back the column of numbers:\n\t return formatted.map(function (val) {\n\t // Only if this is a string (not a nested array, which would have already been padded):\n\t if (isString(val) && val.length < maxLength) {\n\t // Depending on symbol position, pad after symbol or at index 0:\n\t return padAfterSymbol ? val.replace(opts.symbol, opts.symbol + new Array(maxLength - val.length + 1).join(' ')) : new Array(maxLength - val.length + 1).join(' ') + val;\n\t }\n\t return val;\n\t });\n\t}\n\n\texports.settings = settings;\n\texports.unformat = unformat;\n\texports.toFixed = toFixed;\n\texports.formatMoney = formatMoney;\n\texports.formatNumber = formatNumber;\n\texports.formatColumn = formatColumn;\n\texports.format = formatMoney;\n\texports.parse = unformat;\n\n}));\n//# sourceMappingURL=accounting.umd.js.map","\"use strict\";\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// THIS FILE WAS AUTOGENERATED\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var Telemetry;\r\n (function (Telemetry) {\r\n \"use strict\";\r\n /**\r\n * Data struct to contain only C section with custom fields.\r\n */\r\n var Base = /** @class */ (function () {\r\n function Base() {\r\n }\r\n return Base;\r\n }());\r\n Telemetry.Base = Base;\r\n })(Telemetry = Microsoft.Telemetry || (Microsoft.Telemetry = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// THIS FILE WAS AUTOGENERATED\r\n/// \r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var Telemetry;\r\n (function (Telemetry) {\r\n \"use strict\";\r\n /**\r\n * System variables for a telemetry item.\r\n */\r\n var Envelope = /** @class */ (function () {\r\n function Envelope() {\r\n this.ver = 1;\r\n this.sampleRate = 100.0;\r\n this.tags = {};\r\n }\r\n return Envelope;\r\n }());\r\n Telemetry.Envelope = Envelope;\r\n })(Telemetry = Microsoft.Telemetry || (Microsoft.Telemetry = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n var Context;\r\n (function (Context) {\r\n \"use strict\";\r\n })(Context = ApplicationInsights.Context || (ApplicationInsights.Context = {}));\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n/// \r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\n/// \r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// THIS FILE WAS AUTOGENERATED\r\nvar AI;\r\n(function (AI) {\r\n \"use strict\";\r\n /**\r\n * Defines the level of severity for the event.\r\n */\r\n var SeverityLevel;\r\n (function (SeverityLevel) {\r\n SeverityLevel[SeverityLevel[\"Verbose\"] = 0] = \"Verbose\";\r\n SeverityLevel[SeverityLevel[\"Information\"] = 1] = \"Information\";\r\n SeverityLevel[SeverityLevel[\"Warning\"] = 2] = \"Warning\";\r\n SeverityLevel[SeverityLevel[\"Error\"] = 3] = \"Error\";\r\n SeverityLevel[SeverityLevel[\"Critical\"] = 4] = \"Critical\";\r\n })(SeverityLevel = AI.SeverityLevel || (AI.SeverityLevel = {}));\r\n})(AI || (AI = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n/// \r\n/// \r\n/// \r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar Microsoft;\r\n(function (Microsoft) {\r\n var ApplicationInsights;\r\n (function (ApplicationInsights) {\r\n \"use strict\";\r\n var UtilHelpers = /** @class */ (function () {\r\n function UtilHelpers() {\r\n }\r\n /**\r\n * generate random id string\r\n */\r\n UtilHelpers.newId = function () {\r\n var base64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\r\n var result = \"\";\r\n // tslint:disable-next-line:insecure-random\r\n var random = Math.random() * 1073741824; //5 symbols in base64, almost maxint\r\n while (random > 0) {\r\n var char = base64chars.charAt(random % 64);\r\n result += char;\r\n random = Math.floor(random / 64);\r\n }\r\n return result;\r\n };\r\n return UtilHelpers;\r\n }());\r\n ApplicationInsights.UtilHelpers = UtilHelpers;\r\n })(ApplicationInsights = Microsoft.ApplicationInsights || (Microsoft.ApplicationInsights = {}));\r\n})(Microsoft || (Microsoft = {}));\r\n// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\ndefine(\"JavaScriptSDK.Module/AppInsightsModule\", [\"require\", \"exports\"], function (require, exports) {\r\n /// \r\n /// \r\n /// \r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n var AppInsightsModule = /** @class */ (function () {\r\n function AppInsightsModule() {\r\n }\r\n AppInsightsModule._createLazyMethod = function (name) {\r\n var aiObject = window[AppInsightsModule.appInsightsName];\r\n // Define a temporary method that queues-up a the real method call\r\n aiObject[name] = function () {\r\n // Capture the original arguments passed to the method\r\n var originalArguments = arguments;\r\n // If the queue is available, it means that the function wasn't yet replaced with actual function value\r\n if (aiObject.queue) {\r\n aiObject.queue.push(function () { return aiObject[name].apply(aiObject, originalArguments); });\r\n }\r\n else {\r\n // otherwise execute the function\r\n aiObject[name].apply(aiObject, originalArguments);\r\n }\r\n };\r\n };\r\n ;\r\n AppInsightsModule._defineLazyMethods = function () {\r\n var aiObject = window[AppInsightsModule.appInsightsName];\r\n // capture initial cookie if possible\r\n try {\r\n aiObject.cookie = document.cookie;\r\n }\r\n catch (e) {\r\n }\r\n aiObject.queue = [];\r\n var method = [\r\n \"clearAuthenticatedUserContext\",\r\n \"flush\",\r\n \"setAuthenticatedUserContext\",\r\n \"startTrackEvent\",\r\n \"startTrackPage\",\r\n \"stopTrackEvent\",\r\n \"stopTrackPage\",\r\n \"trackDependency\",\r\n \"trackEvent\",\r\n \"trackException\",\r\n \"trackMetric\",\r\n \"trackPageView\",\r\n \"trackTrace\"\r\n ];\r\n while (method.length) {\r\n AppInsightsModule._createLazyMethod(method.pop());\r\n }\r\n };\r\n AppInsightsModule._download = function (aiConfig) {\r\n AppInsightsModule.getAppInsightsInstance().config = aiConfig;\r\n var aiObject = window[AppInsightsModule.appInsightsName];\r\n // if script was previously downloaded and initialized, queue will be deleted, reinitialize it\r\n if (!aiObject.queue) {\r\n aiObject.queue = [];\r\n }\r\n setTimeout(function () {\r\n var scriptElement = document.createElement(\"script\");\r\n scriptElement.src = aiConfig.url || \"https://az416426.vo.msecnd.net/scripts/a/ai.0.js\";\r\n document.head.appendChild(scriptElement);\r\n });\r\n // collect global errors by wrapping the window.onerror method\r\n if (!aiConfig.disableExceptionTracking) {\r\n var method_1 = \"onerror\";\r\n AppInsightsModule._createLazyMethod(\"_\" + method_1);\r\n var originalOnError = window[method_1];\r\n window[method_1] = function (message, url, lineNumber, columnNumber, error) {\r\n var handled = originalOnError && originalOnError(message, url, lineNumber, columnNumber, error);\r\n if (handled !== true) {\r\n aiObject[\"_\" + method_1](message, url, lineNumber, columnNumber, error);\r\n }\r\n return handled;\r\n };\r\n }\r\n };\r\n AppInsightsModule.getAppInsightsInstance = function () {\r\n if (typeof window === 'undefined') {\r\n return;\r\n }\r\n if (!window[AppInsightsModule.appInsightsName]) {\r\n window[AppInsightsModule.appInsightsName] = {\r\n downloadAndSetup: AppInsightsModule._download,\r\n // exposing it for unit tests only, not part of interface\r\n _defineLazyMethods: AppInsightsModule._defineLazyMethods\r\n };\r\n AppInsightsModule._defineLazyMethods();\r\n }\r\n return window[AppInsightsModule.appInsightsName];\r\n };\r\n AppInsightsModule.appInsightsInitialized = false;\r\n AppInsightsModule.appInsightsName = \"appInsights\";\r\n /**\r\n * Static constructor, attempt to ES5 get accessor\r\n */\r\n AppInsightsModule._staticInit = (function () {\r\n // Dynamically create get/set property accessors\r\n var defineProp = Object[\"defineProperty\"];\r\n try {\r\n defineProp && defineProp(AppInsightsModule.prototype, \"appInsightsInstance\", {\r\n get: AppInsightsModule.getAppInsightsInstance,\r\n enumerable: true,\r\n configurable: true\r\n });\r\n }\r\n catch (e) {\r\n // IE8 Defines a defineProperty on Object but it's only supported for DOM elements so it will throw\r\n // We will just ignore this here.\r\n }\r\n })();\r\n return AppInsightsModule;\r\n }());\r\n exports.AppInsights = AppInsightsModule.getAppInsightsInstance();\r\n});\r\n//# sourceMappingURL=ai.module.js.map"],"names":["exports","__commonjs","fn","module","settings","symbol","format","decimal","thousand","precision","grouping","stripZeros","fallback","unformat","value","arguments","length","undefined","Array","isArray","map","val","regex","RegExp","unformattedValueString","replace","negative","match","unformatted","parseFloat","isNaN","toFixed","base","Math","round","abs","power","pow","index","hasOwnProperty","Object","prototype","propIsEnumerable","propertyIsEnumerable","assign","target","source","from","symbols","to","TypeError","toObject","s","key","call","getOwnPropertySymbols","i","objectAssign","formatNumber","number","opts","str","parts","integerPart","decimalPart","parseInt","mod","formatted","substr","split","index$1","strValue","String","valueOf","toStr","toString","hasToStringTag","Symbol","toStringTag","e","tryStringObject","isString","_checkCurrencyFormat","pos","neg","zero","formatMoney","formats","formatColumn","list","padAfterSymbol","indexOf","maxLength","fVal","join","parse","factory","AI","Microsoft","ApplicationInsights","Telemetry","Base","Envelope","this","ver","sampleRate","tags","Context","SeverityLevel","UtilHelpers","newId","result","random","charAt","floor","require","defineProperty","AppInsightsModule","_createLazyMethod","name","aiObject","window","appInsightsName","originalArguments","queue","push","apply","_defineLazyMethods","cookie","document","method","pop","_download","aiConfig","getAppInsightsInstance","config","setTimeout","scriptElement","createElement","src","url","head","appendChild","disableExceptionTracking","method_1","originalOnError","message","lineNumber","columnNumber","error","handled","downloadAndSetup","appInsightsInitialized","_staticInit","defineProp","get","enumerable","configurable","AppInsights"],"sourceRoot":""}